linwe
2024-08-09 5e2aafeede13d337380f736567caf74f49713be7
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>
@@ -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,
                    },
                ]
            },