Merge remote-tracking branch 'origin/develop' into develop

This commit is contained in:
super_liu
2022-03-22 16:27:57 +08:00
7 changed files with 62 additions and 36 deletions
@@ -101,17 +101,17 @@ export default {
value: "22"
},
{
label: "企标复审流程",
value: "23"
},
{
label: '企标废止流程',
label: "企标废止流程",
value: "24"
},
{
label: '企标制修订计划管控',
label: "企标制修订计划管控",
value: "25"
},
{
label: "企标制修订立项",
value: "26"
}
],
formDisableFlag: false,
pickerOptions: {
@@ -638,25 +638,36 @@ export default {
} else if(this.dataList.length > 5) {
this.$message.warning('您最多只能选择五条数据')
}else{
this.listForm.dataList = this.dataList;
this.listForm.breakdownList = this.breakdownList
this.listForm.commentText = this.commentText;
const json = JSON.stringify(this.listForm);
this.isSubmit = true;
this.$http.post("lawss/activiti/completeTask", {
taskIds: this.taskIds,
userId: this.userId,
json: json
}, {
_this: this
}, res => {
if (res.success) {
this.$message.success(res.message);
this.$router.push("/processCenter");
let subFlag = true
this.dataList.forEach(item => {
if(!item.unameId){
subFlag = false
return
}
this.isSubmit = false;
}, e => {
});
})
if(subFlag){
this.listForm.dataList = this.dataList;
this.listForm.breakdownList = this.breakdownList
this.listForm.commentText = this.commentText;
const json = JSON.stringify(this.listForm);
this.isSubmit = true;
this.$http.post("lawss/activiti/completeTask", {
taskIds: this.taskIds,
userId: this.userId,
json: json
}, {
_this: this
}, res => {
if (res.success) {
this.$message.success(res.message);
this.$router.push("/processCenter");
}
this.isSubmit = false;
}, e => {
});
}else{
this.$message.warning('请选择项目经理')
}
}
},
@@ -187,7 +187,7 @@ export default {
size: this.$store.getters.userInfo.configContent,
userId: this.$store.getters.userInfo.userId,
prcName: this.searchForm.prcName,
prcType: parseInt(this.searchForm.prcType) || '',
prcType: parseInt(this.searchForm.prcType) || this.searchForm.prcType || '',
prcNum: this.searchForm.prcNum
}, {
loading: 'loading',
@@ -216,7 +216,7 @@ export default {
size: this.$store.getters.userInfo.configContent,
userId: this.$store.getters.userInfo.userId,
prcName: this.searchForm.prcName,
prcType: parseInt(this.searchForm.prcType) || '',
prcType: parseInt(this.searchForm.prcType) || this.searchForm.prcType ||'',
prcNum: this.searchForm.prcNum
},
{
@@ -254,7 +254,7 @@ export default {
size: parseInt(this.$store.getters.userInfo.configContent),
userId: this.$store.getters.userInfo.usid || this.$store.getters.userInfo.userId,
prcName: this.searchForm.prcName,
prcType: parseInt(this.searchForm.prcType) || '',
prcType: parseInt(this.searchForm.prcType) || this.searchForm.prcType ||'',
prcNum: this.searchForm.prcNum
},
{