From 44e2c25f5b177ef91c6a24ef71d20faf5a8ec67a Mon Sep 17 00:00:00 2001 From: aixianling Date: Mon, 8 May 2023 11:14:09 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B6=88=E9=99=A4=E6=B2=A1=E6=9C=89=E4=BD=BF?= =?UTF-8?q?=E7=94=A8=E7=9A=84=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../device/AppMediaManage/components/Play.vue | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/packages/device/AppMediaManage/components/Play.vue b/packages/device/AppMediaManage/components/Play.vue index dcc00417..3a6dee89 100644 --- a/packages/device/AppMediaManage/components/Play.vue +++ b/packages/device/AppMediaManage/components/Play.vue @@ -161,7 +161,6 @@ export default { }, areaRootId: '', mediaList: [], - equipmentList: [], detailDialog: false, isAll: false, input3: '', @@ -198,15 +197,12 @@ export default { created() { this.dict.load('dlbMessageUrgency', 'dlbBroadTaskType', 'dlbDyclingType') - Promise.all([this.getEquipmentList(), this.getMediaList()]).then(() => { + Promise.all([this.getMediaList()]).then(() => { this.formData.mediaId = this.params.id this.userAreaId = this.user.info.areaId }) }, methods: { - // 选择设备 - getSelect() { - }, getMediaList() { return this.instance.post(`/app/appdlbresource/list?current=1&size=10000`).then((res) => { if (res?.data) { @@ -217,16 +213,6 @@ export default { } }) }, - getEquipmentList() { - return this.instance.post(`/app/appdlbquipment/getDlbDeviceList?current=1&size=10000&devStatus=5`).then((res) => { - if (res?.data) { - this.equipmentList = res.data.records?.map((item) => ({ - dictName: item.deviceName, - dictValue: item.serialNo - })) || [] - } - }) - }, // 地区选择 handleAreaSelect(v) { this.areaName = v?.[0]?.label