From 217bffa9704f2938391977605dcaae1a8baae86f Mon Sep 17 00:00:00 2001
From: yangys <y_ys79@sina.com>
Date: 星期三, 10 九月 2025 16:00:41 +0800
Subject: [PATCH] 修改首页搜索错误

---
 src/views/basesetting/produceplan.vue |   36 ++++++++++++++++++++++++++++--------
 1 files changed, 28 insertions(+), 8 deletions(-)

diff --git a/src/views/basesetting/produceplan.vue b/src/views/basesetting/produceplan.vue
index a6b3a7f..a287433 100644
--- a/src/views/basesetting/produceplan.vue
+++ b/src/views/basesetting/produceplan.vue
@@ -1,13 +1,13 @@
 <!--
  * @Date: 2025-06-17 11:44:52
  * @LastEditors: gaoshp
- * @LastEditTime: 2025-08-13 22:30:53
+ * @LastEditTime: 2025-09-05 17:57:29
  * @FilePath: /mdmweb/src/views/basesetting/produceplan.vue
 -->
 <template>
     <basic-container>
         <el-tabs v-model="activeName" type="card" class="demo-tabs" @tab-click="tabsClick">
-            <el-tab-pane label="涓诲埗鍒嗗伐琛�" name="zhuzhi">
+            <el-tab-pane label="浜哄憳鑱岃矗琛�" name="zhuzhi">
                 <avue-crud :option="option" :table-loading="loading" :data="data" v-model:page="page" v-model="form" ref="crud"
                     @search-change="searchChange" @search-reset="searchReset" @current-change="currentChange"
                     @size-change="sizeChange" @refresh-change="refreshChange" @on-load="onLoad" @row-del="rowDel"
@@ -73,6 +73,7 @@
     name: 'ProducePlan',
     data() {
         return {
+            getApproveList: [],
             activeName: "zhuzhi",
             // Define your data properties here
             excelOption: {
@@ -158,7 +159,8 @@
                         display: true,
                         filterable:true,
                         span: 24,
-                        dicUrl: `/blade-mdm/flow/flow-user-list?deptId=0`,
+                        // dicUrl: `/blade-mdm/flow/flow-user-list?deptId=0`,
+                        dicData: [],
                         props: {
                             label: 'name',
                             value: 'id',
@@ -173,7 +175,8 @@
                         display: true,
                         filterable:true,
                         span: 24,
-                        dicUrl: `/blade-mdm/flow/flow-user-list?deptId=0`,
+                        // dicUrl: `/blade-mdm/flow/flow-user-list?deptId=0`,
+                        dicData: [],
                         props: {
                             label: 'name',
                             value: 'id',
@@ -187,7 +190,8 @@
                         span: 24,
                         display: true,
                         filterable:true,
-                        dicUrl: `/blade-mdm/flow/flow-user-list?deptId=0`,
+                        // dicUrl: `/blade-mdm/flow/flow-user-list?deptId=0`,
+                        dicData: [],
                         props: {
                             label: 'name',
                             value: 'id',
@@ -202,7 +206,8 @@
                         filterable:true,
                         display: true,
                         span: 24,
-                        dicUrl: `/blade-mdm/flow/flow-user-list?deptId=0`,
+                        // dicUrl: `/blade-mdm/flow/flow-user-list?deptId=0`,
+                        dicData: [],
                         props: {
                             label: 'name',
                             value: 'id',
@@ -249,18 +254,19 @@
                 dialogClickModal: false,
                 column: [
                     {
-                        label: '浜у搧鍙�',
+                        label: '浜у搧鍨嬪彿',
                         prop: 'cph',
                         type: 'input',
                         display: true,
                         span: 24,
                     },
-					{
+                    {
                         label: '闆剁粍浠跺彿',
                         prop: 'ljh',
                         type: 'input',
                         search: true,
                         display: true,
+                        disabled:true,
                         span: 24,
                     },
                     {
@@ -292,6 +298,19 @@
         };
     },
     methods: {
+        getApprovers () {
+            axios({
+            url: '/blade-mdm/flow/flow-user-list?deptId=0',
+            method: 'get',
+            params: {}
+          }).then(
+            res => {
+                this.option.column[1].dicData = res.data.data;
+                this.option.column[2].dicData = res.data.data;
+                this.option.column[3].dicData = res.data.data;
+                this.option.column[4].dicData = res.data.data;
+            });
+        },
         // Define your methods here
         tabsClick(tab,event) {
             //console.log('tab',tab)
@@ -515,6 +534,7 @@
     },
     mounted() {
         // Code to run when the component is mounted
+        this.getApprovers()
     },
 }
 </script>

--
Gitblit v1.9.3