Files
starRiverProperty/frontend-source/decompiled/cwos-portal/static/js/72.ac0ed37193ab03286e95.js
T
反编译工作区 4f79e10bd6 chore: cleanup stray nested directories in frontend-source
Former-commit-id: 376f94edd602d3dfed1cbada6e08361ee7b08e73
2026-04-29 13:07:40 +08:00

1 line
5.1 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
webpackJsonp([72],{PPNQ:function(t,e,a){(t.exports=a("FZ+f")(!1)).push([t.i,"\n.page-title[data-v-ad9350c4] {\n -webkit-box-flex: 1;\n -ms-flex: 1 0 auto;\n flex: 1 0 auto;\n color: #2a2c44;\n font-size: 16px;\n font-weight: 900;\n height: 50px;\n line-height: 50px;\n}\n.table-title[data-v-ad9350c4] {\n margin: 10px 0 10px;\n}\n.page-items p[data-v-ad9350c4] {\n margin-bottom: 10px;\n line-height: 36px;\n}\n.page-items p > span[data-v-ad9350c4] {\n display: inline-block;\n}\n.page-items p .title[data-v-ad9350c4] {\n width: 100px;\n text-align: left;\n}\n.page-items p .value[data-v-ad9350c4] {\n margin-left: 5px;\n}\n",""])},PZVi:function(t,e,a){var s=a("PPNQ");"string"==typeof s&&(s=[[t.i,s,""]]),s.locals&&(t.exports=s.locals);a("rjj0")("44d16156",s,!0)},zwcI:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=a("bOdI"),i=a.n(s),n=a("SR6C"),l=a("/W+i"),o={data:function(){var t;return t={detailData:{},tableData:[],currentPage4:4,ruleForm2:{password:""},dialogVisible:!1,cur:"",secretId:"",authId:null,service:null},i()(t,"ruleForm2",{password:""}),i()(t,"appSecre",""),t},watch:{},created:function(){this.fetchData()},methods:{showAS:function(){this.dialogVisible=!0,this.ruleForm2.password=""},hideAS:function(t){this.appSecre=""},checkPassword:function(t){var e=this;this.$refs[t].validate(function(a){a&&(n.a.getKey({businessId:window.sessionStorage.getItem("businessId"),apiKey:JSON.parse(window.sessionStorage.getItem("authDetailData")).apiKey,password:Object(l.a)(e.ruleForm2.password)}).then(function(t){e.appSecre=t.data,e.dialogVisible=!1}).catch(function(t){e.$message.error(t.message)}),e.$refs[t].resetFields())})},fetchData:function(){var t=this,e={businessId:window.sessionStorage.getItem("businessId"),apiKey:JSON.parse(window.sessionStorage.getItem("authDetailData")).apiKey};n.a.getKeyDetail(e).then(function(e){t.tableData=e.data.applicationApies.filter(function(t){return!!t.bind}),t.detailData=e.data}).catch(function(e){t.$message.error(e.message)})}}},r={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"app-container"},[a("el-card",{staticStyle:{"min-height":"100%"}},[a("div",{staticClass:"page-title"},[t._v("授权信息")]),t._v(" "),a("div",{staticClass:"page-items"},[a("p",[a("span",{staticClass:"title"},[t._v("app key:")]),t._v(" "),a("span",{staticClass:"value"},[t._v(t._s(t.detailData.apiKey))])]),t._v(" "),a("p",[a("span",{staticClass:"title"},[t._v("app secret:")]),t._v(" "),a("span",{staticClass:"value"},[""==t.appSecre?a("span",[t._v("***************")]):a("span",[t._v(t._s(t.appSecre))]),t._v("    \n "),""==t.appSecre?a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(e){return t.showAS()}}},[t._v("显示")]):a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(e){return t.hideAS()}}},[t._v("隐藏")])],1)]),t._v(" "),a("p",[a("span",{staticClass:"title"},[t._v("状态:")]),t._v(" "),a("span",{staticClass:"value"},[1==t.detailData.status?a("span",[t._v("已启用")]):a("span",[t._v("已禁用")])])]),t._v(" "),a("p",[a("span",{staticClass:"title"},[t._v("更新时间:")]),t._v(" "),a("span",{staticClass:"value"},[t._v(t._s(t._f("datetime")(t.detailData.updateTime)))])])]),t._v(" "),a("div",{staticClass:"table-title"},[t._v("API接口:")]),t._v(" "),a("el-table",{ref:"'multipleTable'+index ",staticStyle:{width:"100%"},attrs:{data:t.tableData,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{label:"接口名称",width:"200"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.apiName))]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"apiUri",label:"接口地址","show-overflow-tooltip":""}}),t._v(" "),a("el-table-column",{attrs:{prop:"applicationName",label:"所属应用"}})],1)],1),t._v(" "),a("el-dialog",{attrs:{title:"密码确认",visible:t.dialogVisible,width:"500px","close-on-click-modal":!1},on:{"update:visible":function(e){t.dialogVisible=e}}},[a("el-form",{ref:"ruleForm2",staticClass:"demo-ruleForm password-input",attrs:{model:t.ruleForm2,"status-icon":"","label-width":"100px"}},[a("el-form-item",{staticStyle:{width:"85%"},attrs:{label:"密码",prop:"password",rules:[{required:!0,message:"密码不能为空"}]}},[a("el-input",{attrs:{type:"password","auto-complete":"off"},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.checkPassword("ruleForm2")}},model:{value:t.ruleForm2.password,callback:function(e){t.$set(t.ruleForm2,"password",e)},expression:"ruleForm2.password"}}),t._v(" "),a("p",{staticStyle:{color:"#e9394b","font-size":"12px","margin-left":"3px"}},[t._v("秘钥类信息查看需要重新认证系统登录密码")])],1)],1),t._v(" "),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{attrs:{type:"primary"},on:{click:function(e){return t.checkPassword("ruleForm2")}}},[t._v("确 定")]),t._v(" "),a("el-button",{on:{click:function(e){t.dialogVisible=!1}}},[t._v("取 消")])],1)],1)],1)},staticRenderFns:[]};var p=a("VU/8")(o,r,!1,function(t){a("PZVi")},"data-v-ad9350c4",null);e.default=p.exports}});