(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2c2af90c","chunk-ae7cb8dc","chunk-ae7cb8dc"],{"1ec5":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",[n("custom-bread",{attrs:{breadList:t.breadList}}),n("div",{staticClass:"customContent"},[n("a-layout",{style:{}},[n("a-layout-content",{style:{background:"#fff",marginBottom:"16px",padding:"24px"}},[n("div",{staticClass:"tableForm"},[n("a-form",{attrs:{layout:"inline"},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.search(e)}}},[n("a-form-item",{attrs:{label:"版本号"}},[n("a-input",{staticStyle:{width:"174px"},attrs:{placeholder:t.$t("message.PleaseEnter")},model:{value:t.queryParam.version_number,callback:function(e){t.$set(t.queryParam,"version_number",e)},expression:"queryParam.version_number"}})],1),n("a-form-item",{attrs:{label:"应用市场"}},[n("a-select",{staticStyle:{width:"174px"},attrs:{placeholder:"请选择"},model:{value:t.queryParam.channel,callback:function(e){t.$set(t.queryParam,"channel",e)},expression:"queryParam.channel"}},t._l(t.channelList,(function(e){return n("a-select-option",{key:e.label},[t._v(t._s(e.value))])})),1)],1),n("a-button",{staticClass:"ml8",attrs:{type:"primary"},on:{click:t.search}},[t._v(t._s(t.$t("message.Search")))]),n("a-button",{style:{marginLeft:"6px"},on:{click:t.reset}},[t._v(t._s(t.$t("message.Reset")))])],1)],1)]),n("a-layout-content",{style:{background:"#fff",padding:"24px"}},[n("a-button",{staticClass:"marginBottom24",attrs:{type:"primary"},on:{click:t.ListAdd}},[t._v("添加版本")]),n("a-button",{staticClass:"marginBottom24",staticStyle:{"margin-left":"8px"},on:{click:t.openConfigModal}},[t._v("配置")]),n("a-table",{ref:"table",attrs:{dataSource:t.dataSource,columns:t.columns,pagination:t.paginationSet,rowKey:"id",loading:t.loading},scopedSlots:t._u([{key:"typeItem",fn:function(e){return[n("p",{staticClass:"line_table_hidden",staticStyle:{height:"14px","line-height":"14px"}},[t._v(t._s(t._f("typeFilter")(e)))])]}},{key:"channelItem",fn:function(e){return[n("p",{staticClass:"line_table_hidden",staticStyle:{height:"14px","line-height":"14px"}},[t._v(t._s(t._f("channelFilter")(e)))])]}},{key:"updateItem",fn:function(e){return[n("p",{staticClass:"line_table_hidden",staticStyle:{height:"14px","line-height":"14px"}},[t._v(t._s(t._f("updateFilter")(e)))])]}},{key:"description",fn:function(e){return[e?[n("a-tooltip",[n("template",{slot:"title"},[t._v("\n "+t._s(e)+"\n ")]),n("p",{staticClass:"line_table_hidden",staticStyle:{height:"14px","line-height":"14px"}},[t._v(t._s(t._f("stringFilter")(e)))])],2)]:[n("p",{staticClass:"line_table_hidden",staticStyle:{height:"14px","line-height":"14px"}},[t._v(t._s(t._f("stringFilter")(e)))])]]}},{key:"operation",fn:function(e,a){return[n("router-link",{attrs:{to:{path:"/cms/app/version/seeVersion/verionId/"+e+"/websiteId/"+a.website_id}}},[t._v("\n "+t._s(t.$t("message.View"))+"\n ")])]}}])}),n("p-agination",{attrs:{total:t.pageTotal,currentPage:t.query.page,computedPageNumber:t.computedPageNumber,pageSize:t.query.limit},on:{jumpTableChange:t.jumpTableChange,selectPageSizeChange:t.selectPageSizeChange}})],1)],1)],1),n("a-modal",{attrs:{title:"配置",okText:"保存",destroyOnClose:!0,bodyStyle:{padding:"24px 24px 0"},width:"740px"},on:{ok:t.handleSubmit},model:{value:t.visible,callback:function(e){t.visible=e},expression:"visible"}},[n("a-col",[n("a-form",{attrs:{form:t.form,"label-col":t.labelCol,"wrapper-col":t.wrapperCol}},[n("a-form-item",[n("span",{attrs:{slot:"label"},slot:"label"},[t._v("\n IOS隐藏微信登录/微信分享/微信支付版本号\n "),n("a-tooltip",{attrs:{title:"用于iOS新版本审核场景,控制IOS版本是否显示微信登录、微信分享、微信支付;版本号格式为3段式,举例:1.0.0,多个版本号用逗号隔开"}},[n("a-icon",{attrs:{type:"exclamation-circle"}})],1)],1),n("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["disable_wechat_app_version",{rules:[{required:!1,message:"请输入版本号"}]}],expression:"[\n `disable_wechat_app_version`,\n {\n rules: [{ required: false, message: '请输入版本号' }]\n }\n ]"}],attrs:{placeholder:"请输入"}})],1)],1)],1)],1)],1)},i=[],r=(n("386d"),n("bf43")),o=n("5633"),s=n("ac0d"),u=n("e2fe"),d=n("60be"),c=[{title:"版本号",dataIndex:"version_number",width:"10%"},{title:"应用类型",dataIndex:"app_type",width:"10%",scopedSlots:{customRender:"typeItem"}},{title:"应用市场",dataIndex:"channel",width:"10%",scopedSlots:{customRender:"channelItem"}},{title:"更新信息",dataIndex:"information",width:"28%",scopedSlots:{customRender:"description"}},{title:"是否强制更新",dataIndex:"is_mandatory",width:"12%",scopedSlots:{customRender:"updateItem"}},{title:"创建时间",dataIndex:"created_time",width:"18%"},{title:"操作",dataIndex:"id",width:"12%",scopedSlots:{customRender:"operation"}}],l={components:{PAgination:r["a"],customBread:o["a"]},mixins:[s["h"]],data:function(){return{breadList:{current:"版本管理",loopBread:[{name:"1",title:"工作台",href:"/dashboard"},{name:"2",title:"站点"},{name:"9",title:"APP内容管理"},{name:"3",title:"版本管理"}]},columns:c,visible:!1,labelCol:{xs:{span:10},sm:{span:11}},wrapperCol:{xs:{span:12},sm:{span:12}},form:this.$form.createForm(this),fetchStatus:!1,queryParam:{version_number:"",channel:""},loading:!1,channelList:[{label:"",value:"全部"},{label:"app_store",value:"Apple Store"},{label:"market_xiaomi",value:"小米"},{label:"market_yingyongbao",value:"应用宝"},{label:"market_huawei",value:"华为"},{label:"market_360",value:"360"},{label:"market_vivo",value:"Vivo"},{label:"market_ali",value:"阿里"},{label:"market_samsung",value:"三星"},{label:"market_oppo",value:"Oppo"}]}},methods:{handleOk:function(){this.$message.success("操作成功"),this.getTableList(this.query)},getTableList:function(t,e){var n,a=this;this.loading=!0,t&&(n=t),e&&(n=Object.assign(t,e)),Object(u["c"])(n).then((function(t){var e=t.data;e.rows&&e.rows.length>0?(a.loading=!1,a.dataSource=e.rows,a.pageTotal=e.total):a.resultNull()}))},search:function(){this.query.page=1,this.getTableList(this.query,this.queryParam)},reset:function(){this.queryParam.version_number="",this.queryParam.channel="",this.query.page=1,this.search()},ListAdd:function(){this.$router.push({path:"/cms/app/version/addVersion/websiteId/"+this.$store.getters.websiteId})},openConfigModal:function(){var t=this;this.visible=!0,Object(d["c"])().then((function(e){e&&0===e.status&&t.form.setFieldsValue({disable_wechat_app_version:e.data.website_config.disable_wechat_app_version})}))},handleSubmit:function(){var t=this,e=this.form.validateFields;e((function(e,n){if(!e){var a={website_config:n};t.realSend(a)}}))},realSend:function(t){var e=this;this.fetchStatus||(this.fetchStatus=!0,Object(d["C"])(t).then((function(t){e.fetchStatus=!1,t&&0===t.status&&(e.visible=!1,e.form.resetFields())})))}},filters:{typeFilter:function(t){switch(t){case 1:return"Android";default:return"iOS"}},channelFilter:function(t){switch(t){case"app_store":return"Apple Store";case"market_xiaomi":return"小米";case"market_yingyongbao":return"应用宝";case"market_huawei":return"华为";case"market_360":return"360";case"market_vivo":return"Vivo";case"market_ali":return"阿里";case"market_samsung":return"三星";case"market_oppo":return"Oppo";default:return"全部"}},updateFilter:function(t){switch(t){case 1:return"是";default:return"否"}}},mounted:function(){this.$store.commit("SET_Controller_HddenLanguages",!0)},beforeRouteLeave:function(t,e,n){this.$store.commit("SET_Controller_HddenLanguages",!1),n()}},b=l,p=n("2877"),m=Object(p["a"])(b,a,i,!1,null,null,null);e["default"]=m.exports},"22c1":function(t,e,n){"use strict";n("8d8d")},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)])])},i=[],r={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""}}}},o=r,s=(n("22c1"),n("2877")),u=Object(s["a"])(o,a,i,!1,null,"ceaaba20",null);e["a"]=u.exports},"60be":function(t,e,n){"use strict";n.d(e,"c",(function(){return o})),n.d(e,"C",(function(){return s})),n.d(e,"A",(function(){return u})),n.d(e,"H",(function(){return d})),n.d(e,"b",(function(){return c})),n.d(e,"I",(function(){return l})),n.d(e,"z",(function(){return b})),n.d(e,"G",(function(){return p})),n.d(e,"F",(function(){return m})),n.d(e,"y",(function(){return f})),n.d(e,"a",(function(){return g})),n.d(e,"o",(function(){return h})),n.d(e,"e",(function(){return _})),n.d(e,"f",(function(){return v})),n.d(e,"g",(function(){return L})),n.d(e,"B",(function(){return y})),n.d(e,"j",(function(){return k})),n.d(e,"m",(function(){return S})),n.d(e,"k",(function(){return O})),n.d(e,"l",(function(){return w})),n.d(e,"u",(function(){return x})),n.d(e,"i",(function(){return j})),n.d(e,"q",(function(){return P})),n.d(e,"h",(function(){return C})),n.d(e,"v",(function(){return I})),n.d(e,"r",(function(){return U})),n.d(e,"x",(function(){return q})),n.d(e,"t",(function(){return A})),n.d(e,"w",(function(){return B})),n.d(e,"s",(function(){return D})),n.d(e,"E",(function(){return R})),n.d(e,"D",(function(){return F})),n.d(e,"d",(function(){return $})),n.d(e,"n",(function(){return T})),n.d(e,"p",(function(){return E}));var a=n("b775"),i="/api-config",r={configList:i+"/backend/website/config/list",configUpdate:i+"/backend/website/config/update",getSiteInfo:i+"/backend/website/detail",updateSiteInfo:i+"/backend/website/update",businessAll:i+"/backend/merchant/all",warehousesAll:i+"/backend/stock/all",getShopList:i+"/backend/store/tree",getShopInfo:i+"/backend/store/detail",getMainShopInfo:i+"/backend/main_store/detail",updateShopInfo:i+"/backend/store/base_update",updateOrderSendInfo:i+"/backend/store/other_update",addShop:i+"/backend/store/add",getOpCategoryList:i+"/backend/op_category/first",getExchangeRateList:i+"/backend/store/exchange_rate/list",getLineLogDetail:i+"/backend/line/logistics_option_detail",getLineLogUpdate:i+"/backend/line/logistics_option_update",getStoreLogUpdate:i+"/backend/store/logistics_option_update",getLogisticsBuyLimit:i+"/backend/logistics_buy_limit/store_detail",getLogisticsBuyLimitUpdate:i+"/backend/logistics_buy_limit/store_update",getLogisticsBuyLimitLine:i+"/backend/logistics_buy_limit/line_detail",getLogisticsBuyLimitLineUpdate:i+"/backend/logistics_buy_limit/line_update",getProLimitedList:i+"/backend/product_limit/store_list",getLineProLimitedList:i+"/backend/product_limit/line_list",getProLimitedAdd:i+"/backend/product_limit/store_add",getLineProLimitedAdd:i+"/backend/product_limit/line_add",getProLimitedStoreDetail:i+"/backend/product_limit/store_detail",getProLimitedLineDetail:i+"/backend/product_limit/line_detail",getProLimitedStoreUpdate:i+"/backend/product_limit/store_update",getProLimitedLineUpdate:i+"/backend/product_limit/line_update",getProLimitedStoreDetailDel:i+"/backend/product_limit/store_delete",getProLimitedLineDetailDel:i+"/backend/product_limit/line_delete",scopeRuleUpdate:i+"/backend/product_limit/store_product_update",scopeRuleLineUpdate:i+"/backend/product_limit/line_product_update",deliveryAreaList:i+"/backend/delivery_area/list",operateLogList:i+"/backend/operate_log/list"};function o(t){return Object(a["b"])({url:r.configList,method:"get",params:t,timeout:6e4})}function s(t){return Object(a["b"])({url:r.configUpdate,method:"post",data:t})}function u(t){return Object(a["b"])({url:r.getSiteInfo,method:"get",params:t})}function d(t){return Object(a["b"])({url:r.updateSiteInfo,method:"post",data:t})}function c(t){return Object(a["b"])({url:r.businessAll,method:"get",params:t})}function l(t){return Object(a["b"])({url:r.warehousesAll,method:"get",params:t})}function b(t){return Object(a["b"])({url:r.getShopList,method:"get",params:t,timeout:6e5})}function p(t){return Object(a["b"])({url:r.updateShopInfo,method:"post",data:t})}function m(t){return Object(a["b"])({url:r.updateOrderSendInfo,method:"post",data:t})}function f(t){return Object(a["b"])({url:r.getShopInfo,method:"get",params:t,timeout:6e5})}function g(t){return Object(a["b"])({url:r.addShop,method:"post",data:t})}function h(t){return Object(a["b"])({url:r.getOpCategoryList,method:"get",params:t})}function _(t){return Object(a["b"])({url:r.getExchangeRateList,method:"get",params:t})}function v(t){return Object(a["b"])({url:r.getLineLogDetail,method:"get",params:t})}function L(t){return Object(a["b"])({url:r.getLineLogUpdate,method:"post",data:t})}function y(t){return Object(a["b"])({url:r.getStoreLogUpdate,method:"post",data:t})}function k(t){return Object(a["b"])({url:r.getLogisticsBuyLimit,method:"get",params:t})}function S(t){return Object(a["b"])({url:r.getLogisticsBuyLimitUpdate,method:"post",data:t})}function O(t){return Object(a["b"])({url:r.getLogisticsBuyLimitLine,method:"get",params:t})}function w(t){return Object(a["b"])({url:r.getLogisticsBuyLimitLineUpdate,method:"post",data:t})}function x(t){return Object(a["b"])({url:r.getProLimitedList,method:"get",params:t})}function j(t){return Object(a["b"])({url:r.getLineProLimitedList,method:"get",params:t})}function P(t){return Object(a["b"])({url:r.getProLimitedAdd,method:"post",data:t})}function C(t){return Object(a["b"])({url:r.getLineProLimitedAdd,method:"post",data:t})}function I(t){return Object(a["b"])({url:r.getProLimitedStoreDetail,method:"get",params:t})}function U(t){return Object(a["b"])({url:r.getProLimitedLineDetail,method:"get",params:t})}function q(t){return Object(a["b"])({url:r.getProLimitedStoreUpdate,method:"post",data:t})}function A(t){return Object(a["b"])({url:r.getProLimitedLineUpdate,method:"post",data:t})}function B(t){return Object(a["b"])({url:r.getProLimitedStoreDetailDel,method:"post",data:t})}function D(t){return Object(a["b"])({url:r.getProLimitedLineDetailDel,method:"post",data:t})}function R(t){return Object(a["b"])({url:r.scopeRuleUpdate,method:"post",data:t,timeout:6e4})}function F(t){return Object(a["b"])({url:r.scopeRuleLineUpdate,method:"post",data:t,timeout:6e4})}function $(t){return Object(a["b"])({url:r.deliveryAreaList,method:"get",params:t})}function T(t){return Object(a["b"])({url:r.getMainShopInfo,method:"get",params:t})}function E(t){return Object(a["b"])({url:r.operateLogList,method:"get",params:t})}},"8d8d":function(t,e,n){},e2fe:function(t,e,n){"use strict";n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){return s})),n.d(e,"b",(function(){return u})),n.d(e,"d",(function(){return d}));var a=n("b775"),i="/api-cms",r={versionList:i+"/cms/version/list",versionAdd:i+"/cms/version/add",versionDetail:i+"/cms/version/detail",versionUpdate:i+"/cms/version/update"};function o(t){return Object(a["b"])({url:r.versionList,method:"get",params:t})}function s(t){return Object(a["b"])({url:r.versionAdd,method:"post",data:t})}function u(t){return Object(a["b"])({url:r.versionDetail,method:"get",params:t})}function d(t){return Object(a["b"])({url:r.versionUpdate,method:"post",data:t})}}}]);