Compare commits

...

2 Commits

2 changed files with 29 additions and 24 deletions

View File

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