mirror of
http://git.xinwangdao.com/cnnc-embedded-parts-detect/detect-embeded.git
synced 2025-06-24 05:24:12 +08:00
fixed
This commit is contained in:
parent
247f564cd1
commit
c2e77544c3
@ -549,3 +549,7 @@
|
||||
:deep(.cm-string) {
|
||||
color: darkorange !important;
|
||||
}
|
||||
|
||||
:deep(.ant-descriptions-item-label) {
|
||||
width: 120px;
|
||||
}
|
||||
|
@ -7,9 +7,9 @@
|
||||
<BasicTable @register="registerTable">
|
||||
<template #toolbar>
|
||||
<a-button type="primary" @click="handleCreate" :icon="h(PlusOutlined)">新增</a-button>
|
||||
<div style="width: 10px" />
|
||||
<div style="width: 5px" />
|
||||
<a-button type="default" @click="handleImport" :icon="h(ImportOutlined)">导入数据</a-button>
|
||||
<div style="width: 10px" />
|
||||
<div style="width: 5px" />
|
||||
<a-button type="default" @click="handleDownload" :icon="h(DownloadOutlined)" :disabled="checkedKeys.length === 0">下发数据</a-button>
|
||||
<a-button type="default" @click="handleSync" :icon="h(SyncOutlined)" :disabled="checkedKeys.length === 0">同步数据</a-button>
|
||||
</template>
|
||||
@ -22,6 +22,7 @@
|
||||
icon: 'clarity:note-edit-line',
|
||||
onClick: handleEdit.bind(null, record),
|
||||
divider: true,
|
||||
disabled: record.state !== 0
|
||||
},
|
||||
{
|
||||
label: '删除',
|
||||
@ -33,6 +34,7 @@
|
||||
placement: 'topRight',
|
||||
},
|
||||
ifShow: hasPermission('AUTH_DATA_TASK:DELETE'),
|
||||
disabled: record.state !== 0
|
||||
},
|
||||
{
|
||||
label: '详情',
|
||||
@ -51,8 +53,7 @@
|
||||
label: '同步数据',
|
||||
icon: 'ant-design:sync-outlined',
|
||||
onClick: handleSync.bind(null, record),
|
||||
divider: true,
|
||||
disabled: record.state !== 0
|
||||
divider: true
|
||||
},
|
||||
]"
|
||||
/>
|
||||
|
Loading…
Reference in New Issue
Block a user