diff --git a/.env.development b/.env.development index e1f7af6..52553ff 100644 --- a/.env.development +++ b/.env.development @@ -11,7 +11,7 @@ VITE_APP_BASE_API = '/dev-api' VITE_APP_CONTEXT_PATH = '/' # 监控地址 -VITE_APP_MONITRO_ADMIN = 'http://localhost:9090/admin/applications' +VITE_APP_MONITOR_ADMIN = 'http://localhost:9090/admin/applications' # SnailJob 控制台地址 VITE_APP_SNAILJOB_ADMIN = 'http://localhost:8800/snail-job' diff --git a/.env.production b/.env.production index 9188c63..bf9e644 100644 --- a/.env.production +++ b/.env.production @@ -8,7 +8,7 @@ VITE_APP_ENV = 'production' VITE_APP_CONTEXT_PATH = '/' # 监控地址 -VITE_APP_MONITRO_ADMIN = '/admin/applications' +VITE_APP_MONITOR_ADMIN = '/admin/applications' # SnailJob 控制台地址 VITE_APP_SNAILJOB_ADMIN = '/snail-job' diff --git a/package.json b/package.json index 3557360..7995d93 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ruoyi-vue-plus", - "version": "5.2.0-BETA", + "version": "5.2.0", "description": "RuoYi-Vue-Plus多租户管理系统", "author": "LionLi", "license": "MIT", @@ -30,7 +30,7 @@ "diagram-js": "12.3.0", "didi": "9.0.2", "echarts": "5.5.0", - "element-plus": "2.7.2", + "element-plus": "2.7.5", "file-saver": "2.0.5", "fuse.js": "7.0.0", "highlight.js": "11.9.0", diff --git a/src/api/system/social/auth.ts b/src/api/system/social/auth.ts index 17a46d3..69f0d7e 100644 --- a/src/api/system/social/auth.ts +++ b/src/api/system/social/auth.ts @@ -1,10 +1,14 @@ import request from '@/utils/request'; // 绑定账号 -export function authBinding(source: string) { +export function authBinding(source: string, tenantId: string) { return request({ url: '/auth/binding/' + source, - method: 'get' + method: 'get', + params: { + tenantId: tenantId, + domain: window.location.host + } }); } diff --git a/src/api/system/user/types.ts b/src/api/system/user/types.ts index 3488e9f..0787372 100644 --- a/src/api/system/user/types.ts +++ b/src/api/system/user/types.ts @@ -26,6 +26,7 @@ export interface UserQuery extends PageQuery { */ export interface UserVO extends BaseEntity { userId: string | number; + tenantId: string; deptId: number; userName: string; nickName: string; diff --git a/src/api/workflow/processInstance/index.ts b/src/api/workflow/processInstance/index.ts index b949b51..6d5e53b 100644 --- a/src/api/workflow/processInstance/index.ts +++ b/src/api/workflow/processInstance/index.ts @@ -53,7 +53,7 @@ export const getHistoryList = (businessKey: string): AxiosPromise { +export const getHistoryRecord = (businessKey: string | number) => { return request({ url: `/workflow/processInstance/getHistoryRecord/${businessKey}`, method: 'get' diff --git a/src/bpmn/panel/TaskPanel.vue b/src/bpmn/panel/TaskPanel.vue index 358fba9..a42de8a 100644 --- a/src/bpmn/panel/TaskPanel.vue +++ b/src/bpmn/panel/TaskPanel.vue @@ -281,12 +281,11 @@ const singleUserSelectRef = ref>(); const roleSelectRef = ref>(); const dueDateRef = ref>(); -const isMultiple = ref(true); const openUserSelect = () => { userSelectRef.value.open(); }; const openSingleUserSelect = () => { - if (formData.value.assignee.includes('$')) { + if (formData.value.assignee?.includes('$')) { formData.value.assignee = ''; } singleUserSelectRef.value.open(); diff --git a/src/components/Process/approvalRecord.vue b/src/components/Process/approvalRecord.vue index 37667ca..bb4ed91 100644 --- a/src/components/Process/approvalRecord.vue +++ b/src/components/Process/approvalRecord.vue @@ -67,7 +67,7 @@ const tabActiveName = ref('bpmn'); const bpmnViewRef = ref(); //初始化查询审批记录 -const init = async (businessKey: string) => { +const init = async (businessKey: string | number) => { visible.value = true; loading.value = true; tabActiveName.value = 'bpmn'; diff --git a/src/components/Process/multiInstanceUser.vue b/src/components/Process/multiInstanceUser.vue index b2039b9..292b1b7 100644 --- a/src/components/Process/multiInstanceUser.vue +++ b/src/components/Process/multiInstanceUser.vue @@ -1,22 +1,28 @@