Skip to content

Commit 5198b2e

Browse files
committed
【代码优化】BPM:模型列表界面
1 parent 4aa44ab commit 5198b2e

File tree

2 files changed

+3
-424
lines changed

2 files changed

+3
-424
lines changed

src/views/bpm/model/CategoryDraggableModel.vue

Lines changed: 3 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@
6464
</div>
6565
</div>
6666
</div>
67+
6768
<!-- 模型列表 -->
6869
<el-collapse-transition>
6970
<div v-show="isExpand">
@@ -90,7 +91,7 @@
9091
</div>
9192
</template>
9293
</el-table-column>
93-
<el-table-column label="可见范围" prop="startUserIds" min-width="100">
94+
<el-table-column label="可见范围" prop="startUserIds" min-width="150">
9495
<template #default="scope">
9596
<el-text v-if="!scope.row.startUsers || scope.row.startUsers.length === 0">
9697
全部可见
@@ -110,7 +111,7 @@
110111
</el-text>
111112
</template>
112113
</el-table-column>
113-
<el-table-column label="表单信息" prop="formType" min-width="200">
114+
<el-table-column label="表单信息" prop="formType" min-width="150">
114115
<template #default="scope">
115116
<el-button
116117
v-if="scope.row.formType === BpmModelFormType.NORMAL"
@@ -162,16 +163,6 @@
162163
>
163164
修改
164165
</el-button>
165-
<el-button
166-
link
167-
class="!ml-5px"
168-
type="primary"
169-
@click="handleDesign(scope.row)"
170-
v-hasPermi="['bpm:model:update']"
171-
:disabled="!isManagerUser(scope.row)"
172-
>
173-
设计
174-
</el-button>
175166
<el-button
176167
link
177168
class="!ml-5px"
@@ -337,14 +328,6 @@ const handleChangeState = async (row: any) => {
337328
} catch {}
338329
}
339330
340-
/** 设计流程 */
341-
const handleDesign = (row: any) => {
342-
push({
343-
name: 'BpmModelUpdate',
344-
params: { id: row.id }
345-
})
346-
}
347-
348331
/** 发布流程 */
349332
const handleDeploy = async (row: any) => {
350333
try {

0 commit comments

Comments
 (0)