发布稿回显
This commit is contained in:
@@ -1866,19 +1866,19 @@
|
|||||||
filterText(val) {
|
filterText(val) {
|
||||||
this.$refs.tree.filter(val);
|
this.$refs.tree.filter(val);
|
||||||
},
|
},
|
||||||
'form.standName': {
|
// 'form.standName': {
|
||||||
handler: function (val) {
|
// handler: function (val) {
|
||||||
if (val && val !== '') {
|
// if (val && val !== '') {
|
||||||
this.form.FBGBUSSName = val
|
// this.form.FBGBUSSName = val
|
||||||
this.FBGBUSSFileList = []
|
// this.FBGBUSSFileList = []
|
||||||
this.FBGBUSSFileList = this.assemble(this.form.FBGBUSS, val);
|
// this.FBGBUSSFileList = this.assemble(this.form.FBGBUSS, val);
|
||||||
} else {
|
// } else {
|
||||||
this.form.FBGBUSSName = '企业标准'
|
// this.form.FBGBUSSName = '企业标准'
|
||||||
this.FBGBUSSFileList = []
|
// this.FBGBUSSFileList = []
|
||||||
this.FBGBUSSFileList = this.assemble(this.form.FBGBUSS, '企业标准');
|
// this.FBGBUSSFileList = this.assemble(this.form.FBGBUSS, '企业标准');
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
},
|
// },
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
getMap1(item) {
|
getMap1(item) {
|
||||||
@@ -2069,19 +2069,24 @@
|
|||||||
this.form.modelData[this.zrIndex].zrUserId = data[0].id
|
this.form.modelData[this.zrIndex].zrUserId = data[0].id
|
||||||
this.form.modelData[this.zrIndex].zrUserIdName = data[0].name
|
this.form.modelData[this.zrIndex].zrUserIdName = data[0].name
|
||||||
} else {
|
} else {
|
||||||
this.form.modelData.forEach(item => {
|
try{
|
||||||
|
this.form.modelData.forEach(item => {
|
||||||
this.zrIdList.forEach(items => {
|
this.zrIdList.forEach(items => {
|
||||||
if (item.id === items) {
|
if (item.id === items) {
|
||||||
item.zrUserId = data[0].id
|
item.zrUserId = data[0].id
|
||||||
item.zrUserIdName = data[0].name
|
item.zrUserIdName = data[0].name
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
}catch(e){
|
||||||
|
console.log(e)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (this.userType === 'bzhUserId') {
|
if (this.userType === 'bzhUserId') {
|
||||||
this.roleForm.bzhUserId = data[0].id
|
this.roleForm.bzhUserId = data[0].id
|
||||||
this.roleForm.bzhUserName = data[0].name
|
this.roleForm.bzhUserName = data[0].name
|
||||||
} else if (this.userType === 'fggcsUserId') {
|
} else if (this.userType === 'fggcsUserId') {
|
||||||
|
console.log(data)
|
||||||
this.roleForm.fggcsUserId = data[0].id
|
this.roleForm.fggcsUserId = data[0].id
|
||||||
this.roleForm.fggcsUserName = data[0].name
|
this.roleForm.fggcsUserName = data[0].name
|
||||||
} else if (this.userType === 'jsfzrUserId') {
|
} else if (this.userType === 'jsfzrUserId') {
|
||||||
@@ -3487,19 +3492,24 @@
|
|||||||
this.form.reviseStatus = processForm.reviseStatus
|
this.form.reviseStatus = processForm.reviseStatus
|
||||||
this.form.standName = processForm.renameEs ? processForm.renameEs : processForm.esName
|
this.form.standName = processForm.renameEs ? processForm.renameEs : processForm.esName
|
||||||
|
|
||||||
this.$http.get('/lawss/activiti/saveEditFile', {
|
|
||||||
model: 'model_qb'
|
|
||||||
}, {
|
|
||||||
_this: this
|
|
||||||
}, res => {
|
|
||||||
if (res) {
|
|
||||||
this.form.FBGBUSS = res.id
|
|
||||||
this.form.FBGBUSSName = this.form.standName
|
|
||||||
this.FBGBUSSFileList = this.assemble(res.id, this.form.FBGBUSSName);
|
|
||||||
}
|
|
||||||
})
|
|
||||||
|
|
||||||
// this.FBGBUSSFileList=[...this.FBGBJBDFileList,...this.assemble(processForm.FBGBUSS,processForm.FBGBUSSName)]
|
|
||||||
|
this.FBGBUSSFileList=this.assemble(processForm.FBGBUSS,processForm.FBGBUSSName)
|
||||||
|
|
||||||
|
if(this.FBGBUSSFileList.length === 0){
|
||||||
|
this.$http.get('/lawss/activiti/saveEditFile', {
|
||||||
|
model: 'model_qb'
|
||||||
|
}, {
|
||||||
|
_this: this
|
||||||
|
}, res => {
|
||||||
|
if (res) {
|
||||||
|
this.form.FBGBUSS = res.id + ',' + this.form.FBGBUSS
|
||||||
|
this.form.FBGBUSSName = this.form.standName + ',' + this.form.FBGBUSSName
|
||||||
|
this.FBGBUSSFileList = [...this.assemble(res.id, this.form.standName),...this.FBGBUSSFileList];
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
this.BZSMBUSSFileList=this.assemble(processForm.BZSMBUSS,processForm.BZSMBUSSName);
|
this.BZSMBUSSFileList=this.assemble(processForm.BZSMBUSS,processForm.BZSMBUSSName);
|
||||||
this.LSBBBUSSFileList=this.assemble(processForm.LSBBBUSS,processForm.LSBBBUSSName);
|
this.LSBBBUSSFileList=this.assemble(processForm.LSBBBUSS,processForm.LSBBBUSSName);
|
||||||
this.QTWJBUSSFileList=this.assemble(processForm.QTWJBUSS,processForm.QTWJBUSSName);
|
this.QTWJBUSSFileList=this.assemble(processForm.QTWJBUSS,processForm.QTWJBUSSName);
|
||||||
|
|||||||
Reference in New Issue
Block a user