{"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_word.vue?vue&type=script&lang=js&","dependencies":[{"path":"/data/jenkins/workspace/test-v5inweb-5.x-vue/src/components/o_word.vue","mtime":1739760944322},{"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.split\";\nimport \"core-js/modules/es6.regexp.replace\";\nimport Constant from \"@/Constant.js\";\nimport controlHidden from \"@/assets/js/controlHidden.js\";\nexport default {\n name: \"o-word\",\n props: [\"id\"],\n computed: {\n field: function field() {\n var formData = this.$parent.findField(this.id);\n if (formData.displayType == 5 || formData.displayType == 3) {\n formData.printHiddenValue = formData.printHiddenValue ? formData.printHiddenValue.replace(/ /g, \"\") : \"\";\n }\n return this.setEmbedPdf(formData);\n //return this.$parent.findField(this.id);\n }\n },\n mounted: function mounted() {\n var _this = this;\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 data: function data() {\n return {\n Constant: Constant,\n dialogVisible: false,\n wordEditor: \"\",\n currentUrl: \"\"\n };\n },\n methods: {\n setEmbedPdf: function setEmbedPdf(formData) {\n if (formData.openType == \"1\") {\n var applicationId = undefined,\n path = formData[\"data-full-path\"],\n name = formData[\"data-file-name\"],\n showName = formData[\"data-file-name\"],\n fileType = \".\" + formData[\"data-file-name\"] ? formData[\"data-file-name\"].split(\".\")[1] : \"\",\n //.doc\n isOpenCloseBtn = false,\n isShowDocName = false,\n curEditUserId = this.$store.state.userId,\n action = formData.action;\n fileType = \".\" + fileType;\n var cp = obpmConfig.obpmFilePath;\n sessionStorage.setItem(\"obpmContextPath\", cp);\n var statiContextPath = obpmConfig.statiContextPath;\n var pdfPath = \"\";\n if (statiContextPath) {\n //5.0 trunk\n sessionStorage.setItem(\"isTrunk\", true);\n pdfPath = obpmConfig.statiContextPath;\n } else {\n //4.4 stable\n sessionStorage.setItem(\"isTrunk\", false);\n pdfPath = cp;\n }\n this.wordEditor = pdfPath + \"/portal/vue/pdf/pdfviewer.html?applicationId=\" + applicationId + \"&path=\" + path + \"&name=\" + name + \"&showName=\" + showName + \"&fileType=\" + fileType + \"&isOpenCloseBtn=\" + isOpenCloseBtn + \"&isShowDocName=\" + isShowDocName + \"&curEditUserId=\" + curEditUserId + \"&action=\" + action;\n return formData;\n } else if (formData.openType == \"3\") {\n return formData;\n }\n },\n openDialog: function openDialog() {\n var applicationId = undefined,\n path = this.field[\"data-full-path\"],\n name = this.field[\"data-file-name\"],\n showName = this.field[\"data-file-name\"],\n fileType = \".\" + this.field[\"data-file-name\"] ? this.field[\"data-file-name\"].split(\".\")[1] : \"\",\n //.doc\n isOpenCloseBtn = false,\n isShowDocName = false,\n curEditUserId = this.$store.state.userId,\n action = this.field.action;\n fileType = \".\" + fileType;\n var cp = obpmConfig.obpmFilePath;\n sessionStorage.setItem(\"obpmContextPath\", cp);\n var statiContextPath = obpmConfig.statiContextPath;\n var pdfPath = \"\";\n if (statiContextPath) {\n //5.0 trunk\n sessionStorage.setItem(\"isTrunk\", true);\n pdfPath = obpmConfig.statiContextPath;\n } else {\n //4.4 stable\n sessionStorage.setItem(\"isTrunk\", false);\n pdfPath = cp;\n }\n this.wordEditor = pdfPath + \"/portal/vue/pdf/pdfviewer.html?applicationId=\" + applicationId + \"&path=\" + path + \"&name=\" + name + \"&showName=\" + showName + \"&fileType=\" + fileType + \"&isOpenCloseBtn=\" + isOpenCloseBtn + \"&isShowDocName=\" + isShowDocName + \"&curEditUserId=\" + curEditUserId + \"&action=\" + action;\n this.dialogVisible = true;\n },\n handleClose: function handleClose() {\n this.dialogVisible = false;\n }\n }\n};",null]}