{"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_include.vue?vue&type=script&lang=js&","dependencies":[{"path":"/data/jenkins/workspace/badp-bcxin-web-5.x-mobile/src/components/o_include.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//\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 view_delegate from \"@/components/view_delegate.vue\";\nimport comm_dialog from \"@/components/comm_dialog.vue\";\n\nexport default {\n name: \"o-include\",\n props: [\"id\"],\n components: {\n view_delegate,\n comm_dialog\n },\n computed: {\n field: function() {\n // let formData = this.$parent.findField(this.id);\n //formData.isRefresh = 'false'\n return this.$parent.findField(this.id);\n }\n },\n watch: {\n 'field.isRefresh'() {\n this.reload();\n },\n 'field.name'() {\n if(this.field.name.split(\" \")[0]){\n this.reload();\n this.field.name = this.field.name.split(\" \")[0];\n }\n \n },\n },\n mounted() {\n \n },\n beforeDestroy() {\n //包含元素打开了视图,或者视图打开了表单,点击手机的返回键需要把DOM移除才能隐藏弹窗框\n document.getElementById(this.id).remove();//style.display = 'none';\n },\n openParams() {\n var field = this.$parent.findField(this.id);\n return {\n appId: field.application,\n actionContent: field.viewId,\n };\n },\n\n data: function() {\n return {\n Constant,\n dialogVisible: false,\n view: {},\n isRouterAlive:true,\n row_count:'',\n includeViewDescript:'',\n \n };\n },\n\n methods: {\n refreshForm() {\n this.$parent.refresh(this.id);\n },\n setRowCount(value) {\n this.row_count = value;\n },\n setIncludeViewDescript(value) {\n this.includeViewDescript = value\n },\n reload() {\n this.isRouterAlive = false;\n this.$nextTick(() => (this.isRouterAlive = true));\n },\n doCreate(obj, showtype) {\n obj.showtype = showtype;\n this.$router.push({ name: \"open\", query: obj });\n },\n showView() {\n // sessionStorage.setItem(\"OIncudeControlId\", this.id);\n this.dialogVisible = true;\n },\n closeDialog() {\n this.dialogVisible = false;\n },\n }\n};\n",null]}