From 1689efc3509a1a87bee55cb8f47e513cae40c031 Mon Sep 17 00:00:00 2001 From: liuye Date: Sat, 11 Jun 2022 11:43:11 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=BE=E5=A4=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/AppBroadcast1/selectEquipment.vue | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/apps/AppBroadcast1/selectEquipment.vue b/src/apps/AppBroadcast1/selectEquipment.vue index 72a26939..07139a35 100644 --- a/src/apps/AppBroadcast1/selectEquipment.vue +++ b/src/apps/AppBroadcast1/selectEquipment.vue @@ -19,10 +19,10 @@
-

{{item.deviceName}}

- {{item.orgName}} +

{{item.name}}

+ {{item.areaName}}
-
在线
+
{{ $dict.getLabel('dlbDevStatus', item.devStatus) }}
@@ -48,7 +48,9 @@ export default { onLoad(option) { this.areaId = this.user.areaId this.areaName = this.user.areaName - this.getList() + this.$dict.load(['dlbDevStatus']).then(() => { + this.getList() + }) }, methods: { areaSelect(e) { @@ -56,7 +58,7 @@ export default { // this.getList() }, getList() { - this.$http.post(`/app/appdlbquipment/getDlbDeviceList?current=1&size=20&keyword=${this.keyword}`).then((res) => { + this.$http.post(`/app/appdlbquipment/list?current=1&size=20&name=${this.keyword}`).then((res) => { if (res.code == 0) { res.data.records.map(item => { item.isCheck = false