Commit 27cbb619 by 无尘

fix: 修改授权逻辑

parent 98cda983
.navwrap[data-v-69bcb2f7]{padding:12px 20px}.boxbttom[data-v-69bcb2f7],.boxshow[data-v-69bcb2f7]{border-bottom:1px solid #e4e7ed}.boxshow[data-v-69bcb2f7]{-webkit-box-shadow:5px -1px 5px #dfdfdf;box-shadow:5px -1px 5px #dfdfdf}.navtitle[data-v-69bcb2f7]{margin:24px 0 0 0;font-size:20px;color:#303133;font-weight:500}.navtip[data-v-69bcb2f7]{width:100%;height:38px;line-height:38px;font-size:13px;border-radius:2px;color:#606266;background-color:#f4f4f5}.navmTop[data-v-69bcb2f7]{margin-top:25px}.navtipcolor[data-v-69bcb2f7]{margin:0 12px;color:#2f54eb}.el-breadcrumb__inner.is-link[data-v-69bcb2f7]:hover,.el-breadcrumb__inner a[data-v-69bcb2f7]:hover{color:#2f54eb}.el-breadcrumb__item:last-child .el-breadcrumb__inner[data-v-69bcb2f7],.el-breadcrumb__item:last-child .el-breadcrumb__inner[data-v-69bcb2f7]:hover,.el-breadcrumb__item:last-child .el-breadcrumb__inner a[data-v-69bcb2f7],.el-breadcrumb__item:last-child .el-breadcrumb__inner a[data-v-69bcb2f7]:hover{font-weight:700;text-decoration:none;cursor:pointer;color:#303133}.line-h-18[data-v-1f450df8]{line-height:18px}.bg-f5f7fa[data-v-1f450df8]{background:#f5f7fa}.store-cell-ul[data-v-1f450df8]{height:289px;overflow-y:auto}.store-cell-ul li[data-v-1f450df8]{margin-top:10px}.line-h-18[data-v-2be1c32e]{line-height:18px}.w-170[data-v-2be1c32e]{width:170px}.my-customer-wrap[data-v-2be1c32e]{height:100%}.right-content[data-v-2be1c32e]{padding:0 20px 20px 20px;min-height:calc(100% - 160px)}.right-content .right-box[data-v-2be1c32e]{background:#fff;min-height:500px;padding:0}.right-content .right-box .apps-content .apps-content-right[data-v-2be1c32e]{width:100%;padding:20px;background:#fff}.right-content .right-box .apps-content .apps-content-right .common-set-wrap[data-v-2be1c32e]{height:100%;background:#fff}
\ No newline at end of file
.navwrap[data-v-69bcb2f7]{padding:12px 20px}.boxbttom[data-v-69bcb2f7],.boxshow[data-v-69bcb2f7]{border-bottom:1px solid #e4e7ed}.boxshow[data-v-69bcb2f7]{-webkit-box-shadow:5px -1px 5px #dfdfdf;box-shadow:5px -1px 5px #dfdfdf}.navtitle[data-v-69bcb2f7]{margin:24px 0 0 0;font-size:20px;color:#303133;font-weight:500}.navtip[data-v-69bcb2f7]{width:100%;height:38px;line-height:38px;font-size:13px;border-radius:2px;color:#606266;background-color:#f4f4f5}.navmTop[data-v-69bcb2f7]{margin-top:25px}.navtipcolor[data-v-69bcb2f7]{margin:0 12px;color:#2f54eb}.el-breadcrumb__inner.is-link[data-v-69bcb2f7]:hover,.el-breadcrumb__inner a[data-v-69bcb2f7]:hover{color:#2f54eb}.el-breadcrumb__item:last-child .el-breadcrumb__inner[data-v-69bcb2f7],.el-breadcrumb__item:last-child .el-breadcrumb__inner[data-v-69bcb2f7]:hover,.el-breadcrumb__item:last-child .el-breadcrumb__inner a[data-v-69bcb2f7],.el-breadcrumb__item:last-child .el-breadcrumb__inner a[data-v-69bcb2f7]:hover{font-weight:700;text-decoration:none;cursor:pointer;color:#303133}
\ No newline at end of file
.span-dot[data-v-c649f126]{display:inline-block;vertical-align:middle;width:6px;height:6px;margin-right:6px;border-radius:3px}.span-dot.bg-52c41a[data-v-c649f126]{background:#52c41a}.span-dot.bg-f5222d[data-v-c649f126]{background:#f5222d}.bg-82C5FF[data-v-c649f126]{background:#82c5ff}.color-508CEE[data-v-c649f126]{color:#508cee}.color-FF585C[data-v-c649f126]{color:#ff585c}.line-h-18[data-v-c649f126]{line-height:18px}.tooltip-text[data-v-c649f126]{width:100%;white-space:pre-wrap;word-break:break-all}.w-293[data-v-c649f126]{width:293px}.w-191[data-v-c649f126]{width:191px}.common-bottom-border[data-v-c649f126]{cursor:pointer;padding-bottom:2px;border-bottom:1px dashed #2f54eb}.my-customer-wrap[data-v-c649f126]{height:100%}.right-content[data-v-c649f126]{padding:0 20px 20px 20px;min-height:calc(100% - 160px)}.right-content .right-box[data-v-c649f126]{background:#fff;min-height:500px;padding:0}.right-content .right-box .apps-content .apps-content-right[data-v-c649f126]{width:100%;padding:20px;background:#fff}.right-content .right-box .apps-content .apps-content-right .common-set-wrap[data-v-c649f126]{height:100%;background:#fff}.ul-li-cell .cell-img[data-v-c649f126]{width:40px;min-width:40px;max-width:40px;height:40px;border-radius:2px;border:1px solid #e4e7ed;-webkit-box-sizing:border-box;box-sizing:border-box}.ul-li-cell .cell-img img[data-v-c649f126]{width:100%}.ul-li-cell .cell-info[data-v-c649f126]{padding-left:10px;-webkit-box-sizing:border-box;box-sizing:border-box}.ul-li-cell .cell-info .cell-info-name[data-v-c649f126]{height:40px;line-height:19px;white-space:pre-wrap;word-break:break-all}.ul-li-cell .cell-info .gic-name[data-v-c649f126]{font-size:14px;color:#303133;line-height:18px}.ul-li-cell .cell-info .gic-version[data-v-c649f126]{display:inline-block;padding:0 5px;height:15px;line-height:15px;margin-left:5px;background:#fff1f0;border-radius:2px;border:1px solid #ffa39e;font-size:10px;color:#f5222d}
\ No newline at end of file
.navwrap[data-v-69bcb2f7]{padding:12px 20px}.boxbttom[data-v-69bcb2f7],.boxshow[data-v-69bcb2f7]{border-bottom:1px solid #e4e7ed}.boxshow[data-v-69bcb2f7]{-webkit-box-shadow:5px -1px 5px #dfdfdf;box-shadow:5px -1px 5px #dfdfdf}.navtitle[data-v-69bcb2f7]{margin:24px 0 0 0;font-size:20px;color:#303133;font-weight:500}.navtip[data-v-69bcb2f7]{width:100%;height:38px;line-height:38px;font-size:13px;border-radius:2px;color:#606266;background-color:#f4f4f5}.navmTop[data-v-69bcb2f7]{margin-top:25px}.navtipcolor[data-v-69bcb2f7]{margin:0 12px;color:#2f54eb}.el-breadcrumb__inner.is-link[data-v-69bcb2f7]:hover,.el-breadcrumb__inner a[data-v-69bcb2f7]:hover{color:#2f54eb}.el-breadcrumb__item:last-child .el-breadcrumb__inner[data-v-69bcb2f7],.el-breadcrumb__item:last-child .el-breadcrumb__inner[data-v-69bcb2f7]:hover,.el-breadcrumb__item:last-child .el-breadcrumb__inner a[data-v-69bcb2f7],.el-breadcrumb__item:last-child .el-breadcrumb__inner a[data-v-69bcb2f7]:hover{font-weight:700;text-decoration:none;cursor:pointer;color:#303133}.span-dot[data-v-276c343e]{display:inline-block;vertical-align:middle;width:6px;height:6px;margin-right:6px;border-radius:3px}.span-dot.bg-52c41a[data-v-276c343e]{background:#52c41a}.span-dot.bg-f5222d[data-v-276c343e]{background:#f5222d}.bg-82C5FF[data-v-276c343e]{background:#82c5ff}.color-508CEE[data-v-276c343e]{color:#508cee}.color-FF585C[data-v-276c343e]{color:#ff585c}.line-h-18[data-v-276c343e]{line-height:18px}.tooltip-text[data-v-276c343e]{width:100%;white-space:pre-wrap;word-break:break-all}.w-293[data-v-276c343e]{width:293px}.w-191[data-v-276c343e]{width:191px}.common-bottom-border[data-v-276c343e]{cursor:pointer;padding-bottom:2px;border-bottom:1px dashed #2f54eb}.my-customer-wrap[data-v-276c343e]{height:100%}.right-content[data-v-276c343e]{padding:0 20px 20px 20px;min-height:calc(100% - 160px)}.right-content .right-box[data-v-276c343e]{background:#fff;min-height:500px;padding:0}.right-content .right-box .apps-content .apps-content-right[data-v-276c343e]{width:100%;padding:20px;background:#fff}.right-content .right-box .apps-content .apps-content-right .common-set-wrap[data-v-276c343e]{height:100%;background:#fff}.ul-li-cell .cell-img[data-v-276c343e]{width:40px;min-width:40px;max-width:40px;height:40px;border-radius:2px;border:1px solid #e4e7ed;-webkit-box-sizing:border-box;box-sizing:border-box}.ul-li-cell .cell-img img[data-v-276c343e]{width:100%}.ul-li-cell .cell-info[data-v-276c343e]{padding-left:10px;-webkit-box-sizing:border-box;box-sizing:border-box}.ul-li-cell .cell-info .cell-info-name[data-v-276c343e]{height:40px;line-height:19px;white-space:pre-wrap;word-break:break-all}.ul-li-cell .cell-info .gic-name[data-v-276c343e]{font-size:14px;color:#303133;line-height:18px}.ul-li-cell .cell-info .gic-version[data-v-276c343e]{display:inline-block;padding:0 5px;height:15px;line-height:15px;margin-left:5px;background:#fff1f0;border-radius:2px;border:1px solid #ffa39e;font-size:10px;color:#f5222d}
\ No newline at end of file
.line-h-18[data-v-57b967f6]{line-height:18px}.bg-f5f7fa[data-v-57b967f6]{background:#f5f7fa}.store-cell-ul[data-v-57b967f6]{height:289px;overflow-y:auto}.store-cell-ul li[data-v-57b967f6]{margin-top:10px}.line-h-18[data-v-eb2686e4]{line-height:18px}.w-170[data-v-eb2686e4]{width:170px}.my-customer-wrap[data-v-eb2686e4]{height:100%}.my-customer-wrap .common-bottom-border[data-v-eb2686e4]{cursor:pointer;padding-bottom:2px;border-bottom:1px dashed #2f54eb}.right-content[data-v-eb2686e4]{padding:0 20px 20px 20px;min-height:calc(100% - 160px)}.right-content .right-box[data-v-eb2686e4]{background:#fff;min-height:500px;padding:0}.right-content .right-box .apps-content .apps-content-right[data-v-eb2686e4]{width:100%;padding:20px;background:#fff}.right-content .right-box .apps-content .apps-content-right .common-set-wrap[data-v-eb2686e4]{height:100%;background:#fff}.right-content .right-box .apps-content .apps-content-right .auth-merchant-img[data-v-eb2686e4]{width:40px;min-width:40px;max-width:40px;height:40px;border-radius:2px;-webkit-box-sizing:border-box;box-sizing:border-box}.right-content .right-box .apps-content .apps-content-right .auth-merchant-img img[data-v-eb2686e4]{width:100%}.right-content .right-box .apps-content .apps-content-right .auth-merchant-name[data-v-eb2686e4]{margin-left:10px;line-height:20px}.right-content .right-box .apps-content .apps-content-right .auth-merchant-name .el-tag[data-v-eb2686e4]{height:18px;line-height:18px}
\ 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.39.css><link rel=stylesheet type=text/css href=static/fonts/iconfont.css><title>好办</title><link href=css/chunk-08cf78ee.9cb54b4c.css rel=prefetch><link href=css/chunk-16a8dcde.2a3bfb87.css rel=prefetch><link href=css/chunk-19db1fc6.ba890a33.css rel=prefetch><link href=css/chunk-1a973c84.759ba998.css rel=prefetch><link href=css/chunk-1b93a01a.01549a8d.css rel=prefetch><link href=css/chunk-27cca3c0.9e003580.css rel=prefetch><link href=css/chunk-2ad47fe6.9010b5cb.css rel=prefetch><link href=css/chunk-2edfeeab.49caf26e.css rel=prefetch><link href=css/chunk-3f8ce3a6.3d609251.css rel=prefetch><link href=css/chunk-4a8be49a.e6fc8e8f.css rel=prefetch><link href=css/chunk-63cd2773.5fbdcef6.css rel=prefetch><link href=css/chunk-63f006ce.8845f3f9.css rel=prefetch><link href=css/chunk-7756bb34.84a9ca44.css rel=prefetch><link href=css/chunk-780959ba.0de09ea4.css rel=prefetch><link href=css/chunk-7ea1f4c1.2edbc58c.css rel=prefetch><link href=css/chunk-8da245a2.0d5615a8.css rel=prefetch><link href=css/chunk-aef383e6.eec4d489.css rel=prefetch><link href=css/chunk-be528a18.e2991b7b.css rel=prefetch><link href=css/chunk-c81e0272.60eaec0d.css rel=prefetch><link href=css/chunk-ea9d6bee.492c0f7d.css rel=prefetch><link href=js/chunk-08cf78ee.ce8918f8.js rel=prefetch><link href=js/chunk-16a8dcde.422b0989.js rel=prefetch><link href=js/chunk-19db1fc6.10fbf935.js rel=prefetch><link href=js/chunk-1a973c84.ec54956a.js rel=prefetch><link href=js/chunk-1b93a01a.19b25334.js rel=prefetch><link href=js/chunk-27cca3c0.526406f4.js rel=prefetch><link href=js/chunk-2ad47fe6.f8bd0da9.js rel=prefetch><link href=js/chunk-2d0b5d69.68a52501.js rel=prefetch><link href=js/chunk-2edfeeab.44d9f7c0.js rel=prefetch><link href=js/chunk-3f8ce3a6.407d94d5.js rel=prefetch><link href=js/chunk-4a8be49a.279f41dc.js rel=prefetch><link href=js/chunk-63cd2773.7c931d9c.js rel=prefetch><link href=js/chunk-63f006ce.e449905e.js rel=prefetch><link href=js/chunk-737eaf4a.50394394.js rel=prefetch><link href=js/chunk-7756bb34.26c7cf89.js rel=prefetch><link href=js/chunk-780959ba.504a351b.js rel=prefetch><link href=js/chunk-7ea1f4c1.fd6c8daa.js rel=prefetch><link href=js/chunk-8da245a2.30d70f2a.js rel=prefetch><link href=js/chunk-aef383e6.5faa3612.js rel=prefetch><link href=js/chunk-be528a18.ba45b8c3.js rel=prefetch><link href=js/chunk-c81e0272.b6b73d30.js rel=prefetch><link href=js/chunk-ea9d6bee.51f6b850.js rel=prefetch><link href=css/app.b8ea1a4d.css rel=preload as=style><link href=css/chunk-vendors.635bc84a.css rel=preload as=style><link href=js/app.2eb34a7b.js rel=preload as=script><link href=js/chunk-vendors.e7b30cab.js rel=preload as=script><link href=css/chunk-vendors.635bc84a.css rel=stylesheet><link href=css/app.b8ea1a4d.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.41.js></script><script src=js/chunk-vendors.e7b30cab.js></script><script src=js/app.2eb34a7b.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.39.css><link rel=stylesheet type=text/css href=static/fonts/iconfont.css><title>好办</title><link href=css/chunk-01eacaa5.9010b5cb.css rel=prefetch><link href=css/chunk-0b0db9c0.8569c9f3.css rel=prefetch><link href=css/chunk-0d204189.9cb54b4c.css rel=prefetch><link href=css/chunk-16a8dcde.2a3bfb87.css rel=prefetch><link href=css/chunk-19db1fc6.ba890a33.css rel=prefetch><link href=css/chunk-1a973c84.759ba998.css rel=prefetch><link href=css/chunk-1b93a01a.01549a8d.css rel=prefetch><link href=css/chunk-29a5079e.0d5615a8.css rel=prefetch><link href=css/chunk-3f8ce3a6.3d609251.css rel=prefetch><link href=css/chunk-4a8be49a.e6fc8e8f.css rel=prefetch><link href=css/chunk-5723885a.cc55a907.css rel=prefetch><link href=css/chunk-63cd2773.5fbdcef6.css rel=prefetch><link href=css/chunk-63f006ce.8845f3f9.css rel=prefetch><link href=css/chunk-74587092.e0de63a6.css rel=prefetch><link href=css/chunk-7756bb34.84a9ca44.css rel=prefetch><link href=css/chunk-7d4c5e68.065ceb33.css rel=prefetch><link href=css/chunk-7ea1f4c1.2edbc58c.css rel=prefetch><link href=css/chunk-aef383e6.eec4d489.css rel=prefetch><link href=css/chunk-be528a18.e2991b7b.css rel=prefetch><link href=css/chunk-e7379756.ad4b7fd5.css rel=prefetch><link href=css/chunk-ea9d6bee.492c0f7d.css rel=prefetch><link href=js/chunk-01eacaa5.ddf66b20.js rel=prefetch><link href=js/chunk-0b0db9c0.7ef35e8c.js rel=prefetch><link href=js/chunk-0d204189.f58688a5.js rel=prefetch><link href=js/chunk-16a8dcde.422b0989.js rel=prefetch><link href=js/chunk-19db1fc6.10fbf935.js rel=prefetch><link href=js/chunk-1a973c84.ec54956a.js rel=prefetch><link href=js/chunk-1b93a01a.19b25334.js rel=prefetch><link href=js/chunk-29a5079e.fee731a4.js rel=prefetch><link href=js/chunk-2d0b5d69.68a52501.js rel=prefetch><link href=js/chunk-3f8ce3a6.407d94d5.js rel=prefetch><link href=js/chunk-4a8be49a.279f41dc.js rel=prefetch><link href=js/chunk-5723885a.83406de3.js rel=prefetch><link href=js/chunk-63cd2773.7c931d9c.js rel=prefetch><link href=js/chunk-63f006ce.e449905e.js rel=prefetch><link href=js/chunk-737eaf4a.50394394.js rel=prefetch><link href=js/chunk-74587092.16294aff.js rel=prefetch><link href=js/chunk-7756bb34.26c7cf89.js rel=prefetch><link href=js/chunk-7d4c5e68.682b79b9.js rel=prefetch><link href=js/chunk-7ea1f4c1.fd6c8daa.js rel=prefetch><link href=js/chunk-aef383e6.5faa3612.js rel=prefetch><link href=js/chunk-be528a18.ba45b8c3.js rel=prefetch><link href=js/chunk-e7379756.6384227d.js rel=prefetch><link href=js/chunk-ea9d6bee.51f6b850.js rel=prefetch><link href=css/app.9376d8eb.css rel=preload as=style><link href=css/chunk-vendors.635bc84a.css rel=preload as=style><link href=js/app.cf4755ad.js rel=preload as=script><link href=js/chunk-vendors.e7b30cab.js rel=preload as=script><link href=css/chunk-vendors.635bc84a.css rel=stylesheet><link href=css/app.9376d8eb.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.41.js></script><script src=js/chunk-vendors.e7b30cab.js></script><script src=js/app.cf4755ad.js></script></body></html>
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-08cf78ee"],{"50c8":function(e,t,n){"use strict";n.r(t);var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"enterprise-wrap"},[n("vue-office-header",{attrs:{projectName:e.projectName},on:{collapseTag:e.collapseTag,toRouterView:e.toRouterView}}),n("div",{staticClass:"enterprise-wrap__body"},[n("div",{staticClass:"content",attrs:{id:"content"}},[n("div",{staticClass:"content-body",style:{height:e.contentHeight}},[n("transition",{attrs:{name:"fade",mode:"out-in"}},[n("router-view")],1)],1)])])],1)},o=[],i=n("f777"),c={name:"enterprise",components:{vueOfficeHeader:i["a"]},data:function(){return{projectName:"haoban-manage-web",collapseFlag:!1,contentHeight:window.screen.availHeight-5+"px"}},computed:{},methods:{toRouterView:function(e){var t=this;t.$router.push({path:e.path})},collapseTag:function(e){var t=this;t.collapseFlag=e}},mounted:function(){var e=this;e.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-64+"px"}},s=c,r=(n("6ea8"),n("2877")),u=Object(r["a"])(s,a,o,!1,null,"312918de",null);t["default"]=u.exports},"581d":function(e,t,n){},"6ea8":function(e,t,n){"use strict";var a=n("581d"),o=n.n(a);o.a}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-0d204189"],{"50c8":function(e,t,n){"use strict";n.r(t);var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"enterprise-wrap"},[n("vue-office-header",{attrs:{projectName:e.projectName},on:{collapseTag:e.collapseTag,toRouterView:e.toRouterView}}),n("div",{staticClass:"enterprise-wrap__body"},[n("div",{staticClass:"content",attrs:{id:"content"}},[n("div",{staticClass:"content-body",style:{height:e.contentHeight}},[n("transition",{attrs:{name:"fade",mode:"out-in"}},[n("router-view")],1)],1)])])],1)},o=[],i=n("f777"),c={name:"enterprise",components:{vueOfficeHeader:i["a"]},data:function(){return{projectName:"haoban-manage-web",collapseFlag:!1,contentHeight:window.screen.availHeight-5+"px"}},computed:{},methods:{toRouterView:function(e){var t=this;t.$router.push({path:e.path})},collapseTag:function(e){var t=this;t.collapseFlag=e}},mounted:function(){var e=this;e.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-64+"px"}},s=c,r=(n("6ea8"),n("2877")),u=Object(r["a"])(s,a,o,!1,null,"312918de",null);t["default"]=u.exports},"581d":function(e,t,n){},"6ea8":function(e,t,n){"use strict";var a=n("581d"),o=n.n(a);o.a}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-74587092"],{"56b3":function(t,e,a){"use strict";a.r(e);var o=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"my-customer-wrap common-set-wrap"},[o("nav-crumb",{attrs:{navpath:t.navpath}}),o("div",{staticClass:"right-content"},[o("div",{staticClass:"right-box",staticStyle:{"min-height":"calc(100vh - 104px)"}},[o("div",{staticClass:"apps-content flex",staticStyle:{"min-height":"calc(100vh - 104px)"}},[o("div",{staticClass:"apps-content-right"},[o("div",{staticClass:"flex flex-space-between"},[o("div",{staticStyle:{width:"643px"}},[o("div",{staticClass:"el-alert el-alert--info flex flex-align-start",staticStyle:{width:"643px"},attrs:{role:"alert"}},[o("i",{staticClass:"el-alert__icon el-icon-info font-12 color-2f54eb"}),o("div",{staticClass:"el-alert__content"},[o("span",{staticClass:"el-alert__title color-606266 font-14"},[t._v("提示:授权的商户,需在同一个微信开放平台主体下;最多授权10个商户。 ")]),o("el-button",{attrs:{type:"text"},on:{click:t.openUrl}},[t._v("主体查询方法")])],1)])]),o("el-button",{attrs:{type:"primary"},on:{click:function(e){return t.changeRoute("/newAuthMerchant")}}},[t._v("新建GIC商户授权")])],1),o("div",{staticClass:"m-t-20"},[o("el-table",{ref:"multipleTable",staticClass:"select-table",style:{width:"100%",minHeight:t.tableH},attrs:{data:t.tableData,"tooltip-effect":"dark"}},[o("el-table-column",{attrs:{prop:"",label:"商户列表","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[o("div",{staticClass:"ul-li-cell flex"},[o("div",{staticClass:"cell-img"},[e.row.enterpriseLogo?o("img",{attrs:{src:e.row.enterpriseLogo,alt:"img"}}):o("img",{attrs:{src:a("6ce2"),alt:"img"}})]),o("div",{staticClass:"cell-info"},[o("div",{staticClass:"cell-info-name font-14 color-303133"},[o("span",{staticClass:"gic-name"},[t._v(t._s(e.row.enterpriseName))]),o("span",{staticClass:"gic-version"},[t._v(t._s(e.row.version))])])])])]}}])}),o("el-table-column",{attrs:{prop:"",label:"绑定门店","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.bindStoreMode||"--")+"\n ")]}}])},[o("template",{slot:"header"},[o("el-tooltip",{staticClass:"item",attrs:{effect:"light",placement:"right"}},[o("div",{attrs:{slot:"content"},slot:"content"},[t._v("\n 绑定门店拥有门店资源管理权限。能查看数据,绑定导购账号,管理门店等\n ")]),o("span",{staticClass:"common-bottom-border"},[t._v("绑定门店")])])],1)],2),o("el-table-column",{attrs:{prop:"",label:"共享门店","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.shareStoreMode||"--")+"\n ")]}}])},[o("template",{slot:"header"},[o("el-tooltip",{staticClass:"item",attrs:{effect:"light",placement:"right"}},[o("div",{attrs:{slot:"content"},slot:"content"},[t._v("\n 共享门店拥有门店资源查看权限。仅能授权查看数据,"),o("br"),t._v("如会员数据,任务数据等,但无法操作及进行导购账号绑定\n ")]),o("span",{staticClass:"common-bottom-border"},[t._v("共享门店")])])],1)],2),o("el-table-column",{attrs:{prop:"",label:"提交人","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.referStaffName||"--"))]}}])}),o("el-table-column",{attrs:{prop:"",label:"授权时间","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[o("div",{staticClass:"line-18"},[t._v(t._s(t._f("timeStampToYmd")(e.row.createTime)))]),o("div",{staticClass:"line-18"},[t._v(t._s(t._f("timeStampToHms")(e.row.createTime)))])]}}])}),o("el-table-column",{attrs:{prop:"",label:"更新时间","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[o("div",{staticClass:"line-18"},[t._v(t._s(t._f("timeStampToYmd")(e.row.updateTime)))]),o("div",{staticClass:"line-18"},[t._v(t._s(t._f("timeStampToHms")(e.row.updateTime)))])]}}])}),o("el-table-column",{attrs:{prop:"",label:"操作",width:"203"},scopedSlots:t._u([{key:"default",fn:function(e){return[o("el-button",{attrs:{type:"text"},on:{click:function(a){return t.toEdit(e.$index,e.row)}}},[t._v("编辑授权设置")]),o("el-button",{attrs:{type:"text"},on:{click:function(a){return t.toAuditLog(e.$index,e.row)}}},[t._v("审核日志")])]}}])})],1)],1)])])])])],1)},n=[],s=a("29b6"),l=a("1bd0"),i=l["a"].getAuthEnterprise,r={name:"authMerchant",data:function(){return{navpath:[{name:"通讯录",path:"/contactsList"},{name:"授权商户",path:""}],wxEnterpriseId:localStorage.getItem("haoBanUser")?JSON.parse(localStorage.getItem("haoBanUser")).wxEnterpriseId:"",currentPage:1,pageSize:20,total:0,tableData:[]}},computed:{},methods:{toEdit:function(t,e){var a=this;a.changeRoute("/newAuthMerchant?enterpriseId=".concat(e.enterpriseId))},toAuditLog:function(t,e){var a=this;a.changeRoute("/auditLog?enterpriseId=".concat(e.enterpriseId))},openUrl:function(){window.open("https://developers.weixin.qq.com/community/develop/doc/00046610a9cbb0fd80f9a7dd354c09")},changeRoute:function(t){this.$router.push(t)},handleSizeChange:function(t){var e=this;e.currentPage=1,e.pageSize=t,e.getTableList()},handleCurrentChange:function(t){var e=this;e.currentPage=t,e.getTableList()},getTableList:function(t){var e=this,a={wxEnterpriseId:e.wxEnterpriseId};i(a).then((function(t){e.tableData=t.result||[]})).catch((function(t){}))}},watch:{},mounted:function(){var t=this;t.getTableList(),document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{navCrumb:s["a"]}},c=r,u=(a("b731"),a("2877")),p=Object(u["a"])(c,o,n,!1,null,"c649f126",null);e["default"]=p.exports},"687c":function(t,e,a){},b731:function(t,e,a){"use strict";var o=a("687c"),n=a.n(o);n.a}}]);
\ No newline at end of file
......@@ -3,7 +3,7 @@
* @Author : 无尘
* @Date : 2020-02-13 14:02:40
* @LastEditors: 无尘
* @LastEditTime: 2020-07-28 14:57:01
* @LastEditTime: 2020-07-29 15:11:19
* @FilePath : j:\公司\haoban-4\src\components\company\auth-commit-success.vue
-->
<!--
......@@ -30,7 +30,7 @@
</el-form-item>
<el-form-item>
<el-button @click="cancel">取消</el-button>
<el-button type="primary" @click="submitForm('commitForm')">提交审核</el-button>
<el-button type="primary" :loading="loadBtn" @click="submitForm('commitForm')">提交审核</el-button>
</el-form-item>
</el-form>
</div>
......@@ -74,6 +74,7 @@ export default {
}
]
},
loadBtn: false
};
},
methods: {
......@@ -99,7 +100,11 @@ export default {
},
toCommitPost() {
const that = this;
that.loadBtn = true;
that.$emit('changeStep',that.commitForm.auditReason);
that.$nextTick(()=>{
that.loadBtn = false;
})
},
/**
* 路由跳转
......
......@@ -15,19 +15,16 @@
<div class="change-stores flex-1">
<div class="font-14 color-303133 text-center m-b-20">变更前</div>
<ul class="store-cell-ul bg-f5f7fa">
<li class="text-center">
<el-tag type="info">标签三</el-tag>
<li class="text-center" v-for="(item, index) in showData.range" :key="index + 'bind'">
<el-tag type="info">{{ item.storeGroupName || item.storeInfoName }}</el-tag>
</li>
</ul>
</div>
<div class="change-stores flex-1 m-l-10">
<div class="font-14 color-303133 text-center m-b-20">变更后</div>
<ul class="store-cell-ul bg-f5f7fa">
<li class="text-center">
<el-tag type="info">标签三</el-tag>
</li>
<li class="text-center">
<el-tag type="info">标签三</el-tag>
<li class="text-center" v-for="(item, index) in showData.auditRange" :key="index + 'binded'">
<el-tag type="info">{{ item.storeGroupName || item.storeInfoName }}</el-tag>
</li>
</ul>
</div>
......@@ -54,7 +51,19 @@ export default {
return {
dialogVisible: true,
activeName: 'first',
tableData: []
tableData: [],
detailData: {
shareStoreMode: '',
bindStoreMode: '',
shareRange: [],
bindRange: [],
auditShareRange: [],
auditBindRange: []
},
showData: {
range: [],
auditRange: []
}
};
},
computed: {},
......@@ -64,7 +73,10 @@ export default {
*/
handleClick(tab, event) {
const that = this;
that.getTableList()
that.showData = {
range: that.activeName == 'first' ? that.detailData.bindRange : that.detailData.shareRange,
auditRange: that.activeName == 'first' ? that.detailData.auditBindRange : that.detailData.auditShareRange,
}
},
/**
* 关闭
......@@ -91,7 +103,7 @@ export default {
};
getAuditLogDetail(para)
.then(res => {
that.tableData = res.result || [];
that.detailData = res.result || [];
})
.catch(function(error) {
......
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-07-21 10:10:57
* @LastEditors: 无尘
* @LastEditTime: 2020-07-29 11:47:56
* @LastEditTime: 2020-07-29 14:39:48
-->
<!--
门店绑定-选择分组
......@@ -101,8 +101,9 @@ export default {
* 清空
*/
clearSearch() {
const that = this;
that.groupData = JSON.parse(JSON.stringify(that.groupDataCopy));
// const that = this;
return false;
// that.groupData = JSON.parse(JSON.stringify(that.groupDataCopy));
},
/**
* 选择 tree 节点,获取选择节点信息
......@@ -127,7 +128,6 @@ export default {
document.getElementById(e.storeGroupId).previousElementSibling.children[0].children[0].style.borderColor = '#dcdfe6';
document.getElementById(e.storeGroupId).previousElementSibling.children[0].children[0].style.backgroundColor = '#ffffff';
} */
console.log(checkFlag)
that.$refs.groupTree.setChecked(e.storeGroupId,checkFlag,true)
e.children.forEach(ele => {
that.$refs.groupTree.setChecked(ele.storeGroupId,checkFlag,true);
......@@ -189,11 +189,43 @@ export default {
}
return father.parentId == 0; //返回第一层
});
console.log(tree);
return tree;
},
/**
* 设置回显数据
*/
setSelectCheck() {
const that = this;
const ids = that.selectGroup.map(ele=>ele.storeGroupId);
that.groupData.forEach(ele => {
// 如果父级选中了,设置子级禁用
if (ids.includes(ele.storeGroupId) && !!ele.children.length) {
that.checkChild(ele, true);
}
// 如果父级没有选中,查找子级,再判断父级有没有禁用
if (!ids.includes(ele.storeGroupId)) {
that.disableChild(ele, ids);
}
})
},
/**
* disableChild
*/
disableChild(arr,ids) {
const that = this;
arr.children.forEach(ele => {
// 如果父级选中了,设置子级禁用
if (ids.includes(ele.storeGroupId) && !!ele.children.length) {
that.checkChild(ele, true);
}
// 如果父级没有选中,查找子级,再判断父级有没有禁用
if (!ids.includes(ele.storeGroupId) && !!ele.children.length) {
that.disableChild(ele,ids);
}
})
},
/**
* 获取门店分组
*/
getGroup() {
......@@ -215,8 +247,11 @@ export default {
}
that.groupData = await that.treeData(JSON.parse(JSON.stringify(res.result))) || [];
// 存一份数据自己搜索
console.log(that.groupData)
//console.log(that.groupData)
that.groupDataCopy = JSON.parse(JSON.stringify(res.result));
that.$nextTick(()=>{
that.setSelectCheck();
})
})
.catch(function(error) {
......
......@@ -811,6 +811,9 @@ input:focus {
color: #606266;
}
}
.el-step__icon {
border-width: 1px;
}
}
}
}
......
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2019-03-20 14:36:37
* @LastEditors: 无尘
* @LastEditTime: 2020-07-29 12:25:44
* @LastEditTime: 2020-07-29 14:56:28
-->
<template>
<div class="my-customer-wrap common-set-wrap">
......@@ -16,11 +16,12 @@
<div class="flex flex-space-between">
<div class="flex ">
<div class="auth-merchant-img">
<img src="" alt="">
<img v-if="enterpriseObj.enterpriseLogo" :src="enterpriseObj.enterpriseLogo" alt="" />
<img v-else src="../../assets/member.png" alt="img" />
</div>
<div>
<div class="auth-merchant-name w-170">
<span class="font-14 color-606266"></span><el-tag class="m-l-10" size="small" type="danger">4.0</el-tag>
<span class="font-14 color-606266">{{ enterpriseObj.enterpriseName }}</span><el-tag class="m-l-10" size="mini" type="danger">4.0</el-tag>
</div>
</div>
</div>
......@@ -38,23 +39,38 @@
</el-table-column>
<el-table-column prop="" label="门店绑定" show-overflow-tooltip>
<template slot-scope="scope">
<div class="line-18">{{ scope.row.updateTime | timeStampToYmd }}</div>
<div class="line-18">{{ scope.row.updateTime | timeStampToHms }}</div>
{{ scope.row.bindRange || '--' }}
</template>
</el-table-column>
<el-table-column prop="" label="门店共享" show-overflow-tooltip>
<template slot-scope="scope">{{ scope.row.taskDesc | '--' }}</template>
<template slot-scope="scope">{{ scope.row.shareRange || '--' }}</template>
</el-table-column>
<el-table-column prop="" label="提交人" show-overflow-tooltip>
<template slot-scope="scope">
{{ scope.row.referStaffName | '--' }}
{{ scope.row.referStaffName || '--' }}
</template>
</el-table-column>
<el-table-column prop="" label="审核人" show-overflow-tooltip>
<template slot-scope="scope">{{ scope.row.taskDesc | '--' }}</template>
<template slot-scope="scope">{{ scope.row.taskDesc || '--' }}</template>
</el-table-column>
<el-table-column prop="" label="审核结果" show-overflow-tooltip>
<template slot-scope="scope">{{ scope.row.taskDesc | '--' }}</template>
<el-table-column prop="" label="审核结果" >
<template slot-scope="scope">
<span v-if="scope.row.statusFlag == 0">待同意</span>
<span v-if="scope.row.statusFlag == 1">已同意</span>
<span v-if="scope.row.statusFlag == 4">取消审核</span>
<el-tooltip v-if="scope.row.statusFlag == 2" class="item" effect="light" placement="right">
<div slot="content">
{{scope.row.refuseReason}}
</div>
<span class="common-bottom-border">已拒绝</span>
</el-tooltip>
<el-tooltip v-if="scope.row.statusFlag == 3" class="item" effect="light" placement="right">
<div slot="content">
{{scope.row.refuseReason}}
</div>
<span class="common-bottom-border">已失效</span>
</el-tooltip>
</template>
</el-table-column>
<el-table-column prop="" label="审核时间">
<template slot-scope="scope">
......@@ -65,7 +81,7 @@
<el-table-column prop="" label="操作" width="203">
<template slot-scope="scope">
<el-button type="text" @click="toShowLog(scope.$index, scope.row)">绑定详情</el-button>
<el-button type="text" @click="toCancleAudit(scope.$index, scope.row)">取消审核</el-button>
<el-button v-if="scope.row.statusFlag == 0" type="text" @click="toCancleAudit(scope.$index, scope.row)">取消审核</el-button>
</template>
</el-table-column>
</el-table>
......@@ -87,6 +103,7 @@ import storeAuthDetail from '@/components/company/store-auth-detail.vue';
import commonAlertTip from '@/components/common/common-alert-tip.vue';
import api from '@/api/merchantAuth.js';
const { getAuditLog, cancelAudit } = api;
import showMsg from '@/common/js/showmsg';
export default {
name: 'auditLog',
data() {
......@@ -111,7 +128,13 @@ export default {
path: ''
}
],
searchInput: '',
auditorName: localStorage.getItem('haoBanUser') ? JSON.parse(localStorage.getItem('haoBanUser')).staffName : '',
auditorId: localStorage.getItem('haoBanUser') ? JSON.parse(localStorage.getItem('haoBanUser')).staffId : '',
enterpriseObj: {
enterpriseName: '达摩测试',
enterpriseLogo: '',
version: ''
},
// 分页参数
currentPage: 1,
pageSize: 20,
......@@ -129,17 +152,26 @@ export default {
*/
toCancleAudit(index, item) {
const that = this;
that.cancel = '';
that.postCancel(item.storeRangeAuditId);
that.$confirm('确定取消审核?', '', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
that.postCancel(item.storeRangeAuditId);
})
},
postCancel(storeRangeAuditId) {
const that = this;
const para = {
storeRangeAuditId: storeRangeAuditId,
statusFlag: 3 // 0 申请中 1通过 2拒绝 3取消审核
statusFlag: 3, // 0 申请中 1通过 2拒绝 3取消审核
auditorName: that.auditorName,
auditorId: that.auditorId
}
cancelAudit(para)
.then(res => {
showMsg.showmsg('取消审核成功', 'success');
that.currentPage = 1;
that.getTableList();
})
......@@ -235,6 +267,11 @@ export default {
.my-customer-wrap {
height: 100%;
.common-bottom-border {
cursor: pointer;
padding-bottom: 2px;
border-bottom: 1px dashed #2f54eb;
}
}
.right-content {
/*width: 100%;*/
......@@ -254,6 +291,25 @@ export default {
height: 100%;
background: #fff;
}
.auth-merchant-img {
width: 40px;
min-width: 40px;
max-width: 40px;
height: 40px;
border-radius: 2px;
box-sizing: border-box;
img {
width: 100%;
}
}
.auth-merchant-name {
margin-left: 10px;
line-height: 20px;
.el-tag {
height: 18px;
line-height: 18px;
}
}
}
}
}
......
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2019-03-20 14:36:37
* @LastEditors: 无尘
* @LastEditTime: 2020-07-29 12:17:48
* @LastEditTime: 2020-07-29 14:02:19
-->
<template>
<div class="my-customer-wrap common-set-wrap">
......@@ -30,7 +30,8 @@
<template slot-scope="scope">
<div class="ul-li-cell flex">
<div class="cell-img">
<img :src="scope.row.enterpriseLogo" alt="img" />
<img v-if="scope.row.enterpriseLogo" :src="scope.row.enterpriseLogo" alt="img" />
<img v-else src="../../assets/member.png" alt="img" />
</div>
<div class="cell-info">
<div class="cell-info-name font-14 color-303133">
......
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2019-03-20 14:36:37
* @LastEditors: 无尘
* @LastEditTime: 2020-07-28 17:36:08
* @LastEditTime: 2020-07-29 15:01:43
-->
<template>
<div class="my-customer-wrap common-set-wrap">
......@@ -21,7 +21,7 @@
<auth-tip class="m-t-30"></auth-tip>
<el-form :model="authForm" :rules="rules" ref="authForm" label-width="100px" class="dialog-form m-t-20">
<el-form-item label="选择商户" prop="enterpriseId">
<el-autocomplete style="width: 302px;" :disabled="authForm.storeRangeAuditId? true:false" v-model="authForm.enterpriseName" placeholder="请搜索选择商户" :fetch-suggestions="querySearchAsync" @select="getAdmin">
<el-autocomplete style="width: 302px;" :disabled="$route.query.enterpriseId? true:false" v-model="authForm.enterpriseName" placeholder="请搜索选择商户" :fetch-suggestions="querySearchAsync" @select="getAdmin">
<template slot="prepend">GIC4.0</template>
</el-autocomplete>
</el-form-item>
......@@ -253,6 +253,10 @@ export default {
getAdmin(item) {
const that = this;
that.authForm.enterpriseId = item.enterpriseId;
that.authForm.bindRange = [];
that.authForm.shareRange = [];
that.authForm.shareStoreMode = '';
that.authForm.bindStoreMode = '';
that.adminList = [];
that.$refs['authForm'].validate(valid => {
if (valid) {
......@@ -311,7 +315,10 @@ export default {
*/
getData(val) {
const that = this;
let para = {};
let para = {
enterpriseId: that.$route.query.enterpriseId,
wxEnterpriseId: that.wxEnterpriseId,
};
getAuthDetail(para)
.then(res => {
that.authForm = res.result || {};
......@@ -326,7 +333,7 @@ export default {
watch: {},
mounted() {
const that = this;
if (!!that.$route.query.storeRangeAuditId) {
if (!!that.$route.query.enterpriseId) {
that.getData();
}
document.documentElement.style.backgroundColor = '#f0f2f5';
......
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