feat: There is no way the, bug #56142 计划库新增加立项单 编辑 均为 数据带入

This commit is contained in:
396572590@qq.com
2022-07-04 17:19:26 +08:00
parent 15feb87097
commit 726e6538d7
@@ -779,6 +779,8 @@
releaseTime: '', // 计划标准发布时间 releaseTime: '', // 计划标准发布时间
drafter: '', // 起草人 drafter: '', // 起草人
drafterName: '', drafterName: '',
lxd:'',
lxdName:'',
// remarks: '', // 备注 // remarks: '', // 备注
}, },
addFormRules: { addFormRules: {
@@ -1192,11 +1194,25 @@
draftTime: '', // 计划标准初稿完成时间 draftTime: '', // 计划标准初稿完成时间
releaseTime: '', // 计划标准发布时间 releaseTime: '', // 计划标准发布时间
drafter: '', // 起草人 drafter: '', // 起草人
drafterName: '' drafterName: '',
LXD:'',
LXDName:'',
} }
this.DrawerType = 'add' this.DrawerType = 'add'
this.addForm.planStatus = '0' this.addForm.planStatus = '0'
this.addDrawer = true this.$http.get('/lawss/activiti/saveEditFile', {
model: 'model_lx'
},{
_this: this
}, res => {
if(res){
this.addForm.lxd = res.id
this.addForm.lxdName = '立项单'
this.LXDList=this.assemble(res.id,'立项单');
this.addDrawer = true
}
})
}, // 新增数据 }, // 新增数据
deleteList () { deleteList () {
if (this.ids.length) { if (this.ids.length) {
@@ -1328,7 +1344,7 @@
}else { }else {
fileName1 = '立项单' fileName1 = '立项单'
} }
this.addForm.LXDName = fileName1 this.addForm.lxdName = fileName1
this.LXDList=this.assemble(command[0].lxd,fileName1) this.LXDList=this.assemble(command[0].lxd,fileName1)
if (typeof (this.addForm.area) === 'string') { if (typeof (this.addForm.area) === 'string') {
this.addForm.area = command[0].area.split(',') this.addForm.area = command[0].area.split(',')
@@ -1369,7 +1385,7 @@
}else { }else {
fileName = '立项单' fileName = '立项单'
} }
this.addForm.LXDName = fileName this.addForm.lxdName = fileName
this.LXDList=this.assemble(command[0].lxd,fileName); this.LXDList=this.assemble(command[0].lxd,fileName);
if (typeof (this.addForm.area) === 'string') { if (typeof (this.addForm.area) === 'string') {
this.addForm.area = command[0].area.split(',') this.addForm.area = command[0].area.split(',')