1 |
- {"ast":null,"code":"import \"core-js/modules/es.symbol.js\";\nimport \"core-js/modules/es.symbol.description.js\";\nimport \"core-js/modules/es.array.concat.js\";\nvar render = function render() {\n var _vm = this,\n _c = _vm._self._c;\n return _c(\"div\", {\n staticClass: \"process-container\"\n }, [_c(\"el-card\", {\n staticClass: \"process-intro\"\n }, [_c(\"div\", {\n staticClass: \"intro-header\"\n }, [_c(\"h2\", [_vm._v(_vm._s(_vm.currentProcess.title))]), _c(\"el-tag\", {\n attrs: {\n size: \"medium\",\n type: _vm.currentProcess.statusType\n }\n }, [_vm._v(_vm._s(_vm.currentProcess.status))])], 1), _c(\"div\", {\n staticClass: \"intro-content\"\n }, [_c(\"div\", {\n staticClass: \"intro-description\"\n }, [_c(\"p\", [_vm._v(_vm._s(_vm.currentProcess.description))])]), _c(\"div\", {\n staticClass: \"intro-stats\"\n }, [_c(\"div\", {\n staticClass: \"stat-item\"\n }, [_c(\"div\", {\n staticClass: \"stat-value\"\n }, [_vm._v(_vm._s(_vm.currentProcess.totalSteps))]), _c(\"div\", {\n staticClass: \"stat-label\"\n }, [_vm._v(\"总步骤\")])]), _c(\"div\", {\n staticClass: \"stat-item\"\n }, [_c(\"div\", {\n staticClass: \"stat-value\"\n }, [_vm._v(_vm._s(_vm.currentProcess.completedSteps))]), _c(\"div\", {\n staticClass: \"stat-label\"\n }, [_vm._v(\"已完成\")])]), _c(\"div\", {\n staticClass: \"stat-item\"\n }, [_c(\"div\", {\n staticClass: \"stat-value\"\n }, [_vm._v(_vm._s(_vm.currentProcess.avgDuration))]), _c(\"div\", {\n staticClass: \"stat-label\"\n }, [_vm._v(\"平均耗时\")])])])])]), _c(\"div\", {\n staticClass: \"process-flow\"\n }, [_c(\"div\", {\n staticClass: \"flow-container\"\n }, [_c(\"div\", {\n staticClass: \"main-flow\"\n }, [_c(\"el-steps\", {\n attrs: {\n direction: \"vertical\",\n active: _vm.currentProcess.completedSteps,\n \"finish-status\": \"success\"\n }\n }, _vm._l(_vm.processSteps, function (step, index) {\n return _c(\"el-step\", {\n key: index,\n staticClass: \"clickable-step\",\n attrs: {\n title: step.title,\n description: step.description\n },\n nativeOn: {\n click: function click($event) {\n return _vm.handleStepClick(step.url);\n }\n }\n }, [_c(\"template\", {\n slot: \"icon\"\n }, [_c(\"div\", {\n staticClass: \"custom-icon-wrapper\"\n }, [_c(\"i\", {\n \"class\": [\"el-icon-\" + (step.icon || \"connection\")]\n })])]), step.branches ? _c(\"div\", {\n staticClass: \"branch-container\"\n }, [_c(\"div\", {\n staticClass: \"branch-line\"\n }), _c(\"div\", {\n staticClass: \"branch-steps\"\n }, [_c(\"el-steps\", {\n attrs: {\n direction: \"vertical\",\n active: _vm.getBranchActive(step),\n \"finish-status\": \"success\"\n }\n }, _vm._l(step.branches, function (branch, bIndex) {\n return _c(\"el-step\", {\n key: \"\".concat(index, \"-\").concat(bIndex),\n staticClass: \"clickable-step branch-step\",\n attrs: {\n title: branch.title,\n description: branch.description\n },\n nativeOn: {\n click: function click($event) {\n return _vm.handleStepClick(branch.url);\n }\n }\n }, [_c(\"template\", {\n slot: \"icon\"\n }, [_c(\"div\", {\n staticClass: \"custom-icon-wrapper branch-icon\"\n }, [_c(\"i\", {\n \"class\": [\"el-icon-\" + (branch.icon || \"connection\")]\n })])])], 2);\n }), 1)], 1)]) : _vm._e()], 2);\n }), 1)], 1)])])], 1);\n};\nvar staticRenderFns = [];\nrender._withStripped = true;\nexport { render, staticRenderFns };","map":{"version":3,"names":["render","_vm","_c","_self","staticClass","_v","_s","currentProcess","title","attrs","size","type","statusType","status","description","totalSteps","completedSteps","avgDuration","direction","active","_l","processSteps","step","index","key","nativeOn","click","$event","handleStepClick","url","slot","icon","branches","getBranchActive","branch","bIndex","concat","_e","staticRenderFns","_withStripped"],"sources":["/Users/zyh/Desktop/demo001/src/views/EmployeeProcess.vue"],"sourcesContent":["var render = function render() {\n var _vm = this,\n _c = _vm._self._c\n return _c(\n \"div\",\n { staticClass: \"process-container\" },\n [\n _c(\"el-card\", { staticClass: \"process-intro\" }, [\n _c(\n \"div\",\n { staticClass: \"intro-header\" },\n [\n _c(\"h2\", [_vm._v(_vm._s(_vm.currentProcess.title))]),\n _c(\n \"el-tag\",\n {\n attrs: { size: \"medium\", type: _vm.currentProcess.statusType },\n },\n [_vm._v(_vm._s(_vm.currentProcess.status))]\n ),\n ],\n 1\n ),\n _c(\"div\", { staticClass: \"intro-content\" }, [\n _c(\"div\", { staticClass: \"intro-description\" }, [\n _c(\"p\", [_vm._v(_vm._s(_vm.currentProcess.description))]),\n ]),\n _c(\"div\", { staticClass: \"intro-stats\" }, [\n _c(\"div\", { staticClass: \"stat-item\" }, [\n _c(\"div\", { staticClass: \"stat-value\" }, [\n _vm._v(_vm._s(_vm.currentProcess.totalSteps)),\n ]),\n _c(\"div\", { staticClass: \"stat-label\" }, [_vm._v(\"总步骤\")]),\n ]),\n _c(\"div\", { staticClass: \"stat-item\" }, [\n _c(\"div\", { staticClass: \"stat-value\" }, [\n _vm._v(_vm._s(_vm.currentProcess.completedSteps)),\n ]),\n _c(\"div\", { staticClass: \"stat-label\" }, [_vm._v(\"已完成\")]),\n ]),\n _c(\"div\", { staticClass: \"stat-item\" }, [\n _c(\"div\", { staticClass: \"stat-value\" }, [\n _vm._v(_vm._s(_vm.currentProcess.avgDuration)),\n ]),\n _c(\"div\", { staticClass: \"stat-label\" }, [_vm._v(\"平均耗时\")]),\n ]),\n ]),\n ]),\n ]),\n _c(\"div\", { staticClass: \"process-flow\" }, [\n _c(\"div\", { staticClass: \"flow-container\" }, [\n _c(\n \"div\",\n { staticClass: \"main-flow\" },\n [\n _c(\n \"el-steps\",\n {\n attrs: {\n direction: \"vertical\",\n active: _vm.currentProcess.completedSteps,\n \"finish-status\": \"success\",\n },\n },\n _vm._l(_vm.processSteps, function (step, index) {\n return _c(\n \"el-step\",\n {\n key: index,\n staticClass: \"clickable-step\",\n attrs: {\n title: step.title,\n description: step.description,\n },\n nativeOn: {\n click: function ($event) {\n return _vm.handleStepClick(step.url)\n },\n },\n },\n [\n _c(\"template\", { slot: \"icon\" }, [\n _c(\"div\", { staticClass: \"custom-icon-wrapper\" }, [\n _c(\"i\", {\n class: [\"el-icon-\" + (step.icon || \"connection\")],\n }),\n ]),\n ]),\n step.branches\n ? _c(\"div\", { staticClass: \"branch-container\" }, [\n _c(\"div\", { staticClass: \"branch-line\" }),\n _c(\n \"div\",\n { staticClass: \"branch-steps\" },\n [\n _c(\n \"el-steps\",\n {\n attrs: {\n direction: \"vertical\",\n active: _vm.getBranchActive(step),\n \"finish-status\": \"success\",\n },\n },\n _vm._l(\n step.branches,\n function (branch, bIndex) {\n return _c(\n \"el-step\",\n {\n key: `${index}-${bIndex}`,\n staticClass:\n \"clickable-step branch-step\",\n attrs: {\n title: branch.title,\n description: branch.description,\n },\n nativeOn: {\n click: function ($event) {\n return _vm.handleStepClick(\n branch.url\n )\n },\n },\n },\n [\n _c(\"template\", { slot: \"icon\" }, [\n _c(\n \"div\",\n {\n staticClass:\n \"custom-icon-wrapper branch-icon\",\n },\n [\n _c(\"i\", {\n class: [\n \"el-icon-\" +\n (branch.icon ||\n \"connection\"),\n ],\n }),\n ]\n ),\n ]),\n ],\n 2\n )\n }\n ),\n 1\n ),\n ],\n 1\n ),\n ])\n : _vm._e(),\n ],\n 2\n )\n }),\n 1\n ),\n ],\n 1\n ),\n ]),\n ]),\n ],\n 1\n )\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }"],"mappings":";;;AAAA,IAAIA,MAAM,GAAG,SAASA,MAAMA,CAAA,EAAG;EAC7B,IAAIC,GAAG,GAAG,IAAI;IACZC,EAAE,GAAGD,GAAG,CAACE,KAAK,CAACD,EAAE;EACnB,OAAOA,EAAE,CACP,KAAK,EACL;IAAEE,WAAW,EAAE;EAAoB,CAAC,EACpC,CACEF,EAAE,CAAC,SAAS,EAAE;IAAEE,WAAW,EAAE;EAAgB,CAAC,EAAE,CAC9CF,EAAE,CACA,KAAK,EACL;IAAE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B;QAC9BK,KAAK,EAAE;UACLD,KAAK,EAAE0B,MAAM,CAAC1B,KAAK;UACnBM,WAAW,EAAEoB,MAAM,CAACpB;QACtB,CAAC;QACDW,QAAQ,EAAE;UACRC,KAAK,EAAE,SAAPA,KAAKA,CAAYC,MAAM,EAAE;YACvB,OAAO1B,GAAG,CAAC2B,eAAe,CACxBM,MAAM,CAACL,GACT,CAAC;UACH;QACF;MACF,CAAC,EACD,CACE3B,EAAE,CAAC,UAAU,EAAE;QAAE4B,IAAI,EAAE;MAAO,CAAC,EAAE,CAC/B5B,EAAE,CACA,KAAK,EACL;QACEE,WAAW,EACT;MACJ,CAAC,EACD,CACEF,EAAE,CAAC,GAAG,EAAE;QACN,SAAO,CACL,UAAU,IACPgC,MAAM,CAACH,IAAI,IACV,YAAY,CAAC;MAErB,CAAC,CAAC,CAEN,CAAC,CACF,CAAC,CACH,EACD,CACF,CAAC;IACH,CACF,CAAC,EACD,CACF,CAAC,CACF,EACD,CACF,CAAC,CACF,CAAC,GACF9B,GAAG,CAACoC,EAAE,CAAC,CAAC,CACb,EACD,CACF,CAAC;EACH,CAAC,CAAC,EACF,CACF,CAAC,CACF,EACD,CACF,CAAC,CACF,CAAC,CACH,CAAC,CACH,EACD,CACF,CAAC;AACH,CAAC;AACD,IAAIC,eAAe,GAAG,EAAE;AACxBtC,MAAM,CAACuC,aAAa,GAAG,IAAI;AAE3B,SAASvC,MAAM,EAAEsC,eAAe","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}
|