{"remainingRequest":"/data/jenkins/workspace/badp-bcxin-web-5.x-mobile/node_modules/vue-loader/lib/index.js??vue-loader-options!/data/jenkins/workspace/badp-bcxin-web-5.x-mobile/src/components/o_flow_history.vue?vue&type=script&lang=js&","dependencies":[{"path":"/data/jenkins/workspace/badp-bcxin-web-5.x-mobile/src/components/o_flow_history.vue","mtime":1740130327257},{"path":"/data/jenkins/workspace/badp-bcxin-web-5.x-mobile/node_modules/cache-loader/dist/cjs.js","mtime":499162500000},{"path":"/data/jenkins/workspace/badp-bcxin-web-5.x-mobile/node_modules/thread-loader/dist/cjs.js","mtime":499162500000},{"path":"/data/jenkins/workspace/badp-bcxin-web-5.x-mobile/node_modules/babel-loader/lib/index.js","mtime":499162500000},{"path":"/data/jenkins/workspace/badp-bcxin-web-5.x-mobile/node_modules/cache-loader/dist/cjs.js","mtime":499162500000},{"path":"/data/jenkins/workspace/badp-bcxin-web-5.x-mobile/node_modules/vue-loader/lib/index.js","mtime":499162500000}],"contextDependencies":[],"result":["//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\nimport Constant from \"@/Constant.js\"\nimport API from \"@/api.js\"\nimport controlHidden from \"@/assets/js/controlHidden.js\"\nexport default {\n name: \"o-flow-history\",\n props: [\"id\"],\n computed: {\n field: function() {\n return this.$parent.findField(this.id);\n },\n },\n mounted(){\n this.getFlowHistory();\n this.$nextTick(()=>{\n let field = this.field;\n if(field.isHideType) {\n let id = this.id,\n formShowType = field.formShowType;\n controlHidden({id, field, formShowType})\n }\n })\n },\n methods: {\n getFlowHistory(){\n let appId = this.$root.appid;\n let docId = this.field.docId;\n API.getFlowHistorys(\n appId,\n docId,\n {\n onSucess: response => {\n let flowData = response.data.data\n flowData.forEach(item => {\n switch (item.flowOperation) {\n case '7':\n item.signingAction = \"流转\";\n break;\n case '8':\n item.signingAction = \"终止\";\n break;\n case \"80\": \n item.signingAction = \"流转\";\n break;\n case \"81\":\n item.signingAction = \"回退\";\n break;\n case \"85\": \n item.signingAction = \"回撤\";\n break;\n case \"86\": \n item.signingAction = \"干预\";\n break;\n case \"87\": \n item.signingAction = \"过期\";\n break;\n case \"88\": \n item.signingAction = \"挂起\";\n break;\n case \"89\": \n item.signingAction = \"恢复\";\n break;\n case \"90\": \n item.signingAction = \"跳过\";\n break;\n case \"91\":\n item.signingAction = \"会签\";\n break;\n default:\n break;\n }\n });\n this.tableData = flowData;\n }\n }\n )\n }\n },\n data: function() {\n return {\n Constant,\n tableData:[],\n };\n }\n}\n",null]}