|
@@ -6,7 +6,12 @@
|
|
|
<el-link type="primary" class="text-nowrap mr-20" :icon="CirclePlusFilled"
|
|
|
@click="dialogFromCli('addDeptDialogVisible')">创建部门</el-link>
|
|
|
<el-link class="text-nowrap textFont textFont mr-10" type="primary" :icon="Edit"
|
|
|
- @click="updateDepartment('addDeptDialogVisible')">{{ deptListItem.label || '全部人员' }}</el-link>
|
|
|
+ @click="updateDepartment('addDeptDialogVisible')">
|
|
|
+ <template v-if="!deptListItem.labe">全部人员</template>
|
|
|
+ <template v-if="deptListItem.labe">
|
|
|
+ <TextTranslation translationTypes="departmentName" :translationValue="deptListItem.labe"></TextTranslation>
|
|
|
+ </template>
|
|
|
+ </el-link>
|
|
|
<span class="textSpan textFont">共 0 人</span>
|
|
|
</div>
|
|
|
<div class="teamForm flex items-center">
|
|
@@ -154,7 +159,7 @@
|
|
|
<el-form ref="deptRuleFormRef" style="max-width: 500px" :model="deptForm" :rules="deptRules" label-width="140px"
|
|
|
size="large" status-icon>
|
|
|
<el-form-item label="部门名称" prop="name">
|
|
|
- <el-input v-model="deptForm.name" placeholder="请输入部门名称" clearable />
|
|
|
+ <el-input v-model="deptForm.name" placeholder="请输入部门名称" clearable :disabled="userInfo.userNameNeedTranslate == 1" />
|
|
|
</el-form-item>
|
|
|
<el-form-item label="主要负责人">
|
|
|
<!-- <el-select v-model="deptForm.managerId" placeholder="请选择" style="width: 100%" clearable>
|