{"remainingRequest":"/data/jenkins/workspace/badp-bcxin-web-5.x-vue/node_modules/thread-loader/dist/cjs.js!/data/jenkins/workspace/badp-bcxin-web-5.x-vue/node_modules/babel-loader/lib/index.js!/data/jenkins/workspace/badp-bcxin-web-5.x-vue/node_modules/cache-loader/dist/cjs.js??ref--0-0!/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/o_include.vue?vue&type=script&lang=js","dependencies":[{"path":"/data/jenkins/workspace/badp-bcxin-web-5.x-vue/src/components/o_include.vue","mtime":1725957645727},{"path":"/data/jenkins/workspace/badp-bcxin-web-5.x-vue/babel.config.js","mtime":1725957645200},{"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/thread-loader/dist/cjs.js","mtime":499162500000},{"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":["import \"core-js/modules/es6.regexp.replace\";\nimport view_delegate from \"@/components/view_delegate.vue\";\nimport Constant from \"@/Constant.js\";\nimport controlHidden from \"@/assets/js/controlHidden.js\";\nexport default {\n name: \"o-include\",\n props: [\"id\"],\n components: {\n view_delegate: view_delegate\n },\n computed: {\n field: function field() {\n var formData = this.$parent.findField(this.id);\n var m = document.getElementById('mainHomeContent');\n if (formData.isOpenDialog) {\n //弹窗打开\n var w = Math.floor(document.getElementById(formData.dialogId).clientWidth - 40);\n // formData.includeWidth = w; \n } else if (m) {\n var _w = document.getElementById('mainHomeContent').clientWidth - 88;\n // formData.includeWidth = w;\n }\n if (formData.displayType == 5 || formData.displayType == 3) {\n formData.printHiddenValue = formData.printHiddenValue ? formData.printHiddenValue.replace(/ /g, \"\") : '';\n }\n formData.fixationHeight = formData.fixationHeight.replace(/px/g, \"\");\n return formData;\n }\n },\n watch: {\n 'field.isRefresh': function fieldIsRefresh() {\n var _this = this;\n this.isRouterAlive = false;\n this.$nextTick(function () {\n _this.isRouterAlive = true;\n });\n }\n },\n mounted: function mounted() {\n var _this2 = this;\n this.$nextTick(function () {\n var field = _this2.field;\n if (field.isHideType) {\n var id = _this2.id,\n formShowType = field.formShowType;\n controlHidden({\n id: id,\n field: field,\n formShowType: formShowType\n });\n }\n _this2.includeWidth = _this2.$refs.divWidth.offsetWidth;\n if (_this2.includeWidth <= 100) {\n //应该是0的,\n _this2.includeWidth = document.getElementsByClassName(\"tab-control\")[0].clientWidth - 20;\n }\n });\n },\n data: function data() {\n return {\n Constant: Constant,\n isRouterAlive: true,\n includeWidth: ''\n };\n },\n methods: {\n refresh: function refresh() {\n this.$parent.refresh(this.id);\n },\n toTab: function toTab(params) {\n //this.$parent.setCallback(params); //form_normalform组件的方法\n // this.$parent.addTabs(params);\n if (params) {\n params = JSON.stringify(params);\n }\n var havePar = false;\n var par = '';\n while (!havePar) {\n par = par + '.$parent';\n var url = 'this' + par + '.addTabs';\n if (eval(url)) {\n var path = url + '(' + \"'\" + params + \"'\" + ')';\n eval(path);\n break;\n }\n }\n },\n onChange: function onChange() {\n if (this.field.isRefreshOnChanged) {\n //判断是否需要刷新\n this.$parent.refresh(this.id);\n }\n }\n }\n};",null]}