From 17c52c2671afff36888918afbf8392d78c03f713 Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期四, 29 八月 2024 20:45:39 +0800
Subject: [PATCH] 下发分页bug

---
 src/views/system/work-order/distribute/index.vue |    4 ++--
 src/views/system/work-order/index.vue            |    5 ++---
 2 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/src/views/system/work-order/distribute/index.vue b/src/views/system/work-order/distribute/index.vue
index 5bd701e..b5aa33d 100644
--- a/src/views/system/work-order/distribute/index.vue
+++ b/src/views/system/work-order/distribute/index.vue
@@ -135,7 +135,7 @@
     </el-row>
 
     <!-- 娣诲姞鎴栦慨鏀广�愯濉啓鍔熻兘鍚嶇О銆戝璇濇 -->
-    <el-dialog :title="detailName" :visible.sync="open" width="500px" append-to-body>
+    <el-dialog title="鎵嬪姩鏂板宸ュ崟" :visible.sync="open" width="500px" append-to-body>
       <el-form ref="form" :model="form" :rules="rules" label-width="80px">
         <el-form-item label="杩愮淮鍗曚綅" prop="unitId">
           <el-select v-model="form.unitId" placeholder="璇烽�夋嫨">
@@ -374,7 +374,7 @@
       console.log(key, keyPath);
     },
     getList() {
-
+      this.page()
     },
     // 澶氶�夋閫変腑鏁版嵁
     handleSelectionChange(selection) {
diff --git a/src/views/system/work-order/index.vue b/src/views/system/work-order/index.vue
index c731f2a..3ee036a 100644
--- a/src/views/system/work-order/index.vue
+++ b/src/views/system/work-order/index.vue
@@ -17,6 +17,7 @@
       </el-form-item>
       <el-form-item label="宸ュ崟鐘舵��" prop="status">
         <el-select v-model="queryParams.status" placeholder="宸ュ崟鐘舵��" @change="handleQuery">
+          <el-option label="鍏ㄩ儴" value=""></el-option>
           <el-option label="寰呭鐞�" value="DISTRIBUTED"></el-option>
           <el-option label="寰呭鏍�" value="YW_HANDLE"></el-option>
           <el-option label="宸插畬鎴�" value="AUDITING_SUCCESS"></el-option>
@@ -716,9 +717,7 @@
       this.queryParams.params = {}
       this.queryParams['start'] = this.daterangeYwHandleTime ? this.daterangeYwHandleTime[0] : null
       this.queryParams['end'] = this.daterangeYwHandleTime ? this.daterangeYwHandleTime[1] : null
-      if (this.queryParams['status'] == '') {
-        this.queryParams['status'] = 'DISTRIBUTED'
-      }
+
       listWorkOrder(this.queryParams).then(response => {
         // response.data.forEach(item => {
         //   if (item.errorType) {

--
Gitblit v1.8.0