修改流程阻塞bug
This commit is contained in:
@@ -2492,7 +2492,7 @@
|
||||
bringData.standInData = this.form.standInData && this.form.standInData != '' ? this.form.standInData : '0'
|
||||
const json = Object.assign(bringData, bringData.attrInfoCaseMap);
|
||||
this.form = JSON.parse(JSON.stringify(json))
|
||||
this.form.textStatus = this.form.textStatus === 'jjxoynfepp' || this.form.textStatus === 'vsaga7nwub' ? '' : this.form.textStatus
|
||||
this.form.textStatus = this.form.textStatus === 'jjxoynfepp' || this.form.textStatus === 'vsaga7nwub' || this.form.textStatus === 'hb0iy9z23c' || this.form.textStatus === 'chblaarg77' || this.form.textStatus === 'qke0ckro2p' || this.form.textStatus === 'ylmfkii1jt' ? '' : this.form.textStatus
|
||||
this.getListTree(bringData)
|
||||
this.form.standId = bringData.id
|
||||
if (this.form.country) {
|
||||
|
||||
@@ -557,7 +557,7 @@ export default {
|
||||
}, res => {
|
||||
if (res.success) {
|
||||
this.$message.success(res.message);
|
||||
this.addLog(qbzxdFrom)
|
||||
// this.addLog(qbzxdFrom)
|
||||
if (this.bpnId !== '' && this.bpnId !== undefined) {
|
||||
let taskId = {
|
||||
id: this.bpnId
|
||||
@@ -614,7 +614,7 @@ export default {
|
||||
}, res => {
|
||||
if (res.success) {
|
||||
this.$message.success(res.message);
|
||||
this.addLog(qbzxdFrom)
|
||||
// this.addLog(qbzxdFrom)
|
||||
if (this.bpnId !== '' && this.bpnId !== undefined) {
|
||||
let taskId = {
|
||||
id: this.bpnId
|
||||
@@ -647,7 +647,7 @@ export default {
|
||||
if (res.success) {
|
||||
this.$message.success(res.message);
|
||||
this.isSubmit = false;
|
||||
this.addLog(qbzxdFrom)
|
||||
// this.addLog(qbzxdFrom)
|
||||
this.$router.push({ path: "/processCenter?tabsName=ProcessCenter" });
|
||||
}
|
||||
});
|
||||
|
||||
@@ -527,6 +527,7 @@ export default {
|
||||
_this: this
|
||||
}, res => {
|
||||
if (res.success) {
|
||||
this.addLog(this.qbfsForm)
|
||||
this.$message.success(res.message)
|
||||
this.$router.push('/processCenter')
|
||||
}
|
||||
@@ -534,6 +535,15 @@ export default {
|
||||
}, e => {
|
||||
});
|
||||
},
|
||||
addLog(qbzxdFrom){
|
||||
let json = Object.assign(qbzxdFrom);
|
||||
this.$http.post("esRevisePlanLog/log/addLog", {
|
||||
json: JSON.stringify(json)
|
||||
}, {
|
||||
_this: this
|
||||
}, res => {
|
||||
});
|
||||
},
|
||||
beforeBack(){
|
||||
if(!this.commentText){
|
||||
this.$message.warning('请填写审批意见')
|
||||
|
||||
@@ -693,26 +693,36 @@ export default {
|
||||
choiceZRRS(type) {
|
||||
this.roleType = type
|
||||
if(type === '1' ){
|
||||
this.drawerTitle2 = '请选择起草人'
|
||||
this.drawerTitle = '请选择起草人'
|
||||
this.nodeList2 = [];
|
||||
if (this.addQblxData.drafter !== undefined) {
|
||||
this.nodeList2 = this.addQblxData.drafter.split(",");
|
||||
}
|
||||
this.modalshowflag = true;
|
||||
}else if(type === '2'){
|
||||
this.drawerTitle2 = '请选择评审责任人'
|
||||
this.nodeList2 = [];
|
||||
if (this.addQblxData.resPerson !== undefined) {
|
||||
this.nodeList2 = this.addQblxData.resPerson.split(",");
|
||||
}
|
||||
this.modalshowflag2 = true;
|
||||
}
|
||||
this.modalshowflag2 = true;
|
||||
},
|
||||
checkedRole(data) {
|
||||
this.$set(this.addQblxData, 'wgLeader', data[0].id)
|
||||
this.$set(this.addQblxData, 'wgLeaderName', data[0].name)
|
||||
if(this.roleType === '1'){
|
||||
this.$set(this.addQblxData, 'drafter', data[0].id)
|
||||
this.$set(this.addQblxData, 'drafterName', data[0].name)
|
||||
}else {
|
||||
this.$set(this.addQblxData, 'wgLeader', data[0].id)
|
||||
this.$set(this.addQblxData, 'wgLeaderName', data[0].name)
|
||||
}
|
||||
|
||||
if(this.addQblxData.wgLeaderName){
|
||||
this.$refs.qblx_pageData.validateField('wgLeaderName')
|
||||
}
|
||||
if(this.addQblxData.drafterName){
|
||||
this.$refs.qblx_pageData.validateField('drafterName');
|
||||
}
|
||||
this.modalshowflag = false;
|
||||
},
|
||||
checkedRole2(data) {
|
||||
|
||||
Reference in New Issue
Block a user