Jelajahi Sumber

update 修改信息添加客户单位修改

linweizeng 3 tahun lalu
induk
melakukan
d51b68bdda

+ 4 - 0
src/views/platform/org/employee/edit/basic-info.vue

@@ -45,6 +45,10 @@
             {{ formData.isSuper|optionsFilter(isSuperOptions,'label') }}
           </el-tag>
         </el-form-item>
+        <el-form-item label="单位">
+          <el-input v-if="!readonly" v-model="formData.wcAccount" />
+          <span v-else>{{ formData.wcAccount }}</span>
+        </el-form-item>
         <el-form-item label="员工姓名" prop="name">
           <el-input v-if="!readonly" v-model="formData.name" />
           <span v-else>{{ formData.name }}</span>

+ 1 - 1
src/views/platform/org/employee/list.vue

@@ -124,7 +124,7 @@ export default {
           { prop: 'name', label: this.$t('platform.org.employee.prop.name'),width:120 },
           { prop: 'account', label: this.$t('platform.org.employee.prop.account'),width:150},
           // { prop: 'wcAccount', label: this.$t('platform.org.employee.prop.wcAccount'),width:250},
-          { prop: 'orgName', label: this.$t('platform.org.employee.prop.orgPath'), sortable: false ,width:250},
+          { prop: 'orgName', label: this.$t('platform.org.employee.prop.orgPath'), sortable: false ,width:300},
           { prop: 'wcAccount', label: '客户单位名称',width:250},
           { prop: 'status', label: this.$t('platform.org.employee.prop.status'), tags: statusOptions,width:100},
           { prop: 'createTime', label: this.$t('common.field.createTime')},