Commit dd5e1518 by 无尘

style: 修改样式

parent e42effc5
.nav-wrap[data-v-2c2a2724]{padding:12px 20px}.el-breadcrumb__inner.is-link[data-v-2c2a2724]:hover,.el-breadcrumb__inner a[data-v-2c2a2724]:hover{color:#2f54eb}.el-breadcrumb__item:last-child .el-breadcrumb__inner[data-v-2c2a2724],.el-breadcrumb__item:last-child .el-breadcrumb__inner[data-v-2c2a2724]:hover,.el-breadcrumb__item:last-child .el-breadcrumb__inner a[data-v-2c2a2724],.el-breadcrumb__item:last-child .el-breadcrumb__inner a[data-v-2c2a2724]:hover{font-weight:700;text-decoration:none;cursor:pointer;color:#303133}.span-dot[data-v-42cc69b9]{display:inline-block;vertical-align:middle;width:6px;height:6px;margin-right:6px;border-radius:3px}.span-dot.bg-52c41a[data-v-42cc69b9]{background:#52c41a}.span-dot.bg-f5222d[data-v-42cc69b9]{background:#f5222d}.bg-82C5FF[data-v-42cc69b9]{background:#82c5ff}.color-508CEE[data-v-42cc69b9]{color:#508cee}.color-FF585C[data-v-42cc69b9]{color:#ff585c}.line-h-18[data-v-42cc69b9]{line-height:18px}.tooltip-text[data-v-42cc69b9]{width:100%;white-space:pre-wrap;word-break:break-all}.w-293[data-v-42cc69b9]{width:293px}.w-191[data-v-42cc69b9]{width:191px}.common-bottom-border[data-v-42cc69b9]{cursor:pointer;padding-bottom:2px;border-bottom:1px dashed #2f54eb}.my-customer-wrap[data-v-42cc69b9]{height:100%}.right-content[data-v-42cc69b9]{padding:0 20px 20px 20px;min-height:calc(100% - 160px)}.right-content .right-box[data-v-42cc69b9]{background:#fff;min-height:500px;padding:0}.right-content .right-box .apps-content .apps-content-right[data-v-42cc69b9]{width:100%;padding:20px;background:#fff}.right-content .right-box .apps-content .apps-content-right .common-set-wrap[data-v-42cc69b9]{height:100%;background:#fff}.ul-li-cell .cell-img[data-v-42cc69b9]{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-42cc69b9]{width:100%}.ul-li-cell .cell-info[data-v-42cc69b9]{padding-left:10px;-webkit-box-sizing:border-box;box-sizing:border-box}.ul-li-cell .cell-info .cell-info-name[data-v-42cc69b9]{max-width:157px;height:20px;line-height:19px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ul-li-cell .cell-info .gic-name[data-v-42cc69b9]{font-size:14px;color:#303133;line-height:18px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ul-li-cell .cell-info .gic-version[data-v-42cc69b9]{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
.nav-wrap[data-v-2c2a2724]{padding:12px 20px}.el-breadcrumb__inner.is-link[data-v-2c2a2724]:hover,.el-breadcrumb__inner a[data-v-2c2a2724]:hover{color:#2f54eb}.el-breadcrumb__item:last-child .el-breadcrumb__inner[data-v-2c2a2724],.el-breadcrumb__item:last-child .el-breadcrumb__inner[data-v-2c2a2724]:hover,.el-breadcrumb__item:last-child .el-breadcrumb__inner a[data-v-2c2a2724],.el-breadcrumb__item:last-child .el-breadcrumb__inner a[data-v-2c2a2724]:hover{font-weight:700;text-decoration:none;cursor:pointer;color:#303133}.line-h-18[data-v-a9841722]{line-height:18px}.bg-f5f7fa[data-v-a9841722]{background:#f5f7fa}.store-cell-ul[data-v-a9841722]{height:289px;overflow-y:auto}.store-cell-ul li[data-v-a9841722]{margin-top:10px}.line-h-18[data-v-570803e2]{line-height:18px}.w-270[data-v-570803e2]{width:270px}.my-customer-wrap[data-v-570803e2]{height:100%}.my-customer-wrap .common-bottom-border[data-v-570803e2]{cursor:pointer;padding-bottom:2px;border-bottom:1px dashed #2f54eb}.right-content[data-v-570803e2]{padding:0 20px 20px 20px;min-height:calc(100% - 160px)}.right-content .right-box[data-v-570803e2]{background:#fff;min-height:500px;padding:0}.right-content .right-box .apps-content .apps-content-right[data-v-570803e2]{width:100%;padding:20px;background:#fff}.right-content .right-box .apps-content .apps-content-right .common-set-wrap[data-v-570803e2]{height:100%;background:#fff}.right-content .right-box .apps-content .apps-content-right .auth-merchant-img[data-v-570803e2]{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-570803e2]{width:100%}.right-content .right-box .apps-content .apps-content-right .auth-merchant-name[data-v-570803e2]{max-width:270px;margin-left:10px;line-height:20px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.right-content .right-box .apps-content .apps-content-right .auth-merchant-name .merchant-name-span[data-v-570803e2]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.right-content .right-box .apps-content .apps-content-right .auth-merchant-name .el-tag[data-v-570803e2]{height:18px;line-height:18px}
\ No newline at end of file
.nav-wrap[data-v-2c2a2724]{padding:12px 20px}.el-breadcrumb__inner.is-link[data-v-2c2a2724]:hover,.el-breadcrumb__inner a[data-v-2c2a2724]:hover{color:#2f54eb}.el-breadcrumb__item:last-child .el-breadcrumb__inner[data-v-2c2a2724],.el-breadcrumb__item:last-child .el-breadcrumb__inner[data-v-2c2a2724]:hover,.el-breadcrumb__item:last-child .el-breadcrumb__inner a[data-v-2c2a2724],.el-breadcrumb__item:last-child .el-breadcrumb__inner a[data-v-2c2a2724]:hover{font-weight:700;text-decoration:none;cursor:pointer;color:#303133}.line-h-18[data-v-a9841722]{line-height:18px}.bg-f5f7fa[data-v-a9841722]{background:#f5f7fa}.store-cell-ul[data-v-a9841722]{height:289px;overflow-y:auto}.store-cell-ul li[data-v-a9841722]{margin-top:10px}.line-h-18[data-v-95e0b6b2]{line-height:18px}.w-270[data-v-95e0b6b2]{width:270px}.my-customer-wrap[data-v-95e0b6b2]{height:100%}.my-customer-wrap .common-bottom-border[data-v-95e0b6b2]{cursor:pointer;padding-bottom:2px;border-bottom:1px dashed #2f54eb}.right-content[data-v-95e0b6b2]{padding:0 20px 20px 20px;min-height:calc(100% - 160px)}.right-content .right-box[data-v-95e0b6b2]{background:#fff;min-height:500px;padding:0}.right-content .right-box .apps-content .apps-content-right[data-v-95e0b6b2]{width:100%;padding:20px;background:#fff}.right-content .right-box .apps-content .apps-content-right .common-set-wrap[data-v-95e0b6b2]{height:100%;background:#fff}.right-content .right-box .apps-content .apps-content-right .auth-merchant-img[data-v-95e0b6b2]{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-95e0b6b2]{width:100%}.right-content .right-box .apps-content .apps-content-right .auth-merchant-name[data-v-95e0b6b2]{max-width:270px;margin-left:10px;line-height:20px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.right-content .right-box .apps-content .apps-content-right .auth-merchant-name .merchant-name-span[data-v-95e0b6b2]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.right-content .right-box .apps-content .apps-content-right .auth-merchant-name .el-tag[data-v-95e0b6b2]{height:18px;line-height:18px}
\ No newline at end of file
.nav-wrap[data-v-2c2a2724]{padding:12px 20px}.el-breadcrumb__inner.is-link[data-v-2c2a2724]:hover,.el-breadcrumb__inner a[data-v-2c2a2724]:hover{color:#2f54eb}.el-breadcrumb__item:last-child .el-breadcrumb__inner[data-v-2c2a2724],.el-breadcrumb__item:last-child .el-breadcrumb__inner[data-v-2c2a2724]:hover,.el-breadcrumb__item:last-child .el-breadcrumb__inner a[data-v-2c2a2724],.el-breadcrumb__item:last-child .el-breadcrumb__inner a[data-v-2c2a2724]:hover{font-weight:700;text-decoration:none;cursor:pointer;color:#303133}.span-dot[data-v-e06f66ac]{display:inline-block;vertical-align:middle;width:6px;height:6px;margin-right:6px;border-radius:3px}.span-dot.bg-52c41a[data-v-e06f66ac]{background:#52c41a}.span-dot.bg-f5222d[data-v-e06f66ac]{background:#f5222d}.bg-82C5FF[data-v-e06f66ac]{background:#82c5ff}.color-508CEE[data-v-e06f66ac]{color:#508cee}.color-FF585C[data-v-e06f66ac]{color:#ff585c}.line-h-18[data-v-e06f66ac]{line-height:18px}.tooltip-text[data-v-e06f66ac]{width:100%;white-space:pre-wrap;word-break:break-all}.w-293[data-v-e06f66ac]{width:293px}.w-191[data-v-e06f66ac]{width:191px}.common-bottom-border[data-v-e06f66ac]{cursor:pointer;padding-bottom:2px;border-bottom:1px dashed #2f54eb}.my-customer-wrap[data-v-e06f66ac]{height:100%}.right-content[data-v-e06f66ac]{padding:0 20px 20px 20px;min-height:calc(100% - 160px)}.right-content .right-box[data-v-e06f66ac]{background:#fff;min-height:500px;padding:0}.right-content .right-box .apps-content .apps-content-right[data-v-e06f66ac]{width:100%;padding:20px;background:#fff}.right-content .right-box .apps-content .apps-content-right .common-set-wrap[data-v-e06f66ac]{height:100%;background:#fff}.ul-li-cell .cell-img[data-v-e06f66ac]{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-e06f66ac]{width:100%}.ul-li-cell .cell-info[data-v-e06f66ac]{padding-left:10px;-webkit-box-sizing:border-box;box-sizing:border-box}.ul-li-cell .cell-info .cell-info-name[data-v-e06f66ac]{max-width:157px;height:20px;line-height:19px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ul-li-cell .cell-info .gic-name[data-v-e06f66ac]{font-size:14px;color:#303133;line-height:18px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ul-li-cell .cell-info .gic-version[data-v-e06f66ac]{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
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-04255779"],{"0af9":function(t,e,a){"use strict";var n=a("233b"),r=a.n(n);r.a},"21f4":function(t,e,a){"use strict";var n=a("71f6"),r={getAuthEnterprise:"/auth-enterprise-list",getGroupList:"/department-list",getStoreList:"/store-list",getAuthDetail:"/enterprise-auth-detail",getAuditLog:"/enterprise-auth-audit-list",cancelAudit:{url:"/enterprise-auth-audit",method:"post",useFormData:!0,useIntercept:!1},getAuditLogDetail:"/enterprise-auth-audit-range-detail",getEnterprise:"/enterprise-search",getGicAdmin:"/gic-manage-list",postEnterpriseAuth:{url:"/enterprise-auth",method:"post",useFormData:!0,useIntercept:!1},getEnterpriseDetail:"/gic-enterprise-detail"};r=Object(n["a"])(r,"/hb-manage-web"),e["a"]=r},"233b":function(t,e,a){},"29b6":function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"nav-wrap border-box"},[a("el-breadcrumb",{attrs:{"separator-class":"el-icon-arrow-right"}},[t._l(t.navpath,(function(e,n){return[e.path?[a("el-breadcrumb-item",{key:"nav"+n,attrs:{to:{path:e.path}},on:{click:function(a){return t.changeRoute(e.path,e.relocation)}}},[a("span",{staticClass:"el-breadcrumb__inner is-link",on:{click:function(a){return t.changeRoute(e.path,e.relocation)}}},[t._v("\n "+t._s(e.name)+"\n ")])])]:[a("el-breadcrumb-item",{key:"nav"+n},[t._v(t._s(e.name))])]]}))],2)],1)},r=[],o={name:"NavPath",props:{navpath:{type:Array,default:function(){return[]}}},data:function(){return{projectName:"member"}},methods:{changeRoute:function(t,e){var a=this;e?window.location.href=t:a.$router.push(t)}}},s=o,i=(a("6b4b"),a("2877")),l=Object(i["a"])(s,n,r,!1,null,"2c2a2724",null);e["a"]=l.exports},"56b3":function(t,e,a){"use strict";a.r(e);var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"my-customer-wrap common-set-wrap"},[n("nav-crumb",{attrs:{navpath:t.navpath}}),n("div",{staticClass:"right-content"},[n("div",{staticClass:"right-box",staticStyle:{"min-height":"calc(100vh - 104px)"}},[n("div",{staticClass:"apps-content flex",staticStyle:{"min-height":"calc(100vh - 104px)"}},[n("div",{staticClass:"apps-content-right"},[n("div",{staticClass:"flex flex-space-between"},[n("div",{staticStyle:{width:"643px"}},[n("div",{staticClass:"el-alert el-alert--info flex flex-align-start",staticStyle:{width:"643px"},attrs:{role:"alert"}},[n("i",{staticClass:"el-alert__icon el-icon-info font-12 color-2f54eb"}),n("div",{staticClass:"el-alert__content"},[n("span",{staticClass:"el-alert__title color-606266 font-14"},[t._v("提示:授权的商户,需在同一个微信开放平台主体下;最多授权10个商户。 ")]),n("el-button",{attrs:{type:"text"},on:{click:t.openUrl}},[t._v("主体查询方法")])],1)])]),n("el-button",{attrs:{type:"primary"},on:{click:function(e){return t.changeRoute("/newAuthMerchant")}}},[t._v("新建GIC商户授权")])],1),n("div",{staticClass:"m-t-20"},[n("el-table",{ref:"multipleTable",staticClass:"select-table",style:{width:"100%",minHeight:t.tableH},attrs:{data:t.tableData,"tooltip-effect":"dark"}},[n("el-table-column",{attrs:{prop:"",label:"商户列表",width:"238"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("div",{staticClass:"ul-li-cell flex"},[n("div",{staticClass:"cell-img"},[e.row.enterpriseLogo?n("img",{attrs:{src:e.row.enterpriseLogo,alt:"img"}}):n("img",{attrs:{src:a("6ce2"),alt:"img"}})]),n("div",{staticClass:"cell-info"},[n("div",{staticClass:"cell-info-name flex font-14 color-303133"},[n("span",{staticClass:"gic-name"},[t._v(t._s(e.row.enterpriseName||"--"))]),n("span",{staticClass:"gic-version"},[t._v(t._s(e.row.version||"--"))])]),n("div",{staticClass:"cell-info-name flex font-14 color-303133"},[n("span",{staticClass:"gic-name"},[t._v(t._s(e.row.brandName||"--"))])])])])]}}])}),n("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.bindRange||"--")+"\n ")]}}])},[n("template",{slot:"header"},[n("el-tooltip",{staticClass:"item",attrs:{effect:"dark",placement:"right"}},[n("div",{attrs:{slot:"content"},slot:"content"},[t._v("\n 绑定门店拥有门店资源管理权限。能查看数据,绑定导购账号,管理门店等\n ")]),n("span",{staticClass:"common-bottom-border"},[t._v("绑定门店")])])],1)],2),n("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.shareRange||"--")+"\n ")]}}])},[n("template",{slot:"header"},[n("el-tooltip",{staticClass:"item",attrs:{effect:"dark",placement:"right"}},[n("div",{attrs:{slot:"content"},slot:"content"},[t._v("\n 共享门店拥有门店资源查看权限。仅能授权查看数据,"),n("br"),t._v("如会员数据,任务数据等,但无法操作及进行导购账号绑定\n ")]),n("span",{staticClass:"common-bottom-border"},[t._v("共享门店")])])],1)],2),n("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||"--"))]}}])}),n("el-table-column",{attrs:{prop:"",label:"授权时间","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[n("div",{staticClass:"line-18"},[t._v(t._s(t._f("timeStampToYmd")(e.row.createTime)))]),n("div",{staticClass:"line-18"},[t._v(t._s(t._f("timeStampToHms")(e.row.createTime)))])]}}])}),n("el-table-column",{attrs:{prop:"",label:"更新时间","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[n("div",{staticClass:"line-18"},[t._v(t._s(t._f("timeStampToYmd")(e.row.updateTime)))]),n("div",{staticClass:"line-18"},[t._v(t._s(t._f("timeStampToHms")(e.row.updateTime)))])]}}])}),n("el-table-column",{attrs:{prop:"",label:"操作",width:"203"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("el-button",{attrs:{type:"text"},on:{click:function(a){return t.toEdit(e.$index,e.row)}}},[t._v("编辑授权设置")]),n("el-button",{attrs:{type:"text"},on:{click:function(a){return t.toAuditLog(e.$index,e.row)}}},[t._v("审核日志")])]}}])})],1)],1)])])])])],1)},r=[],o=a("29b6"),s=a("21f4"),i=s["a"].getAuthEnterprise,l={name:"AuthMerchant",components:{navCrumb:o["a"]},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:[]}},mounted:function(){var t=this;t.getTableList(),document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},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(){var t=this,e={wxEnterpriseId:t.wxEnterpriseId};i(e).then((function(e){t.tableData=e.result||[]})).catch((function(t){}))}}},c=l,u=(a("0af9"),a("2877")),p=Object(u["a"])(c,n,r,!1,null,"42cc69b9",null);e["default"]=p.exports},"6b4b":function(t,e,a){"use strict";var n=a("76d4"),r=a.n(n);r.a},"6ce2":function(t,e,a){t.exports=a.p+"img/member.1eda5d6c.png"},"71f6":function(t,e,a){"use strict";a.d(e,"a",(function(){return r}));a("ac6a"),a("456d");var n=a("b775");function r(t,e){t=t||{};var a=Object.keys(t);return a.forEach((function(a){var r=t[a];"string"===typeof r&&(r={url:r}),r.url="".concat(e).concat(r.url),t[a]=function(t){return Object(n["a"])(r,t)}})),t}},"76d4":function(t,e,a){}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-4b3e5aec"],{"21f4":function(t,e,a){"use strict";var n=a("71f6"),r={getAuthEnterprise:"/auth-enterprise-list",getGroupList:"/department-list",getStoreList:"/store-list",getAuthDetail:"/enterprise-auth-detail",getAuditLog:"/enterprise-auth-audit-list",cancelAudit:{url:"/enterprise-auth-audit",method:"post",useFormData:!0,useIntercept:!1},getAuditLogDetail:"/enterprise-auth-audit-range-detail",getEnterprise:"/enterprise-search",getGicAdmin:"/gic-manage-list",postEnterpriseAuth:{url:"/enterprise-auth",method:"post",useFormData:!0,useIntercept:!1},getEnterpriseDetail:"/gic-enterprise-detail"};r=Object(n["a"])(r,"/hb-manage-web"),e["a"]=r},"29b6":function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"nav-wrap border-box"},[a("el-breadcrumb",{attrs:{"separator-class":"el-icon-arrow-right"}},[t._l(t.navpath,(function(e,n){return[e.path?[a("el-breadcrumb-item",{key:"nav"+n,attrs:{to:{path:e.path}},on:{click:function(a){return t.changeRoute(e.path,e.relocation)}}},[a("span",{staticClass:"el-breadcrumb__inner is-link",on:{click:function(a){return t.changeRoute(e.path,e.relocation)}}},[t._v("\n "+t._s(e.name)+"\n ")])])]:[a("el-breadcrumb-item",{key:"nav"+n},[t._v(t._s(e.name))])]]}))],2)],1)},r=[],o={name:"NavPath",props:{navpath:{type:Array,default:function(){return[]}}},data:function(){return{projectName:"member"}},methods:{changeRoute:function(t,e){var a=this;e?window.location.href=t:a.$router.push(t)}}},s=o,i=(a("6b4b"),a("2877")),l=Object(i["a"])(s,n,r,!1,null,"2c2a2724",null);e["a"]=l.exports},"402e":function(t,e,a){"use strict";var n=a("f363"),r=a.n(n);r.a},"56b3":function(t,e,a){"use strict";a.r(e);var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"my-customer-wrap common-set-wrap"},[n("nav-crumb",{attrs:{navpath:t.navpath}}),n("div",{staticClass:"right-content"},[n("div",{staticClass:"right-box",staticStyle:{"min-height":"calc(100vh - 104px)"}},[n("div",{staticClass:"apps-content flex",staticStyle:{"min-height":"calc(100vh - 104px)"}},[n("div",{staticClass:"apps-content-right"},[n("div",{staticClass:"flex flex-space-between"},[n("div",{staticStyle:{width:"643px"}},[n("div",{staticClass:"el-alert el-alert--info flex flex-align-start",staticStyle:{width:"643px"},attrs:{role:"alert"}},[n("i",{staticClass:"el-alert__icon el-icon-info font-12 color-2f54eb"}),n("div",{staticClass:"el-alert__content"},[n("span",{staticClass:"el-alert__title color-606266 font-14"},[t._v("提示:授权的商户,需在同一个微信开放平台主体下;最多授权10个商户。 ")]),n("el-button",{attrs:{type:"text"},on:{click:t.openUrl}},[t._v("主体查询方法")])],1)])]),n("el-button",{attrs:{type:"primary"},on:{click:function(e){return t.changeRoute("/newAuthMerchant")}}},[t._v("新建GIC商户授权")])],1),n("div",{staticClass:"m-t-20"},[n("el-table",{ref:"multipleTable",staticClass:"select-table",style:{width:"100%",minHeight:t.tableH},attrs:{data:t.tableData,"tooltip-effect":"dark"}},[n("el-table-column",{attrs:{prop:"",label:"商户列表",width:"238"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("div",{staticClass:"ul-li-cell flex"},[n("div",{staticClass:"cell-img"},[e.row.enterpriseLogo?n("img",{attrs:{src:e.row.enterpriseLogo,alt:"img"}}):n("img",{attrs:{src:a("6ce2"),alt:"img"}})]),n("div",{staticClass:"cell-info"},[n("div",{staticClass:"cell-info-name flex font-14 color-303133"},[n("span",{staticClass:"gic-name"},[t._v(t._s(e.row.enterpriseName||"--"))]),n("span",{staticClass:"gic-version"},[t._v(t._s(e.row.version||"--"))])]),n("div",{staticClass:"cell-info-name flex font-14 color-303133"},[n("span",{staticClass:"gic-name"},[t._v(t._s(e.row.brandName||"--"))])])])])]}}])}),n("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.bindRange||"--")+"\n ")]}}])},[n("template",{slot:"header"},[n("el-tooltip",{staticClass:"item",attrs:{effect:"dark",placement:"right"}},[n("div",{attrs:{slot:"content"},slot:"content"},[t._v("\n 绑定门店拥有门店资源管理权限。能查看数据,绑定导购账号,管理门店等\n ")]),n("span",{staticClass:"common-bottom-border"},[t._v("绑定门店")])])],1)],2),n("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.shareRange||"--")+"\n ")]}}])},[n("template",{slot:"header"},[n("el-tooltip",{staticClass:"item",attrs:{effect:"dark",placement:"right"}},[n("div",{attrs:{slot:"content"},slot:"content"},[t._v("\n 共享门店拥有门店资源查看权限。仅能授权查看数据,"),n("br"),t._v("如会员数据,任务数据等,但无法操作及进行导购账号绑定\n ")]),n("span",{staticClass:"common-bottom-border"},[t._v("共享门店")])])],1)],2),n("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||"--"))]}}])}),n("el-table-column",{attrs:{prop:"",label:"授权时间","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[n("div",{staticClass:"line-18"},[t._v(t._s(t._f("timeStampToYmd")(e.row.createTime)))]),n("div",{staticClass:"line-18"},[t._v(t._s(t._f("timeStampToHms")(e.row.createTime)))])]}}])}),n("el-table-column",{attrs:{prop:"",label:"更新时间","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[n("div",{staticClass:"line-18"},[t._v(t._s(t._f("timeStampToYmd")(e.row.updateTime)))]),n("div",{staticClass:"line-18"},[t._v(t._s(t._f("timeStampToHms")(e.row.updateTime)))])]}}])}),n("el-table-column",{attrs:{prop:"",label:"操作",width:"203"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("el-button",{attrs:{type:"text"},on:{click:function(a){return t.toEdit(e.$index,e.row)}}},[t._v("编辑授权设置")]),n("el-button",{attrs:{type:"text"},on:{click:function(a){return t.toAuditLog(e.$index,e.row)}}},[t._v("审核日志")])]}}])})],1)],1)])])])])],1)},r=[],o=a("29b6"),s=a("21f4"),i=s["a"].getAuthEnterprise,l={name:"AuthMerchant",components:{navCrumb:o["a"]},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:[]}},mounted:function(){var t=this;t.getTableList(),document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},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(){var t=this,e={wxEnterpriseId:t.wxEnterpriseId};i(e).then((function(e){t.tableData=e.result||[]})).catch((function(t){}))}}},c=l,u=(a("402e"),a("2877")),p=Object(u["a"])(c,n,r,!1,null,"e06f66ac",null);e["default"]=p.exports},"6b4b":function(t,e,a){"use strict";var n=a("76d4"),r=a.n(n);r.a},"6ce2":function(t,e,a){t.exports=a.p+"img/member.1eda5d6c.png"},"71f6":function(t,e,a){"use strict";a.d(e,"a",(function(){return r}));a("ac6a"),a("456d");var n=a("b775");function r(t,e){t=t||{};var a=Object.keys(t);return a.forEach((function(a){var r=t[a];"string"===typeof r&&(r={url:r}),r.url="".concat(e).concat(r.url),t[a]=function(t){return Object(n["a"])(r,t)}})),t}},"76d4":function(t,e,a){},f363:function(t,e,a){}}]);
\ No newline at end of file
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2019-03-20 14:36:37
* @LastEditors: 无尘
* @LastEditTime: 2020-08-31 14:28:54
* @LastEditTime: 2020-08-31 14:35:56
-->
<template>
<div class="my-customer-wrap common-set-wrap">
......@@ -23,7 +23,7 @@
<div class="auth-merchant-name flex">
<span class="font-14 color-606266 merchant-name-span">{{ enterpriseObj.enterpriseName || '--' }}</span><el-tag class="m-l-10" size="mini" type="danger">{{ enterpriseObj.versionName || '4.0'}}</el-tag>
</div>
<div class="auth-merchant-name">
<div class="auth-merchant-name flex">
<span class="font-14 color-606266 merchant-name-span">{{ enterpriseObj.brandName || '--' }}</span>
</div>
</div>
......@@ -346,7 +346,7 @@ export default {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
.merchant-name-span {//width: 100%;
.merchant-name-span {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
......
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