应用资源能力申请BUG修改

This commit is contained in:
a0049873 2022-07-18 15:18:26 +08:00
parent 8f8a1ed3ad
commit 57758bbfa4
3 changed files with 15 additions and 12 deletions

View File

@ -1,13 +1,13 @@
/*
* @Author: hisense.wuhongjian
* @Date: 2020-07-07 16:03:23
* @LastEditors: hisense.wuhongjian
* @LastEditTime: 2022-07-18 11:34:38
* @LastEditors: hisense.liangjunhua
* @LastEditTime: 2022-07-18 15:07:32
* @Description: 数据资源参数配置
*/
//const newLocation = 'qingdao'
const newLocation = 'qingdao'
// const newLocation = 'baotou'
const newLocation = 'xihaian'
// const newLocation = 'xihaian'
//
const whoShow = {}

View File

@ -272,7 +272,10 @@
const num = ref(0)
list.value.map((item) => {
item.arr.map((val) => {
let obj = item.children.filter((type) => type.id == val.id)[0]
console.log(item, '组件===========================')
let obj = item.children
? item.children.filter((type) => type.id == val.id)[0]
: val.type !== '应用资源'
if (obj) {
console.log('11111111111111111111111111111', obj, flag.value)
if (obj.type !== '应用资源') {

View File

@ -547,13 +547,13 @@
time: item.createDate,
type: item.type,
componentType:
item.infoList.filter(
(val) =>
(val.attrType == '组件类型')[0] &&
item.infoList.filter(
(val) => val.attrType == '组件类型'
)[0].attrValue
) || '',
(item.infoList.filter(
(val) => (val.attrType == '组件类型')[0]
) &&
item.infoList.filter(
(val) => val.attrType == '组件类型'
)[0].attrValue) ||
'',
},
],
deptId: item.deptId,