From ec4699c0b54d3d55ede277d808e33181eb8295e7 Mon Sep 17 00:00:00 2001
From: haoxuan <haoxuan>
Date: 星期二, 17 十月 2023 16:59:13 +0800
Subject: [PATCH] 客户和联系人的关系的相关问题修改,去掉联系人编号
---
src/views/other/commonDialog/SelectContactDialog.vue | 11 ++++++++---
1 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/src/views/other/commonDialog/SelectContactDialog.vue b/src/views/other/commonDialog/SelectContactDialog.vue
index 5e3010e..1b291da 100644
--- a/src/views/other/commonDialog/SelectContactDialog.vue
+++ b/src/views/other/commonDialog/SelectContactDialog.vue
@@ -54,6 +54,7 @@
return {
editVisible: false,
title: "",
+ clientId: 0,
infomation: {}
}
}
@@ -81,6 +82,9 @@
}
},
created() {
+ this.search_map = {
+ client_id: this.editConfig.clientId
+ }
this.setTable()
this.getData()
},
@@ -121,8 +125,8 @@
this.loading = true
await getContactList({
search_map: this.search_map,
- page: 0,
- pageSize: 0
+ page: this.pagerOptions.currPage,
+ pageSize: this.pagerOptions.pageSize
})
.then((res) => {
console.log(res)
@@ -134,7 +138,8 @@
client_name: item.Client.name
}
})
- this.tableList.tableInfomation = list.slice(0, 5) || []
+ this.tableList.tableInfomation = list || []
+ this.pagerOptions.totalCount = res.data.count
} else {
this.tableList.tableInfomation = []
}
--
Gitblit v1.8.0