diff --git a/packages/device/AppEquipmentManage/components/List.vue b/packages/device/AppEquipmentManage/components/List.vue index 44984dc3..9a1b3eb3 100644 --- a/packages/device/AppEquipmentManage/components/List.vue +++ b/packages/device/AppEquipmentManage/components/List.vue @@ -22,7 +22,7 @@ @@ -73,13 +73,15 @@ export default { ids: [], colConfigs: [ { - prop: 'deviceName', + prop: 'name', label: '设备名称', + width: '200', }, { prop: 'areaName', label: '所属行政区划', align: 'center', + width: '200', }, { prop: 'serialNo', @@ -89,7 +91,7 @@ export default { { prop: 'devStatus', label: '设备状态', - width: '100', + width: '200', align: 'center', render: (h, {row}) => { return h('span', null, this.dict.getLabel('dlbDevStatus', row.devStatus)) @@ -98,10 +100,9 @@ export default { { prop: 'bind', label: '是否绑定区划', - width: '120', align: 'center', render: (h, {row}) => { - return h('span', null, this.dict.getLabel('yesOrNo', row.bind)) + return h('span', null, (row.areaId? '是': '否')) }, }, { @@ -175,7 +176,7 @@ export default { }) }, getList() { - this.instance.post(`/app/appdlbquipment/getDlbDeviceList`, null, { + this.instance.post(`/app/appdlbquipment/list`, null, { params: { ...this.page, ...this.search, diff --git a/packages/device/AppEquipmentManage/components/taskList.vue b/packages/device/AppEquipmentManage/components/taskList.vue index 51eb31b3..b55652f8 100644 --- a/packages/device/AppEquipmentManage/components/taskList.vue +++ b/packages/device/AppEquipmentManage/components/taskList.vue @@ -5,17 +5,17 @@