From 3487cf28273a07db039b489e13b09093d28a522e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BE=99=E8=BF=90=E6=A8=A1?= <1724894114@qq.com> Date: Sat, 2 Aug 2025 10:25:58 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=A3=80=E7=B4=A2=E4=B8=8B?= =?UTF-8?q?=E6=8B=89=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/scMultipleSelect/index.vue | 5 +++-- src/components/scTable/components/headerSearch.vue | 2 +- src/views/order/orderList/index.vue | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/components/scMultipleSelect/index.vue b/src/components/scMultipleSelect/index.vue index cb2d08d..14338fa 100644 --- a/src/components/scMultipleSelect/index.vue +++ b/src/components/scMultipleSelect/index.vue @@ -47,8 +47,9 @@ export default { }, methods:{ - getDataList(val){ - this.$emit('fetchData',val); + getDataList(visible){ + if(!visible) return + this.$emit('fetchData',visible); }, selectChange(e){ this.localData = e; diff --git a/src/components/scTable/components/headerSearch.vue b/src/components/scTable/components/headerSearch.vue index b38a471..99d6f83 100644 --- a/src/components/scTable/components/headerSearch.vue +++ b/src/components/scTable/components/headerSearch.vue @@ -51,7 +51,7 @@ export default { searchList:{ handler(val){ if(val && val.length>0){ - this.columnList = this.sortData(this.$TOOL.objCopy(val.filter(em=> !em.hide && em.is_search))); + this.columnList = this.sortData(val.filter(em=> !em.hide && em.is_search)); this.params = this.groupByType(val); } }, diff --git a/src/views/order/orderList/index.vue b/src/views/order/orderList/index.vue index 495aa27..e301557 100644 --- a/src/views/order/orderList/index.vue +++ b/src/views/order/orderList/index.vue @@ -302,7 +302,7 @@ export default { async importUpload(params) { this.httpDisabled = true; const res = await this.$API.orders.order.maintenance.import.post(params); - if(res.code == 200){ + if(res.code === 200){ this.$refs.scImport.setAnalysisShow(true); this.$message.success('上传成功,开始导入数据'); }