feat: There is no way the,
This commit is contained in:
@@ -2859,6 +2859,24 @@
|
||||
_this: this
|
||||
}, res => {
|
||||
const item = res.data || {}
|
||||
this.sarLawsStandEO = JSON.parse(JSON.stringify(item))
|
||||
console.log(this.sarLawsStandEO)
|
||||
this.sarLawsStandEO["XCSJBUSS"] = this.dateFormatter()
|
||||
let subClass = item.standSubclass
|
||||
this.sarLawsStandEO.standSubclass = subClass
|
||||
if (this.sarLawsStandEO.issueTime != null && this.sarLawsStandEO.issueTime !== '') {
|
||||
this.sarLawsStandEO.issueTime = new Date(this.sarLawsStandEO.issueTime)
|
||||
}
|
||||
if (this.sarLawsStandEO.putTime != null && this.sarLawsStandEO.putTime !== '') {
|
||||
this.sarLawsStandEO.putTime = new Date(this.sarLawsStandEO.putTime)
|
||||
}
|
||||
Object.keys(item.attrInfoMap || {}).forEach((key) => {
|
||||
if (item.attrInfoMap[key]) {
|
||||
// this.sarStandardsInfoEO[key] = item.attrInfoMap[key]
|
||||
this.$set(this.sarLawsStandEO, key, item.attrInfoMap[key])
|
||||
}
|
||||
})
|
||||
this.sarLawsStandEO['id'] = item.id
|
||||
this.drawerTitle = '修改政策标准'
|
||||
this.modalshowflag = true
|
||||
this.resolveFormFieldList(true)
|
||||
@@ -2892,23 +2910,6 @@
|
||||
this.dynamicFormField = displayLocation
|
||||
this.loading = false
|
||||
})
|
||||
this.sarLawsStandEO = JSON.parse(JSON.stringify(item))
|
||||
this.sarLawsStandEO["XCSJBUSS"] = this.dateFormatter()
|
||||
let subClass = item.standSubclass
|
||||
this.sarLawsStandEO.standSubclass = subClass
|
||||
if (this.sarLawsStandEO.issueTime != null && this.sarLawsStandEO.issueTime !== '') {
|
||||
this.sarLawsStandEO.issueTime = new Date(this.sarLawsStandEO.issueTime)
|
||||
}
|
||||
if (this.sarLawsStandEO.putTime != null && this.sarLawsStandEO.putTime !== '') {
|
||||
this.sarLawsStandEO.putTime = new Date(this.sarLawsStandEO.putTime)
|
||||
}
|
||||
Object.keys(item.attrInfoMap || {}).forEach((key) => {
|
||||
if (item.attrInfoMap[key]) {
|
||||
// this.sarStandardsInfoEO[key] = item.attrInfoMap[key]
|
||||
this.$set(this.sarLawsStandEO, key, item.attrInfoMap[key])
|
||||
}
|
||||
})
|
||||
this.sarLawsStandEO['id'] = item.id
|
||||
if (state === 'show') {
|
||||
this.formdisableflag = true
|
||||
} else {
|
||||
@@ -2922,6 +2923,7 @@
|
||||
this.sarLawsStandEO.orgName = item.responsibleUnitShow
|
||||
}
|
||||
})
|
||||
console.log(this.sarLawsStandEO)
|
||||
})
|
||||
},
|
||||
// 部门树结构,通过id,查出对应的树节点
|
||||
|
||||
Reference in New Issue
Block a user