Ver Fonte

提交组织架构的人员转译

Lijy há 2 anos atrás
pai
commit
44b13ff2bb

+ 4 - 1
fhKeeper/formulahousekeeper/timesheet/src/views/team/index.vue

@@ -335,10 +335,13 @@
         <!-- 新增/编辑人员的Dialog -->
         <el-dialog :title="title" :visible.sync="dialogVisible" width="580px" :top="'7.5vh'">
             <div style="height: 62vh;overflow: auto;">
-              <el-form ref="form12" :model="insertForm" :rules="rules" label-width="80px">
+              <el-form ref="form12" :model="insertForm" :rules="rules" label-width="80px" v-if="user.userNameNeedTranslate != '1'">
                   <el-form-item :label="$t('lable.name')" prop="name">
                       <el-input v-model="insertForm.name" :placeholder="$t('peaseenterthe')" clearable :disabled="user.userNameNeedTranslate == '1'"></el-input>
                   </el-form-item>
+                  <el-form-item :label="$t('lable.name')" prop="name"  v-if="user.userNameNeedTranslate == '1'">
+                      <div><ww-open-data type='userName' :openid='insertForm.name'></ww-open-data></div>
+                  </el-form-item>
                   <el-form-item :label="$t('phone')" prop="phone">
                       <el-input v-model="insertForm.phone" :placeholder="$t('peaseenterthe')" clearable></el-input>
                   </el-form-item>