Skip to content

Commit b2a4157

Browse files
JavaLionLigitee-org
authored andcommitted
!175 发布 5.3.0 新春版 祝大家新年快乐
Merge pull request !175 from 疯狂的狮子Li/dev
2 parents 5e440a7 + 5682b5f commit b2a4157

File tree

10 files changed

+30
-11
lines changed

10 files changed

+30
-11
lines changed

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
## 平台简介
22

33
- 本仓库为前端技术栈 [Vue3](https://v3.cn.vuejs.org) + [TS](https://www.typescriptlang.org/) + [Element Plus](https://element-plus.org/zh-CN) + [Vite](https://cn.vitejs.dev) 版本。
4-
- 成员项目: 基于 vben(ant-design-vue) 的前端项目 [ruoyi-plus-vben](https://gitee.com/dapppp/ruoyi-plus-vben)
54
- 成员项目: 基于 vben5(ant-design-vue) 的前端项目 [ruoyi-plus-vben5](https://gitee.com/dapppp/ruoyi-plus-vben5)
65
- 配套后端代码仓库地址
76
- [RuoYi-Vue-Plus 5.X(注意版本号)](https://gitee.com/dromara/RuoYi-Vue-Plus)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"$schema": "https://json.schemastore.org/tsconfig",
33
"name": "ruoyi-vue-plus",
4-
"version": "5.3.0-BETA",
4+
"version": "5.3.0",
55
"description": "RuoYi-Vue-Plus多租户管理系统",
66
"author": "LionLi",
77
"license": "MIT",

src/components/Process/submitVerify.vue

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,9 @@
7171
<el-checkbox label="3" name="type">短信</el-checkbox>
7272
</el-checkbox-group>
7373
</el-form-item>
74+
<el-form-item v-if="task.flowStatus === 'waiting'" label="附件">
75+
<fileUpload v-model="backForm.fileId" :file-type="['png', 'jpg', 'jpeg', 'doc', 'docx', 'xlsx', 'xls', 'ppt', 'txt', 'pdf']" :file-size="20" />
76+
</el-form-item>
7477
<el-form-item label="审批意见">
7578
<el-input v-model="backForm.message" type="textarea" resize="none" />
7679
</el-form-item>

src/views/index.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
* 部署方式 Docker 容器编排 一键部署业务集群<br />
3434
* 国际化 SpringMessage Spring标准国际化方案<br />
3535
</p>
36-
<p><b>当前版本:</b> <span>v5.3.0-BETA</span></p>
36+
<p><b>当前版本:</b> <span>v5.3.0</span></p>
3737
<p>
3838
<el-tag type="danger">&yen;免费开源</el-tag>
3939
</p>
@@ -77,7 +77,7 @@
7777
* 分布式监控 Prometheus、Grafana 全方位性能监控<br />
7878
* 其余与 Vue 版本一致<br />
7979
</p>
80-
<p><b>当前版本:</b> <span>v2.2.2</span></p>
80+
<p><b>当前版本:</b> <span>v2.3.0</span></p>
8181
<p>
8282
<el-tag type="danger">&yen;免费开源</el-tag>
8383
</p>

src/views/workflow/leave/leaveEdit.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ const submitFlow = async () => {
242242
dialogVisible.visible = false;
243243
};
244244
//提交申请
245-
const handleStartWorkFlow = async (data: LeaveVO) => {
245+
const handleStartWorkFlow = async (data: LeaveForm) => {
246246
try {
247247
submitFormData.value.flowCode = flowCode.value;
248248
submitFormData.value.businessId = data.id;

src/views/workflow/processDefinition/design.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ const open = async (definitionId, disabled) => {
2929
};
3030
/** 关闭按钮 */
3131
function close() {
32-
const obj = { path: '/workflow/processDefinition' };
32+
const obj = { path: '/workflow/processDefinition', query: {activeName: proxy.$route.query.activeName}};
3333
proxy.$tab.closeOpenPage(obj);
3434
}
3535

src/views/workflow/processDefinition/index.vue

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
<el-col :span="1.5">
5757
<el-button type="warning" icon="Download" :disabled="single" @click="handleExportDef">导出</el-button>
5858
</el-col>
59-
<right-toolbar v-model:show-search="showSearch" @query-table="getList"></right-toolbar>
59+
<right-toolbar v-model:show-search="showSearch" @query-table="handleQuery"></right-toolbar>
6060
</el-row>
6161
</template>
6262
<el-tabs v-model="activeName" class="demo-tabs" @tab-click="handleClick">
@@ -116,7 +116,7 @@
116116
v-model:page="queryParams.pageNum"
117117
v-model:limit="queryParams.pageSize"
118118
:total="total"
119-
@pagination="handleQuery"
119+
@pagination="getPageList"
120120
/>
121121
</el-tabs>
122122
</el-card>
@@ -261,7 +261,7 @@ const form = ref<FlowDefinitionForm>({
261261
formPath: ''
262262
});
263263
onMounted(() => {
264-
handleQuery();
264+
getPageList();
265265
getTreeselect();
266266
});
267267
@@ -323,6 +323,18 @@ const handleSelectionChange = (selection: any) => {
323323
multiple.value = !selection.length;
324324
};
325325
//分页
326+
const getPageList = async () => {
327+
console.log(proxy.$route.query.activeName)
328+
if (proxy.$route.query.activeName) {
329+
activeName.value = proxy.$route.query.activeName;
330+
}
331+
if (activeName.value === '0') {
332+
getList();
333+
} else {
334+
getUnPublishList();
335+
}
336+
};
337+
//分页
326338
const getList = async () => {
327339
loading.value = true;
328340
const resp = await listDefinition(queryParams.value);
@@ -422,7 +434,8 @@ const design = async (row: FlowDefinitionVo) => {
422434
path: `/workflow/design/index`,
423435
query: {
424436
definitionId: row.id,
425-
disabled: false
437+
disabled: false,
438+
activeName: activeName.value
426439
}
427440
});
428441
};
@@ -436,7 +449,8 @@ const designView = async (row: FlowDefinitionVo) => {
436449
path: `/workflow/design/index`,
437450
query: {
438451
definitionId: row.id,
439-
disabled: true
452+
disabled: true,
453+
activeName: activeName.value
440454
}
441455
});
442456
};

src/views/workflow/task/allTaskWaiting.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@ const resetQuery = () => {
168168
queryParams.value.pageSize = 10;
169169
queryParams.value.createByIds = [];
170170
userSelectCount.value = 0;
171+
selectUserIds.value = [];
171172
handleQuery();
172173
};
173174
// 多选框选中数据

src/views/workflow/task/taskFinish.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ const resetQuery = () => {
133133
queryParams.value.pageSize = 10;
134134
queryParams.value.createByIds = [];
135135
userSelectCount.value = 0;
136+
selectUserIds.value = [];
136137
handleQuery();
137138
};
138139
// 多选框选中数据

src/views/workflow/task/taskWaiting.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ const resetQuery = () => {
134134
queryParams.value.pageSize = 10;
135135
queryParams.value.createByIds = [];
136136
userSelectCount.value = 0;
137+
selectUserIds.value = [];
137138
handleQuery();
138139
};
139140
// 多选框选中数据

0 commit comments

Comments
 (0)