Skip to content

Commit ce0f6ed

Browse files
committed
【功能简化】工作流:移除“导入”流程的功能,原生 bpmn 设计器,已经提供导入
1 parent 8f748ed commit ce0f6ed

File tree

2 files changed

+0
-154
lines changed

2 files changed

+0
-154
lines changed

src/views/bpm/model/ModelImportForm.vue

Lines changed: 0 additions & 141 deletions
This file was deleted.

src/views/bpm/model/index.vue

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,6 @@
6060
>
6161
<Icon icon="ep:plus" class="mr-5px" /> 新建流程
6262
</el-button>
63-
<el-button type="success" plain @click="openImportForm" v-hasPermi="['bpm:model:import']">
64-
<Icon icon="ep:upload" class="mr-5px" /> 导入流程
65-
</el-button>
6663
</el-form-item>
6764
</el-form>
6865
</ContentWrap>
@@ -215,9 +212,6 @@
215212
<!-- 表单弹窗:添加/修改流程 -->
216213
<ModelForm ref="formRef" @success="getList" />
217214

218-
<!-- 表单弹窗:导入流程 -->
219-
<ModelImportForm ref="importFormRef" @success="getList" />
220-
221215
<!-- 弹窗:表单详情 -->
222216
<Dialog title="表单详情" v-model="formDetailVisible" width="800">
223217
<form-create :rule="formDetailPreview.rule" :option="formDetailPreview.option" />
@@ -241,7 +235,6 @@ import { MyProcessViewer } from '@/components/bpmnProcessDesigner/package'
241235
import * as ModelApi from '@/api/bpm/model'
242236
import * as FormApi from '@/api/bpm/form'
243237
import ModelForm from './ModelForm.vue'
244-
import ModelImportForm from '@/views/bpm/model/ModelImportForm.vue'
245238
import { setConfAndFields2 } from '@/utils/formCreate'
246239
import { CategoryApi } from '@/api/bpm/category'
247240
@@ -294,12 +287,6 @@ const openForm = (type: string, id?: number) => {
294287
formRef.value.open(type, id)
295288
}
296289
297-
/** 添加/修改操作 */
298-
const importFormRef = ref()
299-
const openImportForm = () => {
300-
importFormRef.value.open()
301-
}
302-
303290
/** 删除按钮操作 */
304291
const handleDelete = async (id: number) => {
305292
try {

0 commit comments

Comments
 (0)