Commit 3ea1c42b by 无尘

fix: 修改登录

parent 50ad8482
.enterprise-info[data-v-7b180daa]{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.enterprise-info[data-v-7b180daa],.logo[data-v-7b180daa]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.logo[data-v-7b180daa]{margin-right:10px;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:40px;height:40px}.logo img[data-v-7b180daa]{max-width:100%;max-height:100%;border-radius:2px}.enterprise-name[data-v-7b180daa]{display:block;width:calc(100% - 50px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
\ No newline at end of file
.enterprise-info[data-v-410ae982]{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.enterprise-info[data-v-410ae982],.logo[data-v-410ae982]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.logo[data-v-410ae982]{margin-right:10px;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:40px;height:40px}.logo img[data-v-410ae982]{max-width:100%;max-height:100%;border-radius:2px}.enterprise-name[data-v-410ae982]{display:block;width:calc(100% - 50px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
\ No newline at end of file
<!DOCTYPE html><html lang=cn><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=favicon.ico><link rel=stylesheet type=text/css href=//web-1251519181.file.myqcloud.com/custom-element/custom-element.1.0.44.css><link rel=stylesheet type=text/css href=static/fonts/iconfont.css><title>好办</title><link href=css/chunk-0b9cb433.62650d38.css rel=prefetch><link href=css/chunk-2c70a223.1f329e00.css rel=prefetch><link href=css/chunk-448cb576.d0755970.css rel=prefetch><link href=css/chunk-4566970e.f9174fd0.css rel=prefetch><link href=css/chunk-512af800.73a18d33.css rel=prefetch><link href=css/chunk-769e0a22.ddcc7c12.css rel=prefetch><link href=js/chunk-0b9cb433.72c0e05a.js rel=prefetch><link href=js/chunk-22af8244.f7b854db.js rel=prefetch><link href=js/chunk-2c70a223.b8b81817.js rel=prefetch><link href=js/chunk-448cb576.a6f1f4e7.js rel=prefetch><link href=js/chunk-4566970e.8f92af78.js rel=prefetch><link href=js/chunk-512af800.71d05044.js rel=prefetch><link href=js/chunk-769e0a22.6dd0ea91.js rel=prefetch><link href=js/chunk-e0354b28.e77fc6d6.js rel=prefetch><link href=css/app.b864e748.css rel=preload as=style><link href=css/chunk-vendors.635bc84a.css rel=preload as=style><link href=js/app.557aa5be.js rel=preload as=script><link href=js/chunk-vendors.1cef5819.js rel=preload as=script><link href=css/chunk-vendors.635bc84a.css rel=stylesheet><link href=css/app.b864e748.css rel=stylesheet></head><body class=damolish><noscript><strong>We're sorry but damolish doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=//web-1251519181.file.myqcloud.com/lib-4.0/vue/2.6.10/vue.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib-4.0/vuex/3.0.1/vuex.js></script><script src=//web-1251519181.file.myqcloud.com/lib-4.0/axios/0.19.0/axios.min.js></script><script src=//web-1251519181.file.myqcloud.com/components/layout.1.2.46.js></script><script src=//web-1251519181.file.myqcloud.com/components/editor.1.1.11.js></script><script src=//web-1251519181.file.myqcloud.com/components/user-info.1.0.3.js></script><script src=js/chunk-vendors.1cef5819.js></script><script src=js/app.557aa5be.js></script></body></html>
\ No newline at end of file
<!DOCTYPE html><html lang=cn><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=favicon.ico><link rel=stylesheet type=text/css href=//web-1251519181.file.myqcloud.com/custom-element/custom-element.1.0.44.css><link rel=stylesheet type=text/css href=static/fonts/iconfont.css><title>好办</title><link href=css/chunk-2c70a223.1f329e00.css rel=prefetch><link href=css/chunk-350d7fc4.0c713acd.css rel=prefetch><link href=css/chunk-448cb576.d0755970.css rel=prefetch><link href=css/chunk-4566970e.f9174fd0.css rel=prefetch><link href=css/chunk-512af800.73a18d33.css rel=prefetch><link href=css/chunk-769e0a22.ddcc7c12.css rel=prefetch><link href=js/chunk-22af8244.f7b854db.js rel=prefetch><link href=js/chunk-2c70a223.b8b81817.js rel=prefetch><link href=js/chunk-350d7fc4.a6c6fda7.js rel=prefetch><link href=js/chunk-448cb576.a6f1f4e7.js rel=prefetch><link href=js/chunk-4566970e.8f92af78.js rel=prefetch><link href=js/chunk-512af800.a7b7d1df.js rel=prefetch><link href=js/chunk-769e0a22.6dd0ea91.js rel=prefetch><link href=js/chunk-e0354b28.e77fc6d6.js rel=prefetch><link href=css/app.b864e748.css rel=preload as=style><link href=css/chunk-vendors.635bc84a.css rel=preload as=style><link href=js/app.478e5b84.js rel=preload as=script><link href=js/chunk-vendors.1cef5819.js rel=preload as=script><link href=css/chunk-vendors.635bc84a.css rel=stylesheet><link href=css/app.b864e748.css rel=stylesheet></head><body class=damolish><noscript><strong>We're sorry but damolish doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=//web-1251519181.file.myqcloud.com/lib-4.0/vue/2.6.10/vue.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib-4.0/vuex/3.0.1/vuex.js></script><script src=//web-1251519181.file.myqcloud.com/lib-4.0/axios/0.19.0/axios.min.js></script><script src=//web-1251519181.file.myqcloud.com/components/layout.1.2.46.js></script><script src=//web-1251519181.file.myqcloud.com/components/editor.1.1.11.js></script><script src=//web-1251519181.file.myqcloud.com/components/user-info.1.0.3.js></script><script src=js/chunk-vendors.1cef5819.js></script><script src=js/app.478e5b84.js></script></body></html>
\ No newline at end of file
(function(e){function t(t){for(var a,r,i=t[0],u=t[1],s=t[2],l=0,d=[];l<i.length;l++)r=i[l],Object.prototype.hasOwnProperty.call(o,r)&&o[r]&&d.push(o[r][0]),o[r]=0;for(a in u)Object.prototype.hasOwnProperty.call(u,a)&&(e[a]=u[a]);f&&f(t);while(d.length)d.shift()();return c.push.apply(c,s||[]),n()}function n(){for(var e,t=0;t<c.length;t++){for(var n=c[t],a=!0,r=1;r<n.length;r++){var i=n[r];0!==o[i]&&(a=!1)}a&&(c.splice(t--,1),e=u(u.s=n[0]))}return e}var a={},r={app:0},o={app:0},c=[];function i(e){return u.p+"js/"+({}[e]||e)+"."+{"chunk-0b9cb433":"72c0e05a","chunk-22af8244":"f7b854db","chunk-2c70a223":"b8b81817","chunk-448cb576":"a6f1f4e7","chunk-4566970e":"8f92af78","chunk-512af800":"71d05044","chunk-769e0a22":"6dd0ea91","chunk-e0354b28":"e77fc6d6"}[e]+".js"}function u(t){if(a[t])return a[t].exports;var n=a[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,u),n.l=!0,n.exports}u.e=function(e){var t=[],n={"chunk-0b9cb433":1,"chunk-2c70a223":1,"chunk-448cb576":1,"chunk-4566970e":1,"chunk-512af800":1,"chunk-769e0a22":1};r[e]?t.push(r[e]):0!==r[e]&&n[e]&&t.push(r[e]=new Promise((function(t,n){for(var a="css/"+({}[e]||e)+"."+{"chunk-0b9cb433":"62650d38","chunk-22af8244":"31d6cfe0","chunk-2c70a223":"1f329e00","chunk-448cb576":"d0755970","chunk-4566970e":"f9174fd0","chunk-512af800":"73a18d33","chunk-769e0a22":"ddcc7c12","chunk-e0354b28":"31d6cfe0"}[e]+".css",o=u.p+a,c=document.getElementsByTagName("link"),i=0;i<c.length;i++){var s=c[i],l=s.getAttribute("data-href")||s.getAttribute("href");if("stylesheet"===s.rel&&(l===a||l===o))return t()}var d=document.getElementsByTagName("style");for(i=0;i<d.length;i++){s=d[i],l=s.getAttribute("data-href");if(l===a||l===o)return t()}var f=document.createElement("link");f.rel="stylesheet",f.type="text/css",f.onload=t,f.onerror=function(t){var a=t&&t.target&&t.target.src||o,c=new Error("Loading CSS chunk "+e+" failed.\n("+a+")");c.code="CSS_CHUNK_LOAD_FAILED",c.request=a,delete r[e],f.parentNode.removeChild(f),n(c)},f.href=o;var h=document.getElementsByTagName("head")[0];h.appendChild(f)})).then((function(){r[e]=0})));var a=o[e];if(0!==a)if(a)t.push(a[2]);else{var c=new Promise((function(t,n){a=o[e]=[t,n]}));t.push(a[2]=c);var s,l=document.createElement("script");l.charset="utf-8",l.timeout=120,u.nc&&l.setAttribute("nonce",u.nc),l.src=i(e);var d=new Error;s=function(t){l.onerror=l.onload=null,clearTimeout(f);var n=o[e];if(0!==n){if(n){var a=t&&("load"===t.type?"missing":t.type),r=t&&t.target&&t.target.src;d.message="Loading chunk "+e+" failed.\n("+a+": "+r+")",d.name="ChunkLoadError",d.type=a,d.request=r,n[1](d)}o[e]=void 0}};var f=setTimeout((function(){s({type:"timeout",target:l})}),12e4);l.onerror=l.onload=s,document.head.appendChild(l)}return Promise.all(t)},u.m=e,u.c=a,u.d=function(e,t,n){u.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},u.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},u.t=function(e,t){if(1&t&&(e=u(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(u.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)u.d(n,a,function(t){return e[t]}.bind(null,a));return n},u.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return u.d(t,"a",t),t},u.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},u.p="",u.oe=function(e){throw e};var s=window["webpackJsonp"]=window["webpackJsonp"]||[],l=s.push.bind(s);s.push=t,s=s.slice();for(var d=0;d<s.length;d++)t(s[d]);var f=l;c.push([0,"chunk-vendors"]),n()})({0:function(e,t,n){n("db4d"),e.exports=n("56d7")},"013a":function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAAA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kZ+xGXIoGRnQhg4lxSQsZn4IBk/eoW5zjZlyaDkUoRQAElB72va9HHizVJl7R8V+eHhaLWReW4z7NpW9HHi0oQwcexJYJxyEF19fkc9GTxudEKexhFM33tRhHam4aCPn+8eCmYy/RRwqIQQxqfGKXMYp0RfdHudz/II4VT5gTH6Wn+Gx/jxPKyOx/lhOoQjcNtBn01OKyOEkcUJewMTku9ixe4M2pBhUyJe+YHI158zuWyQZ6iiOFFoMzdVNEeYZKjeMKGTf5QxVF+clIxa99g+MLrhyaBWjPkgg0ygY+DX/OSXYQMj5hOIpcGYvv8t/F7i1cYyAGqKK315i0tV5Mg7ITqRP/1VOIHG78Shl2T0EEg593bUxnBTAtsa/UvusUmBSsU1dO1GO3FvueauxEy3Vr+8z5GbjgcyZ37xYznJ3qTOi0+7a4ToTPztQjjx/AF57a23ZTwNoALBEqQEsJT/NlkAnf4Sv7yO/ef5TfmfxpeeT//6590hQuPTdUJ0xL/5Q9jAdp1jUIOJNuBYglOAKpAIJgK3akIKwNUEuPiP4p0EEWdP/SyY0mntpr1mhOhM8mRtfj8Db6C+ip0fR/Tzbtp8P4OvBHAXepVdWJc8rDkh6UQrcvClhvhg+gZUIhlkpv2Vvo72L0/xNTK+ubTWJKTzs64ISSdMX6uj0EkMDhmGBo2jNA9bEwXgEYZvh03zgAS+B+67l6TT7Wr/H4Bn8lwSxb9EAAAAAElFTkSuQmCC"},2435:function(e,t,n){},"365c":function(e,t,n){"use strict";var a=n("71f6"),r={getUserInfo:"/loginuser",getLoginOut:"/logout"};r=Object(a["a"])(r,"/gic-authcenter"),t["a"]=r},"4f94":function(e,t,n){},"56d7":function(e,t,n){"use strict";n.r(t);n("456d"),n("ac6a"),n("cadf"),n("551c"),n("f751"),n("097d"),n("db4d"),n("0fae"),n("4f94"),n("d31c");var a=n("8bbf"),r=n.n(a),o=n("8c4f"),c=n("cebe"),i=n.n(c),u=n("5c96"),s=n.n(u),l=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"dm-reset",attrs:{id:"app"}},[n("router-view")],1)},d=[],f={name:"App"},h=f,g=n("2877"),p=Object(g["a"])(h,l,d,!1,null,null,null),m=p.exports,b=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"layout"},[n("yw-header",{on:{updateAsideMenu:e.updateAsideMenu}}),n("aside-menu",{attrs:{menu:e.menu}}),n("div",{staticClass:"main"},[e.breadList.length?n("el-breadcrumb",{attrs:{"separator-class":"el-icon-arrow-right"}},e._l(e.breadList,(function(t){return n("el-breadcrumb-item",{key:t,attrs:{to:{path:t.path}}},[e._v(e._s(t.name))])})),1):e._e(),n("keep-alive",[e.$route.meta.keepAlive?n("router-view",{key:e.$route.fullPath,on:{updateBread:e.updateBread}}):e._e()],1),e.$route.meta.keepAlive?e._e():n("router-view",{key:e.$route.fullPath,on:{updateBread:e.updateBread}})],1)],1)},v=[],y=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"header"},[a("a",{staticClass:"logo",attrs:{href:e.origin+"/operation-platform/#/index"}},[a("img",{attrs:{src:n("013a"),alt:""}}),a("span",[e._v("好办运维平台")])]),a("yw-user-info",{attrs:{"user-data":e.userInfo}})],1)},k=[];function w(){var e=window.location.origin;return(e.indexOf("localhost")>=0||e.indexOf("192.168")>=0)&&(e="https://four.gicdev.com"),e}var M=w(),S=n("365c"),x=S["a"].getUserInfo,C={name:"YwHeader",data:function(){return{origin:M,userInfo:{}}},created:function(){this.getUserInfo()},methods:{getUserInfo:function(){var e=this;x().then((function(t){var n=t.result||{};localStorage.setItem("haobanOperate",JSON.stringify(n)),e.userInfo=Object.assign({},n),e.$emit("updateAsideMenu",n.menuTree||[])}))}}},T=C,E=(n("deab"),Object(g["a"])(T,y,k,!1,null,"4e1be064",null)),O=E.exports,A=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"aside-menu"},[n("ul",{staticClass:"aside-menu__wrapper"},[e._l(e.tabData,(function(t){return[1==t.isShow?n("li",{key:t.id,class:["tab-left-list-cell p-l-14",{"active-tab":t.uri===e.activeTab}],on:{click:function(n){return e.selectTab(t)}}},[e._v("\n "+e._s(t.menuName)+"\n "),t.nodeChildren&&t.nodeChildren.length?n("i",{class:[t.collapsFlag?"el-icon-arrow-up":"el-icon-arrow-down"]}):e._e()]):e._e(),n("ul",{directives:[{name:"show",rawName:"v-show",value:t.collapsFlag,expression:"item.collapsFlag"}],key:t.id+"-sub",staticClass:"child-tab-left-list"},[e._l(t.nodeChildren,(function(t){return[1==t.isShow?n("li",{key:t.id,class:["tab-left-list-cell p-l-40",{"active-tab":t.uri==e.activeTab}],on:{click:function(n){return e.selectTab(t)}}},[e._v("\n "+e._s(t.menuName)+"\n "),t.nodeChildren&&t.nodeChildren.length?n("i",{class:[t.collapsFlag?"el-icon-arrow-up":"el-icon-arrow-down"]}):e._e()]):e._e(),n("ul",{directives:[{name:"show",rawName:"v-show",value:t.collapsFlag,expression:"childitem.collapsFlag"}],key:t.id+"-sub",staticClass:"third-tab-left-list"},[e._l(t.nodeChildren,(function(t){return[1==t.isShow?n("li",{key:t.id,class:["tab-left-list-cell p-l-60",{"active-tab":t.uri===e.activeTab}],on:{click:function(n){return e.selectTab(t)}}},[e._v("\n "+e._s(t.menuName)+"\n ")]):e._e()]}))],2)]}))],2)]}))],2)])},I=[],Q={name:"AsideMenu",props:{menu:Array},data:function(){return{activeTab:"",tabData:[]}},methods:{selectTab:function(e){Array.isArray(e.nodeChildren)&&e.nodeChildren.length>0?e.collapsFlag=!e.collapsFlag:this.$router.push({path:e.uri})}},watch:{"$route.path":{immediate:!0,handler:function(e){this.activeTab=e}},menu:{immediate:!0,handler:function(e){var t=this,n=e.filter((function(e){return"haoban_operation"===e.code}))[0]||{};function a(e){return e=e.slice(),e.map((function(e){return t.$set(e,"collapsFlag",!0),e.nodeChildren&&e.nodeChildren.length>0&&(e.nodeChildren=a(e.nodeChildren)),e}))}this.tabData=a(n.nodeChildren||[])}}}},j=Q,H=(n("77ce"),Object(g["a"])(j,A,I,!1,null,"ef5d1a82",null)),Y=H.exports,F={name:"Layout",components:{ywHeader:O,asideMenu:Y},data:function(){return{menu:[],breadList:[]}},methods:{updateAsideMenu:function(e){this.menu=e||[]},updateBread:function(e){this.breadList=e||[]}},watch:{"$route.path":function(){this.breadList=[]}}},K=F,W=(n("b7dd"),Object(g["a"])(K,b,v,!1,null,"0ae88e85",null)),J=W.exports,R=[{path:"/",component:J,redirect:"/enterprise-list",children:[{path:"/enterprise-list",meta:{title:"企业管理"},component:function(){return n.e("chunk-0b9cb433").then(n.bind(null,"6cf8"))}},{path:"/enterprise-detail",meta:{title:"企业详情"},component:function(){return n.e("chunk-512af800").then(n.bind(null,"d1a4"))}},{path:"/menu-config",meta:{title:"菜单配置"},component:function(){return n.e("chunk-769e0a22").then(n.bind(null,"d8f8"))}},{path:"/permission-list",meta:{title:"权限项列表"},component:function(){return n.e("chunk-e0354b28").then(n.bind(null,"a664"))}},{path:"/operation-list",meta:{title:"操作项列表"},component:function(){return n.e("chunk-2c70a223").then(n.bind(null,"0ce1"))}},{path:"/dictionary-list",meta:{title:"字典管理"},component:function(){return n.e("chunk-4566970e").then(n.bind(null,"31b3"))}},{path:"/create-dictionary",meta:{title:"新建、编辑字典"},component:function(){return n.e("chunk-22af8244").then(n.bind(null,"3a0f"))}}]},{path:"/403",meta:{title:"无权访问"},component:function(){return n.e("chunk-448cb576").then(n.bind(null,"4cf1"))}},{path:"/404",meta:{title:"error404"},component:function(){return n.e("chunk-448cb576").then(n.bind(null,"4cf1"))}},{path:"/500",meta:{title:"error500"},component:function(){return n.e("chunk-448cb576").then(n.bind(null,"4cf1"))}},{path:"*",redirect:"/404",hidden:!0}],z=new o["a"]({routes:R}),N=z,D=(n("c5f6"),n("3b2b"),n("a481"),n("6b54"),function(e,t){if(e){e=10===e.toString().length?1e3*e:e;var n=new Date(e),a={"M+":n.getMonth()+1,"D+":n.getDate(),W:"日一二三四五六".charAt(n.getDay()),"h+":n.getHours(),"m+":n.getMinutes(),"s+":n.getSeconds(),"q+":Math.floor((n.getMonth()+3)/3),S:n.getMilliseconds()};for(var r in/(Y+)/.test(t)&&(t=t.replace(RegExp.$1,(n.getFullYear()+"").substr(4-RegExp.$1.length))),a)new RegExp("("+r+")").test(t)&&(t=t.replace(RegExp.$1,1===RegExp.$1.length?a[r]:("00"+a[r]).substr((""+a[r]).length)));return t}}),U=function(e){if(e){var t=new Date(e),n=t.getMonth()+1,a=t.getDate()<10?"0"+t.getDate():t.getDate(),r=n<10?"0"+n:n,o=t.getHours()<10?"0"+t.getHours():t.getHours(),c=t.getMinutes()<10?"0"+t.getMinutes():t.getMinutes(),i=t.getSeconds()<10?"0"+t.getSeconds():t.getSeconds();return"".concat(t.getFullYear(),"-").concat(r,"-").concat(a," ").concat(o,":").concat(c,":").concat(i)}},P=function(e){if(e){var t=new Date(e),n=t.getMonth()+1,a=t.getDate()<10?"0"+t.getDate():t.getDate(),r=n<10?"0"+n:n,o=t.getHours()<10?"0"+t.getHours():t.getHours(),c=t.getMinutes()<10?"0"+t.getMinutes():t.getMinutes(),i=t.getSeconds()<10?"0"+t.getSeconds():t.getSeconds();return"".concat(t.getFullYear(),".").concat(r,".").concat(a," ").concat(o,":").concat(c,":").concat(i)}},V=function(e){if(e){var t=new Date(e),n=t.getMonth()+1,a=n<10?"0"+n:n;return"".concat(t.getFullYear(),"-").concat(a)}},q=function(e){if(e){var t=new Date(e),n=t.getMonth()+1,a=t.getDate()<10?"0"+t.getDate():t.getDate(),r=n<10?"0"+n:n;return"".concat(t.getFullYear(),"-").concat(r,"-").concat(a)}},L=function(e){if(e){var t=new Date(e),n=t.getHours()<10?"0"+t.getHours():t.getHours(),a=t.getMinutes()<10?"0"+t.getMinutes():t.getMinutes(),r=t.getSeconds()<10?"0"+t.getSeconds():t.getSeconds();return"".concat(n,":").concat(a,":").concat(r)}},G=function(e){if(e){var t=new Date,n=new Date(Number(e)).getTime()-t.getTime();if(n<0)return"";var a=Math.floor(n/864e5),r=n%864e5,o=Math.floor(r/36e5),c=r%36e5,i=Math.floor(c/6e4);return"".concat(a,"天").concat(o,"小时").concat(i,"分")}},Z=function(e){return e?(e=e.toString(),e.substr(0,3)+"****"+e.substr(7,11)):""},B=function(e){return e?(e=e.toString(),"**"+e.substr(e.length-1,e.length)):""},X=function(e){if(!e)return"00:00:00";var t=e/1e3,n=Math.floor(t/60/60/24),a=24*n+Math.floor(t/60/60)%24<10?"0"+(24*n+Math.floor(t/60/60)%24):24*n+Math.floor(t/60/60)%24,r=Math.floor(t/60)%60<10?"0"+Math.floor(t/60)%60:Math.floor(t/60)%60,o=Math.floor(t)%60<10?"0"+Math.floor(t)%60:Math.floor(t)%60;return"".concat(a,":").concat(r,":").concat(o)},_={dateFormat:D,formatTimeStamp:U,timeStampToYm:V,timeStampToYmd:q,timeStampToHms:L,formatTimeYmdHms:P,formatPhoneNum:Z,formatName:B,timeStampSpace:G,formatTime:X};r.a.use(o["a"]),r.a.use(s.a),i.a.defaults.withCredentials=!0,r.a.prototype.axios=i.a,r.a.config.devtools=!1,r.a.config.productionTip=!1,Object.keys(_).forEach((function(e){r.a.filter(e,_[e])})),new r.a({router:N,render:function(e){return e(m)}}).$mount("#app")},"71f6":function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));n("ac6a"),n("456d");var a=n("cebe"),r=n.n(a),o=n("4328"),c=n.n(o),i=n("5c96"),u=!0,s=u?window.location.origin:"https://four.gicdev.com";r.a.defaults.baseURL=s;var l=function(e,t){t=Object.assign({},t),e=Object.assign({},e);var n={url:"",params:"",data:"",method:"get",useFormData:!1,useIntercept:!0,headers:{}};switch(n=Object.assign(n,e),n.useFormData&&(t=c.a.stringify(t)),n.method.toLowerCase()){case"get":n.params=t;break;case"post":n.data=t;break;default:n.data=t;break}return new Promise((function(e,t){r()(n).then((function(a){var r=a.data;if(!n.useIntercept||"0000"===r.code)return e(r);r.message&&Object(i["Message"])({message:r.message,type:"warning",duration:3e3}),t(r)})).catch((function(e){var n=e.response||{},a=n.data,r=n.status;if(401===r){var o=u?"../operation-platform/":"https://four.gicdev.com/operation-platform/";window.location.href=o}a&&a.message&&Object(i["Message"])({message:a.message,type:"warning"}),t(e)}))}))};function d(e,t){e=e||{};var n=Object.keys(e);return n.forEach((function(n){var a=e[n];"string"===typeof a&&(a={url:a}),a.url="".concat(t).concat(a.url),e[n]=function(e){return l(a,e)}})),e}},"77ce":function(e,t,n){"use strict";var a=n("838a"),r=n.n(a);r.a},"838a":function(e,t,n){},"8bbf":function(e,t){e.exports=Vue},b7dd:function(e,t,n){"use strict";var a=n("e4e3"),r=n.n(a);r.a},cebe:function(e,t){e.exports=axios},d31c:function(e,t,n){},deab:function(e,t,n){"use strict";var a=n("2435"),r=n.n(a);r.a},e4e3:function(e,t,n){}});
\ No newline at end of file
(function(e){function t(t){for(var a,r,i=t[0],u=t[1],s=t[2],l=0,d=[];l<i.length;l++)r=i[l],Object.prototype.hasOwnProperty.call(o,r)&&o[r]&&d.push(o[r][0]),o[r]=0;for(a in u)Object.prototype.hasOwnProperty.call(u,a)&&(e[a]=u[a]);f&&f(t);while(d.length)d.shift()();return c.push.apply(c,s||[]),n()}function n(){for(var e,t=0;t<c.length;t++){for(var n=c[t],a=!0,r=1;r<n.length;r++){var i=n[r];0!==o[i]&&(a=!1)}a&&(c.splice(t--,1),e=u(u.s=n[0]))}return e}var a={},r={app:0},o={app:0},c=[];function i(e){return u.p+"js/"+({}[e]||e)+"."+{"chunk-22af8244":"f7b854db","chunk-2c70a223":"b8b81817","chunk-350d7fc4":"a6c6fda7","chunk-448cb576":"a6f1f4e7","chunk-4566970e":"8f92af78","chunk-512af800":"a7b7d1df","chunk-769e0a22":"6dd0ea91","chunk-e0354b28":"e77fc6d6"}[e]+".js"}function u(t){if(a[t])return a[t].exports;var n=a[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,u),n.l=!0,n.exports}u.e=function(e){var t=[],n={"chunk-2c70a223":1,"chunk-350d7fc4":1,"chunk-448cb576":1,"chunk-4566970e":1,"chunk-512af800":1,"chunk-769e0a22":1};r[e]?t.push(r[e]):0!==r[e]&&n[e]&&t.push(r[e]=new Promise((function(t,n){for(var a="css/"+({}[e]||e)+"."+{"chunk-22af8244":"31d6cfe0","chunk-2c70a223":"1f329e00","chunk-350d7fc4":"0c713acd","chunk-448cb576":"d0755970","chunk-4566970e":"f9174fd0","chunk-512af800":"73a18d33","chunk-769e0a22":"ddcc7c12","chunk-e0354b28":"31d6cfe0"}[e]+".css",o=u.p+a,c=document.getElementsByTagName("link"),i=0;i<c.length;i++){var s=c[i],l=s.getAttribute("data-href")||s.getAttribute("href");if("stylesheet"===s.rel&&(l===a||l===o))return t()}var d=document.getElementsByTagName("style");for(i=0;i<d.length;i++){s=d[i],l=s.getAttribute("data-href");if(l===a||l===o)return t()}var f=document.createElement("link");f.rel="stylesheet",f.type="text/css",f.onload=t,f.onerror=function(t){var a=t&&t.target&&t.target.src||o,c=new Error("Loading CSS chunk "+e+" failed.\n("+a+")");c.code="CSS_CHUNK_LOAD_FAILED",c.request=a,delete r[e],f.parentNode.removeChild(f),n(c)},f.href=o;var h=document.getElementsByTagName("head")[0];h.appendChild(f)})).then((function(){r[e]=0})));var a=o[e];if(0!==a)if(a)t.push(a[2]);else{var c=new Promise((function(t,n){a=o[e]=[t,n]}));t.push(a[2]=c);var s,l=document.createElement("script");l.charset="utf-8",l.timeout=120,u.nc&&l.setAttribute("nonce",u.nc),l.src=i(e);var d=new Error;s=function(t){l.onerror=l.onload=null,clearTimeout(f);var n=o[e];if(0!==n){if(n){var a=t&&("load"===t.type?"missing":t.type),r=t&&t.target&&t.target.src;d.message="Loading chunk "+e+" failed.\n("+a+": "+r+")",d.name="ChunkLoadError",d.type=a,d.request=r,n[1](d)}o[e]=void 0}};var f=setTimeout((function(){s({type:"timeout",target:l})}),12e4);l.onerror=l.onload=s,document.head.appendChild(l)}return Promise.all(t)},u.m=e,u.c=a,u.d=function(e,t,n){u.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},u.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},u.t=function(e,t){if(1&t&&(e=u(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(u.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)u.d(n,a,function(t){return e[t]}.bind(null,a));return n},u.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return u.d(t,"a",t),t},u.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},u.p="",u.oe=function(e){throw e};var s=window["webpackJsonp"]=window["webpackJsonp"]||[],l=s.push.bind(s);s.push=t,s=s.slice();for(var d=0;d<s.length;d++)t(s[d]);var f=l;c.push([0,"chunk-vendors"]),n()})({0:function(e,t,n){n("db4d"),e.exports=n("56d7")},"013a":function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAAAAXNSR0IArs4c6QAADrFJREFUeAHtXV1vHUcZfvf4xI4bJ7HTpOkHaW3RpFJRkQMtAhXICddUTS65ivML2iK4QFxEueICoSbiB8QRt0ikwAVSi+IKIVAFwkRCkaBtnNRtPtrUTurETmKf5Xlmd7brc2b3zM7uHH/kjHw8uzsz78w8z7zzvbOBrHMztxg2aqGMS02eCWCHgQwL721MINMIM48w09KUy03aSzI9MhLM2wRfCz/BWkSaFefcXDjc1y+NsE8OwU/DGvgsgVnPSYzIVLAi767cl6n1RNCaE6JI2CpHUHpfRWk+koWhz+fQoHPQwrdWluTcWpOzZoSoqkjkGICe8Am2g+zJpsjZkcFgyiFs6SBdJ+T2YjiBEvmat+qoNCSxgKj9Ob1jMJisSqSNnK4RoogQOYFEjdokbB35mQFIJ7tFjHdCWDX1gYiQjfQGNgBqagXE+K7KvBHCxrq2Vd4EBxMbmAdT0iebS/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O/ef5TfmfxpeeT//6590hQuPTdUJ0xL/5Q9jAdp1jUIOJNuBYglOAKpAIJgK3akIKwNUEuPiP4p0EEWdP/SyY0mntpr1mhOhM8mRtfj8Db6C+ip0fR/Tzbtp8P4OvBHAXepVdWJc8rDkh6UQrcvClhvhg+gZUIhlkpv2Vvo72L0/xNTK+ubTWJKTzs64ISSdMX6uj0EkMDhmGBo2jNA9bEwXgEYZvh03zgAS+B+67l6TT7Wr/H4Bn8lwSxb9EAAAAAElFTkSuQmCC"},2435:function(e,t,n){},"365c":function(e,t,n){"use strict";var a=n("71f6"),r={getUserInfo:"/loginuser",getLoginOut:"/logout"};r=Object(a["a"])(r,"/gic-authcenter"),t["a"]=r},"4f94":function(e,t,n){},"56d7":function(e,t,n){"use strict";n.r(t);n("456d"),n("ac6a"),n("cadf"),n("551c"),n("f751"),n("097d"),n("db4d"),n("0fae"),n("4f94"),n("d31c");var a=n("8bbf"),r=n.n(a),o=n("8c4f"),c=n("cebe"),i=n.n(c),u=n("5c96"),s=n.n(u),l=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"dm-reset",attrs:{id:"app"}},[n("router-view")],1)},d=[],f={name:"App"},h=f,g=n("2877"),p=Object(g["a"])(h,l,d,!1,null,null,null),m=p.exports,b=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"layout"},[n("yw-header",{on:{updateAsideMenu:e.updateAsideMenu}}),n("aside-menu",{attrs:{menu:e.menu}}),n("div",{staticClass:"main"},[e.breadList.length?n("el-breadcrumb",{attrs:{"separator-class":"el-icon-arrow-right"}},e._l(e.breadList,(function(t){return n("el-breadcrumb-item",{key:t,attrs:{to:{path:t.path}}},[e._v(e._s(t.name))])})),1):e._e(),n("keep-alive",[e.$route.meta.keepAlive?n("router-view",{key:e.$route.fullPath,on:{updateBread:e.updateBread}}):e._e()],1),e.$route.meta.keepAlive?e._e():n("router-view",{key:e.$route.fullPath,on:{updateBread:e.updateBread}})],1)],1)},v=[],y=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"header"},[a("a",{staticClass:"logo",attrs:{href:e.origin+"/operation-platform/#/index"}},[a("img",{attrs:{src:n("013a"),alt:""}}),a("span",[e._v("好办运维平台")])]),a("yw-user-info",{attrs:{"user-data":e.userInfo}})],1)},k=[];function w(){var e=window.location.origin;return(e.indexOf("localhost")>=0||e.indexOf("192.168")>=0)&&(e="https://four.gicdev.com"),e}var M=w(),S=n("365c"),x=S["a"].getUserInfo,C={name:"YwHeader",data:function(){return{origin:M,userInfo:{}}},created:function(){this.getUserInfo()},methods:{getUserInfo:function(){var e=this;x().then((function(t){var n=t.result||{};localStorage.setItem("haobanOperate",JSON.stringify(n)),e.userInfo=Object.assign({},n),e.$emit("updateAsideMenu",n.menuTree||[])}))}}},T=C,E=(n("deab"),Object(g["a"])(T,y,k,!1,null,"4e1be064",null)),O=E.exports,A=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"aside-menu"},[n("ul",{staticClass:"aside-menu__wrapper"},[e._l(e.tabData,(function(t){return[1==t.isShow?n("li",{key:t.id,class:["tab-left-list-cell p-l-14",{"active-tab":t.uri===e.activeTab}],on:{click:function(n){return e.selectTab(t)}}},[e._v("\n "+e._s(t.menuName)+"\n "),t.nodeChildren&&t.nodeChildren.length?n("i",{class:[t.collapsFlag?"el-icon-arrow-up":"el-icon-arrow-down"]}):e._e()]):e._e(),n("ul",{directives:[{name:"show",rawName:"v-show",value:t.collapsFlag,expression:"item.collapsFlag"}],key:t.id+"-sub",staticClass:"child-tab-left-list"},[e._l(t.nodeChildren,(function(t){return[1==t.isShow?n("li",{key:t.id,class:["tab-left-list-cell p-l-40",{"active-tab":t.uri==e.activeTab}],on:{click:function(n){return e.selectTab(t)}}},[e._v("\n "+e._s(t.menuName)+"\n "),t.nodeChildren&&t.nodeChildren.length?n("i",{class:[t.collapsFlag?"el-icon-arrow-up":"el-icon-arrow-down"]}):e._e()]):e._e(),n("ul",{directives:[{name:"show",rawName:"v-show",value:t.collapsFlag,expression:"childitem.collapsFlag"}],key:t.id+"-sub",staticClass:"third-tab-left-list"},[e._l(t.nodeChildren,(function(t){return[1==t.isShow?n("li",{key:t.id,class:["tab-left-list-cell p-l-60",{"active-tab":t.uri===e.activeTab}],on:{click:function(n){return e.selectTab(t)}}},[e._v("\n "+e._s(t.menuName)+"\n ")]):e._e()]}))],2)]}))],2)]}))],2)])},I=[],Q={name:"AsideMenu",props:{menu:Array},data:function(){return{activeTab:"",tabData:[]}},methods:{selectTab:function(e){Array.isArray(e.nodeChildren)&&e.nodeChildren.length>0?e.collapsFlag=!e.collapsFlag:this.$router.push({path:e.uri})}},watch:{"$route.path":{immediate:!0,handler:function(e){this.activeTab=e}},menu:{immediate:!0,handler:function(e){var t=this,n=e.filter((function(e){return"haoban_operation"===e.code}))[0]||{};function a(e){return e=e.slice(),e.map((function(e){return t.$set(e,"collapsFlag",!0),e.nodeChildren&&e.nodeChildren.length>0&&(e.nodeChildren=a(e.nodeChildren)),e}))}this.tabData=a(n.nodeChildren||[])}}}},j=Q,H=(n("77ce"),Object(g["a"])(j,A,I,!1,null,"ef5d1a82",null)),Y=H.exports,F={name:"Layout",components:{ywHeader:O,asideMenu:Y},data:function(){return{menu:[],breadList:[]}},methods:{updateAsideMenu:function(e){this.menu=e||[]},updateBread:function(e){this.breadList=e||[]}},watch:{"$route.path":function(){this.breadList=[]}}},K=F,W=(n("b7dd"),Object(g["a"])(K,b,v,!1,null,"0ae88e85",null)),J=W.exports,R=[{path:"/",component:J,redirect:"/enterprise-list",children:[{path:"/enterprise-list",meta:{title:"企业管理"},component:function(){return n.e("chunk-350d7fc4").then(n.bind(null,"6cf8"))}},{path:"/enterprise-detail",meta:{title:"企业详情"},component:function(){return n.e("chunk-512af800").then(n.bind(null,"d1a4"))}},{path:"/menu-config",meta:{title:"菜单配置"},component:function(){return n.e("chunk-769e0a22").then(n.bind(null,"d8f8"))}},{path:"/permission-list",meta:{title:"权限项列表"},component:function(){return n.e("chunk-e0354b28").then(n.bind(null,"a664"))}},{path:"/operation-list",meta:{title:"操作项列表"},component:function(){return n.e("chunk-2c70a223").then(n.bind(null,"0ce1"))}},{path:"/dictionary-list",meta:{title:"字典管理"},component:function(){return n.e("chunk-4566970e").then(n.bind(null,"31b3"))}},{path:"/create-dictionary",meta:{title:"新建、编辑字典"},component:function(){return n.e("chunk-22af8244").then(n.bind(null,"3a0f"))}}]},{path:"/403",meta:{title:"无权访问"},component:function(){return n.e("chunk-448cb576").then(n.bind(null,"4cf1"))}},{path:"/404",meta:{title:"error404"},component:function(){return n.e("chunk-448cb576").then(n.bind(null,"4cf1"))}},{path:"/500",meta:{title:"error500"},component:function(){return n.e("chunk-448cb576").then(n.bind(null,"4cf1"))}},{path:"*",redirect:"/404",hidden:!0}],z=new o["a"]({routes:R}),N=z,D=(n("c5f6"),n("3b2b"),n("a481"),n("6b54"),function(e,t){if(e){e=10===e.toString().length?1e3*e:e;var n=new Date(e),a={"M+":n.getMonth()+1,"D+":n.getDate(),W:"日一二三四五六".charAt(n.getDay()),"h+":n.getHours(),"m+":n.getMinutes(),"s+":n.getSeconds(),"q+":Math.floor((n.getMonth()+3)/3),S:n.getMilliseconds()};for(var r in/(Y+)/.test(t)&&(t=t.replace(RegExp.$1,(n.getFullYear()+"").substr(4-RegExp.$1.length))),a)new RegExp("("+r+")").test(t)&&(t=t.replace(RegExp.$1,1===RegExp.$1.length?a[r]:("00"+a[r]).substr((""+a[r]).length)));return t}}),U=function(e){if(e){var t=new Date(e),n=t.getMonth()+1,a=t.getDate()<10?"0"+t.getDate():t.getDate(),r=n<10?"0"+n:n,o=t.getHours()<10?"0"+t.getHours():t.getHours(),c=t.getMinutes()<10?"0"+t.getMinutes():t.getMinutes(),i=t.getSeconds()<10?"0"+t.getSeconds():t.getSeconds();return"".concat(t.getFullYear(),"-").concat(r,"-").concat(a," ").concat(o,":").concat(c,":").concat(i)}},P=function(e){if(e){var t=new Date(e),n=t.getMonth()+1,a=t.getDate()<10?"0"+t.getDate():t.getDate(),r=n<10?"0"+n:n,o=t.getHours()<10?"0"+t.getHours():t.getHours(),c=t.getMinutes()<10?"0"+t.getMinutes():t.getMinutes(),i=t.getSeconds()<10?"0"+t.getSeconds():t.getSeconds();return"".concat(t.getFullYear(),".").concat(r,".").concat(a," ").concat(o,":").concat(c,":").concat(i)}},V=function(e){if(e){var t=new Date(e),n=t.getMonth()+1,a=n<10?"0"+n:n;return"".concat(t.getFullYear(),"-").concat(a)}},q=function(e){if(e){var t=new Date(e),n=t.getMonth()+1,a=t.getDate()<10?"0"+t.getDate():t.getDate(),r=n<10?"0"+n:n;return"".concat(t.getFullYear(),"-").concat(r,"-").concat(a)}},L=function(e){if(e){var t=new Date(e),n=t.getHours()<10?"0"+t.getHours():t.getHours(),a=t.getMinutes()<10?"0"+t.getMinutes():t.getMinutes(),r=t.getSeconds()<10?"0"+t.getSeconds():t.getSeconds();return"".concat(n,":").concat(a,":").concat(r)}},G=function(e){if(e){var t=new Date,n=new Date(Number(e)).getTime()-t.getTime();if(n<0)return"";var a=Math.floor(n/864e5),r=n%864e5,o=Math.floor(r/36e5),c=r%36e5,i=Math.floor(c/6e4);return"".concat(a,"天").concat(o,"小时").concat(i,"分")}},Z=function(e){return e?(e=e.toString(),e.substr(0,3)+"****"+e.substr(7,11)):""},B=function(e){return e?(e=e.toString(),"**"+e.substr(e.length-1,e.length)):""},X=function(e){if(!e)return"00:00:00";var t=e/1e3,n=Math.floor(t/60/60/24),a=24*n+Math.floor(t/60/60)%24<10?"0"+(24*n+Math.floor(t/60/60)%24):24*n+Math.floor(t/60/60)%24,r=Math.floor(t/60)%60<10?"0"+Math.floor(t/60)%60:Math.floor(t/60)%60,o=Math.floor(t)%60<10?"0"+Math.floor(t)%60:Math.floor(t)%60;return"".concat(a,":").concat(r,":").concat(o)},_={dateFormat:D,formatTimeStamp:U,timeStampToYm:V,timeStampToYmd:q,timeStampToHms:L,formatTimeYmdHms:P,formatPhoneNum:Z,formatName:B,timeStampSpace:G,formatTime:X};r.a.use(o["a"]),r.a.use(s.a),i.a.defaults.withCredentials=!0,r.a.prototype.axios=i.a,r.a.config.devtools=!1,r.a.config.productionTip=!1,Object.keys(_).forEach((function(e){r.a.filter(e,_[e])})),new r.a({router:N,render:function(e){return e(m)}}).$mount("#app")},"71f6":function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));n("ac6a"),n("456d");var a=n("cebe"),r=n.n(a),o=n("4328"),c=n.n(o),i=n("5c96"),u=!0,s=u?window.location.origin:"https://four.gicdev.com";r.a.defaults.baseURL=s;var l=function(e,t){t=Object.assign({},t),e=Object.assign({},e);var n={url:"",params:"",data:"",method:"get",useFormData:!1,useIntercept:!0,headers:{}};switch(n=Object.assign(n,e),n.useFormData&&(t=c.a.stringify(t)),n.method.toLowerCase()){case"get":n.params=t;break;case"post":n.data=t;break;default:n.data=t;break}return new Promise((function(e,t){r()(n).then((function(a){var r=a.data;if(!n.useIntercept||"0000"===r.code)return e(r);r.message&&Object(i["Message"])({message:r.message,type:"warning",duration:3e3}),t(r)})).catch((function(e){var n=e.response||{},a=n.data,r=n.status;if(401===r){var o=u?"../operation-platform/":"https://four.gicdev.com/operation-platform/";window.location.href=o}a&&a.message&&Object(i["Message"])({message:a.message,type:"warning"}),t(e)}))}))};function d(e,t){e=e||{};var n=Object.keys(e);return n.forEach((function(n){var a=e[n];"string"===typeof a&&(a={url:a}),a.url="".concat(t).concat(a.url),e[n]=function(e){return l(a,e)}})),e}},"77ce":function(e,t,n){"use strict";var a=n("838a"),r=n.n(a);r.a},"838a":function(e,t,n){},"8bbf":function(e,t){e.exports=Vue},b7dd:function(e,t,n){"use strict";var a=n("e4e3"),r=n.n(a);r.a},cebe:function(e,t){e.exports=axios},d31c:function(e,t,n){},deab:function(e,t,n){"use strict";var a=n("2435"),r=n.n(a);r.a},e4e3:function(e,t,n){}});
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-0b9cb433"],{"386d":function(e,t,a){"use strict";var r=a("cb7c"),n=a("83a1"),i=a("5f1b");a("214f")("search",1,(function(e,t,a,s){return[function(a){var r=e(this),n=void 0==a?void 0:a[t];return void 0!==n?n.call(a,r):new RegExp(a)[t](String(r))},function(e){var t=s(a,e,this);if(t.done)return t.value;var l=r(e),o=String(this),c=l.lastIndex;n(c,0)||(l.lastIndex=0);var u=i(l,o);return n(l.lastIndex,c)||(l.lastIndex=c),null===u?-1:u.index}]}))},"3a88":function(e,t,a){"use strict";var r=a("6182"),n=a.n(r);n.a},6182:function(e,t,a){},"6cf8":function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticStyle:{padding:"20px"}},[a("el-input",{staticStyle:{width:"180px"},attrs:{placeholder:"请输入企业/商户","prefix-icon":"el-icon-search",clearable:""},on:{change:e.onSearch},model:{value:e.search.search,callback:function(t){e.$set(e.search,"search","string"===typeof t?t.trim():t)},expression:"search.search"}}),a("el-select",{staticStyle:{"margin-left":"10px",width:"106px"},attrs:{placeholder:"全部版本",clearable:""},on:{change:e.onSearch},model:{value:e.search.version,callback:function(t){e.$set(e.search,"version",t)},expression:"search.version"}},e._l(e.versionList,(function(e){return a("el-option",{key:e.value,attrs:{value:e.value,label:e.label}})})),1),a("el-select",{staticStyle:{"margin-left":"10px",width:"106px"},attrs:{placeholder:"全部状态",clearable:""},on:{change:e.onSearch},model:{value:e.search.bindFlag,callback:function(t){e.$set(e.search,"bindFlag",t)},expression:"search.bindFlag"}},e._l(e.bindFlagList,(function(e){return a("el-option",{key:e.value,attrs:{value:e.value,label:e.label}})})),1),a("el-table",{staticStyle:{"margin-top":"20px"},attrs:{data:e.enterpriseList}},[a("el-table-column",{attrs:{label:"企业信息","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.row;return a("div",{staticClass:"enterprise-info"},[a("div",{staticClass:"logo"},[r.corpSquareLogoUrl?a("img",{attrs:{src:r.corpSquareLogoUrl,alt:""}}):e._e()]),a("span",{staticClass:"enterprise-name"},[e._v(e._s(r.wxEnterpriseName))])])}}])}),a("el-table-column",{attrs:{label:"订购版本",prop:"version",formatter:e.formatVersion}}),a("el-table-column",{attrs:{label:"授权GIC商户数",prop:"enterpriseCount"}}),a("el-table-column",{attrs:{label:"最近授权时间"},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.row;return a("div",{staticStyle:{"line-height":"normal"}},[a("p",[e._v(e._s(e._f("timeStampToYmd")(r.createTime)))]),a("p",[e._v(e._s(e._f("timeStampToHms")(r.createTime)))])])}}])}),a("el-table-column",{attrs:{label:"最近编辑时间"},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.row;return a("div",{staticStyle:{"line-height":"normal"}},[a("p",[e._v(e._s(e._f("timeStampToYmd")(r.updateTime)))]),a("p",[e._v(e._s(e._f("timeStampToHms")(r.updateTime)))])])}}])}),a("el-table-column",{attrs:{label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.row;return[a("el-button",{attrs:{type:"text"},on:{click:function(t){return e.tologinBack(r)}}},[e._v("登录")]),a("el-button",{attrs:{type:"text"},on:{click:function(t){return e.toEnterpriseDetail(r)}}},[e._v("详情")])]}}])})],1),e.pager.total>0?a("el-pagination",{staticStyle:{"text-align":"right"},attrs:{background:"",layout:"total,sizes,prev,pager,next",total:e.pager.total,"page-sizes":e.pager.pageSizes,"page-size":e.pager.pageSize,"current-page":e.pager.currentPage},on:{"size-change":e.onSizeChange,"current-change":e.onCurrentChange}}):e._e()],1)},n=[],i=(a("386d"),a("a30a")),s=i["a"].getEnterpriseList,l=i["a"].loginBack,o={name:"EnterpriseList",data:function(){return{versionList:[{label:"基础版",value:"1"},{label:"高级版",value:"2"}],bindFlagList:[{label:"未绑定",value:"1"},{label:"已绑定",value:"2"}],search:{search:"",version:"",bindFlag:""},pager:{total:0,pageSizes:[20,40,60,80],pageSize:20,currentPage:1},enterpriseList:[]}},created:function(){this.getEnterpriseList()},methods:{tologinBack:function(e){var t=localStorage.getItem("haobanOperate")?JSON.parse(localStorage.getItem("haobanOperate")):{id:"",userMobile:"",username:""},a={phoneNumber:t.userMobile,nationCode:"86",accountId:t.id,wxEnterpriseId:e.wxEnterpriseId,accountName:t.username};l(a).then((function(e){}))},getEnterpriseList:function(){var e=this,t=this.search,a=t.search,r=t.version,n=t.bindFlag,i=this.pager,l=i.pageSize,o=i.currentPage,c={search:a,version:r,bindFlag:n,pageSize:l,pageNum:o};s(c).then((function(t){var a=t.result||{},r=a.totalCount,n=a.result;e.pager.total=r||0,e.enterpriseList=n||[]}))},onSearch:function(){this.pager.currentPage=1,this.getEnterpriseList()},onCurrentChange:function(e){this.pager.currentPage=e,this.getEnterpriseList()},onSizeChange:function(e){this.pager.pageSize=e,this.onSearch()},formatVersion:function(e,t,a){var r="--";return this.versionList.some((function(e){return e.value==a&&(r=e.label),e.value==a})),r},toEnterpriseDetail:function(e){var t=e.wxEnterpriseId;this.$router.push("/enterprise-detail?enterpriseId=".concat(t))}}},c=o,u=(a("3a88"),a("2877")),p=Object(u["a"])(c,r,n,!1,null,"7b180daa",null);t["default"]=p.exports},"83a1":function(e,t){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e===1/t:e!=e&&t!=t}},a30a:function(e,t,a){"use strict";var r=a("71f6"),n={getEnterpriseList:"/wx-enterprise-list",getEnterpriseDetail:"/enterprise-detail",refreshEnterpriseInfo:"/setting/wx-enterprise-info-flush",storeRangeDetail:"/store-range-detail",loginBack:{url:"/login",method:"post",useFormData:!0,useIntercept:!1}};t["a"]=Object(r["a"])(n,"/hb-manage-operation-web")}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-350d7fc4"],{"0a92":function(e,t,a){"use strict";var r=a("a122"),n=a.n(r);n.a},"386d":function(e,t,a){"use strict";var r=a("cb7c"),n=a("83a1"),i=a("5f1b");a("214f")("search",1,(function(e,t,a,s){return[function(a){var r=e(this),n=void 0==a?void 0:a[t];return void 0!==n?n.call(a,r):new RegExp(a)[t](String(r))},function(e){var t=s(a,e,this);if(t.done)return t.value;var l=r(e),o=String(this),c=l.lastIndex;n(c,0)||(l.lastIndex=0);var u=i(l,o);return n(l.lastIndex,c)||(l.lastIndex=c),null===u?-1:u.index}]}))},"6cf8":function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticStyle:{padding:"20px"}},[a("el-input",{staticStyle:{width:"180px"},attrs:{placeholder:"请输入企业/商户","prefix-icon":"el-icon-search",clearable:""},on:{change:e.onSearch},model:{value:e.search.search,callback:function(t){e.$set(e.search,"search","string"===typeof t?t.trim():t)},expression:"search.search"}}),a("el-select",{staticStyle:{"margin-left":"10px",width:"106px"},attrs:{placeholder:"全部版本",clearable:""},on:{change:e.onSearch},model:{value:e.search.version,callback:function(t){e.$set(e.search,"version",t)},expression:"search.version"}},e._l(e.versionList,(function(e){return a("el-option",{key:e.value,attrs:{value:e.value,label:e.label}})})),1),a("el-select",{staticStyle:{"margin-left":"10px",width:"106px"},attrs:{placeholder:"全部状态",clearable:""},on:{change:e.onSearch},model:{value:e.search.bindFlag,callback:function(t){e.$set(e.search,"bindFlag",t)},expression:"search.bindFlag"}},e._l(e.bindFlagList,(function(e){return a("el-option",{key:e.value,attrs:{value:e.value,label:e.label}})})),1),a("el-table",{staticStyle:{"margin-top":"20px"},attrs:{data:e.enterpriseList}},[a("el-table-column",{attrs:{label:"企业信息","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.row;return a("div",{staticClass:"enterprise-info"},[a("div",{staticClass:"logo"},[r.corpSquareLogoUrl?a("img",{attrs:{src:r.corpSquareLogoUrl,alt:""}}):e._e()]),a("span",{staticClass:"enterprise-name"},[e._v(e._s(r.wxEnterpriseName))])])}}])}),a("el-table-column",{attrs:{label:"订购版本",prop:"version",formatter:e.formatVersion}}),a("el-table-column",{attrs:{label:"授权GIC商户数",prop:"enterpriseCount"}}),a("el-table-column",{attrs:{label:"最近授权时间"},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.row;return a("div",{staticStyle:{"line-height":"normal"}},[a("p",[e._v(e._s(e._f("timeStampToYmd")(r.createTime)))]),a("p",[e._v(e._s(e._f("timeStampToHms")(r.createTime)))])])}}])}),a("el-table-column",{attrs:{label:"最近编辑时间"},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.row;return a("div",{staticStyle:{"line-height":"normal"}},[a("p",[e._v(e._s(e._f("timeStampToYmd")(r.updateTime)))]),a("p",[e._v(e._s(e._f("timeStampToHms")(r.updateTime)))])])}}])}),a("el-table-column",{attrs:{label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.row;return[a("el-button",{attrs:{type:"text"},on:{click:function(t){return e.tologinBack(r)}}},[e._v("登录")]),a("el-button",{attrs:{type:"text"},on:{click:function(t){return e.toEnterpriseDetail(r)}}},[e._v("详情")])]}}])})],1),e.pager.total>0?a("el-pagination",{staticStyle:{"text-align":"right"},attrs:{background:"",layout:"total,sizes,prev,pager,next",total:e.pager.total,"page-sizes":e.pager.pageSizes,"page-size":e.pager.pageSize,"current-page":e.pager.currentPage},on:{"size-change":e.onSizeChange,"current-change":e.onCurrentChange}}):e._e()],1)},n=[],i=(a("386d"),a("a30a")),s=i["a"].getEnterpriseList,l=i["a"].loginBack,o={name:"EnterpriseList",data:function(){return{versionList:[{label:"基础版",value:"1"},{label:"高级版",value:"2"}],bindFlagList:[{label:"未绑定",value:"1"},{label:"已绑定",value:"2"}],search:{search:"",version:"",bindFlag:""},pager:{total:0,pageSizes:[20,40,60,80],pageSize:20,currentPage:1},enterpriseList:[]}},created:function(){this.getEnterpriseList()},methods:{tologinBack:function(e){var t=localStorage.getItem("haobanOperate")?JSON.parse(localStorage.getItem("haobanOperate")):{id:"",userMobile:"",username:""},a={phoneNumber:t.userMobile,nationCode:"86",accountId:t.id,wxEnterpriseId:e.wxEnterpriseId,accountName:t.username};l(a).then((function(e){}))},getEnterpriseList:function(){var e=this,t=this.search,a=t.search,r=t.version,n=t.bindFlag,i=this.pager,l=i.pageSize,o=i.currentPage,c={search:a,version:r,bindFlag:n,pageSize:l,pageNum:o};s(c).then((function(t){var a=t.result||{},r=a.totalCount,n=a.result;e.pager.total=r||0,e.enterpriseList=n||[]}))},onSearch:function(){this.pager.currentPage=1,this.getEnterpriseList()},onCurrentChange:function(e){this.pager.currentPage=e,this.getEnterpriseList()},onSizeChange:function(e){this.pager.pageSize=e,this.onSearch()},formatVersion:function(e,t,a){var r="--";return this.versionList.some((function(e){return e.value==a&&(r=e.label),e.value==a})),r},toEnterpriseDetail:function(e){var t=e.wxEnterpriseId;this.$router.push("/enterprise-detail?enterpriseId=".concat(t))}}},c=o,u=(a("0a92"),a("2877")),p=Object(u["a"])(c,r,n,!1,null,"410ae982",null);t["default"]=p.exports},"83a1":function(e,t){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e===1/t:e!=e&&t!=t}},a122:function(e,t,a){},a30a:function(e,t,a){"use strict";var r=a("71f6"),n={getEnterpriseList:"/wx-enterprise-list",getEnterpriseDetail:"/enterprise-detail",refreshEnterpriseInfo:"/setting/wx-enterprise-info-flush",storeRangeDetail:"/store-range-detail"};t["a"]=Object(r["a"])(n,"/hb-manage-operation-web")}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-512af800"],{"34ff":function(e,t,n){},a30a:function(e,t,n){"use strict";var r=n("71f6"),i={getEnterpriseList:"/wx-enterprise-list",getEnterpriseDetail:"/enterprise-detail",refreshEnterpriseInfo:"/setting/wx-enterprise-info-flush",storeRangeDetail:"/store-range-detail",loginBack:{url:"/login",method:"post",useFormData:!0,useIntercept:!1}};t["a"]=Object(r["a"])(i,"/hb-manage-operation-web")},bed5:function(e,t,n){"use strict";var r=n("34ff"),i=n.n(r);i.a},d1a4:function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticStyle:{padding:"20px"}},[n("h3",{staticClass:"model-title"},[e._v("\n 企业信息\n "),e._e()],1),n("el-form",{attrs:{"label-width":"140px"},nativeOn:{submit:function(e){e.preventDefault()}}},[n("el-form-item",{attrs:{label:"小程序版本"}},[e._v("免费版")]),n("el-form-item",{attrs:{label:"企业名称"}},[n("span",[e._v(e._s(e.enterpriseDetail.wxEnterpriseName))]),n("el-tag",{staticStyle:{margin:"0 10px"},attrs:{type:"verified"==e.enterpriseDetail.corpType?"":"info",effect:"plain"}},[e._v("\n "+e._s("verified"==e.enterpriseDetail.corpType?"已认证":"未认证")+"\n ")]),e.enterpriseDetail.verifiedEndTime?n("span",{staticClass:"end-time"},[e._v("\n 认证到期 "+e._s(e._f("timeStampToYmd")(e.enterpriseDetail.verifiedEndTime))+"\n ")]):e._e()],1),n("el-form-item",{attrs:{label:"企业ID"}},[e._v(e._s(e.enterpriseDetail.corpId||"--"))]),n("el-form-item",{attrs:{label:"行业类型"}},[e._v(e._s(e.formatCorpIndustry()))]),n("el-form-item",{attrs:{label:"应用可见范围"}},[e._v("\n "+e._s(Array.isArray(e.enterpriseDetail.displayRange)&&e.enterpriseDetail.displayRange.length>0?e.enterpriseDetail.displayRange.map((function(e){return e.name})).join(","):"--")+"\n ")])],1),e.enterpriseDetail.secret.secretName?[n("h3",{staticClass:"model-title"},[e._v("好办自建应用")]),n("div",{staticClass:"hb-app"},[n("div",{staticClass:"hb-app-name"},[e._v(e._s(e.enterpriseDetail.secret.secretName))]),n("el-form",{staticClass:"hb-app-info",attrs:{"label-width":"150px"},nativeOn:{submit:function(e){e.preventDefault()}}},[n("el-form-item",{staticClass:"hb-app-info-item",attrs:{label:"Agentld"}},[e._v(e._s(e.enterpriseDetail.secret.agentId))]),n("el-form-item",{staticClass:"hb-app-info-item",attrs:{label:"Secret"}},[e._v(e._s(e.enterpriseDetail.secret.secretVal))]),n("el-form-item",{staticClass:"hb-app-info-item",attrs:{label:"应用可见范围"}},[e._v("\n "+e._s(Array.isArray(e.enterpriseDetail.secret.displayRange)&&e.enterpriseDetail.secret.displayRange.length>0?e.enterpriseDetail.secret.displayRange.map((function(e){return e.name})).join(","):"--")+"\n ")])],1)],1)]:e._e(),n("h3",{staticClass:"model-title"},[e._v("授权信息")]),n("el-table",{attrs:{data:e.enterpriseDetail.enterpriseList}},[n("el-table-column",{attrs:{label:"授权商户"},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.row;return n("div",{staticClass:"store-info"},[r.enterpriseLogo?n("div",{staticClass:"store-logo"},[n("img",{attrs:{src:r.enterpriseLogo,alt:""}})]):e._e(),n("span",{staticClass:"store-name"},[e._v(e._s(r.enterpriseName))])])}}])}),n("el-table-column",{attrs:{label:"门店绑定授权范围"},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.row;return[0==r.bindStoreMode?n("span",[e._v("所有门店")]):r.bindStoreMode>0?n("el-button",{attrs:{type:"text"},on:{click:function(t){return e.getBindDetail(r,0)}}},[e._v("\n "+e._s(r.bindCount)+e._s(1==r.bindStoreMode?"个分组":2==r.bindStoreMode?"家门店":"")+"\n ")]):n("span",[e._v("无")])]}}])}),n("el-table-column",{attrs:{label:"门店共享授权范围"},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.row;return[0==r.shareStoreMode?n("span",[e._v("所有门店")]):r.shareStoreMode>0?n("el-button",{attrs:{type:"text"},on:{click:function(t){return e.getBindDetail(r,1)}}},[e._v("\n "+e._s(r.shareCount)+e._s(1==r.shareStoreMode?"个分组":2==r.shareStoreMode?"家门店":"")+"\n ")]):n("span",[e._v("无")])]}}])})],1),n("el-dialog",{attrs:{visible:e.bindInfo.show,title:"门店授权范围",width:"600px"},on:{"update:visible":function(t){return e.$set(e.bindInfo,"show",t)},closed:e.onBindInfoClose}},[n("el-form",{attrs:{"label-width":"140px"},nativeOn:{submit:function(e){e.preventDefault()}}},[n("el-form-item",{attrs:{label:0==e.bindInfo.type?"门店绑定授权范围":"门店共享授权范围"}},[n("el-select",{staticStyle:{width:"392px"},attrs:{disabled:"",multiple:"",value:e.bindInfo.selected}},e._l(e.bindInfo.data,(function(e){return n("el-option",{key:e.id,attrs:{value:e.id,label:e.name}})})),1)],1)],1)],1)],2)},i=[],s=n("a30a"),a=s["a"].getEnterpriseDetail,l=s["a"].refreshEnterpriseInfo,o=s["a"].storeRangeDetail,p={name:"EnterpriseDetail",data:function(){return{bread:[{path:"/enterprise-list",name:"企业列表"},{name:"查看"}],enterpriseId:"",enterpriseDetail:{displayRange:[],secret:{},enterpriseList:[]},bindInfo:{show:!1,type:0,data:[],selected:[]}}},created:function(){var e=this.$route.query.enterpriseId;if(!e)return this.$router.go(-1);this.enterpriseId=e,this.getEnterpriseDetail(),this.$emit("updateBread",this.bread)},methods:{getEnterpriseDetail:function(){var e=this;a({wxEnterpriseId:this.enterpriseId}).then((function(t){Object.assign(e.enterpriseDetail,t.result)}))},onRefresh:function(){l().then(this.getEnterpriseDetail)},formatCorpIndustry:function(){var e=[];return this.enterpriseDetail.corpIndustry&&e.push(this.enterpriseDetail.corpIndustry),this.enterpriseDetail.corpSubIndustry&&e.push(this.enterpriseDetail.corpSubIndustry),e.length>0?e.join("/"):"--"},getBindDetail:function(e,t){var n=this,r=e.wxEnterpriseId,i=e.enterpriseId,s={wxEnterpriseId:r,enterpriseId:i,operationType:t};this.bindInfo.show=!0,this.bindInfo.type=t,o(s).then((function(e){n.bindInfo.data=e.result||[],n.bindInfo.selected=n.bindInfo.data.map((function(e){return e.id}))}))},onBindInfoClose:function(){this.bindInfo.data=[],this.bindInfo.selected=[]}}},d=p,f=(n("bed5"),n("2877")),c=Object(f["a"])(d,r,i,!1,null,"c8f38f6e",null);t["default"]=c.exports}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-512af800"],{"34ff":function(e,t,i){},a30a:function(e,t,i){"use strict";var n=i("71f6"),r={getEnterpriseList:"/wx-enterprise-list",getEnterpriseDetail:"/enterprise-detail",refreshEnterpriseInfo:"/setting/wx-enterprise-info-flush",storeRangeDetail:"/store-range-detail"};t["a"]=Object(n["a"])(r,"/hb-manage-operation-web")},bed5:function(e,t,i){"use strict";var n=i("34ff"),r=i.n(n);r.a},d1a4:function(e,t,i){"use strict";i.r(t);var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticStyle:{padding:"20px"}},[i("h3",{staticClass:"model-title"},[e._v("\n 企业信息\n "),e._e()],1),i("el-form",{attrs:{"label-width":"140px"},nativeOn:{submit:function(e){e.preventDefault()}}},[i("el-form-item",{attrs:{label:"小程序版本"}},[e._v("免费版")]),i("el-form-item",{attrs:{label:"企业名称"}},[i("span",[e._v(e._s(e.enterpriseDetail.wxEnterpriseName))]),i("el-tag",{staticStyle:{margin:"0 10px"},attrs:{type:"verified"==e.enterpriseDetail.corpType?"":"info",effect:"plain"}},[e._v("\n "+e._s("verified"==e.enterpriseDetail.corpType?"已认证":"未认证")+"\n ")]),e.enterpriseDetail.verifiedEndTime?i("span",{staticClass:"end-time"},[e._v("\n 认证到期 "+e._s(e._f("timeStampToYmd")(e.enterpriseDetail.verifiedEndTime))+"\n ")]):e._e()],1),i("el-form-item",{attrs:{label:"企业ID"}},[e._v(e._s(e.enterpriseDetail.corpId||"--"))]),i("el-form-item",{attrs:{label:"行业类型"}},[e._v(e._s(e.formatCorpIndustry()))]),i("el-form-item",{attrs:{label:"应用可见范围"}},[e._v("\n "+e._s(Array.isArray(e.enterpriseDetail.displayRange)&&e.enterpriseDetail.displayRange.length>0?e.enterpriseDetail.displayRange.map((function(e){return e.name})).join(","):"--")+"\n ")])],1),e.enterpriseDetail.secret.secretName?[i("h3",{staticClass:"model-title"},[e._v("好办自建应用")]),i("div",{staticClass:"hb-app"},[i("div",{staticClass:"hb-app-name"},[e._v(e._s(e.enterpriseDetail.secret.secretName))]),i("el-form",{staticClass:"hb-app-info",attrs:{"label-width":"150px"},nativeOn:{submit:function(e){e.preventDefault()}}},[i("el-form-item",{staticClass:"hb-app-info-item",attrs:{label:"Agentld"}},[e._v(e._s(e.enterpriseDetail.secret.agentId))]),i("el-form-item",{staticClass:"hb-app-info-item",attrs:{label:"Secret"}},[e._v(e._s(e.enterpriseDetail.secret.secretVal))]),i("el-form-item",{staticClass:"hb-app-info-item",attrs:{label:"应用可见范围"}},[e._v("\n "+e._s(Array.isArray(e.enterpriseDetail.secret.displayRange)&&e.enterpriseDetail.secret.displayRange.length>0?e.enterpriseDetail.secret.displayRange.map((function(e){return e.name})).join(","):"--")+"\n ")])],1)],1)]:e._e(),i("h3",{staticClass:"model-title"},[e._v("授权信息")]),i("el-table",{attrs:{data:e.enterpriseDetail.enterpriseList}},[i("el-table-column",{attrs:{label:"授权商户"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.row;return i("div",{staticClass:"store-info"},[n.enterpriseLogo?i("div",{staticClass:"store-logo"},[i("img",{attrs:{src:n.enterpriseLogo,alt:""}})]):e._e(),i("span",{staticClass:"store-name"},[e._v(e._s(n.enterpriseName))])])}}])}),i("el-table-column",{attrs:{label:"门店绑定授权范围"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.row;return[0==n.bindStoreMode?i("span",[e._v("所有门店")]):n.bindStoreMode>0?i("el-button",{attrs:{type:"text"},on:{click:function(t){return e.getBindDetail(n,0)}}},[e._v("\n "+e._s(n.bindCount)+e._s(1==n.bindStoreMode?"个分组":2==n.bindStoreMode?"家门店":"")+"\n ")]):i("span",[e._v("无")])]}}])}),i("el-table-column",{attrs:{label:"门店共享授权范围"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.row;return[0==n.shareStoreMode?i("span",[e._v("所有门店")]):n.shareStoreMode>0?i("el-button",{attrs:{type:"text"},on:{click:function(t){return e.getBindDetail(n,1)}}},[e._v("\n "+e._s(n.shareCount)+e._s(1==n.shareStoreMode?"个分组":2==n.shareStoreMode?"家门店":"")+"\n ")]):i("span",[e._v("无")])]}}])})],1),i("el-dialog",{attrs:{visible:e.bindInfo.show,title:"门店授权范围",width:"600px"},on:{"update:visible":function(t){return e.$set(e.bindInfo,"show",t)},closed:e.onBindInfoClose}},[i("el-form",{attrs:{"label-width":"140px"},nativeOn:{submit:function(e){e.preventDefault()}}},[i("el-form-item",{attrs:{label:0==e.bindInfo.type?"门店绑定授权范围":"门店共享授权范围"}},[i("el-select",{staticStyle:{width:"392px"},attrs:{disabled:"",multiple:"",value:e.bindInfo.selected}},e._l(e.bindInfo.data,(function(e){return i("el-option",{key:e.id,attrs:{value:e.id,label:e.name}})})),1)],1)],1)],1)],2)},r=[],s=i("a30a"),a=s["a"].getEnterpriseDetail,l=s["a"].refreshEnterpriseInfo,o=s["a"].storeRangeDetail,p={name:"EnterpriseDetail",data:function(){return{bread:[{path:"/enterprise-list",name:"企业列表"},{name:"查看"}],enterpriseId:"",enterpriseDetail:{displayRange:[],secret:{},enterpriseList:[]},bindInfo:{show:!1,type:0,data:[],selected:[]}}},created:function(){var e=this.$route.query.enterpriseId;if(!e)return this.$router.go(-1);this.enterpriseId=e,this.getEnterpriseDetail(),this.$emit("updateBread",this.bread)},methods:{getEnterpriseDetail:function(){var e=this;a({wxEnterpriseId:this.enterpriseId}).then((function(t){Object.assign(e.enterpriseDetail,t.result)}))},onRefresh:function(){l().then(this.getEnterpriseDetail)},formatCorpIndustry:function(){var e=[];return this.enterpriseDetail.corpIndustry&&e.push(this.enterpriseDetail.corpIndustry),this.enterpriseDetail.corpSubIndustry&&e.push(this.enterpriseDetail.corpSubIndustry),e.length>0?e.join("/"):"--"},getBindDetail:function(e,t){var i=this,n=e.wxEnterpriseId,r=e.enterpriseId,s={wxEnterpriseId:n,enterpriseId:r,operationType:t};this.bindInfo.show=!0,this.bindInfo.type=t,o(s).then((function(e){i.bindInfo.data=e.result||[],i.bindInfo.selected=i.bindInfo.data.map((function(e){return e.id}))}))},onBindInfoClose:function(){this.bindInfo.data=[],this.bindInfo.selected=[]}}},d=p,f=(i("bed5"),i("2877")),c=Object(f["a"])(d,n,r,!1,null,"c8f38f6e",null);t["default"]=c.exports}}]);
\ No newline at end of file
......@@ -5,12 +5,6 @@ let api = {
getEnterpriseDetail: '/enterprise-detail', // 获取企业详情
refreshEnterpriseInfo: '/setting/wx-enterprise-info-flush', // 刷新企业信息
storeRangeDetail: '/store-range-detail', // 查询绑定信息
loginBack: {
url: '/login',
method: 'post',
useFormData: true,
useIntercept: false
}
};
export default getFetch(api, '/hb-manage-operation-web');
/*
* @Descripttion: 登录好办
* @version: 1.0.0
* @Author: 无尘
* @Date: 2020-10-20 14:25:47
* @LastEditors: 无尘
* @LastEditTime: 2020-10-20 14:26:14
*/
import getFetch from './get-fetch';
let api = {
loginBack: {
url: '/operation-login',
method: 'post',
useFormData: true,
useIntercept: false
}
};
export default getFetch(api, '/hb-manage-web');
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-08-03 10:08:57
* @LastEditors: 无尘
* @LastEditTime: 2020-10-20 14:17:34
* @LastEditTime: 2020-10-20 14:26:55
-->
<template>
<div style="padding: 20px">
......@@ -67,9 +67,9 @@
<script>
import api from '@/api/enterprise.js';
const { getEnterpriseList, loginBack } = api;
const { getEnterpriseList } = api;
import apiLogin from '@/api/enterprise.js';
const { loginBack } = apiLogin;
export default {
name: 'EnterpriseList',
data() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment