所有菜单的 name 都加上模块的前缀,避免冲突

This commit is contained in:
YunaiV
2023-04-08 11:49:28 +08:00
parent 04c3cdf372
commit adb8b58967
70 changed files with 97 additions and 96 deletions

View File

@@ -103,7 +103,7 @@
import { getMyProcessInstancePage, cancelProcessInstance } from "@/api/bpm/processInstance";
export default {
name: "ProcessInstance",
name: "BpmProcessInstance",
components: {
},
data() {
@@ -155,7 +155,7 @@ export default {
},
/** 新增按钮操作 **/
handleAdd() {
this.$router.push({ path: "/bpm/process-instance/create"})
this.$router.push({ name: "BpmProcessInstanceCreate"})
},
/** 取消按钮操作 */
handleCancel(row) {
@@ -175,7 +175,7 @@ export default {
},
/** 处理详情按钮 */
handleDetail(row) {
this.$router.push({ path: "/bpm/process-instance/detail", query: { id: row.id}});
this.$router.push({ name: "BpmProcessInstanceDetail", query: { id: row.id}});
},
}
};