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