From bfa2d1307c6faea916088a40dc09a360b17f7499 Mon Sep 17 00:00:00 2001 From: yuxc <653031404@qq.com> Date: 星期五, 30 六月 2023 18:04:33 +0800 Subject: [PATCH] 1、主要对查询返回数据进行联查 --- Source/UBCS-WEB/src/components/refer/vciWebReferDefalut.vue | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Source/UBCS-WEB/src/components/refer/vciWebReferDefalut.vue b/Source/UBCS-WEB/src/components/refer/vciWebReferDefalut.vue index 690e721..bac7f47 100644 --- a/Source/UBCS-WEB/src/components/refer/vciWebReferDefalut.vue +++ b/Source/UBCS-WEB/src/components/refer/vciWebReferDefalut.vue @@ -272,8 +272,7 @@ var query={} if (this.query) { for (var key in this.query) { - query['conditionMap["' + key + '"]'] = '*'+this.query[key]+'*'; - query[key]='*'+this.query[key]+'*'; + query['conditionMap["' + key + '"]'] = this.query[key]; } } getList(Object.assign(params,this.params,this.query, query),page.currentPage, page.pageSize, this.url).then(res => { @@ -281,6 +280,9 @@ this.page.total=res.data.total this.loading = false; this.selectionClear(); + }).catch(error=>{ + this.$message.error(error); + this.loading = false; }); } -- Gitblit v1.9.3