Compare commits

..

2 Commits

2 changed files with 29 additions and 24 deletions

View File

@ -201,31 +201,32 @@
let dataLists = ref([])
const myApplyAmount = () => {
applyAmount().then((res) => {
dataLists.value = res.data.data
dataLists.value = []
res.data.data.map((item) => {
switch (item.type) {
case '应用资源':
dataLists.value[0] = item
break
case '业务组件':
dataLists.value[3] = item
break
case '图层服务':
dataLists.value[1] = item
break
case '开发组件':
dataLists.value[2] = item
break
case '智能算法':
dataLists.value[4] = item
break
case '会客厅':
dataLists.value[5] = item
break
default:
dataLists.value.push(item)
break
}
dataLists.value.push(item)
// switch (item.type) {
// case '':
// dataLists.value[0] = item
// break
// case '':
// dataLists.value[1] = item
// break
// case '':
// dataLists.value[1] = item
// break
// case '':
// dataLists.value[2] = item
// break
// case '':
// dataLists.value[4] = item
// break
// case '':
// dataLists.value[5] = item
// break
// default:
// dataLists.value.push(item)
// break
// }
})
photo.value.map((item, index) => {
dataLists.value[index].photo = item

View File

@ -153,6 +153,10 @@ const getAppResources = (type, obj) => {
})
}
}
jcList.value.push({
name: '会客厅',
num: 3,
})
// 西-
if (whoShow1.value.itShowXiHaiAn) {
getSoldierData('无人机')