{"remainingRequest":"/data/jenkins/workspace/test-v5in-source-front-01/src/badp-bcxin-5.x/obpm-designer-web/node_modules/vue-loader/lib/index.js??vue-loader-options!/data/jenkins/workspace/test-v5in-source-front-01/src/badp-bcxin-5.x/obpm-designer-web/src/components/CbInfo/CbInfo.vue?vue&type=script&lang=js&","dependencies":[{"path":"/data/jenkins/workspace/test-v5in-source-front-01/src/badp-bcxin-5.x/obpm-designer-web/src/components/CbInfo/CbInfo.vue","mtime":1701674859498},{"path":"/data/jenkins/workspace/test-v5in-source-front-01/src/badp-bcxin-5.x/obpm-designer-web/node_modules/babel-loader/lib/index.js","mtime":1701674874357},{"path":"/data/jenkins/workspace/test-v5in-source-front-01/src/badp-bcxin-5.x/obpm-designer-web/node_modules/cache-loader/dist/cjs.js","mtime":1701674874584},{"path":"/data/jenkins/workspace/test-v5in-source-front-01/src/badp-bcxin-5.x/obpm-designer-web/node_modules/vue-loader/lib/index.js","mtime":1701674874903}],"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\nimport { updateApplication,getApplications,getCbLogData} from \"@/service/CommonApi.js\";\n\nexport default {\n name:'cbInfo',\n data(){\n return {\n tableHeight: document.documentElement.clientHeight - 50 - 41 - 32 - 60 + \"px\",\n cbInfo:{\n URL:'',\n Token:'',\n EncodingAESkey:''\n },\n detail:{\n\n },\n data:[\n {\n\n }\n ]\n }\n },\n created(){\n this.getApplications();\n this.getLogData();\n },\n methods:{\n \n getApplications(){\n let appId = JSON.parse(this.$route.query.params).appId;\n getApplications({id:appId}, {\n onSucess: response => {\n if (response.data.errcode == 0) {\n this.detail = response.data.data;\n this.cbInfo.URL=this.detail.url;\n this.cbInfo.Token=this.detail.token;\n this.cbInfo.EncodingAESkey=this.detail.encodingAESkey;\n }\n }\n });\n },\n onSaveBtn(){\n let params={...this.detail,...this.cbInfo}\n updateApplication(params, {\n onSucess: response => {\n if (response.data.errcode == 0) {\n this.$message({\n message: this.$t('msg.ss'),\n type: 'success'\n });\n }\n }\n });\n },\n getLogData(){\n let appId = JSON.parse(this.$route.query.params).appId;\n getCbLogData(appId, {\n onSucess: response => {\n if (response.data.errcode == 0) {\n this.data=response.data.data\n }\n }\n });\n },\n }\n}\n",null]}