From ab701df859cd79ae036f8cc86268137d2c8da8ee Mon Sep 17 00:00:00 2001
From: guanqb <18720758508@163.com>
Date: Thu, 22 Feb 2024 18:00:56 +0800
Subject: [PATCH] 消防自查导出、消防自查和场所检查增加场所类别字段
---
src/views/work/start.vue | 21 +++++++++++++--------
1 files changed, 13 insertions(+), 8 deletions(-)
diff --git a/src/views/work/start.vue b/src/views/work/start.vue
index 9703ed5..ac99ec7 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>
@@ -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