remove 删除 bpmn.js 设计器

This commit is contained in:
疯狂的狮子Li 2024-12-11 16:27:31 +08:00
parent 5ecb871a51
commit f5415e80d6
2 changed files with 2 additions and 12 deletions

View File

@ -14,11 +14,6 @@
--tableHeaderBg: #f8f8f9; --tableHeaderBg: #f8f8f9;
--tableHeaderTextColor: #515a6e; --tableHeaderTextColor: #515a6e;
// 工作流
--bpmn-panel-border: #eeeeee;
--bpmn-panel-box-shadow: #cccccc;
--bpmn-panel-bar-background-color: #f5f7fa;
// ele // ele
--brder-color: #e8e8e8; --brder-color: #e8e8e8;
} }
@ -54,11 +49,6 @@ html.dark {
--vxe-table-border-color: #37373a; --vxe-table-border-color: #37373a;
--vxe-toolbar-background-color: #37373a; --vxe-toolbar-background-color: #37373a;
// 工作流
--bpmn-panel-border: #37373a;
--bpmn-panel-box-shadow: #37373a;
--bpmn-panel-bar-background-color: #37373a;
// ele // ele
--brder-color: #37373a; --brder-color: #37373a;
} }

View File

@ -56,7 +56,7 @@
</div> </div>
</template> </template>
<script lang="ts" setup> <script lang="ts" setup>
import processApi from 'src/api/workflow/instance'; import { flowImage } from 'src/api/workflow/instance';
import { propTypes } from '@/utils/propTypes'; import { propTypes } from '@/utils/propTypes';
const { proxy } = getCurrentInstance() as ComponentInternalInstance; const { proxy } = getCurrentInstance() as ComponentInternalInstance;
@ -77,7 +77,7 @@ const init = async (businessKey: string | number) => {
loading.value = true; loading.value = true;
tabActiveName.value = 'bpmn'; tabActiveName.value = 'bpmn';
historyList.value = []; historyList.value = [];
processApi.getFlowImage(businessKey).then((resp) => { flowImage(businessKey).then((resp) => {
if (resp.data) { if (resp.data) {
historyList.value = resp.data.list; historyList.value = resp.data.list;
imgUrl.value = 'data:image/gif;base64,' + resp.data.image; imgUrl.value = 'data:image/gif;base64,' + resp.data.image;