Browse Source

删除手机号,追加查询部门的方式

origin/feature/monitoring
zhangyuan 5 years ago
parent
commit
43b67204d0
  1. 29
      src/views/modules/user/unauthorized.vue

29
src/views/modules/user/unauthorized.vue

@ -52,11 +52,11 @@
placeholder="请输入" placeholder="请输入"
clearable></el-input> clearable></el-input>
</el-form-item> </el-form-item>
<el-form-item label="手机号"> <!-- <el-form-item label="手机号">-->
<el-input v-model="dataForm.mobile" <!-- <el-input v-model="dataForm.mobile"-->
placeholder="请输入" <!-- placeholder="请输入"-->
clearable></el-input> <!-- clearable></el-input>-->
</el-form-item> <!-- </el-form-item>-->
<!-- <div class="block"> --> <!-- <div class="block"> -->
<span class="demonstration">注册时间</span>&nbsp;&nbsp; <span class="demonstration">注册时间</span>&nbsp;&nbsp;
<el-date-picker @change='setRegistTime' <el-date-picker @change='setRegistTime'
@ -96,10 +96,10 @@
label="昵称" label="昵称"
header-align="center" header-align="center"
align="center"></el-table-column> align="center"></el-table-column>
<el-table-column prop="mobile" <!-- <el-table-column prop="mobile"-->
label="手机号" <!-- label="手机号"-->
header-align="center" <!-- header-align="center"-->
align="center"></el-table-column> <!-- align="center"></el-table-column>-->
<el-table-column prop="realName" <el-table-column prop="realName"
label="真实姓名" label="真实姓名"
header-align="center" header-align="center"
@ -169,6 +169,7 @@ export default {
streetId: '', streetId: '',
communityId: '', communityId: '',
gridId: '', gridId: '',
deptId:'',
realName: '', realName: '',
mobile: '', mobile: '',
identityNo: '', identityNo: '',
@ -208,21 +209,25 @@ export default {
this.dataForm.streetId = '' this.dataForm.streetId = ''
this.dataForm.communityId = '' this.dataForm.communityId = ''
this.dataForm.gridId = '' this.dataForm.gridId = ''
} this.dataForm.deptId = ''
}else
if (val.length === 1) { if (val.length === 1) {
this.dataForm.streetId = this.deptIdList[0] this.dataForm.streetId = this.deptIdList[0]
this.dataForm.communityId = '' this.dataForm.communityId = ''
this.dataForm.gridId = '' this.dataForm.gridId = ''
} this.dataForm.deptId = this.deptIdList[0]
}else
if (val.length === 2) { if (val.length === 2) {
this.dataForm.streetId = this.deptIdList[0] this.dataForm.streetId = this.deptIdList[0]
this.dataForm.communityId = this.deptIdList[1] this.dataForm.communityId = this.deptIdList[1]
this.dataForm.gridId = '' this.dataForm.gridId = ''
} this.dataForm.deptId = this.deptIdList[1]
}else
if (val.length === 3) { if (val.length === 3) {
this.dataForm.streetId = this.deptIdList[0] this.dataForm.streetId = this.deptIdList[0]
this.dataForm.communityId = this.deptIdList[1] this.dataForm.communityId = this.deptIdList[1]
this.dataForm.gridId = this.deptIdList[2] this.dataForm.gridId = this.deptIdList[2]
this.dataForm.deptId = this.deptIdList[2]
} }
} }
}, },

Loading…
Cancel
Save