废止流程 批准则废除修改
This commit is contained in:
@@ -397,26 +397,38 @@ export default {
|
||||
this.qbfsForm.bafzFlag = '0'
|
||||
this.qbfsForm.dataList = this.dataList;
|
||||
let json = JSON.stringify(this.qbfsForm);
|
||||
this.$http.post("lawss/activiti/completeTask", {
|
||||
taskIds: this.$route.query.taskIds,
|
||||
userId: this.$store.getters.userInfo.userId,
|
||||
json: json
|
||||
}, {
|
||||
_this: this
|
||||
}, res => {
|
||||
if (res.success) {
|
||||
this.$message.success(res.message);
|
||||
this.$router.push("/processCenter");
|
||||
let params = {
|
||||
type: this.qbfsForm.nextStatus,
|
||||
id: this.qbfsForm.standId,
|
||||
}
|
||||
this.$http._getData('lawss/sarBussionessStand/repeal',params,{}).then(res => {
|
||||
if(res && res.result){
|
||||
this.completeTask()
|
||||
}
|
||||
this.isSubmit = false;
|
||||
}, e => {
|
||||
});
|
||||
}).catch(e=>{
|
||||
console.log(e)
|
||||
})
|
||||
}else{
|
||||
this.$message.warning('请完善基础信息')
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
completeTask(){
|
||||
this.$http.post("lawss/activiti/completeTask", {
|
||||
taskIds: this.$route.query.taskIds,
|
||||
userId: this.$store.getters.userInfo.userId,
|
||||
json: json
|
||||
}, {
|
||||
_this: this
|
||||
}, res => {
|
||||
if (res.success) {
|
||||
this.$message.success(res.message);
|
||||
this.$router.push("/processCenter");
|
||||
}
|
||||
this.isSubmit = false;
|
||||
}, e => {
|
||||
});
|
||||
},
|
||||
handleTabs(name) {
|
||||
this.active = name;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user