Commit 76b47598 by 无尘

fix: 修改人群接口字段

parent 90985541
.m-l-20[data-v-77549889]{margin-left:20px}.li-cell[data-v-77549889]{position:relative;line-height:32px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.li-cell .color-fff[data-v-77549889]{color:#fff}.li-cell.li-cell-active[data-v-77549889]{background:rgba(47,84,235,.05)}.li-cell.li-cell-active span[data-v-77549889]{color:#2f54eb}.li-cell.li-cell-active .color-fff[data-v-77549889]{color:rgba(47,84,235,.05)}.li-cell-inner[data-v-77549889]{line-height:32px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.w-110[data-v-77549889]{width:110px}.w-320[data-v-77549889]{width:320px}.m-t-14[data-v-77549889]{margin-top:14px}.child-row[data-v-77549889]{padding-left:10px}.w-100[data-v-fd304c4a]{width:100px}.w-402[data-v-fd304c4a]{width:402px}.m-b-20[data-v-fd304c4a]{margin-bottom:20px}.p-l-18[data-v-fd304c4a]{padding-left:18px}.span-line[data-v-fd304c4a]{position:relative;padding:0 15px}.span-line[data-v-fd304c4a]:after{content:"";position:absolute;top:5px;height:11px;width:1px;background:#c4c6cf}.color-f5222d[data-v-fd304c4a]{color:#f5222d}.clerk-list-ul[data-v-fd304c4a]{min-height:40px;max-height:400px;overflow-y:auto}.check-all[data-v-fd304c4a]{background:#f5f7fa;height:36px;line-height:36px;padding:0 10px}.clerk-cell[data-v-fd304c4a]{height:40px;line-height:40px;padding:0 10px;border-bottom:1px solid #e4e7ed}.m-b-20[data-v-1ace32a0]{margin-bottom:20px}.w-274[data-v-1ace32a0]{width:274px}.w-500[data-v-4b24b7a2]{width:500px}.w-195[data-v-4b24b7a2]{width:195px}.line-h-18[data-v-4b24b7a2]{line-height:18px}.p-20[data-v-4b24b7a2]{padding:20px}.p-l-38[data-v-4b24b7a2]{padding-left:38px}.p-l-199[data-v-4b24b7a2]{padding-left:199px}.m-b-10[data-v-4b24b7a2]{margin-bottom:10px}.el-breadcrumb__inner.is-link[data-v-4b24b7a2]:hover,.el-breadcrumb__inner a[data-v-4b24b7a2]:hover{color:#2f54eb}.m-t-46[data-v-4b24b7a2]{margin-top:46px}.set-tip-item[data-v-4b24b7a2]{line-height:22px;padding-left:25px}.customer-assign-wrap[data-v-4b24b7a2]{height:100%;background:#fff}.customer-assign-wrap .customer-assign-set[data-v-4b24b7a2]{padding:30px}.customer-assign-wrap .el-tabs[data-v-4b24b7a2] .el-tabs__header{margin:0}.customer-assign-wrap .list-body[data-v-4b24b7a2]{position:relative;width:100%}.customer-assign-wrap .list-body .list-left[data-v-4b24b7a2]{position:relative;width:300px;min-width:300px;max-width:300px;padding:20px 0 0 0}.customer-assign-wrap .list-body .list-right[data-v-4b24b7a2]{position:relative;min-width:calc(100% - 300px);min-height:calc(100vh - 94px);border-left:1px solid #e4e7ed}
\ No newline at end of file
.line-18[data-v-6ed4f556]{line-height:18px}.w-165[data-v-6ed4f556]{width:165px}.font-22[data-v-27267de8]{font-size:22px}.common-bottom-border[data-v-27267de8]{cursor:pointer;padding-bottom:2px;border-bottom:1px dashed #2f54eb}.w-162[data-v-27267de8]{width:162px}.crowd-scene-table .line-18[data-v-27267de8]{line-height:18px}
\ No newline at end of file
.line-18[data-v-6ed4f556]{line-height:18px}.w-165[data-v-6ed4f556]{width:165px}.font-22[data-v-897dfcec]{font-size:22px}.common-bottom-border[data-v-897dfcec]{cursor:pointer;padding-bottom:2px;border-bottom:1px dashed #2f54eb}.w-162[data-v-897dfcec]{width:162px}.crowd-scene-table .line-18[data-v-897dfcec]{line-height:18px}
\ No newline at end of file
.input-line-cell[data-v-21d307f1]{position:relative;display:inline-block}.input-line-cell.limit-color .input-cell-tip[data-v-21d307f1]{color:hsla(0,0%,100%,.7)}.input-line-cell .input-cell-tip[data-v-21d307f1]{position:absolute;top:2px;right:10px;display:inline-block;line-height:32px;text-align:right;font-size:12px;color:#c0c4cc}.w-340[data-v-21d307f1]{width:340px}.w-340[data-v-21d307f1] .el-input__inner{font-size:14px;color:#fff;background-color:hsla(0,0%,100%,.1)}.el-input[data-v-21d307f1] .el-input__inner{font-size:14px;color:#606266;background-color:hsla(0,0%,100%,.1)}.el-input.is-disabled[data-v-21d307f1]{opacity:.5}.el-input .is-disabled[data-v-21d307f1] .el-input__inner{font-size:14px;color:#fff;background-color:hsla(0,0%,100%,.1)}.tag-classify-drop .el-dropdown-menu__item[data-v-1379fc6e]{padding:0 30px}.tag-classify-body .tag-classify-item[data-v-1379fc6e]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:5px 10px 5px 20px;font-size:14px;font-weight:400;line-height:20px;margin-bottom:10px;color:#606266;cursor:pointer}.tag-classify-body .tag-classify-item.active[data-v-1379fc6e],.tag-classify-body .tag-classify-item[data-v-1379fc6e]:hover{color:#2f54ed;background-color:rgba(47,84,235,.05)}.tag-classify-body .tag-classify-item:hover .edit-icon[data-v-1379fc6e]{opacity:1;color:#2f54ed;background-color:rgba(47,84,235,.09)}.tag-classify-body .tag-classify-item .edit-icon[data-v-1379fc6e]{padding:4px;opacity:0;font-size:12px}.tag-classify-body .tag-classify-item .tag-classify-name[data-v-1379fc6e]{display:block;width:90%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tag-classify-body .no-data[data-v-1379fc6e]{padding:10px 0 40px 0;text-align:center;color:#909399}.m-t-5[data-v-2d5de782]{margin-top:5px}.el-form .el-input[data-v-2d5de782],.el-form .el-select[data-v-2d5de782]{width:440px}.el-form .input-tag-div[data-v-2d5de782]{position:relative}.el-form .input-tag-div .input-cell-tip[data-v-2d5de782]{position:absolute;top:2px;right:20px;display:inline-block;line-height:30px;text-align:right;font-size:12px;color:#c0c4cc;font-weight:400}.w-117[data-v-7692875b]{width:117px}.font-22[data-v-7692875b]{font-size:22px}.clerk-tag-body .clerk-tag-left[data-v-7692875b]{position:relative;width:190px;min-width:190px;max-width:190px;padding:30px 0 0 0}.clerk-tag-body .clerk-tag-left .clerk-tag-add .el-button[data-v-7692875b]{border-style:dashed}.clerk-tag-body .clerk-tag-right[data-v-7692875b]{position:relative;min-width:calc(100% - 190px);min-height:calc(100vh - 94px);border-left:1px solid #e4e7ed}
\ No newline at end of file
.input-line-cell[data-v-21d307f1]{position:relative;display:inline-block}.input-line-cell.limit-color .input-cell-tip[data-v-21d307f1]{color:hsla(0,0%,100%,.7)}.input-line-cell .input-cell-tip[data-v-21d307f1]{position:absolute;top:2px;right:10px;display:inline-block;line-height:32px;text-align:right;font-size:12px;color:#c0c4cc}.w-340[data-v-21d307f1]{width:340px}.w-340[data-v-21d307f1] .el-input__inner{font-size:14px;color:#fff;background-color:hsla(0,0%,100%,.1)}.el-input[data-v-21d307f1] .el-input__inner{font-size:14px;color:#606266;background-color:hsla(0,0%,100%,.1)}.el-input.is-disabled[data-v-21d307f1]{opacity:.5}.el-input .is-disabled[data-v-21d307f1] .el-input__inner{font-size:14px;color:#fff;background-color:hsla(0,0%,100%,.1)}.tag-classify-drop .el-dropdown-menu__item[data-v-0e76ecb2]{padding:0 30px}.tag-classify-body .tag-classify-item[data-v-0e76ecb2]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:5px 10px 5px 20px;font-size:14px;font-weight:400;line-height:20px;margin-bottom:10px;color:#606266;cursor:pointer}.tag-classify-body .tag-classify-item.active[data-v-0e76ecb2],.tag-classify-body .tag-classify-item[data-v-0e76ecb2]:hover{color:#2f54ed;background-color:rgba(47,84,235,.05)}.tag-classify-body .tag-classify-item:hover .edit-icon[data-v-0e76ecb2]{opacity:1;color:#2f54ed;background-color:rgba(47,84,235,.09)}.tag-classify-body .tag-classify-item .edit-icon[data-v-0e76ecb2]{padding:4px;opacity:0;font-size:12px}.tag-classify-body .tag-classify-item .tag-classify-name[data-v-0e76ecb2]{display:block;width:90%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tag-classify-body .no-data[data-v-0e76ecb2]{padding:10px 0 40px 0;text-align:center;color:#909399}.m-t-5[data-v-2d5de782]{margin-top:5px}.el-form .el-input[data-v-2d5de782],.el-form .el-select[data-v-2d5de782]{width:440px}.el-form .input-tag-div[data-v-2d5de782]{position:relative}.el-form .input-tag-div .input-cell-tip[data-v-2d5de782]{position:absolute;top:2px;right:20px;display:inline-block;line-height:30px;text-align:right;font-size:12px;color:#c0c4cc;font-weight:400}.w-117[data-v-bc8bea7c]{width:117px}.font-22[data-v-bc8bea7c]{font-size:22px}.clerk-tag-body .clerk-tag-left[data-v-bc8bea7c]{position:relative;width:190px;min-width:190px;max-width:190px;padding:30px 0 0 0}.clerk-tag-body .clerk-tag-left .clerk-tag-add .el-button[data-v-bc8bea7c]{border-style:dashed}.clerk-tag-body .clerk-tag-right[data-v-bc8bea7c]{position:relative;min-width:calc(100% - 190px);min-height:calc(100vh - 94px);border-left:1px solid #e4e7ed}
\ No newline at end of file
.m-l-20[data-v-77549889]{margin-left:20px}.li-cell[data-v-77549889]{position:relative;line-height:32px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.li-cell .color-fff[data-v-77549889]{color:#fff}.li-cell.li-cell-active[data-v-77549889]{background:rgba(47,84,235,.05)}.li-cell.li-cell-active span[data-v-77549889]{color:#2f54eb}.li-cell.li-cell-active .color-fff[data-v-77549889]{color:rgba(47,84,235,.05)}.li-cell-inner[data-v-77549889]{line-height:32px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.w-110[data-v-77549889]{width:110px}.w-320[data-v-77549889]{width:320px}.m-t-14[data-v-77549889]{margin-top:14px}.child-row[data-v-77549889]{padding-left:10px}.w-100[data-v-28a28a60]{width:100px}.w-402[data-v-28a28a60]{width:402px}.m-b-20[data-v-28a28a60]{margin-bottom:20px}.p-l-18[data-v-28a28a60]{padding-left:18px}.span-line[data-v-28a28a60]{position:relative;padding:0 15px}.span-line[data-v-28a28a60]:after{content:"";position:absolute;top:5px;height:11px;width:1px;background:#c4c6cf}.color-f5222d[data-v-28a28a60]{color:#f5222d}.clerk-list-ul[data-v-28a28a60]{min-height:40px;max-height:400px;overflow-y:auto}.check-all[data-v-28a28a60]{background:#f5f7fa;height:36px;line-height:36px;padding:0 10px}.clerk-cell[data-v-28a28a60]{height:40px;line-height:40px;padding:0 10px;border-bottom:1px solid #e4e7ed}.m-b-20[data-v-2e6228ab]{margin-bottom:20px}.w-274[data-v-2e6228ab]{width:274px}.w-500[data-v-502040d2]{width:500px}.w-195[data-v-502040d2]{width:195px}.line-h-18[data-v-502040d2]{line-height:18px}.p-20[data-v-502040d2]{padding:20px}.p-l-38[data-v-502040d2]{padding-left:38px}.p-l-199[data-v-502040d2]{padding-left:199px}.m-b-10[data-v-502040d2]{margin-bottom:10px}.el-breadcrumb__inner.is-link[data-v-502040d2]:hover,.el-breadcrumb__inner a[data-v-502040d2]:hover{color:#2f54eb}.m-t-46[data-v-502040d2]{margin-top:46px}.set-tip-item[data-v-502040d2]{line-height:22px;padding-left:25px}.customer-assign-wrap[data-v-502040d2]{height:100%;background:#fff}.customer-assign-wrap .customer-assign-set[data-v-502040d2]{padding:30px}.customer-assign-wrap .el-tabs[data-v-502040d2] .el-tabs__header{margin:0}.customer-assign-wrap .list-body[data-v-502040d2]{position:relative;width:100%}.customer-assign-wrap .list-body .list-left[data-v-502040d2]{position:relative;width:300px;min-width:300px;max-width:300px;padding:20px 0 0 0}.customer-assign-wrap .list-body .list-right[data-v-502040d2]{position:relative;min-width:calc(100% - 300px);min-height:calc(100vh - 94px);border-left:1px solid #e4e7ed}
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-49cb119c"],{"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},"36e6":function(t,e,a){"use strict";var n=a("801f"),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.companyName||"--"))])])])])]}}])}),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("36e6"),a("2877")),p=Object(u["a"])(c,n,r,!1,null,"0ed83f17",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){},"801f":function(t,e,a){}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-49cb119c"],{"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},checkName:"/",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},"36e6":function(t,e,a){"use strict";var n=a("801f"),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.companyName||"--"))])])])])]}}])}),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("36e6"),a("2877")),p=Object(u["a"])(c,n,r,!1,null,"0ed83f17",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){},"801f":function(t,e,a){}}]);
\ No newline at end of file
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-07-24 12:19:48
* @LastEditors: 无尘
* @LastEditTime: 2020-08-11 17:16:58
* @LastEditTime: 2020-09-08 11:09:52
*/
import getFetch from './get-fetch.js';
......@@ -20,6 +20,7 @@ let api = {
useFormData: true,
useIntercept: false
},
checkName: '/', // 校验名字
getAuditLogDetail: '/enterprise-auth-audit-range-detail', // 获取审核日志变更详情
getEnterprise: '/enterprise-search', // 获取商户(新增授权第一步)
getGicAdmin: '/gic-manage-list', // 切换商户 获取审核员列表
......
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-04-14 09:50:16
* @LastEditors: 无尘
* @LastEditTime: 2020-09-07 11:11:11
* @LastEditTime: 2020-09-08 10:52:11
-->
<!--
<customer-assign v-if="assignShow" :brand-id="brandId" :customer-assign-total="customerAssignTotal" :clerk-id="clerkId" :search-params="searchInput" :choose-all="selectRadio" :depart-obj="departObj" :multiple-data="multipleSelection" @closeText="closeText" @submitText="submitText"></customer-assign>
......@@ -279,7 +279,7 @@ export default {
const para = {
enterpriseId: that.brandId,
wxEnterpriseId: that.wxEnterpriseId,
storeId: that.departObj.storeId
storeInfoId: that.departObj.storeInfoId
};
getClerkList(para)
.then(res => {
......@@ -308,7 +308,7 @@ export default {
const para = {
enterpriseId: that.brandId,
wxEnterpriseId: that.wxEnterpriseId,
storeId: that.departObj.storeId,
storeInfoId: that.departObj.storeInfoId,
clerkId: that.clerkId,
keyword: that.searchParams
};
......@@ -358,9 +358,10 @@ export default {
});
that.loadBtn = true;
const data = {
wxEnterpriseId: that.wxEnterpriseId,
enterpriseId: that.brandId,
chooseAll: that.chooseAll,
storeId: that.departObj.storeId,
storeInfoId: that.departObj.storeInfoId,
clerkId: that.clerkId,
keyword: that.searchParams,
memberIds: that.chooseAll == 1 ? '' : Object.keys(that.editRow).length ? that.editRow.memberId : that.multipleData.map(ele => ele.memberId).join(','),
......
......@@ -3,7 +3,7 @@
* @Author : 无尘
* @Date : 2020-08-13 14:02:22
* @LastEditors: 无尘
* @LastEditTime: 2020-09-07 11:01:01
* @LastEditTime: 2020-09-08 10:50:39
* @FilePath : haoban-4\src\components\app\my-customer\store-list.vue
-->
<!--
......@@ -163,7 +163,7 @@ export default {
const that = this;
let para = {
wxEnterpriseId: that.wxEnterpriseId,
departmentId: that.departObj.storeGroupId,
storeGroupId: that.departObj.storeGroupId,
enterpriseId: that.brandId,
searchName: that.searchInput || '', // 搜索字段
pageNum: that.currentPage, // 当前页
......
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-09-01 11:09:16
* @LastEditors: 无尘
* @LastEditTime: 2020-09-08 09:27:17
* @LastEditTime: 2020-09-08 09:54:01
-->
<!--
<tag-classify-list :tag-list="tagList" :current-classify-id="currentClassifyId" :brand-id="brandId" @refreshClassify="refreshClassify" @resetCurrentId="resetCurrentId" @changeClass="changeClass"></tag-classify-list>
......@@ -18,8 +18,8 @@
<el-dropdown class="tag-classify-drop" placement="bottom-start">
<i class="iconfont icongengduo edit-icon"></i>
<el-dropdown-menu slot="dropdown">
<el-dropdown-item @click.native="toEditClassify(index, item)">编辑</el-dropdown-item>
<el-dropdown-item @click.native="toDelClassify(index, item)">删除</el-dropdown-item>
<el-dropdown-item styel="padding: 0 30px;" @click.native="toEditClassify(index, item)">编辑</el-dropdown-item>
<el-dropdown-item styel="padding: 0 30px;" @click.native="toDelClassify(index, item)">删除</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
</li>
......
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-08-31 16:11:50
* @LastEditors: 无尘
* @LastEditTime: 2020-09-02 15:15:13
* @LastEditTime: 2020-09-08 11:13:21
-->
<!--
<check-name-dialog :sync-data="syncData"></check-name-dialog>
......@@ -12,14 +12,25 @@
-->
<template>
<el-dialog class="check-name-dialog" title="" :visible.sync="dialogVisible" width="600px" :before-close="handleClose">
<div class="m-b-20"></div>
<div class="m-b-20">
<div class="font-14 color-606266 m-b-10">首次授权商户需要校验GIC商户超级管理员姓名</div>
<el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="100px" >
<el-form-item label="超级管理员" prop="name">
<span></span><el-input v-model="ruleForm.name" placeholder="输入姓名校验"></el-input>
</el-form-item>
</el-form>
</div>
<div slot="footer" class="dialog-footer">
<el-button @click.stop="cancel">取消</el-button>
<el-button type="primary" @click.stop="submitForm">确定</el-button>
<el-button type="primary" :loading="loading" @click.stop="submitForm('ruleForm')">确定</el-button>
</div>
</el-dialog>
</template>
<script>
import { _debounce } from '@/common/js/public';
import fetch from '@/api/merchant-auth.js';
import showMsg from '@/common/js/showmsg';
const { checkName } = fetch;
export default {
name: 'CheckNameDialog',
props: {
......@@ -34,7 +45,16 @@ export default {
},
data() {
return {
dialogVisible: true
dialogVisible: true,
loading: false,
ruleForm: {
name: ''
},
rules: {
name: [
{ required: true, message: '请输入姓名', trigger: 'blur' },
]
}
};
},
methods: {
......@@ -52,9 +72,35 @@ export default {
/**
* 确认验证
*/
submitForm() {
submitForm: _debounce(function(form) {
const that = this;
that.loading = true;
that.$refs[form].validate(valid => {
if (valid) {
that.postCheck();
} else {
that.loading = false;
return false;
}
});
}, 300),
postCheck() {
const that = this;
that.$emit('closeSet', 'success');
let params = {
};
checkName(params)
.then(res => {
that.loading = false;
if (res.code == '0000') {
showMsg.showmsg('校验成功', 'success');
that.$emit('closeSet', 'success');
}else {
showMsg.showmsg(res.message || '接口异常', 'warning');
}
})
.catch(function(error) {
that.loading = false;
});
}
}
};
......
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-08-28 16:51:22
* @LastEditors: 无尘
* @LastEditTime: 2020-09-08 09:29:21
* @LastEditTime: 2020-09-08 09:49:16
-->
<template>
......@@ -177,7 +177,7 @@ export default {
};
sortClerkTag(para)
.then(res => {
that.getGroupList();
that.getTableList();
if (res.code == '0000') {
showMsg.showmsg('操作成功', 'success');
}else {
......
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-08-27 10:16:37
* @LastEditors: 无尘
* @LastEditTime: 2020-09-07 18:14:32
* @LastEditTime: 2020-09-08 10:11:54
-->
<template>
......@@ -142,7 +142,11 @@ export default {
},
delData(sceneCrowdId) {
const that = this;
const para = { sceneCrowdId };
const para = {
sceneCrowdId,
wxEnterpriseId: that.wxEnterpriseId,
enterpriseId: that.brandId,
};
delCrowd(para)
.then(res => {
that.getGroupList();
......@@ -194,7 +198,11 @@ export default {
},
getVisiableData(sceneCrowdId) {
const that = this;
const para = { sceneCrowdId };
const para = {
wxEnterpriseId: that.wxEnterpriseId,
enterpriseId: that.brandId,
sceneCrowdId
};
getVisiable(para)
.then(res => {
that.selectMode = res.result.storeMode;
......
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-08-20 14:36:37
* @LastEditors: 无尘
* @LastEditTime: 2020-09-07 11:12:25
* @LastEditTime: 2020-09-08 10:56:34
-->
<template>
<div class="customer-assign-wrap">
......@@ -213,6 +213,7 @@ export default {
setData() {
const that = this;
const para = {
wxEnterpriseId: that.wxEnterpriseId,
enterpriseId: that.brandId,
switchType: 2
};
......@@ -237,6 +238,7 @@ export default {
getSetData() {
const that = this;
const para = {
wxEnterpriseId: that.wxEnterpriseId,
enterpriseId: that.brandId
};
getCustomerSet(para)
......@@ -559,7 +561,7 @@ export default {
const that = this;
let params = {
wxEnterpriseId: that.wxEnterpriseId,
departmentId: that.storeObj.storeGroupId
storeInfoId: that.storeObj.storeInfoId
};
getNavChain( params)
.then(res => {
......
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