From 231717f86291f955eb60012d808329807acc2c59 Mon Sep 17 00:00:00 2001 From: shijingjing <1789544664@qq.com> Date: Sat, 11 Jun 2022 13:16:21 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=BB=E5=8A=A1=E5=88=97=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../AppEquipmentManage/components/List.vue | 13 ++-- .../components/taskList.vue | 76 ++++++++++++------- .../device/AppMediaManage/components/List.vue | 1 - 3 files changed, 54 insertions(+), 36 deletions(-) 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 @@