From fa0fc3195858a592d2ad1bdad0fa6126602ebf55 Mon Sep 17 00:00:00 2001
From: zrj <646384940@qq.com>
Date: Fri, 07 Jun 2024 14:17:10 +0800
Subject: [PATCH] 路径配置修改

---
 src/views/work/start.vue |   25 +++++++++++++++----------
 1 files changed, 15 insertions(+), 10 deletions(-)

diff --git a/src/views/work/start.vue b/src/views/work/start.vue
index 9703ed5..efbf9f6 100644
--- a/src/views/work/start.vue
+++ b/src/views/work/start.vue
@@ -9,14 +9,16 @@
                     <el-radio-button label="2">定制流程</el-radio-button>
                 </el-radio-group>
             </template>
-            <template slot-scope="scope" slot="menu">
-                <el-button type="text" size="small" icon="el-icon-video-play" v-if="permission.work_start_flow"
-                    @click.stop="handleStart(scope.row)">发起
+
+            <template slot-scope="{row, size, index}" slot="menu">
+                <el-button type="text" :size="size" icon="el-icon-video-play" v-if="permission.work_start_flow"
+                    @click.stop="handleStart(row)">发起
                 </el-button>
-                <el-button type="text" size="small" icon="el-icon-search" v-if="permission.work_start_image"
-                    @click.stop="handleImage(scope.row, scope.index)">流程图
+                <el-button type="text" :size="size" icon="el-icon-search" v-if="permission.work_start_image"
+                    @click.stop="handleImage(row, index)">流程图
                 </el-button>
             </template>
+
             <template slot-scope="{row, size}" slot="tenantId">
                 <el-tag :size="size">{{ row.tenantId === '' ? '通用' : row.tenantId }}</el-tag>
             </template>
@@ -42,7 +44,7 @@
 } from "vuex"
 import {
     startList
-} from "@/api/work/work"
+} from "@/ssoapi/work/work"
 import {
     flowCategory,
     flowRoute
@@ -95,7 +97,7 @@
                         label: "流程分类",
                         type: "select",
                         row: true,
-                        dicUrl: "/api/blade-system/dict/dictionary?code=flow",
+                        dicUrl: "/ssoapi/blade-system/dict/dictionary?code=flow",
                         props: {
                             label: "dictValue",
                             value: "dictKey"
@@ -103,7 +105,9 @@
                         dataType: "number",
                         slot: true,
                         prop: "category",
+                        searchSpan: 4,
                         search: true,
+                        searchLabelWidth: 76,
                     },
                     {
                         label: '流程标识',
@@ -112,24 +116,25 @@
                     {
                         label: '流程名称',
                         prop: 'name',
+                        searchSpan: 4,
                         search: true,
                     },
                     {
+                        width: 100,
                         label: '流程版本',
                         prop: 'version',
                         slot: true,
-                        width: 80,
                     },
                     {
+                        width: 100,
                         label: '状态',
                         prop: 'suspensionState',
                         slot: true,
-                        width: 80,
                     },
                     {
+                        width: 144,
                         label: '部署时间',
                         prop: 'deploymentTime',
-                        width: 165,
                     },
                 ]
             },

--
Gitblit v1.9.3