From 021db80b57a7bd79eda3ef718b33320ea4be2470 Mon Sep 17 00:00:00 2001 From: xiejun <xj@2023> Date: 星期一, 18 九月 2023 14:12:50 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- Source/UBCS-WEB/src/components/dockingSearch/VciDockingSearch.vue | 11 ++++++++--- 1 files changed, 8 insertions(+), 3 deletions(-) diff --git a/Source/UBCS-WEB/src/components/dockingSearch/VciDockingSearch.vue b/Source/UBCS-WEB/src/components/dockingSearch/VciDockingSearch.vue index 0b17c75..0edd298 100644 --- a/Source/UBCS-WEB/src/components/dockingSearch/VciDockingSearch.vue +++ b/Source/UBCS-WEB/src/components/dockingSearch/VciDockingSearch.vue @@ -118,7 +118,12 @@ SaveHandler(){ let name = this.SearchObject.searchData[this.formInline.type].prop; getList(this.page.currentPage, this.page.pageSize, { [`conditionMap[${name}_like]`]: this.formInline.text}).then(res => { - console.log(res); + if(!res.data.data.records){ + this.$message.error('鏆傛湭鏌ュ埌鏁版嵁锛�') + }else { + let Data=res.data.data; + this.$emit('getList',Data); + } }); }, handleSearch() { @@ -157,8 +162,8 @@ if(!res.data.data.records){ this.$message.error('鏆傛湭鏌ュ埌鏁版嵁锛�') }else { - let Data=res.data.data.records; - this.$emit('getList',Data) + let Data=res.data.data; + this.$emit('getList',Data); } }); } -- Gitblit v1.9.3