|
@@ -67,7 +67,7 @@
|
|
|
@cancel="item.showPickerSubProject = false;$forceUpdate();" />
|
|
|
</van-popup>
|
|
|
<!--任务分组 -->
|
|
|
- <van-field readonly name="groupId" v-if="user.timeType.reportAuditType >= 1 || (user.company.packageProject==1&&item.taskGroups != null && item.taskGroups.length > 0)" clickable
|
|
|
+ <van-field readonly name="groupId" v-if="user.timeType.reportAuditType >= 1 && (user.company.packageProject == 1 && item.taskGroups != null && item.taskGroups.length > 0)" clickable
|
|
|
:value="item.groupName" label="任务分组" placeholder="请选择任务分组"
|
|
|
@click="clickPickTaskGroup(index, item)" />
|
|
|
<van-popup v-model="item.showPickerTaskGroup" position="bottom">
|
|
@@ -761,7 +761,7 @@ import timetoolVue from '../timetool/timetool.vue';
|
|
|
//获取项目审核人
|
|
|
// console.log(domainItem.projectId,this.project);
|
|
|
var curProject = this.project.filter(p=>p.id == domainItem.projectId)[0];
|
|
|
- if (curProject && this.user.timeType.reportAuditType == 0) {
|
|
|
+ if (curProject && (this.user.timeType.reportAuditType == 0 || this.user.timeType.reportAuditType == 4)) {
|
|
|
this.getProjectAuditorList(domainItem, index);
|
|
|
}
|
|
|
|
|
@@ -1521,7 +1521,7 @@ import timetoolVue from '../timetool/timetool.vue';
|
|
|
|
|
|
//检查当前的项目是否需要获取分组的负责人
|
|
|
var curProject = this.project.filter(p=>p.id == this.form.domains[this.clickIndex].projectId)[0];
|
|
|
- if (curProject && this.user.timeType.reportAuditType >= 1) {
|
|
|
+ if (curProject && this.user.timeType.reportAuditType == 1 && this.user.timeType.reportAuditType == 2) {
|
|
|
this.$axios.post("/task-group/getGroupIncharger", {groupId: domainItem.groupId})
|
|
|
.then(res => {
|
|
|
if(res.code == "ok") {
|