消除没有使用的接口
This commit is contained in:
@@ -161,7 +161,6 @@ export default {
|
|||||||
},
|
},
|
||||||
areaRootId: '',
|
areaRootId: '',
|
||||||
mediaList: [],
|
mediaList: [],
|
||||||
equipmentList: [],
|
|
||||||
detailDialog: false,
|
detailDialog: false,
|
||||||
isAll: false,
|
isAll: false,
|
||||||
input3: '',
|
input3: '',
|
||||||
@@ -198,15 +197,12 @@ export default {
|
|||||||
|
|
||||||
created() {
|
created() {
|
||||||
this.dict.load('dlbMessageUrgency', 'dlbBroadTaskType', 'dlbDyclingType')
|
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.formData.mediaId = this.params.id
|
||||||
this.userAreaId = this.user.info.areaId
|
this.userAreaId = this.user.info.areaId
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
// 选择设备
|
|
||||||
getSelect() {
|
|
||||||
},
|
|
||||||
getMediaList() {
|
getMediaList() {
|
||||||
return this.instance.post(`/app/appdlbresource/list?current=1&size=10000`).then((res) => {
|
return this.instance.post(`/app/appdlbresource/list?current=1&size=10000`).then((res) => {
|
||||||
if (res?.data) {
|
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) {
|
handleAreaSelect(v) {
|
||||||
this.areaName = v?.[0]?.label
|
this.areaName = v?.[0]?.label
|
||||||
|
|||||||
Reference in New Issue
Block a user