diff --git a/.env.development b/.env.development index e1f7af614c853e13e110f6adf94d08e44dca9d31..52553ff9b0f7ba5be7d1b4954fe58fdc127e6a1a 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 9188c63462982dbed24745af7d3444e7a2f507a3..bf9e644407f1d025f6d23f32ecf5678d7aaee8ad 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 3557360b783bdabfa630bda8b21bd8f31ebfedc3..7995d9316418a0fffae0610d5ae97d3f14790e85 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 17a46d320769a400d39382ed716639275e2da007..69f0d7e448849002454c234287f42f9f514ac2ba 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 3488e9f1175071109929731985419af22b33ba72..0787372ec4d392e9c17f81aeea1c0f32e3096e78 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 b949b51e5beb7ab343dd07f40bf66d6a3acedc2c..6d5e53be5249b81ec0b1fd4293ef5498e062172b 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 358fba9a8b0c4a6aebc0de8d607dc9c23cc0bffb..a42de8ab3111d752f52892f2dcf224b5f973263c 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 37667caa40aff78ca01dee1e9be892fe6d7a89cb..bb4ed91f70396b7486426d91ce583a690a3deb32 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 b2039b9836eec7856568a2ca520ea008b2e48899..292b1b7d6eb6c80942203b6bfdc020bffc765065 100644 --- a/src/components/Process/multiInstanceUser.vue +++ b/src/components/Process/multiInstanceUser.vue @@ -1,22 +1,28 @@