opt:优化项目,客户相关代码
This commit is contained in:
@@ -49,8 +49,11 @@
|
||||
</el-form-item>
|
||||
|
||||
<el-form-item label="选择添加用户" prop="user_id">
|
||||
<el-select v-model="userData.user_id" placeholder="请选择" style="width: 100%;">
|
||||
<el-option v-for="item in contactsList" :key="item.contacts_id" :label="item.contacts_name"
|
||||
<el-select v-model="userData.user_id" filterable placeholder="请选择" style="width: 100%;">
|
||||
<el-option v-for="item in contactsList"
|
||||
filterable
|
||||
:key="item.contacts_id"
|
||||
:label="item.contacts_name"
|
||||
:value="item.contacts_id">
|
||||
</el-option>
|
||||
</el-select>
|
||||
@@ -230,7 +233,7 @@ export default {
|
||||
},
|
||||
//获取用户信息
|
||||
getUserInfoList() {
|
||||
user.getUserInfoList({ currPage: this.currPage, pageSize: this.pageSize, }).then(res => {
|
||||
user.getUserInfoList({ currPage: this.currPage, pageSize: this.pageSize}).then(res => {
|
||||
this.userList = res.data.data.list;
|
||||
console.log('userList', this.userList);
|
||||
this.total = res.data.data.total;
|
||||
|
||||
Reference in New Issue
Block a user