mirror of
				https://gitee.com/hhyykk/ipms-sjy.git
				synced 2025-10-31 02:08:43 +08:00 
			
		
		
		
	所有菜单的 name 都加上模块的前缀,避免冲突
This commit is contained in:
		| @@ -81,7 +81,7 @@ import Parser from '@/components/parser/Parser' | ||||
| import taskAssignRuleDialog from "../taskAssignRule/taskAssignRuleDialog"; | ||||
|  | ||||
| export default { | ||||
|   name: "processDefinition", | ||||
|   name: "BpmProcessDefinition", | ||||
|   components: { | ||||
|     Parser, | ||||
|     taskAssignRuleDialog | ||||
|   | ||||
| @@ -67,7 +67,7 @@ import Parser from '@/components/parser/Parser' | ||||
| import {decodeFields} from "@/utils/formGenerator"; | ||||
|  | ||||
| export default { | ||||
|   name: "Form", | ||||
|   name: "BpmForm", | ||||
|   components: { | ||||
|     Parser | ||||
|   }, | ||||
| @@ -134,13 +134,13 @@ export default { | ||||
|     /** 新增按钮操作 */ | ||||
|     handleAdd() { | ||||
|       this.$router.push({ | ||||
|         path:"/bpm/manager/form/edit" | ||||
|         name: "BpmFormEditor" | ||||
|       }); | ||||
|     }, | ||||
|     /** 修改按钮操作 */ | ||||
|     handleUpdate(row) { | ||||
|       this.$router.push({ | ||||
|         path:"/bpm/manager/form/edit", | ||||
|         name: "BpmFormEditor", | ||||
|         query:{ | ||||
|           formId: row.id | ||||
|         } | ||||
|   | ||||
| @@ -102,7 +102,7 @@ import {CommonStatusEnum} from "@/utils/constants"; | ||||
| import {listSimpleUsers} from "@/api/system/user"; | ||||
|  | ||||
| export default { | ||||
|   name: "UserGroup", | ||||
|   name: "BpmUserGroup", | ||||
|   components: { | ||||
|   }, | ||||
|   data() { | ||||
|   | ||||
| @@ -233,7 +233,7 @@ import Treeselect from "@riophae/vue-treeselect"; | ||||
| import "@riophae/vue-treeselect/dist/vue-treeselect.css"; | ||||
|  | ||||
| export default { | ||||
|   name: "model", | ||||
|   name: "BpmModel", | ||||
|   components: { | ||||
|     Parser, | ||||
|     Treeselect, | ||||
| @@ -380,7 +380,7 @@ export default { | ||||
|     /** 设计按钮操作 */ | ||||
|     handleDesign(row) { | ||||
|       this.$router.push({ | ||||
|         path:"/bpm/manager/model/design", | ||||
|         name: "BpmModelEditor", | ||||
|         query:{ | ||||
|           modelId: row.id | ||||
|         } | ||||
| @@ -473,7 +473,7 @@ export default { | ||||
|     /** 跳转流程定义的列表 */ | ||||
|     handleDefinitionList(row) { | ||||
|       this.$router.push({ | ||||
|         path:"/bpm/manager/definition", | ||||
|         name: "BpmProcessDefinition", | ||||
|         query:{ | ||||
|           key: row.key | ||||
|         } | ||||
|   | ||||
| @@ -26,7 +26,7 @@ import {createModel, getModel, updateModel} from "@/api/bpm/model"; | ||||
| // import MyProcessPanel from "../package/process-panel/ProcessPanel"; | ||||
|  | ||||
| export default { | ||||
|   name: "App", | ||||
|   name: "BpmModelEditor", | ||||
|   components: { MyProcessPalette }, | ||||
|   data() { | ||||
|     return { | ||||
|   | ||||
| @@ -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() { | ||||
|   | ||||
| @@ -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() { | ||||
|   | ||||
| @@ -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) { | ||||
|   | ||||
| @@ -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}}); | ||||
|     }, | ||||
|   } | ||||
| }; | ||||
|   | ||||
| @@ -63,7 +63,7 @@ import {getDoneTaskPage} from '@/api/bpm/task' | ||||
| import {getDate} from "@/utils/dateUtils"; | ||||
|  | ||||
| export default { | ||||
|   name: "Done", | ||||
|   name: "BpmDoneTask", | ||||
|   components: { | ||||
|   }, | ||||
|   data() { | ||||
| @@ -113,7 +113,7 @@ export default { | ||||
|     }, | ||||
|     /** 处理审批按钮 */ | ||||
|     handleAudit(row) { | ||||
|       this.$router.push({ path: "/bpm/process-instance/detail", query: { id: row.processInstance.id}}); | ||||
|       this.$router.push({ name: "BpmProcessInstanceDetail", query: { id: row.processInstance.id}}); | ||||
|     }, | ||||
|   } | ||||
| }; | ||||
|   | ||||
| @@ -52,7 +52,7 @@ | ||||
| import {getTodoTaskPage} from '@/api/bpm/task' | ||||
|  | ||||
| export default { | ||||
|   name: "Todo", | ||||
|   name: "BpmTodoTask", | ||||
|   components: { | ||||
|   }, | ||||
|   data() { | ||||
| @@ -100,7 +100,7 @@ export default { | ||||
|     }, | ||||
|     /** 处理审批按钮 */ | ||||
|     handleAudit(row) { | ||||
|       this.$router.push({ path: "/bpm/process-instance/detail", query: { id: row.processInstance.id}}); | ||||
|       this.$router.push({ name: "BpmProcessInstanceDetail", query: { id: row.processInstance.id}}); | ||||
|     }, | ||||
|   } | ||||
| }; | ||||
|   | ||||
| @@ -91,7 +91,7 @@ import {listSimpleUsers} from "@/api/system/user"; | ||||
| import {listSimpleUserGroups} from "@/api/bpm/userGroup"; | ||||
|  | ||||
| export default { | ||||
|   name: "taskAssignRuleDialog", | ||||
|   name: "BpmTaskAssignRule", | ||||
|   components: { | ||||
|     Treeselect | ||||
|   }, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 YunaiV
					YunaiV