所有菜单的 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

@@ -30,7 +30,7 @@ import { createLeave} from "@/api/bpm/leave"
import { getDictDatas, DICT_TYPE } from '@/utils/dict'
export default {
name: "LeaveCreate",
name: "BpmOALeaveCreate",
components: {
},
data() {

View File

@@ -16,7 +16,7 @@
import { getLeave} from "@/api/bpm/leave"
import {getDictDatas, DICT_TYPE} from '@/utils/dict'
export default {
name: "LeaveDetail",
name: "BpmOALeaveDetail",
components: {
},
data() {

View File

@@ -89,7 +89,7 @@ import { getDictDatas, DICT_TYPE } from '@/utils/dict'
import {cancelProcessInstance} from "@/api/bpm/processInstance";
export default {
name: "Leave",
name: "BpmOALeave",
components: {
},
data() {
@@ -142,15 +142,15 @@ export default {
},
/** 新增按钮操作 */
handleAdd() {
this.$router.push({ path: "/bpm/oa/leave/create"});
this.$router.push({ name: "BpmOALeaveCreate"});
},
/** 详情按钮操作 */
handleDetail(row) {
this.$router.push({ path: "/bpm/oa/leave/detail", query: { id: row.id}});
this.$router.push({ name: "BpmOALeaveDetail", query: { id: row.id}});
},
/** 查看审批进度的操作 */
handleProcessDetail(row) {
this.$router.push({ path: "/bpm/process-instance/detail", query: { id: row.processInstanceId}});
this.$router.push({ name: "BpmProcessInstanceDetail", query: { id: row.processInstanceId}});
},
/** 取消请假 */
handleCancel(row) {