废止流程 批准则废除修改

This commit is contained in:
gaojiabao
2023-05-12 16:50:13 +08:00
parent 65297257b8
commit 7cf665e7c8
@@ -397,26 +397,38 @@ export default {
this.qbfsForm.bafzFlag = '0' this.qbfsForm.bafzFlag = '0'
this.qbfsForm.dataList = this.dataList; this.qbfsForm.dataList = this.dataList;
let json = JSON.stringify(this.qbfsForm); let json = JSON.stringify(this.qbfsForm);
this.$http.post("lawss/activiti/completeTask", { let params = {
taskIds: this.$route.query.taskIds, type: this.qbfsForm.nextStatus,
userId: this.$store.getters.userInfo.userId, id: this.qbfsForm.standId,
json: json }
}, { this.$http._getData('lawss/sarBussionessStand/repeal',params,{}).then(res => {
_this: this if(res && res.result){
}, res => { this.completeTask()
if (res.success) {
this.$message.success(res.message);
this.$router.push("/processCenter");
} }
this.isSubmit = false; }).catch(e=>{
}, e => { console.log(e)
}); })
}else{ }else{
this.$message.warning('请完善基础信息') 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) { handleTabs(name) {
this.active = name; this.active = name;
}, },