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