祖安之光
6 分钟以前 7407ebc3ceae07582973e23dba4d95450c44a109
修改新增
已修改1个文件
10 ■■■■ 文件已修改
src/views/build/conpanyFunctionConsult/staffManage/staffRegister/components/staffDialog.vue 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/build/conpanyFunctionConsult/staffManage/staffRegister/components/staffDialog.vue
@@ -43,11 +43,11 @@
        </el-form-item>
        <el-form-item label="用户类型:" v-if="state.title !== '修改密码'" prop="userType">
          <el-radio-group v-model="state.form.userType"  :disabled="disabled" @change="changeType" v-if="state.title == '新增'">
            <el-radio :label="0" v-if="state.currentUserType == 0">系统管理员</el-radio>
            <el-radio :label="1" v-if="state.currentUserType == 0 ">企业管理员</el-radio>
            <el-radio :label="2" v-if="state.currentUserType == 1 ">企业用户</el-radio>
            <el-radio :label="3" v-if="!state.isAdmin">车间(岗位)级</el-radio>
            <el-radio :label="4" v-if="state.currentUserType == 0">其他</el-radio>
            <el-radio :label="0">系统管理员</el-radio>
            <el-radio :label="1">企业管理员</el-radio>
            <el-radio :label="2">企业用户</el-radio>
<!--            <el-radio :label="3" v-if="!state.isAdmin">车间(岗位)级</el-radio>-->
<!--            <el-radio :label="4" v-if="state.currentUserType == 0">其他</el-radio>-->
          </el-radio-group>
          <span v-else-if="state.title == '查看'">{{state.currentUserType === 0 ? '管理员' : state.currentUserType === 1 ? '企业级' : state.currentUserType === 2 ? '部门级' : state.currentUserType === 3 ? '车间级' :'其他'}}</span>
          <span v-else-if="state.title == '编辑'">{{state.form.userType === 0 ? '管理员' : state.form.userType === 1 ? '企业级' : state.form.userType === 2 ? '部门级' : state.form.userType === 3 ? '车间级' :'其他'}}</span>