From d44c969622c6bd92e508b17b208cd7f8ec4cf669 Mon Sep 17 00:00:00 2001 From: wangting <675591594@qq.com> Date: 星期五, 04 八月 2023 16:14:43 +0800 Subject: [PATCH] 修改查询条件 --- Source/UBCS-WEB/src/components/MasterCrud/VciMasterCrud.vue | 12 +++++++----- 1 files changed, 7 insertions(+), 5 deletions(-) diff --git a/Source/UBCS-WEB/src/components/MasterCrud/VciMasterCrud.vue b/Source/UBCS-WEB/src/components/MasterCrud/VciMasterCrud.vue index cc7c67f..e25a422 100644 --- a/Source/UBCS-WEB/src/components/MasterCrud/VciMasterCrud.vue +++ b/Source/UBCS-WEB/src/components/MasterCrud/VciMasterCrud.vue @@ -300,8 +300,6 @@ }, tableDataArray: { handler(newval, oldval) { - this.keyWordFind=''; - this.WupinFindValue='' this.tableData = newval; this.searchResults = newval this.doLayout() @@ -323,8 +321,13 @@ } } } + + if(_index==0){ + this.keyWordFind=record.field + } }) this.tableHeadFindDatas = newval; + this.WupinFindValue='' }, }, total: { @@ -875,10 +878,10 @@ }, //杈撳叆鍥炶溅鎼滅储 tableFindInp() { - if (this.WupinFindValue.trim() === '') { + /*if (this.WupinFindValue.trim() === '') { this.$message.warning('杈撳叆鍊间笉鑳戒负绌�') return; - } + }*/ TableData({ templateOid: this.templateOid, codeClassifyOid: this.codeClassifyOid, @@ -886,7 +889,6 @@ limit: this.page.pageSize, [ 'conditionMap[' + this.keyWordFind + ']']: '*' + this.WupinFindValue + '*' }).then(res => { - console.log(res) this.tableData = res.data.data }) } -- Gitblit v1.9.3