From 69b2a65a03abd3c1525faa2577ba9b223089efa3 Mon Sep 17 00:00:00 2001 From: songshankun <songshankun@foxmail.com> Date: 星期一, 16 十月 2023 17:00:37 +0800 Subject: [PATCH] feat: 修复编码输入组件输入法冲突问题;添加粘贴功能;滚轮行为优化;修复未过滤IME合成事件问题 --- src/views/service/serviceContract/index.vue | 18 ++++++++++++++++-- 1 files changed, 16 insertions(+), 2 deletions(-) diff --git a/src/views/service/serviceContract/index.vue b/src/views/service/serviceContract/index.vue index 1feca04..5e1974b 100644 --- a/src/views/service/serviceContract/index.vue +++ b/src/views/service/serviceContract/index.vue @@ -199,9 +199,22 @@ async getData() { this.loading = true let params = {} - if (this.addConfig.id) { + console.log(this.addConfig) + if (this.addConfig.id && this.addConfig.keywordType === "閿�鍞満浼�") { + params = { + saleChanceId: this.addConfig.id, + page: this.pagerOptions.currPage, + pageSize: this.pagerOptions.pageSize + } + } else if (this.addConfig.id && this.addConfig.keywordType === "閿�鍞槑缁嗗崟") { params = { salesDetailsId: this.addConfig.id, + page: this.pagerOptions.currPage, + pageSize: this.pagerOptions.pageSize + } + } else if (this.addConfig.id && this.addConfig.keywordType === "鎶ヤ环鍗�") { + params = { + quotationId: this.addConfig.id, page: this.pagerOptions.currPage, pageSize: this.pagerOptions.pageSize } @@ -210,7 +223,8 @@ keyword: this.keyword, keywordType: this.keywordType, page: this.pagerOptions.currPage, - pageSize: this.pagerOptions.pageSize + pageSize: this.pagerOptions.pageSize, + contactId: this.addConfig.client_id } } await getServiceContractList(params) -- Gitblit v1.8.0