From 336eb77c1a07ca3e3ead4482b51f848fa16ab3b7 Mon Sep 17 00:00:00 2001
From: xiejun <xj@2023>
Date: 星期日, 12 十一月 2023 20:15:38 +0800
Subject: [PATCH] 自定义流水相关开发

---
 Source/UBCS-WEB/src/views/work/process/leave/handle.vue |   21 +++++++++++----------
 1 files changed, 11 insertions(+), 10 deletions(-)

diff --git a/Source/UBCS-WEB/src/views/work/process/leave/handle.vue b/Source/UBCS-WEB/src/views/work/process/leave/handle.vue
index 1d81c3e..5e80c0d 100644
--- a/Source/UBCS-WEB/src/views/work/process/leave/handle.vue
+++ b/Source/UBCS-WEB/src/views/work/process/leave/handle.vue
@@ -10,14 +10,9 @@
             <el-tab-pane label="娴佺▼璺熻釜" name="second">
               <avue-crud :data="flowList" :option="option" ref="crud">
               </avue-crud>
-              <el-card shadow="hover">
-                <div slot="header">
-                  <span>娴佺▼璺熻釜</span>
-                </div>
-                <el-row class="row-bg">
-                  <flow-design :is-display="true" :process-instance-id="processInstanceId"></flow-design>
-                </el-row>
-              </el-card>
+              <el-row class="row-bg" style="margin-top: 20px">
+                <flow-design :is-display="true" :process-instance-id="processInstanceId"></flow-design>
+              </el-row>
             </el-tab-pane>
           </el-tabs>
         </el-card>
@@ -58,7 +53,7 @@
             <el-button v-if="!isRefuse" type="primary" size="mini" @click="handelAgree">鍚屾剰</el-button>
              <el-button v-if="!isAgree" type="primary" size="mini" @click="handelRefuse">涓嶅悓鎰�</el-button> -->
             <el-button type="primary" size="mini" @click="handelExecute(item)" v-for="(item, index) in btnList"
-              :key="index">{{ item.toName === '鍚屾剰' ? item.toName : `${item.toName}鍒�${item.taskName}` }}</el-button>
+              :key="index">{{ item.toName }}</el-button>
             <!-- <el-button v-if="isRefuse" type="primary" size="mini" @click="handelExecute">鎵ц</el-button> -->
           </div>
         </el-card>
@@ -137,7 +132,6 @@
       this.apiGetBtnTask(this.processInstanceId)
     },
     formatterPass(row, value, column) {
-      console.log('value',value)
       return value?'鍚屾剰':'椹冲洖'
     },
     async apiGetBtnTask(id) {
@@ -233,4 +227,11 @@
 ::v-deep(.el-upload-dragger .el-icon-upload) {
   margin: 15px 0 16px;
 }
+.el-tab-pane{
+  height: 75vh;
+  overflow: auto;
+}
+.el-button{
+  margin:0 10px 10px 0;
+}
 </style>

--
Gitblit v1.9.3