[新增功能](pet)

相关方人员校验
pet
huangyuxuan 2024-10-23 14:45:03 +08:00
parent 7083c67619
commit d366785090
3 changed files with 24 additions and 14 deletions

View File

@ -109,11 +109,6 @@
<el-table-column type="index" label="序号" width="50" align="center"/> <el-table-column type="index" label="序号" width="50" align="center"/>
<el-table-column prop="NAME" label="用户名" align="center"/> <el-table-column prop="NAME" label="用户名" align="center"/>
<el-table-column prop="CREATTIME" label="新增时间" align="center"/> <el-table-column prop="CREATTIME" label="新增时间" align="center"/>
<el-table-column prop="CREATORNAME" label="新增人" align="center">
<template slot-scope="{row}">
<span>{{row.CREATORNAME ? row.CREATORNAME : row.NAMEX ? row.NAMEX : row.NAMER}}</span>
</template>
</el-table-column>
<el-table-column prop="REMARKS" label="记录" align="center"/> <el-table-column prop="REMARKS" label="记录" align="center"/>
</el-table> </el-table>
</el-dialog> </el-dialog>
@ -144,7 +139,7 @@
<el-radio v-model="pd.SEX" :label="'1'"></el-radio> <el-radio v-model="pd.SEX" :label="'1'"></el-radio>
</el-form-item> </el-form-item>
<el-form-item label="手机号" prop="PHONE"> <el-form-item label="手机号" prop="PHONE">
<el-input v-model="pd.PHONE" placeholder="这里输入手机号..."/> <el-input v-model="pd.PHONE" placeholder="这里输入手机号..." @blur="goCheck()"/>
</el-form-item> </el-form-item>
<!-- <el-form-item label="部门级别" prop="deptTypeID"> &lt;!&ndash;目的是选择部门到这个级别 &ndash;&gt;--> <!-- <el-form-item label="部门级别" prop="deptTypeID"> &lt;!&ndash;目的是选择部门到这个级别 &ndash;&gt;-->
<!-- <el-select v-model="pd.deptTypeID" placeholder="请选择" class="filter-item" >--> <!-- <el-select v-model="pd.deptTypeID" placeholder="请选择" class="filter-item" >-->
@ -526,7 +521,8 @@ export default {
'user/goCheck', 'user/goCheck',
{ {
CARD_NO: this.pd.USER_ID_CARD, CARD_NO: this.pd.USER_ID_CARD,
USERNAME: this.pd.USERNAME USERNAME: this.pd.USERNAME,
PHONE: this.pd.PHONE
} }
).then((data) => { ).then((data) => {
if (data.result === 'success') { if (data.result === 'success') {
@ -563,7 +559,7 @@ export default {
CITY: this.keyShudi[1] || '', CITY: this.keyShudi[1] || '',
COUNTRY: this.keyShudi[2] || '', COUNTRY: this.keyShudi[2] || '',
VILLAGE: this.keyShudi[3] || '', VILLAGE: this.keyShudi[3] || '',
ISPUSH: '0' ISPUSH: '1'
} }
).then((data) => { ).then((data) => {
this.listLoading = false this.listLoading = false

View File

@ -118,14 +118,14 @@
<!-- <el-input v-model="pd.userPASSWORD" show-password placeholder="这里输入密码..." />--> <!-- <el-input v-model="pd.userPASSWORD" show-password placeholder="这里输入密码..." />-->
<!-- </el-form-item>--> <!-- </el-form-item>-->
<el-form-item label="身份证号" prop="USER_ID_CARD"> <el-form-item label="身份证号" prop="USER_ID_CARD">
<el-input v-model="pd.USER_ID_CARD" placeholder="这里输入身份证号..." @blur="goCheck()"/> <el-input v-model="pd.USER_ID_CARD" placeholder="这里输入身份证号..."/>
</el-form-item> </el-form-item>
<el-form-item label="性别" prop="SEX"> <el-form-item label="性别" prop="SEX">
<el-radio v-model="pd.SEX" :label="'0'"></el-radio> <el-radio v-model="pd.SEX" :label="'0'"></el-radio>
<el-radio v-model="pd.SEX" :label="'1'"></el-radio> <el-radio v-model="pd.SEX" :label="'1'"></el-radio>
</el-form-item> </el-form-item>
<el-form-item label="手机号" prop="PHONE"> <el-form-item label="手机号" prop="PHONE">
<el-input v-model="pd.PHONE" placeholder="这里输入手机号..." /> <el-input v-model="pd.PHONE" placeholder="这里输入手机号..." @blur="goCheck()"/>
</el-form-item> </el-form-item>
<!-- <el-form-item label="部门级别" prop="deptTypeID"> &lt;!&ndash;目的是选择部门到这个级别 &ndash;&gt;--> <!-- <el-form-item label="部门级别" prop="deptTypeID"> &lt;!&ndash;目的是选择部门到这个级别 &ndash;&gt;-->
<!-- <el-select v-model="pd.deptTypeID" placeholder="请选择" class="filter-item" >--> <!-- <el-select v-model="pd.deptTypeID" placeholder="请选择" class="filter-item" >-->
@ -276,7 +276,9 @@ export default {
ROLE_ID: [ ROLE_ID: [
{ required: true, message: '角色不能为空', trigger: 'blur' } { required: true, message: '角色不能为空', trigger: 'blur' }
], ],
USERNAME: [
{ required: true, message: '用户名不能为空', trigger: 'blur' }
],
NAME: [ NAME: [
{ required: true, message: '姓名不能为空', trigger: 'blur' }, { required: true, message: '姓名不能为空', trigger: 'blur' },
{ min: 2, max: 30, message: '长度在 2 到 30 个字符', trigger: 'blur' } { min: 2, max: 30, message: '长度在 2 到 30 个字符', trigger: 'blur' }
@ -343,7 +345,9 @@ export default {
ISASSESS: '', ISASSESS: '',
JOB: '', // JOB: '', //
USER_ID_CARD: '', // USER_ID_CARD: '', //
NATION: '' // NATION: '', //
CARD_NO: '' //
}, },
roleList: [], roleList: [],
multipleSelectionAll: [], // multipleSelectionAll: [], //
@ -740,6 +744,15 @@ export default {
if (this.pd.VILLAGE) { if (this.pd.VILLAGE) {
areaRefID.push(this.pd.VILLAGE) areaRefID.push(this.pd.VILLAGE)
} }
if (this.pd.CARD_NO){
areaRefID.push(this.pd.CARD_NO)
}
if (this.pd.USERNAME){
areaRefID.push(this.pd.USERNAME)
}
if (this.pd.PHONE){
areaRefID.push(this.pd.PHONE)
}
this.$set(this.pd, 'shudi', areaRefID) this.$set(this.pd, 'shudi', areaRefID)
const refDeptLevelVal = {} const refDeptLevelVal = {}

View File

@ -125,7 +125,7 @@
<el-radio v-model="pd.SEX" :label="'1'"></el-radio> <el-radio v-model="pd.SEX" :label="'1'"></el-radio>
</el-form-item> </el-form-item>
<el-form-item label="手机号" prop="PHONE"> <el-form-item label="手机号" prop="PHONE">
<el-input v-model="pd.PHONE" placeholder="这里输入手机号..." /> <el-input v-model="pd.PHONE" placeholder="这里输入手机号..." @blur="goCheck()"/>
</el-form-item> </el-form-item>
<!-- <el-form-item label="部门级别" prop="deptTypeID"> &lt;!&ndash;目的是选择部门到这个级别 &ndash;&gt;--> <!-- <el-form-item label="部门级别" prop="deptTypeID"> &lt;!&ndash;目的是选择部门到这个级别 &ndash;&gt;-->
<!-- <el-select v-model="pd.deptTypeID" placeholder="请选择" class="filter-item" >--> <!-- <el-select v-model="pd.deptTypeID" placeholder="请选择" class="filter-item" >-->
@ -497,7 +497,8 @@ export default {
{ {
CARD_NO: this.pd.USER_ID_CARD, CARD_NO: this.pd.USER_ID_CARD,
USERNAME: this.pd.PHONE, USERNAME: this.pd.PHONE,
USER_ID: this.pd.USER_ID USER_ID: this.pd.USER_ID,
PHONE: this.pd.PHONE
} }
).then((data) => { ).then((data) => {
if (data.result === 'success') { if (data.result === 'success') {