jinlin
2024-02-01 2df883fcbed176f83d8d144fd007e7f72fcb54d6
web/src/views/modules/sys/user-add-or-update.vue
@@ -7,7 +7,7 @@
            <el-tag>{{ $t('user.title') }}</el-tag>
          </template>
          <zt-form-item prop="username" label="用户头像">
            <config-uploader busi-type="users_avatar" model-name="dataForm" :dataForm="dataForm"
            <config-uploader :lineHeight="true" busi-type="users_avatar" model-name="dataForm" :dataForm="dataForm"
                             @getImageUrl="getImageUrl"
                             v-model="dataForm.files"/>
            <div v-if="dataForm.url">
@@ -15,7 +15,7 @@
            </div>
          </zt-form-item>
          <zt-form-item prop="realName" label="用户签名">
            <config-uploader :busiTypeVarName="busiTypeVarName" busi-type="users_sign" model-name="dataForm" :dataForm="dataForm"
            <config-uploader :lineHeight="true" :busiTypeVarName="busiTypeVarName" busi-type="users_sign" model-name="dataForm" :dataForm="dataForm"
                             @getImageUrl="getImageUrl"
                             v-model="dataForm.files2"/>
            <div v-if="dataForm.url2">
@@ -30,6 +30,9 @@
          </zt-form-item>
          <zt-form-item prop="nickName" :label="$t('user.nickName')">
            <el-input v-model="dataForm.nickName" :placeholder="$t('user.nickName')"></el-input>
          </zt-form-item>
          <zt-form-item prop="secretClass" :label="$t('user.secretClass')" rules="required">
            <zt-dict v-model="dataForm.secretClass" dict="secret_class" :placeholder="$t('user.secretClass') "></zt-dict>
          </zt-form-item>
          <zt-form-item prop="simpleSpelling" :label="$t('user.simpleSpelling')">
            <el-input v-model="dataForm.simpleSpelling" :placeholder="$t('user.simpleSpelling')"></el-input>
@@ -104,6 +107,7 @@
          deptName: '',
          realName: '',
          nickName: '',
          secretClass:'',
          headUrl: '',
          simpleSpelling: '',
          fullSpelling: '',