归档位置

This commit is contained in:
shenyanpei
2022-01-24 11:21:03 +08:00
parent ba3a0f9698
commit 6fa409b027
3 changed files with 1431 additions and 1405 deletions
@@ -167,7 +167,7 @@ export default {
methods: {
filterNode(value, data) {
if (!value) return true;
return data.label.indexOf(value) !== -1;
return data.menuName.indexOf(value) !== -1;
},
loadNode(node, resolve) {
const that = this;
@@ -1505,6 +1505,7 @@ export default {
fileType: '',
countryArr: '',
form: {
standId: '',
// 基础信息
country: '',
textStatus: '', // 文本状态
@@ -2156,6 +2157,7 @@ export default {
const json = Object.assign(bringData, bringData.attrInfoCaseMap);
this.form = JSON.parse(JSON.stringify(json))
this.getListTree(bringData)
this.form.standId = bringData.id
this.form.qcdw = JSON.parse(JSON.stringify(json)).qcdw && JSON.parse(JSON.stringify(json)).qcdw !== '[]' ? JSON.parse(JSON.stringify(json)).qcdw : ''
this.form.wssmr = JSON.parse(JSON.stringify(json)).wssmr && JSON.parse(JSON.stringify(json)).wssmr !== '[]' ? JSON.parse(JSON.stringify(json)).wssmr : ''
this.form.zrgcs = JSON.parse(JSON.stringify(json)).zrgcs && JSON.parse(JSON.stringify(json)).zrgcs !== '[]' ? JSON.parse(JSON.stringify(json)).zrgcs : ''
@@ -2280,17 +2282,20 @@ export default {
}, {}, reson => {
if (reson.ok) {
let treeList = ''
let treeListId = ''
reson.data.forEach(item=>{
this.treeCheckedKeys.push(item.menuId)
if (item.menuId.length > 0) {
if (treeList.length > 0) {
treeList += ','
treeListId += ','
}
treeList = item.menuName
this.treeListName = treeList
treeList += item.menuName
treeListId += item.menuId
})
this.form.treeListName = treeList
this.form.treeListId = treeListId
}
})
this.form.treeListId = this.treeCheckedKeys.join(',')
}
})
},
File diff suppressed because it is too large Load Diff