From 2d445a7f255343099b4647ea5ce51d2980768003 Mon Sep 17 00:00:00 2001
From: quanyawei <401863037@qq.com>
Date: Thu, 28 Sep 2023 16:45:41 +0800
Subject: [PATCH] fix:立行立改

---
 src/views/toCarryOutLegislativeReforms/delay/index.vue |   43 ++++++++++++++++++++++++++-----------------
 1 files changed, 26 insertions(+), 17 deletions(-)

diff --git a/src/views/toCarryOutLegislativeReforms/delay/index.vue b/src/views/toCarryOutLegislativeReforms/delay/index.vue
index 708d539..2a98af6 100644
--- a/src/views/toCarryOutLegislativeReforms/delay/index.vue
+++ b/src/views/toCarryOutLegislativeReforms/delay/index.vue
@@ -6,6 +6,7 @@
         <el-table
           :data="tableData"
           border
+          size="mini"
           max-height="680"
           style="width: 100%"
           :header-cell-style="{
@@ -15,7 +16,7 @@
           <el-table-column
             type="index"
             label="������"
-            width="100px"
+            width="60px"
             align="center"
           />
           <el-table-column
@@ -46,21 +47,23 @@
             label="������������"
           >
             <template slot-scope="scope">
-              <p>  {{ dictObj.changeEnum[scope.row.changeType] }}</p>
+              <div>  {{ dictObj.changeEnum[scope.row.changeType] }}</div>
             </template>
           </el-table-column>
           <el-table-column
             align="center"
             prop="extensionNum"
+            width="60px"
             label="������������"
           >
             <template slot-scope="scope">
-              <p>  {{ scope.row.extensionNum }}���</p>
+              <div>  {{ scope.row.extensionNum }}���</div>
             </template>
           </el-table-column>
           <el-table-column
             align="center"
             prop="address"
+            width="80px"
             label="������"
           >
             <template slot-scope="scope">
@@ -86,16 +89,14 @@
           </el-table-column>
           <el-table-column
             align="center"
-            prop="address"
-            label="���������������������"
           >
             <template slot="header">
-              <p>������������</p>
-              <p>���������</p>
+              <div>������������</div>
+              <div>���������</div>
             </template>
             <template slot-scope="scope">
-              <p> {{ scope.row.escalationName }}</p>
-              <p> {{ updatUnitIdFormatter(scope.row) }}</p>
+              <div> {{ scope.row.escalationName }}</div>
+              <div> {{ updatUnitIdFormatter(scope.row) }}</div>
 
             </template>
           </el-table-column>
@@ -103,17 +104,18 @@
             align="center"
           >
             <template slot="header">
-              <p>���������</p>
-              <p>������������</p>
+              <div>���������</div>
+              <div>������������</div>
             </template>
             <template slot-scope="scope">
-              <p>{{ scope.row.updateName }}</p>
-              <p>{{ scope.row.updateTime }}</p>
+              <div>{{ scope.row.updateName }}</div>
+              <div>{{ scope.row.updateTime }}</div>
             </template>
           </el-table-column>
           <el-table-column
             align="center"
             prop="address"
+            width="100px"
             label="������"
           >
             <template slot-scope="scope">
@@ -128,9 +130,9 @@
           background
           :current-page="pagination.currentPage"
           :page-sizes="pagination.pageSizes"
-          :page-size="pagination.PageSize"
+          :page-size="pagination.pageSize"
           :total="pagination.totalCount"
-          layout="sizes,prev, pager, next, jumper"
+          layout="total, sizes, prev, pager, next, jumper"
           @size-change="handleSizeChange"
           @current-change="handleCurrentChange"
         />
@@ -166,7 +168,8 @@
         pageSizes: [10, 20, 30, 40],
         // ������������������������������������������
         pageSize: 10
-      }
+      },
+      searchData: {}
     }
   },
   created() {
@@ -179,6 +182,10 @@
       this.handleSearch()
     },
     handleSearch(obj) {
+      this.searchData.isInvalid = 0
+      if (obj) {
+        this.searchData = obj
+      }
       this.$request({
         url: '/allocationExtension/page',
         method: 'post',
@@ -195,14 +202,16 @@
     // ���������������������
     handleSizeChange(val) {
       // ���������������������������
-      this.pagination.PageSize = val
+      this.pagination.pageSize = val
       // ���������������������������������������������������������������������������
       this.pagination.currentPage = 1
+      this.handleSearch()
     },
     // ���������������
     handleCurrentChange(val) {
       // ���������������������
       this.pagination.currentPage = val
+      this.handleSearch()
       // console.log(val)
     },
     openWorkOrdinDialog(row, type) {

--
Gitblit v1.8.0