|
@@ -367,7 +367,7 @@
|
|
<span style="float: right; color: #8492a6; font-size: 13px">{{ item.jobNumber }}</span>
|
|
<span style="float: right; color: #8492a6; font-size: 13px">{{ item.jobNumber }}</span>
|
|
</el-option>
|
|
</el-option>
|
|
</el-select>
|
|
</el-select>
|
|
- <selectCat :size="'medium'" :widthStr="'360'" v-if="user.userNameNeedTranslate == '1'" :subject="users" :subjectId="depForm.otherManagerIds" :distinction="'4'" @selectCal="selectCal"></selectCat>
|
|
|
|
|
|
+ <selectCat :size="'medium'" :widthStr="'360'" v-if="user.userNameNeedTranslate == '1' && departmentVisible" :subject="users" :subjectId="depForm.otherManagerIds" :distinction="'4'" @selectCal="selectCal"></selectCat>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
<!-- 直属领导 -->
|
|
<!-- 直属领导 -->
|
|
<el-form-item :label="$t('leadership')" prop="reportAuditUserid" v-if="user.timeType.needDeptAudit">
|
|
<el-form-item :label="$t('leadership')" prop="reportAuditUserid" v-if="user.timeType.needDeptAudit">
|
|
@@ -2981,12 +2981,12 @@ export default {
|
|
}
|
|
}
|
|
} else {
|
|
} else {
|
|
this.$set(that.depForm, 'otherManagerIds', [])
|
|
this.$set(that.depForm, 'otherManagerIds', [])
|
|
-
|
|
|
|
}
|
|
}
|
|
// console.log('点击编辑的时候', that.depData)
|
|
// console.log('点击编辑的时候', that.depData)
|
|
// if(that.depData.reportAuditUserid != null && that.depData.reportAuditUserid != "null" && that.depData.reportAuditUserid.length > 0) {
|
|
// if(that.depData.reportAuditUserid != null && that.depData.reportAuditUserid != "null" && that.depData.reportAuditUserid.length > 0) {
|
|
// that.depForm.reportAuditUserid = that.depData.reportAuditUserid
|
|
// that.depForm.reportAuditUserid = that.depData.reportAuditUserid
|
|
// }
|
|
// }
|
|
|
|
+ console.log(that.depForm, '<===== 最后的值')
|
|
that.depTitle = this.$t('editorialdepartment');
|
|
that.depTitle = this.$t('editorialdepartment');
|
|
}
|
|
}
|
|
that.departmentVisible = true;
|
|
that.departmentVisible = true;
|