|
@@ -1709,16 +1709,21 @@ import timetoolVue from '../timetool/timetool.vue';
|
|
} else {
|
|
} else {
|
|
if (this.user.timeType.reportAuditType == 0) {
|
|
if (this.user.timeType.reportAuditType == 0) {
|
|
this.$toast.fail("请指定["+this.form.domains[i].projectName+']项目的审核人');
|
|
this.$toast.fail("请指定["+this.form.domains[i].projectName+']项目的审核人');
|
|
|
|
+ return;
|
|
} else if(this.user.timeType.reportAuditType == 1 || this.user.timeType.reportAuditType == 2){
|
|
} else if(this.user.timeType.reportAuditType == 1 || this.user.timeType.reportAuditType == 2){
|
|
if (this.form.domains[i].taskGroups.length == 0) {
|
|
if (this.form.domains[i].taskGroups.length == 0) {
|
|
this.$toast.fail("您在["+this.form.domains[i].projectName+"]项目上尚无参与的任务分组");
|
|
this.$toast.fail("您在["+this.form.domains[i].projectName+"]项目上尚无参与的任务分组");
|
|
|
|
+ return;
|
|
} else if (!this.form.domains[i].groupId) {
|
|
} else if (!this.form.domains[i].groupId) {
|
|
this.$toast.fail("请选择["+this.form.domains[i].projectName+"]项目的任务分组");
|
|
this.$toast.fail("请选择["+this.form.domains[i].projectName+"]项目的任务分组");
|
|
|
|
+ return;
|
|
} else {
|
|
} else {
|
|
this.$toast.fail("请先设置["+this.form.domains[i].projectName+']-['+this.form.domains[i].groupName+']的分组负责人');
|
|
this.$toast.fail("请先设置["+this.form.domains[i].projectName+']-['+this.form.domains[i].groupName+']的分组负责人');
|
|
|
|
+ return;
|
|
}
|
|
}
|
|
|
|
+
|
|
}
|
|
}
|
|
- return;
|
|
|
|
|
|
+
|
|
}
|
|
}
|
|
}
|
|
}
|
|
if(!this.flgLg) {
|
|
if(!this.flgLg) {
|