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

Loading…
Cancel
Save