From fbbd254e58a302b85370f96e3bbc892b66c6c1ed Mon Sep 17 00:00:00 2001 From: liutong <836164388@qq.com> Date: Tue, 20 May 2025 18:27:28 +0800 Subject: [PATCH] =?UTF-8?q?feat(market):=20=E6=B7=BB=E5=8A=A0=E5=AE=A2?= =?UTF-8?q?=E6=88=B7=E4=BF=A1=E6=81=AF=E4=BF=AE=E6=94=B9=E8=AE=B0=E5=BD=95?= =?UTF-8?q?=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 新增编辑客户信息记录页面,记录客户信息的修改历史 - 在客户详情页面添加修改记录按钮,跳转到修改记录页面 - 实现修改记录列表的加载和分页功能 --- pages.json | 9 + pages/market/clue/clue_info.vue | 15 +- pages/market/clue/edit_clues_log.vue | 266 +++++++++++++++++++++++++++ pages/market/clue/index.vue | 8 +- 4 files changed, 291 insertions(+), 7 deletions(-) create mode 100644 pages/market/clue/edit_clues_log.vue diff --git a/pages.json b/pages.json index d7285d7..29bbcd4 100644 --- a/pages.json +++ b/pages.json @@ -439,6 +439,15 @@ "navigationBarBackgroundColor": "#fff", "navigationBarTextStyle": "black" } + }, + { + "path": "pages/market/clue/edit_clues_log", + "style": { + "navigationBarTitleText": "修改记录", + "navigationStyle": "default", + "navigationBarBackgroundColor": "#fff", + "navigationBarTextStyle": "black" + } }, { "path": "pages/market/clue/clue_info", diff --git a/pages/market/clue/clue_info.vue b/pages/market/clue/clue_info.vue index 5d21baa..d588605 100644 --- a/pages/market/clue/clue_info.vue +++ b/pages/market/clue/clue_info.vue @@ -258,9 +258,9 @@ - 编辑详情 + 编辑详情 拨打电话 - 修改记录 + 修改记录 @@ -359,12 +359,21 @@ }) }, //跳转页面-编辑客户详情 - openEditClues(){ + openViewEditClues(){ let resource_sharing_id = this.resource_sharing_id//共享资源表id uni.navigateTo({ url: `/pages/market/clue/edit_clues?resource_sharing_id=${resource_sharing_id}` }) }, + + //跳转页面-客户信息修改记录 + openViewEditCluesLog() { + let resource_id = this.clientInfo.resource_id + uni.navigateTo({ + url: `/pages/market/clue/edit_clues_log?resource_id=${resource_id}` + }) + }, + //跳转页面-转接跟进任务 openViewNewTask() { uni.navigateTo({ diff --git a/pages/market/clue/edit_clues_log.vue b/pages/market/clue/edit_clues_log.vue new file mode 100644 index 0000000..962fbab --- /dev/null +++ b/pages/market/clue/edit_clues_log.vue @@ -0,0 +1,266 @@ + + + + + + \ No newline at end of file diff --git a/pages/market/clue/index.vue b/pages/market/clue/index.vue index 78bee70..f29f3b4 100644 --- a/pages/market/clue/index.vue +++ b/pages/market/clue/index.vue @@ -10,7 +10,7 @@ v-if="segmented_type == 1" scroll-y="true" :lower-threshold="lowerThreshold" - @scrolltolower="loadMoreData" + @scrolltolower="loadMoreData_1" style="height: 100vh;" > @@ -75,7 +75,7 @@ v-if="segmented_type == 2" scroll-y="true" :lower-threshold="lowerThreshold" - @scrolltolower="loadMoreData" + @scrolltolower="loadMoreData_2" style="height: 100vh;" > @@ -324,7 +324,7 @@ export default { //判断是否加载 if (!this.isReachedBottom) { this.isReachedBottom = true;//设置为不可请求状态 - this.getList(); + this.getList_1(); } }, //重置为第一页 @@ -382,7 +382,7 @@ export default { //判断是否加载 if (!this.isReachedBottom) { this.isReachedBottom = true;//设置为不可请求状态 - this.getList(); + this.getList_2(); } }, //重置为第一页