(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2b2a4fa7"],{1676:function(t,e,a){"use strict";var n=a("a40a"),i=a.n(n);i.a},4731:function(t,e,a){"use strict";a.d(e,"h",(function(){return i})),a.d(e,"g",(function(){return s})),a.d(e,"j",(function(){return r})),a.d(e,"i",(function(){return o})),a.d(e,"d",(function(){return u})),a.d(e,"e",(function(){return p})),a.d(e,"c",(function(){return d})),a.d(e,"a",(function(){return l})),a.d(e,"b",(function(){return c})),a.d(e,"f",(function(){return h}));var n=a("66df"),i=function(t){return n["a"].request({method:"post",url:"api/admin.php?s=Admin.Rights.ListAllRightsService",data:t})},s=function(t){return n["a"].request({method:"post",url:"api/admin.php?s=Admin.Rights.ListAllRightsForDeveloperType",data:t})},r=function(t){return n["a"].request({method:"post",url:"api/admin.php?s=Admin.Rights.SearchRightsList",data:t})},o=function(t){return n["a"].request({method:"post",url:"api/admin.php?s=Admin.Rights.RemoveRightsService",data:t})},u=function(t){return n["a"].request({method:"post",url:"api/admin.php?s=Admin.Rights.CreateNewRightsRule",data:t})},p=function(t){return n["a"].request({method:"post",url:"api/admin.php?s=Admin.Rights.DelelteRightsRule",data:t})},d=function(t){return n["a"].request({method:"post",url:"api/admin.php?s=Admin.Rights.AssignRightsOrNot",data:t})},l=function(t){return n["a"].request({method:"post",url:"api/admin.php?s=Admin.Rights.AddRightsService",data:t})},c=function(t){return n["a"].request({method:"post",url:"api/admin.php?s=Admin.Rights.AssignRightsForDevTypeOrNot",data:t})},h=function(t){return n["a"].request({method:"post",url:"api/admin.php?s=Admin.Rights.GetDevAppApis",data:t})}},a40a:function(t,e,a){},e359:function(t,e,a){"use strict";a.r(e);var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("div",{staticClass:"head"},[a("p",{staticStyle:{"margin-left":"30px"}},[t._v(t._s(t.$t("application"))+"：")]),a("Input",{staticStyle:{width:"300px","margin-right":"10px"},attrs:{clearable:"",placeholder:t.$t("enter_app_key")},model:{value:t.app_key,callback:function(e){t.app_key=e},expression:"app_key"}}),a("div",[a("Button",{attrs:{type:"primary"},on:{click:t.query}},[t._v(t._s(t.$t("search")))])],1)],1),t.tableData.length||t.loading?a("Table",{staticClass:"head__tab",attrs:{loading:t.loading,border:"",columns:t.tableHead,data:t.tableData},scopedSlots:t._u([{key:"service",fn:function(e){var n=e.row;return[a("a",{attrs:{href:t.urlStr(n),target:"blank"}},[t._v(t._s(n.service))])]}},{key:"is_allow",fn:function(e){var n=e.row;return[n.is_allow?a("span",[t._v(t._s(t.$t("obtain")))]):a("span",[t._v(t._s(t.$t("not_obtain")))])]}}],null,!1,3444643321)}):a("Tag",{staticClass:"tips-content"},[a("div",{staticClass:"tips-content"},[t._v("tips："+t._s(t.$t("enter_app_key_search")))])])],1)},i=[],s=a("4731"),r=a("c276"),o={data:function(){return{tipsShow:!0,app_key:"",token:Object(r["h"])(),tableHead:[{title:this.$t("api_feature"),key:"title"},{title:this.$t("api_name"),slot:"service"},{title:this.$t("permission_status"),slot:"is_allow"}],tableData:[],loading:!1}},created:function(){},methods:{urlStr:function(t){var e="/docs.php?service=".concat(t.service,"&detail=1&type=fold");return e},query:function(){var t=this;this.loading=!0;var e=new FormData;e.append("access_token",this.token),e.append("app_key",this.app_key),Object(s["f"])(e).then((function(e){200===e.ret?t.$set(t.$data,"tableData",e.data.apis):(t.tableData=[],t.$Message.info("你搜索的应用不存在")),t.loading=!1}))}}},u=o,p=(a("1676"),a("2877")),d=Object(p["a"])(u,n,i,!1,null,null,null);e["default"]=d.exports}}]);