{"remainingRequest":"/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/view_blank.vue?vue&type=script&lang=js&","dependencies":[{"path":"/data/jenkins/workspace/test-v5inweb-5.x-vue/src/components/view_blank.vue","mtime":1739760944323},{"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":["\r\nimport API from \"@/api.js\";\r\nimport view_delegate from \"@/components/view_delegate.vue\"\r\nimport form_normalform from \"@/components/form_normalform.vue\"\r\nimport profile from \"@/components/profile.vue\"\r\nimport information from \"@/components/information.vue\"\r\nimport main_management from \"@/components/main_management.vue\"\r\nimport main_pending from \"@/components/main_pending.vue\"\r\nimport main_processing from \"@/components/main_processing.vue\"\r\nimport main_read from \"@/components/main_read.vue\"\r\nimport main_unread from \"@/components/main_unread.vue\"\r\nimport authority from \"@/components/authority.vue\"\r\nimport main_launch from \"@/components/main_launch.vue\"\r\nimport main_meter from \"@/components/main_meter\"\r\nimport report from \"@/components/report\"\r\nimport chart from \"@/components/chart\"\r\nimport common_linkcontent from \"@/components/common_linkcontent\"\r\nimport menu_custom_linktype from \"@/components/menu_custom_linktype\"\r\nimport main_other_software from \"@/components/main_other_software\"\r\n\r\nexport default {\r\n props: [\r\n ],\r\n components: {\r\n view_delegate,\r\n form_normalform,\r\n profile,\r\n information,\r\n main_management,\r\n main_pending,\r\n main_processing,\r\n main_read,\r\n main_unread,\r\n authority,\r\n main_launch,\r\n main_meter,\r\n report,\r\n chart,\r\n common_linkcontent,\r\n menu_custom_linktype,\r\n main_other_software\r\n },\r\n data: function() {\r\n return {\r\n params: null,\r\n view:'',\r\n tableHeight: document.documentElement.clientHeight - 55 - 40 - 20 - 20 // 55:按钮 40:页码 20:padding\r\n };\r\n },\r\n created() {\r\n this.doAction();\r\n //this.getviewData();\r\n },\r\n mounted(){\r\n \r\n },\r\n computed: {\r\n \r\n },\r\n methods: {\r\n contentType: function() {\r\n\r\n console.log(this.params,\"this.__________________________\");\r\n let compName;\r\n switch (this.params.linkType) {\r\n case \"00\":\r\n //表单\r\n compName = \"form_normalform\";\r\n break;\r\n case \"01\":\r\n //列表视图\r\n compName = \"view_delegate\";\r\n break;\r\n case \"02\":\r\n //图表\r\n compName = \"chart\";\r\n break;\r\n case \"03\":\r\n //信息管理\r\n compName = \"information\";\r\n break;\r\n case \"04\":\r\n //系统设置\r\n compName = \"main_management\";\r\n break;\r\n case \"05\":\r\n compName = \"menu_custom_linktype\";\r\n break;\r\n case \"06\":\r\n compName = \"menu_custom_linktype\";\r\n break;\r\n case \"07\":\r\n //自定义脚本链接\r\n compName = \"menu_custom_linktype\";\r\n break;\r\n case \"08\":\r\n //仪表分析\r\n compName = \"main_meter\";\r\n break;\r\n case \"09\":\r\n //报表\r\n compName = \"report\";\r\n break;\r\n case \"10\":\r\n //待阅\r\n compName = \"main_unread\";\r\n break;\r\n case \"11\":\r\n //已阅\r\n compName = \"main_read\";\r\n break;\r\n case \"100\":\r\n //权限页面\r\n compName = \"authority\";\r\n break;\r\n case \"102\":\r\n //个人设置\r\n compName = \"profile\";\r\n break;\r\n case \"103\":\r\n compName = \"common_linkcontent\";\r\n break;\r\n case \"104\":\r\n //发起新建\r\n compName = \"main_launch\";\r\n break;\r\n case \"105\":\r\n //我的待办\r\n compName = \"main_pending\";\r\n break;\r\n case \"106\":\r\n //经办跟踪\r\n compName = \"main_processing\";\r\n break;\r\n case \"km\":\r\n compName = \"main_other_software\";\r\n break;\r\n case \"qm\":\r\n compName = \"main_other_software\";\r\n break;\r\n default:\r\n break;\r\n }\r\n return compName;\r\n },\r\n\r\n doAction(params, isCreate) {\r\n \r\n if(isCreate) { //新窗口打开然后点击新建时\r\n this.params = params;\r\n }else {\r\n let openParams = {\r\n appId: this.$route.query.appId,\r\n actionContent: this.$route.query.actionContent,\r\n linkType: this.$route.query.linkType,\r\n isOpenNewWindow: true,\r\n };\r\n this.params = openParams;\r\n }\r\n },\r\n getviewData() {\r\n let appId = this.$root.appid;\r\n let obj = {\r\n appId,\r\n viewId: this.$route.query.actionContent,\r\n test: this.$route.query.paramValue,\r\n containTitle: this.$route.query.name,\r\n };\r\n if(this.$route.query.paramKey) {\r\n obj[this.$route.query.paramKey] = this.$route.query.paramValue;\r\n }\r\n \r\n //delegate带参数的\r\n this.$api.getBlankViewTemplate(appId, obj, {\r\n onSucess: response => {\r\n this.view = response.data.data;\r\n }\r\n })\r\n },\r\n }\r\n}\r\n",null]}