From b2cdc1af33e73ea1fdf6303d6548712634b28aa4 Mon Sep 17 00:00:00 2001
From: yangys <y_ys79@sina.com>
Date: 星期六, 13 九月 2025 18:08:19 +0800
Subject: [PATCH] 优化审批界面样式

---
 src/views/basesetting/produceplan.vue |   46 ++++++++++++++++++++++++++++++++--------------
 1 files changed, 32 insertions(+), 14 deletions(-)

diff --git a/src/views/basesetting/produceplan.vue b/src/views/basesetting/produceplan.vue
index 940dedd..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,6 +254,13 @@
                 dialogClickModal: false,
                 column: [
                     {
+                        label: '浜у搧鍨嬪彿',
+                        prop: 'cph',
+                        type: 'input',
+                        display: true,
+                        span: 24,
+                    },
+                    {
                         label: '闆剁粍浠跺彿',
                         prop: 'ljh',
                         type: 'input',
@@ -257,14 +269,6 @@
                         disabled:true,
                         span: 24,
                     },
-                    {
-                        label: '浜у搧鍙�',
-                        prop: 'cph',
-                        type: 'input',
-                        display: true,
-                        span: 24,
-                    },
-					
                     {
                         label: '涓荤宸ヨ壓',
                         prop: 'zggy',
@@ -294,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)
@@ -517,6 +534,7 @@
     },
     mounted() {
         // Code to run when the component is mounted
+        this.getApprovers()
     },
 }
 </script>

--
Gitblit v1.9.3