From b86d97b09d1aca57291004c1a2bc014f90702918 Mon Sep 17 00:00:00 2001 From: ludc Date: 星期五, 26 一月 2024 16:14:39 +0800 Subject: [PATCH] 提交代码 --- Source/UBCS-WEB/src/components/dockingSearch/VciDockingSearch.vue | 11 +++++++---- 1 files changed, 7 insertions(+), 4 deletions(-) diff --git a/Source/UBCS-WEB/src/components/dockingSearch/VciDockingSearch.vue b/Source/UBCS-WEB/src/components/dockingSearch/VciDockingSearch.vue index 5a018d8..bfb2231 100644 --- a/Source/UBCS-WEB/src/components/dockingSearch/VciDockingSearch.vue +++ b/Source/UBCS-WEB/src/components/dockingSearch/VciDockingSearch.vue @@ -121,7 +121,7 @@ SaveHandler(){ let name = this.SearchObject.searchData[this.formInline.type].prop; const requestApi = (api) => { - api(this.page.currentPage, this.page.pageSize, { [`conditionMap[${name}_like]`]: this.formInline.text}).then(res => { + api(this.page.currentPage, this.page.pageSize,'createTime','desc',{[`conditionMap[${name}_like]`]: this.formInline.text}).then(res => { if(!res.data.data.records){ this.$message.error('鏆傛湭鏌ュ埌鏁版嵁锛�') }else { @@ -130,12 +130,15 @@ } }); } - if(this.status.type=='logo'){ + //鏃ュ織 + if(this.status.type=='loge'){ requestApi(getLogoList); } + //鏁版嵁 if(this.status.type=='data'){ requestApi(getDataList); } + //浠诲姟 if(this.status.type=='task'){ requestApi(getTaskList); } @@ -146,7 +149,7 @@ const { cut, state, stateTask, Date, lastDate, taskCut } = this.formInline; const requestParams = {}; const requestApi = (api) => { - api(currentPage, pageSize, requestParams).then(res => { + api(currentPage, pageSize,'createTime','desc',requestParams).then(res => { if(!res.data.data.records){ this.$message.error('鏆傛湭鏌ュ埌鏁版嵁锛�'); } else { @@ -182,7 +185,7 @@ requestParams['conditionMap[sendType_like]'] = taskCut; } - if (type == 'logo') { + if (type == 'loge') { requestApi(getLogoList); } if (type == 'data') { -- Gitblit v1.9.3