src/api/login.ts | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/api/system/tenant/index.ts | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/api/system/user/index.ts | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/api/workflow/task/index.ts | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/api/workflow/workflowUser/index.ts | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/bpmn/panel/TaskPanel.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/components/Process/approvalRecord.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/components/Process/multiInstanceUser.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/layout/components/AppMain.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/views/system/user/profile/onlineDevice.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/views/system/user/profile/thirdParty.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/views/workflow/leave/leaveEdit.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/api/login.ts
@@ -20,7 +20,8 @@ url: '/auth/login', headers: { isToken: false, isEncrypt: true isEncrypt: true, repeatSubmit: false }, method: 'post', data: params @@ -38,7 +39,8 @@ url: '/auth/register', headers: { isToken: false, isEncrypt: true isEncrypt: true, repeatSubmit: false }, method: 'post', data: params src/api/system/tenant/index.ts
@@ -25,7 +25,8 @@ url: '/system/tenant', method: 'post', headers: { isEncrypt: true isEncrypt: true, repeatSubmit: false }, data: data }); src/api/system/user/index.ts
@@ -86,7 +86,8 @@ url: '/system/user/resetPwd', method: 'put', headers: { isEncrypt: true isEncrypt: true, repeatSubmit: false }, data: data }); @@ -145,7 +146,8 @@ url: '/system/user/profile/updatePwd', method: 'put', headers: { isEncrypt: true isEncrypt: true, repeatSubmit: false }, data: data }); src/api/workflow/task/index.ts
@@ -238,3 +238,27 @@ data: data }); }; /** * æ¥è¯¢å·¥ä½æµä»»å¡ç¨æ·éæ©å ç¾äººå * @param taskId * @returns {*} */ export const getTaskUserIdsByAddMultiInstance = (taskId: string) => { return request({ url: '/workflow/task/getTaskUserIdsByAddMultiInstance/' + taskId, method: 'get' }); }; /** * æ¥è¯¢å·¥ä½æµéæ©åç¾äººå * @param taskId * @returns {*} */ export const getListByDeleteMultiInstance = (taskId: string) => { return request({ url: '/workflow/task/getListByDeleteMultiInstance/' + taskId, method: 'get' }); }; src/api/workflow/workflowUser/index.ts
ÎļþÒÑɾ³ý src/bpmn/panel/TaskPanel.vue
@@ -50,7 +50,7 @@ <el-tabs tab-position="left" class="demo-tabs"> <el-tab-pane label="身份åå¨"> <el-form-item label="åé 人å"> <el-input v-model="formData.assignee"> <el-input v-model="formData.assignee" @blur="blurAssignee(formData.assignee)"> <template #append> <el-button icon="Search" type="primary" @click="openSingleUserSelect" /> </template> @@ -283,24 +283,23 @@ const isMultiple = ref(true); const openUserSelect = () => { if (!formData.value.candidateUsers) { formData.value.candidateUsers = '-1'; } userSelectRef.value.open(); }; const openSingleUserSelect = () => { if (formData.value.assignee.includes('$')) { formData.value.assignee = ''; } singleUserSelectRef.value.open(); }; const openRoleSelect = () => { if (!formData.value.candidateGroups) { formData.value.candidateGroups = '-1'; } roleSelectRef.value.open(); }; const openDueDate = (e) => { dueDateRef.value.openDialog(); }; const blurAssignee = (assignee) => { updateProperties({ 'flowable:assignee': assignee ? assignee : undefined }); }; const singleUserSelectCallBack = (data: UserVO[]) => { const user: UserVO = data.length !== 0 ? data[0] : undefined; updateProperties({ 'flowable:assignee': user?.userId }); src/components/Process/approvalRecord.vue
@@ -5,14 +5,14 @@ <el-tab-pane label="æµç¨å¾" name="bpmn"> <BpmnView ref="bpmnViewRef"></BpmnView> </el-tab-pane> <el-tab-pane label="审æ¹ä¿¡æ¯" name="info" v-loading="loading"> <el-tab-pane v-loading="loading" label="审æ¹ä¿¡æ¯" name="info"> <div> <el-table :data="historyList" style="width: 100%" border fit> <el-table-column type="index" label="åºå·" align="center" width="60"></el-table-column> <el-table-column prop="name" label="ä»»å¡åç§°" sortable align="center"></el-table-column> <el-table-column prop="nickName" label="åç人" sortable align="center"> <el-table-column prop="nickName" :show-overflow-tooltip="true" label="åç人" sortable align="center"> <template #default="scope"> <el-tag type="success">{{ scope.row.nickName||'æ ' }}</el-tag> <el-tag type="success">{{ scope.row.nickName || 'æ ' }}</el-tag> </template> </el-table-column> <el-table-column label="ç¶æ" sortable align="center"> @@ -71,7 +71,7 @@ const init = async (instanceId: string) => { visible.value = true; loading.value = true; tabActiveName.value = 'bpmn' tabActiveName.value = 'bpmn'; historyList.value = []; processApi.getHistoryRecord(instanceId).then((resp) => { historyList.value = resp.data.historyRecordList; src/components/Process/multiInstanceUser.vue
@@ -81,9 +81,13 @@ </template> <script setup name="User" lang="ts"> import { deptTreeSelect } from '@/api/system/user'; import { getPageByAddMultiInstance, getListByDeleteMultiInstance, getUserListByIds } from '@/api/workflow/workflowUser'; import { addMultiInstanceExecution, deleteMultiInstanceExecution } from '@/api/workflow/task'; import { deptTreeSelect, listUser, optionSelect } from '@/api/system/user'; import { addMultiInstanceExecution, deleteMultiInstanceExecution, getTaskUserIdsByAddMultiInstance, getListByDeleteMultiInstance } from '@/api/workflow/task'; import { UserVO } from '@/api/system/user/types'; import { DeptVO } from '@/api/system/dept/types'; import { ComponentInternalInstance } from 'vue'; @@ -149,12 +153,14 @@ visible.value = true; queryParams.value.taskId = taskId; loading.value = true; const res = await getPageByAddMultiInstance(queryParams.value); const res1 = await getTaskUserIdsByAddMultiInstance(taskId); queryParams.value.excludeUserIds = res1.data; const res = await listUser(queryParams.value); loading.value = false; userList.value = res.rows; total.value = res.total; if (userList.value && userIds.value.length > 0) { const data = await getUserListByIds(userIds.value); const data = await optionSelect(userIds.value); if (data.data && data.data.length > 0) { chooseUserList.value = data.data; data.data.forEach((user: UserVO) => { @@ -171,12 +177,14 @@ const getList = async () => { loading.value = true; const res = await getPageByAddMultiInstance(queryParams.value); const res1 = await getTaskUserIdsByAddMultiInstance(queryParams.value.taskId); queryParams.value.excludeUserIds = res1.data; const res = await listUser(queryParams.value); loading.value = false; userList.value = res.rows; total.value = res.total; if (userList.value && userIds.value.length > 0) { const data = await getUserListByIds(userIds.value); const data = await optionSelect(userIds.value); if (data.data && data.data.length > 0) { chooseUserList.value = data.data; data.data.forEach((user: UserVO) => { src/layout/components/AppMain.vue
@@ -2,9 +2,12 @@ <section class="app-main"> <router-view v-slot="{ Component, route }"> <transition :enter-active-class="animante" mode="out-in"> <keep-alive :include="tagsViewStore.cachedViews"> <component :is="Component" v-if="!route.meta.link" :key="route.path" /> </keep-alive> <div> <keep-alive :include="tagsViewStore.cachedViews" v-if="!route.meta.noCache"> <component v-if="!route.meta.link" :is="Component" :key="route.path" /> </keep-alive> <component v-if="!route.meta.link && route.meta.noCache" :is="Component" :key="route.path" /> </div> </transition> </router-view> <iframe-toggle /> src/views/system/user/profile/onlineDevice.vue
@@ -1,6 +1,6 @@ <template> <div> <el-table :data="devices" style="width: 100%; height: 100%; font-size: 10px"> <el-table :data="devices" style="width: 100%; height: 100%; font-size: 14px"> <el-table-column label="设å¤ç±»å" align="center"> <template #default="scope"> <dict-tag :options="sys_device_type" :value="scope.row.deviceType" /> src/views/system/user/profile/thirdParty.vue
@@ -1,7 +1,7 @@ <template> <div> <el-table :data="auths" style="width: 100%; height: 100%; font-size: 10px"> <el-table-column label="åºå·" width="50" type="index"></el-table-column> <el-table :data="auths" style="width: 100%; height: 100%; font-size: 14px"> <el-table-column label="åºå·" width="50" type="index" /> <el-table-column label="ç»å®è´¦å·å¹³å°" width="140" align="center" prop="source" show-overflow-tooltip /> <el-table-column label="头å" width="120" align="center" prop="avatar"> <template #default="scope"> src/views/workflow/leave/leaveEdit.vue
@@ -228,8 +228,8 @@ taskVariables.value = { entity: data, leaveDays: data.leaveDays, userList: [1, 2], userList2: [1, 2] userList: [1, 3], userList2: [1, 3] }; submitFormData.value.variables = taskVariables.value; const resp = await startWorkFlow(submitFormData.value);