{"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_reminder_history.vue?vue&type=script&lang=js&","dependencies":[{"path":"/data/jenkins/workspace/badp-bcxin-web-5.x-mobile/src/components/o_flow_reminder_history.vue","mtime":1740130327258},{"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//\n//\n//\n\nimport Constant from \"@/Constant.js\";\nimport API from \"@/api.js\";\nexport default {\n name: \"o-flow-reminder-history\",\n props: [\"id\"],\n computed: {\n field: function() {\n return this.$parent.findField(this.id);\n }\n },\n mounted() {\n this.getFlowHistory();\n },\n methods: {\n getFlowHistory() {\n let appId = this.$root.appid;\n let docId = this.field.docId;\n API.getRemindHistorys(appId, docId, {\n onSucess: response => {\n let flowData = response.data.data;\n flowData.forEach(item => {\n if(item.processTime) {\n let date = new Date(item.processTime);\n let Y = date.getFullYear() + '-';\n let M = (date.getMonth()+1 < 10 ? '0'+(date.getMonth()+1) : date.getMonth()+1) + '-';\n let D = (date.getDate() < 10 ? '0'+date.getDate() : date.getDate()) + ' ';\n let h = (date.getHours() < 10 ? '0'+date.getHours() : date.getHours()) + ':';\n let m = (date.getMinutes() < 10 ? '0'+date.getMinutes() : date.getMinutes()) + ':';\n let s = (date.getSeconds() < 10 ? '0'+date.getSeconds() : date.getSeconds());\n \n let dateTime = Y + M + D + h + m + s;\n item.processTime = dateTime\n }\n });\n \n this.tableData = response.data.data;\n }\n });\n }\n },\n data: function() {\n return {\n Constant,\n\n tableData: []\n };\n }\n};\n",null]}