{"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_reminder_history.vue?vue&type=script&lang=js&","dependencies":[{"path":"/data/jenkins/workspace/test-v5inweb-5.x-vue/src/components/o_reminder_history.vue","mtime":1739760944321},{"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-reminder-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 data: function data() {\n return {\n Constant: Constant,\n tableData: [],\n flowPhoto: ''\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 this.$api.getRemindHistorys(appId, docId, {\n onSucess: function onSucess(response) {\n _this2.tableData = response.data.data;\n _this2.$forceUpdate();\n }\n });\n\n // this.$api.getbillflow(\n // this.field.flowDiagram,\n // {\n // onSucess: res => {\n // \n // //this.flowPhoto = 'data:image/png;base64,' + response.data\n // let blob = new Blob([res.data], {type: \"application/vnd.ms-excel\"});\n // let url = window.URL.createObjectURL(blob);\n // this.flowPhoto = url;\n // console.log(\"url---->\",url)\n // //window.location.href = url;\n\n // }\n // }\n\n // )\n }\n },\n filters: {\n writeCurrentDate: function writeCurrentDate(val) {\n var now = new Date(val);\n var year = now.getFullYear();\n var month = now.getMonth() + 1;\n var date = now.getDate();\n var hour = now.getHours();\n var minute = now.getMinutes();\n var second = now.getSeconds();\n return year + \"-\" + month + \"-\" + date + \" \" + hour + \":\" + minute + \":\" + second;\n }\n }\n};",null]}