diff --git a/README.md b/README.md index 531f64b..ebc088b 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,6 @@ ## 平台简介 - 本仓库为前端技术栈 [Vue3](https://v3.cn.vuejs.org) + [TS](https://www.typescriptlang.org/) + [Element Plus](https://element-plus.org/zh-CN) + [Vite](https://cn.vitejs.dev) 版本。 -- 成员项目: 基于 vben(ant-design-vue) 的前端项目 [ruoyi-plus-vben](https://gitee.com/dapppp/ruoyi-plus-vben) - 成员项目: 基于 vben5(ant-design-vue) 的前端项目 [ruoyi-plus-vben5](https://gitee.com/dapppp/ruoyi-plus-vben5) - 配套后端代码仓库地址 - [RuoYi-Vue-Plus 5.X(注意版本号)](https://gitee.com/dromara/RuoYi-Vue-Plus) diff --git a/package.json b/package.json index caac7c0..26d0862 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "$schema": "https://json.schemastore.org/tsconfig", "name": "ruoyi-vue-plus", - "version": "5.3.0-BETA", + "version": "5.3.0", "description": "RuoYi-Vue-Plus多租户管理系统", "author": "LionLi", "license": "MIT", diff --git a/src/components/Process/submitVerify.vue b/src/components/Process/submitVerify.vue index 4c2ea88..1c985de 100644 --- a/src/components/Process/submitVerify.vue +++ b/src/components/Process/submitVerify.vue @@ -71,6 +71,9 @@ 短信 + + + diff --git a/src/views/index.vue b/src/views/index.vue index 8e6b23d..9168123 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -33,7 +33,7 @@ * 部署方式 Docker 容器编排 一键部署业务集群
* 国际化 SpringMessage Spring标准国际化方案

-

当前版本: v5.3.0-BETA

+

当前版本: v5.3.0

¥免费开源

@@ -77,7 +77,7 @@ * 分布式监控 Prometheus、Grafana 全方位性能监控
* 其余与 Vue 版本一致

-

当前版本: v2.2.2

+

当前版本: v2.3.0

¥免费开源

diff --git a/src/views/workflow/leave/leaveEdit.vue b/src/views/workflow/leave/leaveEdit.vue index 8ef66a5..a8c1bfd 100644 --- a/src/views/workflow/leave/leaveEdit.vue +++ b/src/views/workflow/leave/leaveEdit.vue @@ -242,7 +242,7 @@ const submitFlow = async () => { dialogVisible.visible = false; }; //提交申请 -const handleStartWorkFlow = async (data: LeaveVO) => { +const handleStartWorkFlow = async (data: LeaveForm) => { try { submitFormData.value.flowCode = flowCode.value; submitFormData.value.businessId = data.id; diff --git a/src/views/workflow/processDefinition/design.vue b/src/views/workflow/processDefinition/design.vue index 3ec44f7..05e6538 100644 --- a/src/views/workflow/processDefinition/design.vue +++ b/src/views/workflow/processDefinition/design.vue @@ -29,7 +29,7 @@ const open = async (definitionId, disabled) => { }; /** 关闭按钮 */ function close() { - const obj = { path: '/workflow/processDefinition' }; + const obj = { path: '/workflow/processDefinition', query: {activeName: proxy.$route.query.activeName}}; proxy.$tab.closeOpenPage(obj); } diff --git a/src/views/workflow/processDefinition/index.vue b/src/views/workflow/processDefinition/index.vue index a45e484..9888892 100644 --- a/src/views/workflow/processDefinition/index.vue +++ b/src/views/workflow/processDefinition/index.vue @@ -56,7 +56,7 @@ 导出 - + @@ -116,7 +116,7 @@ v-model:page="queryParams.pageNum" v-model:limit="queryParams.pageSize" :total="total" - @pagination="handleQuery" + @pagination="getPageList" /> @@ -261,7 +261,7 @@ const form = ref({ formPath: '' }); onMounted(() => { - handleQuery(); + getPageList(); getTreeselect(); }); @@ -323,6 +323,18 @@ const handleSelectionChange = (selection: any) => { multiple.value = !selection.length; }; //分页 +const getPageList = async () => { + console.log(proxy.$route.query.activeName) + if (proxy.$route.query.activeName) { + activeName.value = proxy.$route.query.activeName; + } + if (activeName.value === '0') { + getList(); + } else { + getUnPublishList(); + } +}; +//分页 const getList = async () => { loading.value = true; const resp = await listDefinition(queryParams.value); @@ -422,7 +434,8 @@ const design = async (row: FlowDefinitionVo) => { path: `/workflow/design/index`, query: { definitionId: row.id, - disabled: false + disabled: false, + activeName: activeName.value } }); }; @@ -436,7 +449,8 @@ const designView = async (row: FlowDefinitionVo) => { path: `/workflow/design/index`, query: { definitionId: row.id, - disabled: true + disabled: true, + activeName: activeName.value } }); }; diff --git a/src/views/workflow/task/allTaskWaiting.vue b/src/views/workflow/task/allTaskWaiting.vue index 1a01be2..0c6c46e 100644 --- a/src/views/workflow/task/allTaskWaiting.vue +++ b/src/views/workflow/task/allTaskWaiting.vue @@ -168,6 +168,7 @@ const resetQuery = () => { queryParams.value.pageSize = 10; queryParams.value.createByIds = []; userSelectCount.value = 0; + selectUserIds.value = []; handleQuery(); }; // 多选框选中数据 diff --git a/src/views/workflow/task/taskFinish.vue b/src/views/workflow/task/taskFinish.vue index 298ddcf..0f5758e 100644 --- a/src/views/workflow/task/taskFinish.vue +++ b/src/views/workflow/task/taskFinish.vue @@ -133,6 +133,7 @@ const resetQuery = () => { queryParams.value.pageSize = 10; queryParams.value.createByIds = []; userSelectCount.value = 0; + selectUserIds.value = []; handleQuery(); }; // 多选框选中数据 diff --git a/src/views/workflow/task/taskWaiting.vue b/src/views/workflow/task/taskWaiting.vue index 876e335..339077d 100644 --- a/src/views/workflow/task/taskWaiting.vue +++ b/src/views/workflow/task/taskWaiting.vue @@ -134,6 +134,7 @@ const resetQuery = () => { queryParams.value.pageSize = 10; queryParams.value.createByIds = []; userSelectCount.value = 0; + selectUserIds.value = []; handleQuery(); }; // 多选框选中数据