合并分支 'dev_20230216' 到 'master'

Dev 20230216

查看合并请求 laws-foton-slrs/foton-laws-system-front!77
This commit is contained in:
高嵩
2023-05-15 18:07:33 +08:00
3 changed files with 37 additions and 16 deletions
@@ -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.ok){
this.completeTask(json)
}
this.isSubmit = false;
}, e => {
});
}).catch(e=>{
console.log(e)
})
}else{
this.$message.warning('请完善基础信息')
}
})
},
completeTask(json){
this.$http.post("lawss/activiti/completeTask", {
taskIds: this.$route.query.taskIds,
userId: this.$store.getters.userInfo.userId,
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;
},
@@ -553,8 +553,8 @@ export default {
if (res.success) {
this.addLog(this.qbfsForm)
this.$message.success(res.message)
if(this.type === '4'){
this.batchToDoTasks(data).then((result)=>{
if(this.type === '4' && data.isNot === '1'){
this.batchToDoTasks(data.ids).then((result)=>{
if(result.success){
console.log(result)
this.$router.push('/processCenter')
@@ -919,6 +919,15 @@ export default {
}
})
}
}else{
this.$router.push({
name: 'qbzxdjhgkStep1',
query: {
type: '25',
processName: '企标制修订计划管控',
bpnId: id
}
})
}
break