From 80ef464bf93212805d6b36f12b7791edda04e23e Mon Sep 17 00:00:00 2001
From: 田源 <lastanimals@163.com>
Date: 星期五, 15 九月 2023 09:36:22 +0800
Subject: [PATCH] 集成模块 搜索回显

---
 Source/UBCS-WEB/src/views/docking/loge.vue |   27 ++++++++++++++++++++++++---
 1 files changed, 24 insertions(+), 3 deletions(-)

diff --git a/Source/UBCS-WEB/src/views/docking/loge.vue b/Source/UBCS-WEB/src/views/docking/loge.vue
index 136ec29..36a1bd8 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,7 +16,7 @@
                @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>
@@ -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) {

--
Gitblit v1.9.3