From 3b2d308ccc949b841eb0fe0851e1466f58918f4e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=91=A8=E5=BB=BA?= <1348660141@qq.com>
Date: Sun, 25 Jun 2023 14:06:14 +0800
Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E5=85=85?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/Login/components/LoginForm.vue | 1 +
src/views/bpm/processInstance/create.vue | 21 +-
src/views/bpm/processInstance/detail.vue | 245 ++++++++++++-----------
src/views/system/role/index.vue | 5 +-
types/global.d.ts | 12 +-
5 files changed, 150 insertions(+), 134 deletions(-)
diff --git a/src/views/Login/components/LoginForm.vue b/src/views/Login/components/LoginForm.vue
index 77e0d817..b056537d 100644
--- a/src/views/Login/components/LoginForm.vue
+++ b/src/views/Login/components/LoginForm.vue
@@ -213,6 +213,7 @@ const getTenantId = async () => {
if (loginData.tenantEnable === 'true') {
const res = await LoginApi.getTenantIdByNameApi(loginData.loginForm.tenantName)
authUtil.setTenantId(res)
+ authUtil.setTenantName(loginData.loginForm.tenantName)
}
}
// 记住我
diff --git a/src/views/bpm/processInstance/create.vue b/src/views/bpm/processInstance/create.vue
index dfa0baa9..7414be9e 100644
--- a/src/views/bpm/processInstance/create.vue
+++ b/src/views/bpm/processInstance/create.vue
@@ -38,10 +38,17 @@
-
-
+
+
+
@@ -54,7 +61,7 @@ import * as ProcessInstanceApi from '@/api/bpm/processInstance'
import { setConfAndFields2 } from '@/utils/formCreate'
import type { ApiAttrs } from '@form-create/element-ui/types/config'
import { DICT_TYPE } from '@/utils/dict'
-import ProcessInstanceBpmnViewer from './detail/ProcessInstanceBpmnViewer.vue'
+
const router = useRouter() // 路由
const message = useMessage() // 消息
@@ -133,9 +140,9 @@ const submitForm = async (formData) => {
// // BPMN 数据
const bpmnXML = ref(null)
-// const bpmnControlForm = ref({
-// prefix: 'flowable'
-// })
+const bpmnControlForm = ref({
+ prefix: 'flowable'
+})