归档位置

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: { methods: {
filterNode(value, data) { filterNode(value, data) {
if (!value) return true; if (!value) return true;
return data.label.indexOf(value) !== -1; return data.menuName.indexOf(value) !== -1;
}, },
loadNode(node, resolve) { loadNode(node, resolve) {
const that = this; const that = this;
@@ -1505,6 +1505,7 @@ export default {
fileType: '', fileType: '',
countryArr: '', countryArr: '',
form: { form: {
standId: '',
// 基础信息 // 基础信息
country: '', country: '',
textStatus: '', // 文本状态 textStatus: '', // 文本状态
@@ -2156,6 +2157,7 @@ export default {
const json = Object.assign(bringData, bringData.attrInfoCaseMap); const json = Object.assign(bringData, bringData.attrInfoCaseMap);
this.form = JSON.parse(JSON.stringify(json)) this.form = JSON.parse(JSON.stringify(json))
this.getListTree(bringData) 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.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.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 : '' 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 => { }, {}, reson => {
if (reson.ok) { if (reson.ok) {
let treeList = '' let treeList = ''
let treeListId = ''
reson.data.forEach(item=>{ reson.data.forEach(item=>{
this.treeCheckedKeys.push(item.menuId) this.treeCheckedKeys.push(item.menuId)
if (item.menuId.length > 0) { if (treeList.length > 0) {
treeList += ',' treeList += ','
treeListId += ','
} }
treeList = item.menuName treeList += item.menuName
this.treeListName = treeList 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