{"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/obpm_open_container.vue?vue&type=script&lang=js","dependencies":[{"path":"/data/jenkins/workspace/badp-bcxin-web-5.x-vue/src/components/obpm_open_container.vue","mtime":1725957645728},{"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 view_delegate from \"@/components/view_delegate.vue\";\nimport form_normalform from \"@/components/form_normalform.vue\";\nimport profile from \"@/components/profile.vue\";\nimport information from \"@/components/information.vue\";\nimport main_management from \"@/components/main_management.vue\";\nimport main_pending from \"@/components/main_pending.vue\";\nimport main_processing from \"@/components/main_processing.vue\";\nimport main_read from \"@/components/main_read.vue\";\nimport main_unread from \"@/components/main_unread.vue\";\nimport authority from \"@/components/authority.vue\";\nimport main_launch from \"@/components/main_launch.vue\";\nimport main_meter from \"@/components/main_meter\";\nimport report from \"@/components/report\";\nimport chart from \"@/components/chart\";\nimport common_linkcontent from \"@/components/common_linkcontent\";\nimport menu_custom_linktype from \"@/components/menu_custom_linktype\";\nimport main_other_software from \"@/components/main_other_software\";\nimport FlowCenter from \"@/views/FlowCenter\";\nimport application from \"@/components/application\"; //应用列表\nimport applicationMarket from \"@/components/applicationMarket\"; //应用市场\nimport ad from \"@/components/ad\"; //公告\n//import { constants } from 'crypto';\n\nexport default {\n name: \"obpm-open-container\",\n props: [\"openParams\"],\n components: {\n view_delegate: view_delegate,\n form_normalform: form_normalform,\n profile: profile,\n information: information,\n main_management: main_management,\n main_pending: main_pending,\n main_processing: main_processing,\n main_read: main_read,\n main_unread: main_unread,\n authority: authority,\n main_launch: main_launch,\n main_meter: main_meter,\n report: report,\n chart: chart,\n common_linkcontent: common_linkcontent,\n menu_custom_linktype: menu_custom_linktype,\n main_other_software: main_other_software,\n FlowCenter: FlowCenter,\n application: application,\n applicationMarket: applicationMarket,\n ad: ad\n },\n provide: function provide() {\n return {\n refreshForm: this.refreshForm,\n setListViewDocIds: this.setListViewDocIds,\n openNewpage: this.doAction\n };\n },\n inject: ['addTab'],\n created: function created() {\n var op = this.openParams;\n this.doAction(op);\n },\n mounted: function mounted() {\n window.iframeRedirect = this.iframeRedirect;\n },\n data: function data() {\n return {\n params: null,\n paramsHistory: [],\n hackReset: true,\n originalFormDocid: ''\n };\n },\n methods: {\n iframeRedirect: function iframeRedirect(params) {\n //第三方iframe嵌套跳转到vue--bcx \n this.addTab(params);\n },\n setListViewDocIds: function setListViewDocIds() {},\n refreshForm: function refreshForm() {\n var _this = this;\n this.hackReset = false;\n this.$nextTick(function () {\n _this.hackReset = true;\n });\n },\n updateData: function updateData(linkType, showType) {\n if (linkType === '01') {\n //视图\n this.$refs.obpmContainer.hiddenCustomizeVisible(); //当是视图打开的某个标签关闭后,统过调用此方法重新加载视图数据\n } else {\n if (linkType === '00' && showType == 'include' || linkType === '02') {\n this.$refs.obpmContainer.hiddenCustomizeVisible();\n } else {\n this.reloading();\n }\n }\n },\n //重建时加载\n reloading: function reloading(docId) {\n var _this2 = this;\n this.originalFormDocid = docId;\n this.hackReset = false;\n this.$nextTick(function () {\n _this2.hackReset = true;\n });\n },\n contentType: function contentType() {\n // this.params = openParams;\n var compName;\n switch (this.params.linkType) {\n case \"00\":\n //表单\n compName = \"form_normalform\";\n break;\n case \"01\":\n //列表视图\n compName = \"view_delegate\";\n break;\n case \"02\":\n //图表\n compName = \"chart\";\n break;\n case \"03\":\n //信息管理\n compName = \"information\";\n break;\n case \"04\":\n //系统设置\n compName = \"main_management\";\n break;\n case \"05\":\n compName = \"menu_custom_linktype\";\n break;\n case \"06\":\n compName = \"menu_custom_linktype\";\n break;\n case \"07\":\n //自定义脚本链接\n compName = \"menu_custom_linktype\";\n break;\n case \"08\":\n //仪表分析\n compName = \"main_meter\";\n break;\n case \"09\":\n //报表\n compName = \"report\";\n break;\n case \"10\":\n //待阅\n compName = \"main_unread\";\n break;\n case \"11\":\n //已阅\n compName = \"main_read\";\n break;\n case \"100\":\n //权限页面\n compName = \"authority\";\n break;\n case \"102\":\n //个人设置\n compName = \"profile\";\n break;\n case \"103\":\n //iframe嵌套\n compName = \"common_linkcontent\";\n break;\n case \"104\":\n //发起新建\n compName = \"main_launch\";\n break;\n case \"105\":\n //我的待办\n compName = \"main_pending\";\n break;\n case \"106\":\n //经办跟踪\n compName = \"main_processing\";\n break;\n case \"107\":\n //流程中心\n compName = \"FlowCenter\";\n break;\n case \"km\":\n compName = \"main_other_software\";\n break;\n case \"qm\":\n compName = \"main_other_software\";\n break;\n case \"application\":\n //工作台 应用列表\n compName = \"application\";\n break;\n case \"applicationMarket\":\n //工作台 应用市场\n compName = \"applicationMarket\";\n break;\n case \"ad\":\n //公告\n compName = \"ad\";\n break;\n default:\n break;\n }\n return compName;\n },\n doAction: function doAction(params) {\n var _this3 = this;\n var obj = params;\n var formParams = '';\n for (var key in obj) {\n if (key != 'name' && key != 'actionContent' && key != 'searchData' && key != 'showtype' && key != 'realformId' && key != 'templateForm' && key != 'urlParams' && key != 'exparams' && key != 'runAfterParams' && key != 'queryString' && key != 'isOpenDialog') {\n if (obj[key]) {\n formParams += \"&\" + key + '=' + obj[key];\n }\n }\n }\n if (formParams) {\n params.formParams = formParams;\n }\n this.paramsHistory.push(params);\n this.params = params;\n if (params.isCurrentPageOpen) {\n //当是按钮为当前页打开时重新刷新页面加载数据,是视图按钮,或者表单按钮\n this.hackReset = false;\n this.$nextTick(function () {\n _this3.hackReset = true;\n });\n }\n },\n doBack: function doBack() {\n if (this.paramsHistory.length > 0) {\n this.paramsHistory.pop();\n }\n if (this.paramsHistory.length > 0) {\n this.params = this.paramsHistory[this.paramsHistory.length - 1];\n } else {\n this.$parent.onCloseBtnClick(this.params);\n }\n }\n }\n};",null]}