|
@@ -3197,7 +3197,7 @@
|
|
});
|
|
});
|
|
});
|
|
});
|
|
//检查当前的项目是否需要获取分组的负责人
|
|
//检查当前的项目是否需要获取分组的负责人
|
|
- if (this.user.timeType.reportAuditType >= 1) {
|
|
|
|
|
|
+ if (this.user.timeType.reportAuditType >= 1 && this.user.timeType.reportAuditType != 3) {
|
|
this.http.post("/task-group/getGroupIncharger", {groupId: domain.groupId},
|
|
this.http.post("/task-group/getGroupIncharger", {groupId: domain.groupId},
|
|
res => {
|
|
res => {
|
|
if (res.code == "ok") {
|
|
if (res.code == "ok") {
|
|
@@ -4409,12 +4409,12 @@
|
|
if(this.user.timeType.reportAuditType == 3){
|
|
if(this.user.timeType.reportAuditType == 3){
|
|
let auditTips = ''
|
|
let auditTips = ''
|
|
if(!this.zhoBao.auditorFirst){ auditTips += '第一、' }
|
|
if(!this.zhoBao.auditorFirst){ auditTips += '第一、' }
|
|
- if(!this.zhoBao.auditorSec && this.user.timeType.auditLevel > 1){ auditTips += '第二、' }
|
|
|
|
- if(!this.zhoBao.auditorThird && this.user.timeType.auditLevel > 2){ auditTips += '第三、' }
|
|
|
|
|
|
+ // if(!this.zhoBao.auditorSec && this.user.timeType.auditLevel > 1){ auditTips += '第二、' }
|
|
|
|
+ // if(!this.zhoBao.auditorThird && this.user.timeType.auditLevel > 2){ auditTips += '第三、' }
|
|
if(auditTips){
|
|
if(auditTips){
|
|
auditTips = auditTips.substring(0,auditTips.length - 1)
|
|
auditTips = auditTips.substring(0,auditTips.length - 1)
|
|
this.$message({
|
|
this.$message({
|
|
- message: '请选择[' + auditTips + ']审核人',
|
|
|
|
|
|
+ message: '请选择' + auditTips + '审核人',
|
|
type: 'warning'
|
|
type: 'warning'
|
|
})
|
|
})
|
|
return
|
|
return
|
|
@@ -5556,11 +5556,11 @@
|
|
audItem.auditorFirst = this.workForm.domains[i].auditorFirst
|
|
audItem.auditorFirst = this.workForm.domains[i].auditorFirst
|
|
}
|
|
}
|
|
if(this.user.timeType.auditLevel > 1){
|
|
if(this.user.timeType.auditLevel > 1){
|
|
- if(!this.workForm.domains[i].auditorSec){ auditRule += '第二、' }
|
|
|
|
|
|
+ // if(!this.workForm.domains[i].auditorSec){ auditRule += '第二、' }
|
|
audItem.auditorSec = this.workForm.domains[i].auditorSec
|
|
audItem.auditorSec = this.workForm.domains[i].auditorSec
|
|
}
|
|
}
|
|
if(this.user.timeType.auditLevel > 2){
|
|
if(this.user.timeType.auditLevel > 2){
|
|
- if(!this.workForm.domains[i].auditorThird){ auditRule += '第三、' }
|
|
|
|
|
|
+ // if(!this.workForm.domains[i].auditorThird){ auditRule += '第三、' }
|
|
audItem.auditorThird = this.workForm.domains[i].auditorThird
|
|
audItem.auditorThird = this.workForm.domains[i].auditorThird
|
|
}
|
|
}
|
|
if(this.workForm.domains[i].ccUserid){
|
|
if(this.workForm.domains[i].ccUserid){
|
|
@@ -5569,7 +5569,7 @@
|
|
if(auditRule){
|
|
if(auditRule){
|
|
auditRule = auditRule.substring(0,auditRule.length - 1)
|
|
auditRule = auditRule.substring(0,auditRule.length - 1)
|
|
this.$message({
|
|
this.$message({
|
|
- message: '请指定[' + auditRule + ']审核人',
|
|
|
|
|
|
+ message: '请指定' + auditRule + '审核人',
|
|
type: 'error'
|
|
type: 'error'
|
|
})
|
|
})
|
|
return
|
|
return
|
|
@@ -5739,7 +5739,7 @@
|
|
type: "error"
|
|
type: "error"
|
|
});
|
|
});
|
|
return;
|
|
return;
|
|
- } else if(this.user.timeType.reportAuditType != 3){
|
|
|
|
|
|
+ } else if(this.user.timeType.reportAuditType == 1 || this.user.timeType.reportAuditType == 2){
|
|
//分组负责人先审核, 确定是选择了任务分组
|
|
//分组负责人先审核, 确定是选择了任务分组
|
|
if (this.workForm.domains[i].taskGroups.length == 0) {
|
|
if (this.workForm.domains[i].taskGroups.length == 0) {
|
|
this.$message({
|
|
this.$message({
|