企业管理-员工管理
This commit is contained in:
parent
7d432fcdd1
commit
27d702b9bd
@ -98,6 +98,8 @@ export const DICT_TYPE = {
|
|||||||
DICT_CUS_INFO_STATUS : 'cus_info_status',
|
DICT_CUS_INFO_STATUS : 'cus_info_status',
|
||||||
//推广渠道
|
//推广渠道
|
||||||
PROMOTION_CHANNEL : 'promotion_channel',
|
PROMOTION_CHANNEL : 'promotion_channel',
|
||||||
|
//用户类型
|
||||||
|
SYSTEM_USER_TYPE : 'system_user_type',
|
||||||
|
|
||||||
// ------- carMain模块 -------
|
// ------- carMain模块 -------
|
||||||
//车辆性质
|
//车辆性质
|
||||||
|
@ -62,7 +62,7 @@
|
|||||||
<i class="el-icon-place"></i>
|
<i class="el-icon-place"></i>
|
||||||
推广人角色
|
推广人角色
|
||||||
</template>
|
</template>
|
||||||
<!-- <dict-tag :type="DICT_TYPE.USER_IDENTITY" :value="formData.identity"/>-->
|
<dict-tag :type="DICT_TYPE.SYSTEM_USER_TYPE" :value="formData.oldUser.userType"/>
|
||||||
</el-descriptions-item>
|
</el-descriptions-item>
|
||||||
</el-descriptions>
|
</el-descriptions>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
@ -90,7 +90,7 @@ export default {
|
|||||||
promotionChannel: null,
|
promotionChannel: null,
|
||||||
uniqueCode: null,
|
uniqueCode: null,
|
||||||
registerTime: null,
|
registerTime: null,
|
||||||
identity: null
|
userType: null
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -115,7 +115,7 @@ export default {
|
|||||||
promotionChannel: null,
|
promotionChannel: null,
|
||||||
uniqueCode: null,
|
uniqueCode: null,
|
||||||
registerTime: null,
|
registerTime: null,
|
||||||
identity: null
|
userType: null
|
||||||
}
|
}
|
||||||
this.resetForm('formRef')
|
this.resetForm('formRef')
|
||||||
},
|
},
|
||||||
|
@ -5,14 +5,14 @@
|
|||||||
<el-form-item label="推广人姓名" prop="oldUserName">
|
<el-form-item label="推广人姓名" prop="oldUserName">
|
||||||
<el-input v-model="queryParams.oldUserName" placeholder="请输入推广人姓名" clearable @keyup.enter.native="handleQuery"/>
|
<el-input v-model="queryParams.oldUserName" placeholder="请输入推广人姓名" clearable @keyup.enter.native="handleQuery"/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="推广人角色" prop="identity">
|
<el-form-item label="推广人角色" prop="userType">
|
||||||
<el-select v-model="queryParams.identity" placeholder="请选择推广人角色" clearable size="small">
|
<el-select v-model="queryParams.userType" placeholder="请选择推广人角色" clearable size="small">
|
||||||
<!-- <el-option-->
|
<el-option
|
||||||
<!-- v-for="dict in this.getDictDatas(DICT_TYPE.USER_IDENTITY)"-->
|
v-for="dict in this.getDictDatas(DICT_TYPE.SYSTEM_USER_TYPE)"
|
||||||
<!-- :key="dict.value"-->
|
:key="dict.value"
|
||||||
<!-- :label="dict.label"-->
|
:label="dict.label"
|
||||||
<!-- :value="dict.value"-->
|
:value="dict.value"
|
||||||
<!-- />-->
|
/>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="推广人推广码" prop="uniqueCode">
|
<el-form-item label="推广人推广码" prop="uniqueCode">
|
||||||
@ -54,9 +54,9 @@
|
|||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="推广人姓名" align="center" prop="oldUserName" width="180" />
|
<el-table-column label="推广人姓名" align="center" prop="oldUserName" width="180" />
|
||||||
<el-table-column label="推广人电话" align="center" prop="oldUser.mobile" width="180" />
|
<el-table-column label="推广人电话" align="center" prop="oldUser.mobile" width="180" />
|
||||||
<el-table-column label="推广人角色" align="center" prop="identity" width="180">
|
<el-table-column label="推广人角色" align="center" prop="oldUser.userType" width="180">
|
||||||
<template v-slot="scope">
|
<template v-slot="scope">
|
||||||
<dict-tag :type="DICT_TYPE.USER_IDENTITY" :value="scope.row.identity"/>
|
<dict-tag :type="DICT_TYPE.SYSTEM_USER_TYPE" :value="scope.row.oldUser.userType"/>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="推广人推广码" align="center" prop="uniqueCode" width="180" />
|
<el-table-column label="推广人推广码" align="center" prop="uniqueCode" width="180" />
|
||||||
@ -107,7 +107,7 @@ export default {
|
|||||||
newUserName: null,
|
newUserName: null,
|
||||||
registerTimeArray: null,
|
registerTimeArray: null,
|
||||||
uniqueCode: null,
|
uniqueCode: null,
|
||||||
identity: null
|
userType: null
|
||||||
},
|
},
|
||||||
// 显示搜索条件
|
// 显示搜索条件
|
||||||
showSearch: true,
|
showSearch: true,
|
||||||
|
@ -65,13 +65,11 @@
|
|||||||
<el-row :gutter="2">
|
<el-row :gutter="2">
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item v-if="formData.id === undefined" label="登录账号" prop="loginAccount">
|
<el-form-item v-if="formData.id === undefined" label="登录账号" prop="loginAccount">
|
||||||
<el-input v-model="formData.loginAccount" placeholder="请输入登录账号"/>
|
|
||||||
<el-input v-model="formData.loginAccount" placeholder="请输入登录账号" maxlength="16" />
|
<el-input v-model="formData.loginAccount" placeholder="请输入登录账号" maxlength="16" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item v-if="formData.id === undefined" label="登录密码" prop="password">
|
<el-form-item v-if="formData.id === undefined" label="登录密码" prop="password">
|
||||||
<el-input v-model="formData.password" placeholder="请输入登录密码" type="password" show-password/>
|
|
||||||
<el-input v-model="formData.password" placeholder="请输入登录密码" type="password" maxlength="16" show-password />
|
<el-input v-model="formData.password" placeholder="请输入登录密码" type="password" maxlength="16" show-password />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
@ -206,23 +204,6 @@ export default {
|
|||||||
trigger: 'blur'
|
trigger: 'blur'
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
sex: [{required: true, message: "性别不能为空", trigger: 'blur'}],
|
|
||||||
address: [{required: true, message: "家庭住址不能为空", trigger: 'blur'}],
|
|
||||||
workYear: [{required: true, message: "工龄不能为空", trigger: 'blur'}],
|
|
||||||
joinedYear: [{required: true, message: "司龄不能为空", trigger: 'blur'}],
|
|
||||||
education: [{required: true, message: "学历不能为空", trigger: 'blur'}],
|
|
||||||
loginAccount: [{ required: true, message: '登录账号不能为空', trigger: 'blur' }, {
|
|
||||||
min: 4,
|
|
||||||
max: 16,
|
|
||||||
message: '登录账号长度在4到16个字符',
|
|
||||||
trigger: 'blur'
|
|
||||||
}],
|
|
||||||
password: [{ required: true, message: '登录密码不能为空', trigger: 'blur' }, {
|
|
||||||
min: 4,
|
|
||||||
max: 16,
|
|
||||||
message: '登录密码长度在4到16个字符',
|
|
||||||
trigger: 'blur'
|
|
||||||
}],
|
|
||||||
workDate: [{ required: true, message: '工作日期不能为空', trigger: 'blur' }],
|
workDate: [{ required: true, message: '工作日期不能为空', trigger: 'blur' }],
|
||||||
joinedDate: [{ required: true, message: '入职日期不能为空', trigger: 'blur' }]
|
joinedDate: [{ required: true, message: '入职日期不能为空', trigger: 'blur' }]
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user