(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-7e230d68","chunk-ae7cb8dc","chunk-ae7cb8dc"],{"22c1":function(t,e,n){"use strict";n("8d8d")},"3e0f":function(t,e,n){"use strict";n.d(e,"n",(function(){return s})),n.d(e,"b",(function(){return r})),n.d(e,"a",(function(){return o})),n.d(e,"i",(function(){return u})),n.d(e,"m",(function(){return d})),n.d(e,"j",(function(){return l})),n.d(e,"l",(function(){return b})),n.d(e,"k",(function(){return m})),n.d(e,"c",(function(){return p})),n.d(e,"p",(function(){return f})),n.d(e,"o",(function(){return v})),n.d(e,"e",(function(){return h})),n.d(e,"g",(function(){return g})),n.d(e,"d",(function(){return y})),n.d(e,"f",(function(){return _})),n.d(e,"h",(function(){return k}));var a=n("b775"),c="/api-pay",i={payOrgList:c+"/backend/org/list",accountList:c+"/backend/account/list",payAccountDel:c+"/backend/account/delete",newPayAccount:c+"/backend/account/create",payCurrency:c+"/backend/org/currency",payAccountDetail:c+"/backend/account/detail",payAccountUpdate:c+"/backend/account/update",payAccountMethod:c+"/backend/account/method",configDetail:c+"/backend/account/config/detail",saveSelectAccount:c+"/backend/account/select",saveConfigAccount:c+"/backend/account/config/save",customsPaymentList:c+"/backend/customs_payment/list",customsPaymentUpdate:c+"/backend/customs_payment/update",customsPaymentDetail:c+"/backend/customs_payment/detail",customsPaymentLogList:c+"/backend/customs_payment/log_list",getOrgDetail:c+"/backend/org/detail"};function s(t){return Object(a["b"])({url:i.payOrgList,method:"get",params:t})}function r(t){return Object(a["b"])({url:i.accountList,method:"get",params:t})}function o(t){return Object(a["b"])({url:i.payAccountDel,method:"post",data:t})}function u(t){return Object(a["b"])({url:i.newPayAccount,method:"post",data:t})}function d(t){return Object(a["b"])({url:i.payCurrency,method:"get",params:t})}function l(t){return Object(a["b"])({url:i.payAccountDetail,method:"get",params:t})}function b(t){return Object(a["b"])({url:i.payAccountUpdate,method:"post",data:t})}function m(t){return Object(a["b"])({url:i.payAccountMethod,method:"get",params:t})}function p(t){return Object(a["b"])({url:i.configDetail,method:"get",params:t})}function f(t){return Object(a["b"])({url:i.saveSelectAccount,method:"post",data:t})}function v(t){return Object(a["b"])({url:i.saveConfigAccount,method:"post",data:t})}function h(t){return Object(a["b"])({url:i.customsPaymentList,method:"get",params:t})}function g(t){return Object(a["b"])({url:i.customsPaymentUpdate,method:"post",data:t})}function y(t){return Object(a["b"])({url:i.customsPaymentDetail,method:"get",params:t})}function _(t){return Object(a["b"])({url:i.customsPaymentLogList,method:"get",params:t})}function k(t){return Object(a["b"])({url:i.getOrgDetail,method:"get",params:t})}},5633:function(t,e,n){"use strict";var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"customBread"},[n("div",{staticClass:"page-header clearfix"},[n("div",{staticClass:"page-header-index-wide",staticStyle:{float:"left"}},[n("a-breadcrumb",{staticClass:"breadcrumb"},t._l(t.breadList.loopBread,(function(e){return n("a-breadcrumb-item",{key:e.name},[e.href?n("router-link",{attrs:{to:{path:e.href}}},[t._v("\n "+t._s(e.title)+"\n ")]):n("span",[t._v(t._s(e.title))])],1)})),1),n("div",{staticClass:"detail"},[n("div",{staticClass:"customBreadcrumb-current"},[n("h1",{staticClass:"title"},[t._v(t._s(t.breadList.current))]),t.breadList.showNote&&t.breadList.isText?n("a-tooltip",{attrs:{placement:"bottomLeft"}},[n("template",{slot:"title"},[n("div",{domProps:{innerHTML:t._s(t.noteRender())}})]),n("a-icon",{staticClass:"customBreadcrumb-icon",attrs:{type:"exclamation-circle"}})],2):t.breadList.showNote?n("a-popover",{attrs:{placement:"bottomLeft",overlayClassName:"custom-crumbcrumb-tips"}},[n("template",{slot:"content"},[n("div",{domProps:{innerHTML:t._s(t.noteRender())}})]),n("a-icon",{staticClass:"customBreadcrumb-icon",attrs:{type:"exclamation-circle"}})],2):t._e()],1)])],1),n("div",{staticClass:"customBreadRight"},[t._t("default")],2)])])},c=[],i={props:{breadList:{type:Object,required:!0}},methods:{noteRender:function(){var t=this.breadList.current;switch(t){case"热搜词":return'\n
\n
\n
\n \n
\n
\n
\n ';case"搜索暗文":return'\n
\n
\n
\n \n
\n
\n
\n ';case"搜索跳转":return'\n
\n
\n
\n 设置搜索词跳转到指定的落地页\n
\n
\n
\n ';case"搜索联想词":return'\n
\n
\n
\n \n
\n
\n
\n ';case"热推商品":return'\n
\n
\n
\n 搜索商品列表页、运营分类商品列表页、品牌商品列表页、店铺商品列表页的商品,优先展示热推商品,同为热推商品,按排序值由小到大展示。\n
\n
\n
\n ';case"搜索无结果关联词":return'\n
\n
\n
\n \n
\n
\n
\n ';case"商品排序得分":return'\n
\n
\n

商品综合排序规则说明:

\n
    \n
  1. 无库存商品,排在有库存商品之后
  2. \n
  3. 热推商品展示在前,非热推商品展示在后;热推商品按热推商品排序值由小到大排序
  4. \n
  5. 运营分类商品列表:按运营分类人工排值由小到大排序(不适用搜索商品列表页、品牌商品列表页、店铺商品列表页)
  6. \n
  7. \n 排序值相同,按系统自动计算的商品排序得分由大到小排序。
    \n 商品排序得分="0.7*支付件数+0.03*下单件数+0.02*加购件数+0.05*访问uv+0.2*新品得分(新品=1,否则=0)
    \n 支付件数:最近一年已支付状态订单的sku件数合计
    \n 下单件数:最近一年所有状态订单的sku件数合计
    \n 加购件数:最近一年加入购物车的sku件数合计
    \n 访问uv:最近一年商品浏览访问uv合计
    \n 新品得分:新品=1,否则=0。设置新品规则 >>\n
  8. \n
  9. 若人工排序值和系统排序值都相同,则按照搜索引擎返回的顺序排序
  10. \n
\n
\n
\n ';case"异款SPU规则":return'\n
\n
\n
\n 将属于规则设置范围内,且属于同一店铺、同一品牌、同一品类,且符合价格最大极差的不同款商品,聚合成一个SPU商品\n
\n
\n
\n ';case"主图视频":return'\n
\n
\n
\n 按SPU编码维度,通过第三方视频生成服务,使用商品主图生成主图视频\n
\n
\n
\n ';default:return""}}}},s=i,r=(n("22c1"),n("2877")),o=Object(r["a"])(s,a,c,!1,null,"ceaaba20",null);e["a"]=o.exports},"5bc6":function(t,e,n){"use strict";n("d0955")},"683a":function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"hidden-modal-form-padding-bottom"},[n("custom-bread",{attrs:{breadList:t.breadList}}),n("div",{staticClass:"account-list-content"},[n("a-layout",[n("a-layout-content",[n("a-list",{staticStyle:{"min-height":"136px"},attrs:{grid:{gutter:16,column:4},dataSource:t.orgData,loading:t.orgLoading},scopedSlots:t._u([{key:"renderItem",fn:function(e){return n("a-list-item",{key:"item.title"},[n("a-card",{staticClass:"account-card"},[n("div",{staticClass:"content"},[n("div",{staticClass:"left"},[n("div",{staticClass:"title"},[t._v("\n "+t._s(e.name)+"\n ")]),n("div",{staticClass:"explain"},[t._v("\n 支付机构说明:\n "),n("a-tooltip",{attrs:{title:e.description}},[t._v("\n "+t._s(e.description)+"\n ")])],1)]),n("div",{staticClass:"right"},[n("img",{attrs:{slot:"extra",width:"60",height:"60",alt:"icon",src:e.icon},slot:"extra"})])]),n("a-button",{directives:[{name:"permission",rawName:"v-permission",value:"system:/backend/account/create",expression:"'system:/backend/account/create'"}],style:{width:"50px",height:"21px"},attrs:{type:"primary",ghost:"",size:"small"},on:{click:function(n){return t.enterNewAccount(e.code)}}},[t._v("\n 添加\n ")])],1)],1)}}])})],1),n("a-layout-content",{style:{background:"#fff",padding:"24px",minHeight:"652px"}},[n("a-table",{ref:"table",attrs:{dataSource:t.dataSource,columns:t.columns,loading:t.loading,rowKey:t.rowKeyMethod,pagination:!1},scopedSlots:t._u([{key:"methods",fn:function(e,a){return[t._l(a.methods,(function(e){return[n("img",{key:e.icon,attrs:{src:e.icon,height:"32"}}),n("span",{key:e.code},[t._v(" "+t._s(e.name)+" ")]),t._v("\n     \n ")]}))]}},{key:"Operation",fn:function(e,a){return[n("a",{directives:[{name:"permission",rawName:"v-permission",value:"system:/backend/account/delete",expression:"'system:/backend/account/delete'"}],on:{click:function(e){return t.delList(a.id)}}},[t._v("删除")]),n("router-link",{directives:[{name:"permission",rawName:"v-permission",value:"system:/backend/account/update",expression:"'system:/backend/account/update'"}],attrs:{to:{path:"/setting/payments/editPayAccount/"+a.id+"/"+a.org_code+"/websiteId/"+t.websiteId}}},[t._v("  编辑")])]}}])})],1),n("account-ask",{ref:"accountAsk",on:{updateStatus:t.updateStatus}})],1)],1)],1)},c=[],i=(n("c5f6"),n("5633")),s=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div")},r=[],o=(n("a481"),n("de6a")),u={props:{returnUrl:{type:String,default:""}},methods:{remoteMethod:function(t,e,n){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},c=a.isUpdate,i=void 0===c||c,s=this;this.$confirm({icon:function(t){return t(o["a"])},title:t,onOk:function(){e(n).then((function(t){t&&0===t.status&&(s.$message.success("操作成功"),i?s.$emit("updateStatus"):s.$router.replace({path:s.returnUrl}))})).catch((function(){}))}})}}},d=u,l=n("2877"),b=Object(l["a"])(d,s,r,!1,null,null,null),m=b.exports,p=n("3e0f"),f=[{title:"商户ID/client id",dataIndex:"client_id",key:"client_id",width:"20%",ellipsis:!0,scopedSlots:{customRender:"client_id"}},{title:"支付机构",dataIndex:"org_name",key:"org_name",width:"15%",scopedSlots:{customRender:"org_name"}},{title:"支持支付方式",dataIndex:"methods",key:"methods",width:"30%",ellipsis:!0,scopedSlots:{customRender:"methods"}},{title:"结算币种",dataIndex:"checkout_currency",key:"checkout_currency",width:"20%",scopedSlots:{customRender:"checkout_currency"}},{title:"操作",dataIndex:"Operation",key:"Operation",width:"15%",scopedSlots:{customRender:"Operation"}}],v={data:function(){return{breadList:{current:"支付账户",loopBread:[{name:"1",title:"工作台",href:"/dashboard"},{name:"2",title:"设置"},{name:"3",title:"支付设置"},{name:"4",title:"支付账户"}]},dataSource:[],orgData:[],columns:f,loading:!1}},components:{customBread:i["a"],accountAsk:m},computed:{websiteId:function(){return this.$store.getters.websiteId}},watch:{websiteId:function(t,e){Number(t)!==Number(e)&&this.getAccountList()}},methods:{getOrgList:function(){var t=this;this.orgLoading=!0,Object(p["n"])().then((function(e){var n=e.data;n&&(t.orgLoading=!1,t.orgData=n.rows)}))},getAccountList:function(){var t=this;this.loading=!0,Object(p["b"])().then((function(e){var n=e.data;n&&(t.loading=!1,t.dataSource=n.rows)}))},enterNewAccount:function(t,e){this.$router.push({path:"/setting/payments/newPayAccount/".concat(t,"/websiteId/").concat(this.$store.getters.websiteId)})},delList:function(t){return this.$refs.accountAsk.remoteMethod("确定删除此支付账户?",p["a"],{id:t},{isUpdate:!0})},updateStatus:function(){this.getAccountList()},rowKeyMethod:function(t,e){return e}},created:function(){this.$store.commit("SET_Comsumer_Stop_Select_Website",!1),this.getOrgList(),this.getAccountList()}},h=v,g=(n("5bc6"),Object(l["a"])(h,a,c,!1,null,"32fac3a1",null));e["default"]=g.exports},"8d8d":function(t,e,n){},d0955:function(t,e,n){}}]);