合并分支 'dev_20230216' 到 'master'
Dev 20230216 查看合并请求 laws-foton-slrs/foton-laws-system-front!77
This commit is contained in:
@@ -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.ok){
|
||||||
}, res => {
|
this.completeTask(json)
|
||||||
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(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) {
|
handleTabs(name) {
|
||||||
this.active = name;
|
this.active = name;
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -553,8 +553,8 @@ export default {
|
|||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.addLog(this.qbfsForm)
|
this.addLog(this.qbfsForm)
|
||||||
this.$message.success(res.message)
|
this.$message.success(res.message)
|
||||||
if(this.type === '4'){
|
if(this.type === '4' && data.isNot === '1'){
|
||||||
this.batchToDoTasks(data).then((result)=>{
|
this.batchToDoTasks(data.ids).then((result)=>{
|
||||||
if(result.success){
|
if(result.success){
|
||||||
console.log(result)
|
console.log(result)
|
||||||
this.$router.push('/processCenter')
|
this.$router.push('/processCenter')
|
||||||
|
|||||||
@@ -919,6 +919,15 @@ export default {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
}else{
|
||||||
|
this.$router.push({
|
||||||
|
name: 'qbzxdjhgkStep1',
|
||||||
|
query: {
|
||||||
|
type: '25',
|
||||||
|
processName: '企标制修订计划管控',
|
||||||
|
bpnId: id
|
||||||
|
}
|
||||||
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
break
|
break
|
||||||
|
|||||||
Reference in New Issue
Block a user