{"remainingRequest":"/data/jenkins/workspace/badp-bcxin-web-5.x-vue/node_modules/vue-loader/lib/index.js??vue-loader-options!/data/jenkins/workspace/badp-bcxin-web-5.x-vue/src/components/form_print.vue?vue&type=script&lang=js","dependencies":[{"path":"/data/jenkins/workspace/badp-bcxin-web-5.x-vue/src/components/form_print.vue","mtime":1725957645722},{"path":"/data/jenkins/workspace/badp-bcxin-web-5.x-vue/node_modules/babel-loader/lib/index.js","mtime":456789000000},{"path":"/data/jenkins/workspace/badp-bcxin-web-5.x-vue/node_modules/cache-loader/dist/cjs.js","mtime":499162500000},{"path":"/data/jenkins/workspace/badp-bcxin-web-5.x-vue/node_modules/vue-loader/lib/index.js","mtime":499162500000}],"contextDependencies":[],"result":["\nimport Watermark from '@/assets/js/watermark';\nimport form_signlist from \"@/expandedComponents/form_sign_list.vue\";\nexport default {\n props: [\n \"printParams\",\n \"printData\"\n ],\n components: {\n form_signlist\n },\n data: function() {\n return {\n formdata: '',\n formTemplateDocid:'',\n queryData:'',\n currentUrl:'',\n\t windowHeight: 0\n };\n },\n created: function() {\n let queryData = this.$route.query;\n this.queryData = queryData;\n if(queryData.printType == 14) {\n this.initForm({\n appId: queryData.appId,\n formId: queryData.formId,\n docId: queryData.docId,\n });\n }else if(queryData.printType == 30) {\n let id = queryData.onActionPrint;\n let docId = queryData.docId;\n this.$api.getPrintCustomreports(\n id,\n docId,\n {\n onSucess: response => {\n let url = response.data;\n this.currentUrl = obpmConfig.obpmFilePath + url;\n }\n }\n );\n }\n //打印页面给body增加高度自适应,方便打印分页\n let docbody = document.body || document.getElementsByTagName('body')[0];\n docbody.style.miHeight = \"100%\";\n\tthis.windowHeight = document.documentElement.clientHeight -26;\n // docbody.style.height = \"auto\";\n },\n mounted(){\n },\n computed: {\n template() {\n let data = this.formdata;\n if (data && data.formTemplate) {//打印添加样式库\n if(data && data.style && data.style.content) {\n let css = data.style.content;\n let head = document.head || document.getElementsByTagName('head')[0];\n let style = document.createElement('style');\n head.appendChild(style);\n style.type = 'text/css';\n style.appendChild(document.createTextNode(css));\n }\n return {\n methods: {\n findField: this.findField,\n },\n template: \"