{"remainingRequest":"/data/jenkins/workspace/test-v5inweb-5.x-vue/node_modules/thread-loader/dist/cjs.js!/data/jenkins/workspace/test-v5inweb-5.x-vue/node_modules/babel-loader/lib/index.js!/data/jenkins/workspace/test-v5inweb-5.x-vue/node_modules/cache-loader/dist/cjs.js??ref--0-0!/data/jenkins/workspace/test-v5inweb-5.x-vue/node_modules/vue-loader/lib/index.js??vue-loader-options!/data/jenkins/workspace/test-v5inweb-5.x-vue/src/components/o_flow_history.vue?vue&type=script&lang=js&","dependencies":[{"path":"/data/jenkins/workspace/test-v5inweb-5.x-vue/src/components/o_flow_history.vue","mtime":1739760944320},{"path":"/data/jenkins/workspace/test-v5inweb-5.x-vue/babel.config.js","mtime":1739760943855},{"path":"/data/jenkins/workspace/test-v5inweb-5.x-vue/node_modules/cache-loader/dist/cjs.js","mtime":499162500000},{"path":"/data/jenkins/workspace/test-v5inweb-5.x-vue/node_modules/thread-loader/dist/cjs.js","mtime":499162500000},{"path":"/data/jenkins/workspace/test-v5inweb-5.x-vue/node_modules/babel-loader/lib/index.js","mtime":315532800000},{"path":"/data/jenkins/workspace/test-v5inweb-5.x-vue/node_modules/cache-loader/dist/cjs.js","mtime":499162500000},{"path":"/data/jenkins/workspace/test-v5inweb-5.x-vue/node_modules/vue-loader/lib/index.js","mtime":1655715099000}],"contextDependencies":[],"result":["import \"core-js/modules/es6.regexp.replace\";\nimport Constant from \"@/Constant.js\";\nimport controlHidden from \"@/assets/js/controlHidden.js\";\nexport default {\n name: \"o-flow-history\",\n props: [\"id\"],\n computed: {\n field: function field() {\n var formData = this.$parent.findField(this.id);\n if (formData.flowDiagram) {\n var cp = obpmConfig.obpmFilePath;\n formData.flowDiagramPath = cp + formData.flowDiagram;\n }\n if (formData.displayType == 5 || formData.displayType == 3) {\n formData.printHiddenValue = formData.printHiddenValue ? formData.printHiddenValue.replace(/ /g, \"\") : '';\n }\n return formData;\n }\n },\n mounted: function mounted() {\n var _this = this;\n this.getFlowHistory();\n this.$nextTick(function () {\n var field = _this.field;\n if (field.isHideType) {\n var id = _this.id,\n formShowType = field.formShowType;\n controlHidden({\n id: id,\n field: field,\n formShowType: formShowType\n });\n }\n });\n },\n methods: {\n getFlowHistory: function getFlowHistory() {\n var _this2 = this;\n var appId = this.$root.appid;\n var docId = this.field.docId;\n var content = '';\n this.$api.getFlowHistorys(appId, docId, content, {\n onSucess: function onSucess(response) {\n _this2.tableData = response.data.data;\n var tableData = _this2.tableData;\n for (var i = 0; i < tableData.length; i++) {\n switch (tableData[i].flowOperation) {\n case \"8\":\n tableData[i].flowOperation = _this2.$t('view.stop');\n break;\n case \"81\":\n tableData[i].flowOperation = _this2.$t('flow.back');\n break;\n case \"85\":\n tableData[i].flowOperation = _this2.$t('flow.recall');\n break;\n case \"88\":\n tableData[i].flowOperation = _this2.$t('flow.handup');\n break;\n case \"89\":\n tableData[i].flowOperation = _this2.$t('flow.recover');\n break;\n case \"91\":\n tableData[i].flowOperation = _this2.$t('flow.countersign');\n break;\n default:\n tableData[i].flowOperation = _this2.$t('flow.circulation');\n break;\n }\n }\n _this2.tableData = tableData;\n _this2.$forceUpdate();\n }\n });\n }\n },\n data: function data() {\n return {\n Constant: Constant,\n tableData: [],\n flowPhoto: '',\n flowOperation: ''\n };\n }\n};",null]}