From 89ea93ff37fd5adcb39c7caad1101970dc78e38c Mon Sep 17 00:00:00 2001
From: hejianhao <15708179461@qq.com>
Date: 星期四, 08 五月 2025 14:47:31 +0800
Subject: [PATCH] 路由冲突

---
 laboratory/src/views/dataManagement/approvalPlan/list.vue |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/laboratory/src/views/dataManagement/approvalPlan/list.vue b/laboratory/src/views/dataManagement/approvalPlan/list.vue
index 0551aef..839be5b 100644
--- a/laboratory/src/views/dataManagement/approvalPlan/list.vue
+++ b/laboratory/src/views/dataManagement/approvalPlan/list.vue
@@ -27,7 +27,7 @@
           </el-form-item>
           <el-form-item label="">
             <el-button type="default" @click="resetForm">重置</el-button>
-            <el-button type="primary" @click="handleSearch">查询</el-button>
+            <el-button type="primary" @click="handleSearch" style="margin-left: 20px;">查询</el-button>
           </el-form-item>
         </el-form>
       </template>
@@ -117,6 +117,7 @@
 
 <script>
 import ApprovalDialog from './components/approvalDialog.vue'
+import { getProposalList } from './service'
 
 export default {
   name: "ProjectList",
@@ -133,6 +134,8 @@
         createTime: [],
         approver: "",
         status: "",
+        pageNum: 1,
+        pageSize: 10,
       },
       tableData: [],
       total: 0,
@@ -208,6 +211,8 @@
         createTime: [],
         approver: "",
         status: "",
+        pageNum: 1,
+        pageSize: 10,
       };
     },
     handleSearch() {
@@ -282,6 +287,9 @@
     getTableData() {
       // 根据currentType请求不同的数据
       if (this.currentType === 'list') {
+        getProposalList(this.form).then(res => {
+          console.log(res,'1111111111111111111111111')
+        })
         this.tableData = this.mockListData;
         this.total = this.mockListData.length;
       } else {

--
Gitblit v1.7.1