From fb4cb0e61775b2df5e493ad4ca19402d76f8bc6f Mon Sep 17 00:00:00 2001
From: 田源 <lastanimals@163.com>
Date: 星期一, 18 九月 2023 16:17:39 +0800
Subject: [PATCH] 集成系统-查询修复

---
 Source/UBCS-WEB/src/views/docking/loge.vue |   31 ++++++++++++++++++++++++++-----
 1 files changed, 26 insertions(+), 5 deletions(-)

diff --git a/Source/UBCS-WEB/src/views/docking/loge.vue b/Source/UBCS-WEB/src/views/docking/loge.vue
index 136ec29..91a235b 100644
--- a/Source/UBCS-WEB/src/views/docking/loge.vue
+++ b/Source/UBCS-WEB/src/views/docking/loge.vue
@@ -3,7 +3,7 @@
   <basic-container>
     <avue-crud :option="option"
                :table-loading="loading"
-               :data="data"
+               :data="data || getList"
                :page.sync="page"
                :permission="permissionList"
                ref="crud"
@@ -16,14 +16,14 @@
                @refresh-change="refreshChange"
                @on-load="onLoad">
       <template slot-scope="scope" slot="menuLeft">
-        <vci-docking-search :SearchObject="SearchObject" :page="page"></vci-docking-search>
+        <vci-docking-search :SearchObject="SearchObject" :page="page" :formInline="formInline" :status="status" @getList="dockingGetList"></vci-docking-search>
       </template>
     </avue-crud>
   </basic-container>
 </template>
 
 <script>
-import {getList} from "@/api/docking/loge";
+import {getLogoList} from "@/api/docking/loge";
 import {validatenull} from "@/util/validate";
 import {mapGetters} from "vuex";
 
@@ -32,8 +32,23 @@
   data(){
     return {
       value:'',
-      SearchObject:{
+      //鍚勪釜绫诲瀷鐘舵��
+      status:{
         type:'loge',
+        typeFlag:false,
+        dateFlag:false,
+        stateFlag:false,
+      },
+      //model缁戝畾
+      formInline:{
+        type:'',
+        cut:'',
+        text:'',
+        Date:'',
+        state:''
+      },
+      //闆嗘垚绫诲瀷姝绘暟鎹�
+      SearchObject:{
         searchData:[
           {
             label:'鏁版嵁缂栫爜',
@@ -203,6 +218,12 @@
     }
   },
   methods: {
+    dockingGetList(val){
+      this.data=val.records;
+      this.page.pageSize=val.size;
+      this.page.currentPage=val.current;
+      this.page.total=val.total;
+    },
     async cellDbClick(row, column, cell, event) {
       for (const key in row) {
         if (key === column.property) {
@@ -250,7 +271,7 @@
           query['conditionMap["' + key + '"]'] = this.query[key];
         }
       }
-      getList(page.currentPage, page.pageSize, Object.assign(params,this.params, query,this.query)).then(res => {
+      getLogoList(page.currentPage, page.pageSize, Object.assign(params,this.params, query,this.query)).then(res => {
         const data = res.data.data;
         this.page.total = data.total;
         this.data = data.records;

--
Gitblit v1.9.3