diff --git a/src/views/device/config/DeviceConfigList.vue b/src/views/device/config/DeviceConfigList.vue index e967631..fcea2af 100644 --- a/src/views/device/config/DeviceConfigList.vue +++ b/src/views/device/config/DeviceConfigList.vue @@ -4,7 +4,7 @@ diff --git a/src/views/device/config/components/DeviceConfigForm.vue b/src/views/device/config/components/DeviceConfigForm.vue index b18ddd3..5b6b9a2 100644 --- a/src/views/device/config/components/DeviceConfigForm.vue +++ b/src/views/device/config/components/DeviceConfigForm.vue @@ -6,7 +6,7 @@ - + @@ -20,14 +20,14 @@ - + - + @@ -71,7 +71,7 @@ const formData = reactive>({ deviceType: '', deviceModel: '', factory: '', - dimension: '' + dimension: '机构维度' }); const { createMessage } = useMessage(); const labelCol = ref({ xs: { span: 24 }, sm: { span: 5 } }); diff --git a/src/views/device/manager/components/batch/DeviceBatchList.vue b/src/views/device/manager/components/batch/DeviceBatchList.vue index f54d34d..cefa476 100644 --- a/src/views/device/manager/components/batch/DeviceBatchList.vue +++ b/src/views/device/manager/components/batch/DeviceBatchList.vue @@ -181,12 +181,12 @@ function getTableAction(record) { { label: '推送清单', onClick: handleSend.bind(null, record), - ifShow: record.izPush == 'N' && record.childrenCn > 0 && izShow.value + ifShow: record.izPush == 'N' && record.childrenCn > 0 }, { label: '编辑', onClick: handleEdit.bind(null, record), - ifShow: record.izPush == 'N' && izShow.value + ifShow: record.izPush == 'N' }, { label: '删除', @@ -194,7 +194,7 @@ function getTableAction(record) { title: '是否确定删除?', confirm: handleDelete.bind(null, record), }, - ifShow: record.izPush == 'N' && izShow.value + ifShow: record.izPush == 'N' }, ]; } diff --git a/src/views/device/manager/components/integration/CameraList.vue b/src/views/device/manager/components/integration/CameraList.vue index c3932f6..1d087d7 100644 --- a/src/views/device/manager/components/integration/CameraList.vue +++ b/src/views/device/manager/components/integration/CameraList.vue @@ -134,12 +134,12 @@ function getTableAction(record) { { label: '拉取设备', onClick: handlePull.bind(null, record), - ifShow: record.sn != null && record.deviceStatus =='待集成' + ifShow: record.sn != null && record.deviceStatus =='待集成' && record.maintainStatus !='损坏' }, { label: '预览', onClick: handlePreview.bind(null, record), - ifShow: record.deviceType == 'SURVEILLANCECAMERA' && record.deviceStatus !='待集成' + ifShow: record.deviceType == 'SURVEILLANCECAMERA' && record.deviceStatus !='待集成' && record.maintainStatus !='损坏' }, ]; } diff --git a/src/views/device/manager/components/integration/ElectricityList.vue b/src/views/device/manager/components/integration/ElectricityList.vue index 1571aed..3059d80 100644 --- a/src/views/device/manager/components/integration/ElectricityList.vue +++ b/src/views/device/manager/components/integration/ElectricityList.vue @@ -120,7 +120,7 @@ function getTableAction(record) { { label: '拉取设备', onClick: handlePull.bind(null, record), - ifShow: record.sn != null && record.deviceStatus =='待集成' + ifShow: record.sn != null && record.deviceStatus =='待集成' && record.maintainStatus !='损坏' }, ]; } diff --git a/src/views/device/manager/components/integration/HumidList.vue b/src/views/device/manager/components/integration/HumidList.vue index 0261f59..cac5efb 100644 --- a/src/views/device/manager/components/integration/HumidList.vue +++ b/src/views/device/manager/components/integration/HumidList.vue @@ -131,12 +131,12 @@ function getTableAction(record) { { label: '拉取设备', onClick: handlePull.bind(null, record), - ifShow: record.sn != null && record.deviceStatus =='待集成' + ifShow: record.sn != null && record.deviceStatus =='待集成' && record.maintainStatus !='损坏' }, { label: '配置', onClick: handleConfig.bind(null, record), - ifShow: record.deviceStatus !='待集成' + ifShow: record.deviceStatus !='待集成' && record.maintainStatus !='损坏' }, ]; } diff --git a/src/views/device/manager/components/integration/NetworkList.vue b/src/views/device/manager/components/integration/NetworkList.vue index 04ba160..2a4d12f 100644 --- a/src/views/device/manager/components/integration/NetworkList.vue +++ b/src/views/device/manager/components/integration/NetworkList.vue @@ -119,7 +119,7 @@ function getTableAction(record) { { label: '拉取设备', onClick: handlePull.bind(null, record), - ifShow: record.sn != null && record.deviceStatus =='待集成' + ifShow: record.sn != null && record.deviceStatus =='待集成' && record.maintainStatus !='损坏' }, ]; } diff --git a/src/views/device/manager/components/integration/WaterList.vue b/src/views/device/manager/components/integration/WaterList.vue index 37330fd..5a56913 100644 --- a/src/views/device/manager/components/integration/WaterList.vue +++ b/src/views/device/manager/components/integration/WaterList.vue @@ -119,7 +119,7 @@ function getTableAction(record) { { label: '拉取设备', onClick: handlePull.bind(null, record), - ifShow: record.sn != null && record.deviceStatus =='待集成' + ifShow: record.sn != null && record.deviceStatus =='待集成' && record.maintainStatus !='损坏' }, ]; } diff --git a/src/views/device/manager/components/log/log.data.ts b/src/views/device/manager/components/log/log.data.ts index 11bab0d..e9949d6 100644 --- a/src/views/device/manager/components/log/log.data.ts +++ b/src/views/device/manager/components/log/log.data.ts @@ -73,6 +73,12 @@ export const columns: BasicColumn[] = [ dataIndex: 'optType', width: 100 }, + { + title: '备注', + align: "center", + dataIndex: 'remarks', + width: 200 + }, ]; export const searchFormSchema: FormSchema[] = [];