{"ast":null,"code":"import \"core-js/modules/es.array.push.js\";\nimport \"core-js/modules/es.function.name.js\";\nimport \"core-js/modules/es.string.starts-with.js\";\nexport default {\n name: 'ProcessFlow',\n data: function data() {\n return {\n processTypes: {\n employee: {\n title: '员工入职业务流程',\n description: '本流程规范了新员工从招聘到入职的完整过程,确保人才招聘和入职流程的规范化和标准化,提高人力资源管理效率。',\n status: '正常运行',\n statusType: 'success',\n totalSteps: 7,\n completedSteps: 6,\n avgDuration: '15天',\n steps: [{\n title: '开始申请',\n type: 'start',\n url: '/recruitment/start'\n }, {\n title: '发布招聘需求',\n type: 'process',\n url: '/recruitment/publish'\n }, {\n title: '简历筛选',\n type: 'condition',\n url: '/recruitment/screen',\n branches: [{\n label: '通过',\n direction: 'right'\n }, {\n label: '不通过',\n direction: 'left'\n }]\n }, {\n title: '面试流程',\n type: 'process',\n url: '/interview/process'\n }, {\n title: '面试评估',\n type: 'condition',\n url: '/interview/evaluate',\n branches: [{\n label: '通过',\n direction: 'right'\n }, {\n label: '不通过',\n direction: 'left'\n }]\n }, {\n title: 'Offer发放',\n type: 'process',\n url: '/offer/send'\n }, {\n title: 'Offer确认',\n type: 'condition',\n url: '/offer/confirm',\n branches: [{\n label: '接受',\n direction: 'right'\n }, {\n label: '拒绝',\n direction: 'left'\n }]\n }, {\n title: '入职准备',\n type: 'process',\n url: '/onboarding/prepare'\n }, {\n title: '入职完成',\n type: 'end',\n url: '/onboarding/complete'\n }]\n },\n sales: {\n title: '销售订单业务流程',\n description: '规范销售订单从创建到完成的全过程,包括报价、合同签订、订单处理等环节,提高销售效率和客户满意度。',\n status: '部分维护中',\n statusType: 'warning',\n totalSteps: 5,\n completedSteps: 3,\n avgDuration: '7天',\n steps: [{\n title: '客户询价',\n url: '/sales/inquiry',\n icon: 'message',\n description: '处理客户询价'\n }, {\n title: '报价审核',\n url: '/sales/quote',\n icon: 'document-checked',\n description: '查看报价详情'\n }, {\n title: '合同签订',\n url: '/sales/contract',\n icon: 'edit',\n description: '处理合同签订'\n }, {\n title: '订单确认',\n url: '/sales/order',\n icon: 'finished',\n description: '确认订单信息'\n }, {\n title: '订单完成',\n url: '/sales/complete',\n icon: 'success',\n description: '完成订单处理'\n }]\n },\n development: {\n title: '发货业务流程',\n description: '管理产品从仓库出库到送达客户的完整流程,包括库存检查、包装、物流等环节,确保准确及时交付。',\n status: '正常运行',\n statusType: 'success',\n totalSteps: 4,\n completedSteps: 4,\n avgDuration: '3天',\n steps: [{\n title: '库存确认',\n url: '/shipping/stock',\n icon: 'box',\n description: '确认库存状态'\n }, {\n title: '发货准备',\n url: '/shipping/prepare',\n icon: 'goods',\n description: '准备发货物品'\n }, {\n title: '物流配送',\n url: '/shipping/delivery',\n icon: 'truck',\n description: '跟踪物流状态'\n }, {\n title: '签收确认',\n url: '/shipping/confirm',\n icon: 'checked',\n description: '确认收货状态'\n }]\n }\n }\n };\n },\n computed: {\n currentProcess: function currentProcess() {\n var processType = this.$route.params.type || 'employee';\n return this.processTypes[processType];\n },\n processSteps: function processSteps() {\n return this.currentProcess.steps;\n }\n },\n methods: {\n handleStepClick: function handleStepClick(url) {\n var _this = this;\n if (url.startsWith('http')) {\n window.open(url, '_blank');\n } else {\n this.$router.push(url)[\"catch\"](function (err) {\n if (err.name !== 'NavigationDuplicated') {\n _this.$message({\n type: 'warning',\n message: '该功能正在开发中'\n });\n }\n });\n }\n }\n }\n};","map":{"version":3,"names":["name","data","processTypes","employee","title","description","status","statusType","totalSteps","completedSteps","avgDuration","steps","type","url","branches","label","direction","sales","icon","development","computed","currentProcess","processType","$route","params","processSteps","methods","handleStepClick","_this","startsWith","window","open","$router","push","err","$message","message"],"sources":["src/views/EmployeeProcess.vue"],"sourcesContent":["\n \n \n \n \n {{ currentProcess.title }}\n {{ currentProcess.status }}\n \n \n \n {{ currentProcess.description }}\n \n \n \n {{ currentProcess.totalSteps }}\n 总步骤\n \n \n {{ currentProcess.completedSteps }}\n 已完成\n \n \n {{ currentProcess.avgDuration }}\n 平均耗时\n \n \n \n \n\n \n \n \n \n \n \n \n {{ step.title }}\n \n \n \n {{ step.title }}\n \n \n {{ branch.label }}\n \n \n \n \n \n {{ step.title }}\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n "],"mappings":";;;AAiFA;EACAA,IAAA;EACAC,IAAA,WAAAA,KAAA;IACA;MACAC,YAAA;QACAC,QAAA;UACAC,KAAA;UACAC,WAAA;UACAC,MAAA;UACAC,UAAA;UACAC,UAAA;UACAC,cAAA;UACAC,WAAA;UACAC,KAAA,GACA;YACAP,KAAA;YACAQ,IAAA;YACAC,GAAA;UACA,GACA;YACAT,KAAA;YACAQ,IAAA;YACAC,GAAA;UACA,GACA;YACAT,KAAA;YACAQ,IAAA;YACAC,GAAA;YACAC,QAAA,GACA;cAAAC,KAAA;cAAAC,SAAA;YAAA,GACA;cAAAD,KAAA;cAAAC,SAAA;YAAA;UAEA,GACA;YACAZ,KAAA;YACAQ,IAAA;YACAC,GAAA;UACA,GACA;YACAT,KAAA;YACAQ,IAAA;YACAC,GAAA;YACAC,QAAA,GACA;cAAAC,KAAA;cAAAC,SAAA;YAAA,GACA;cAAAD,KAAA;cAAAC,SAAA;YAAA;UAEA,GACA;YACAZ,KAAA;YACAQ,IAAA;YACAC,GAAA;UACA,GACA;YACAT,KAAA;YACAQ,IAAA;YACAC,GAAA;YACAC,QAAA,GACA;cAAAC,KAAA;cAAAC,SAAA;YAAA,GACA;cAAAD,KAAA;cAAAC,SAAA;YAAA;UAEA,GACA;YACAZ,KAAA;YACAQ,IAAA;YACAC,GAAA;UACA,GACA;YACAT,KAAA;YACAQ,IAAA;YACAC,GAAA;UACA;QAEA;QACAI,KAAA;UACAb,KAAA;UACAC,WAAA;UACAC,MAAA;UACAC,UAAA;UACAC,UAAA;UACAC,cAAA;UACAC,WAAA;UACAC,KAAA,GACA;YACAP,KAAA;YACAS,GAAA;YACAK,IAAA;YACAb,WAAA;UACA,GACA;YACAD,KAAA;YACAS,GAAA;YACAK,IAAA;YACAb,WAAA;UACA,GACA;YACAD,KAAA;YACAS,GAAA;YACAK,IAAA;YACAb,WAAA;UACA,GACA;YACAD,KAAA;YACAS,GAAA;YACAK,IAAA;YACAb,WAAA;UACA,GACA;YACAD,KAAA;YACAS,GAAA;YACAK,IAAA;YACAb,WAAA;UACA;QAEA;QACAc,WAAA;UACAf,KAAA;UACAC,WAAA;UACAC,MAAA;UACAC,UAAA;UACAC,UAAA;UACAC,cAAA;UACAC,WAAA;UACAC,KAAA,GACA;YACAP,KAAA;YACAS,GAAA;YACAK,IAAA;YACAb,WAAA;UACA,GACA;YACAD,KAAA;YACAS,GAAA;YACAK,IAAA;YACAb,WAAA;UACA,GACA;YACAD,KAAA;YACAS,GAAA;YACAK,IAAA;YACAb,WAAA;UACA,GACA;YACAD,KAAA;YACAS,GAAA;YACAK,IAAA;YACAb,WAAA;UACA;QAEA;MACA;IACA;EACA;EACAe,QAAA;IACAC,cAAA,WAAAA,eAAA;MACA,IAAAC,WAAA,QAAAC,MAAA,CAAAC,MAAA,CAAAZ,IAAA;MACA,YAAAV,YAAA,CAAAoB,WAAA;IACA;IACAG,YAAA,WAAAA,aAAA;MACA,YAAAJ,cAAA,CAAAV,KAAA;IACA;EACA;EACAe,OAAA;IACAC,eAAA,WAAAA,gBAAAd,GAAA;MAAA,IAAAe,KAAA;MACA,IAAAf,GAAA,CAAAgB,UAAA;QACAC,MAAA,CAAAC,IAAA,CAAAlB,GAAA;MACA;QACA,KAAAmB,OAAA,CAAAC,IAAA,CAAApB,GAAA,qBAAAqB,GAAA;UACA,IAAAA,GAAA,CAAAlC,IAAA;YACA4B,KAAA,CAAAO,QAAA;cACAvB,IAAA;cACAwB,OAAA;YACA;UACA;QACA;MACA;IACA;EACA;AACA","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}
{{ currentProcess.description }}