From 7d306c55ee9926542b55ae4cc24fa0f6e4bfd848 Mon Sep 17 00:00:00 2001 From: 1iyc <5212514+liycone@user.noreply.gitee.com> Date: Thu, 7 Nov 2024 16:31:48 +0800 Subject: [PATCH] v 1.2.2 Signed-off-by: 1iyc <5212514+liycone@user.noreply.gitee.com> --- src/api/gather/pool/pool.js | 9 --------- src/components/Search/index.vue | 1 + src/components/TabComponent/index.vue | 2 +- src/views/gather/pool/index.vue | 4 ++-- 4 files changed, 4 insertions(+), 12 deletions(-) diff --git a/src/api/gather/pool/pool.js b/src/api/gather/pool/pool.js index 51a2a95..2d6ca8a 100644 --- a/src/api/gather/pool/pool.js +++ b/src/api/gather/pool/pool.js @@ -16,12 +16,3 @@ export function getTasks(queryParams) { params: queryParams, }); } - - -export function getDataList(dataSource, queryParams) { - return request({ - url: '/kis/supplier/list' + dataSource, - method: 'GET', - params: queryParams, - }); -} diff --git a/src/components/Search/index.vue b/src/components/Search/index.vue index 9275f82..1206032 100644 --- a/src/components/Search/index.vue +++ b/src/components/Search/index.vue @@ -62,6 +62,7 @@ export default { } } }); + this.$emit('query', this.queryParams); }, getComponentType(type) { switch (type) { diff --git a/src/components/TabComponent/index.vue b/src/components/TabComponent/index.vue index 303303d..086e444 100644 --- a/src/components/TabComponent/index.vue +++ b/src/components/TabComponent/index.vue @@ -129,7 +129,7 @@ export default { } }, created() { - this.queryParams.name = this.tabs[this.localIndex].name; + this.queryParams.name = this.tabs[this.localIndex].name; this.handleQuery(); // 在组件创建时触发查询 }, methods: { diff --git a/src/views/gather/pool/index.vue b/src/views/gather/pool/index.vue index f5a8ae5..ba2258b 100644 --- a/src/views/gather/pool/index.vue +++ b/src/views/gather/pool/index.vue @@ -62,8 +62,8 @@ export default { placeholder: '请选择', gutter: 2, options: [ - {label: '全部', value: ' ', default: true}, - {label: '是', value: '1', default: false}, + {label: '全部', value: ' ', default: false}, + {label: '是', value: '1', default: true}, {label: '否', value: '0', default: false}, ], },