From 2b5ef02510cffc0cdbe74ed53b53fd9826d0bacf Mon Sep 17 00:00:00 2001
From: 田源 <lastanimals@163.com>
Date: 星期二, 30 一月 2024 17:12:04 +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