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' +})