(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-70d637f5"],{"48d5":function(t,e,a){"use strict";var n=a("5bbb"),r=a.n(n);r.a},"504c":function(t,e,a){var n=a("9e1e"),r=a("0d58"),s=a("6821"),i=a("52a7").f;t.exports=function(t){return function(e){var a,o=s(e),l=r(o),c=l.length,u=0,d=[];while(c>u)a=l[u++],n&&!i.call(o,a)||d.push(t?[a,o[a]]:o[a]);return d}}},"5bbb":function(t,e,a){},"5cda":function(t,e,a){"use strict";a.r(e);var n,r,s=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"divBox"},[a("el-card",{staticClass:"box-card"},[a("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[a("el-tabs",{on:{"tab-click":function(e){return t.getList(1)}},model:{value:t.tableFrom.type,callback:function(e){t.$set(t.tableFrom,"type",e)},expression:"tableFrom.type"}},t._l(t.headeNum,(function(t,e){return a("el-tab-pane",{key:e,attrs:{name:t.type.toString(),label:t.name+"("+t.count+")"}})})),1),t._v(" "),a("div",{staticClass:"container"},[a("div",{staticClass:"demo-input-suffix acea-row"},[a("el-form",{attrs:{inline:"",size:"small","label-width":"120px"}},[a("el-form-item",{attrs:{label:"秒杀状态："}},[a("el-select",{staticClass:"filter-item selWidth",attrs:{placeholder:"请选择",clearable:""},on:{change:function(e){return t.getList(1)}},model:{value:t.tableFrom.seckill_status,callback:function(e){t.$set(t.tableFrom,"seckill_status",e)},expression:"tableFrom.seckill_status"}},t._l(t.seckillStatusList,(function(t){return a("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),1)],1),t._v(" "),a("el-form-item",{attrs:{label:"活动商品状态："}},[a("el-select",{staticClass:"filter-item selWidth",attrs:{placeholder:"请选择",clearable:""},on:{change:t.getList},model:{value:t.tableFrom.us_status,callback:function(e){t.$set(t.tableFrom,"us_status",e)},expression:"tableFrom.us_status"}},t._l(t.productStatusList,(function(t){return a("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),1)],1),t._v(" "),a("el-form-item",{attrs:{label:"商户名称："}},[a("el-select",{staticClass:"selWidth",attrs:{clearable:"",filterable:"",placeholder:"请选择"},on:{change:function(e){return t.getList(1)}},model:{value:t.tableFrom.mer_id,callback:function(e){t.$set(t.tableFrom,"mer_id",e)},expression:"tableFrom.mer_id"}},t._l(t.merSelect,(function(t){return a("el-option",{key:t.mer_id,attrs:{label:t.mer_name,value:t.mer_id}})})),1)],1),t._v(" "),a("el-form-item",{staticStyle:{display:"inline-block"},attrs:{label:"商户类别："}},[a("el-select",{staticClass:"selWidth",attrs:{clearable:"",placeholder:"请选择"},on:{change:function(e){return t.getList(1)}},model:{value:t.tableFrom.is_trader,callback:function(e){t.$set(t.tableFrom,"is_trader",e)},expression:"tableFrom.is_trader"}},[a("el-option",{attrs:{label:"自营",value:"1"}}),t._v(" "),a("el-option",{attrs:{label:"非自营",value:"0"}})],1)],1),t._v(" "),a("el-form-item",{attrs:{label:"商品搜索："}},[a("el-input",{staticClass:"selWidth",attrs:{placeholder:"请输入商品名称，关键字，产品编号"},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.getList(1)}},model:{value:t.tableFrom.keyword,callback:function(e){t.$set(t.tableFrom,"keyword",e)},expression:"tableFrom.keyword"}},[a("el-button",{staticClass:"el-button-solt",attrs:{slot:"append",icon:"el-icon-search"},on:{click:function(e){return t.getList(1)}},slot:"append"})],1)],1),t._v(" "),a("el-form-item",{attrs:{label:"推荐级别："}},[a("el-select",{staticClass:"filter-item selWidth",attrs:{placeholder:"请选择",clearable:""},on:{change:function(e){return t.getList(1)}},model:{value:t.tableFrom.star,callback:function(e){t.$set(t.tableFrom,"star",e)},expression:"tableFrom.star"}},t._l(t.recommendedLevelStatus,(function(t){return a("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),1)],1)],1)],1)]),t._v(" "),a("el-button",{directives:[{name:"show",rawName:"v-show",value:"6"===t.tableFrom.type,expression:"tableFrom.type === '6'"}],attrs:{size:"mini"},on:{click:t.batch}},[t._v("批量审核")]),t._v(" "),a("el-button",{directives:[{name:"show",rawName:"v-show",value:Number(t.tableFrom.type)<3,expression:"Number(tableFrom.type) < 3"}],staticStyle:{"margin-left":"0px"},attrs:{size:"mini"},on:{click:t.batchOff}},[t._v("批量强制下架")])],1),t._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.listLoading,expression:"listLoading"}],staticStyle:{width:"100%"},attrs:{data:t.tableData.data,size:"mini"},on:{"selection-change":t.handleSelectionChange}},[Number(t.tableFrom.type)<7?a("el-table-column",{key:"2",attrs:{type:"selection",width:"55"}}):t._e(),t._v(" "),a("el-table-column",{attrs:{type:"expand"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-form",{staticClass:"demo-table-expand",attrs:{"label-position":"left",inline:""}},[a("el-form-item",{attrs:{label:"平台分类："}},[a("span",[t._v(t._s(e.row.storeCategory?e.row.storeCategory.cate_name:"-"))])]),t._v(" "),a("el-form-item",{attrs:{label:"品牌："}},[a("span",[t._v(t._s(e.row.brand?e.row.brand.brand_name:"-"))])]),t._v(" "),a("el-form-item",{attrs:{label:"市场价格："}},[a("span",[t._v(t._s(t._f("filterEmpty")(e.row.ot_price)))])]),t._v(" "),a("el-form-item",{attrs:{label:"成本价："}},[a("span",[t._v(t._s(t._f("filterEmpty")(e.row.cost)))])]),t._v(" "),a("el-form-item",{attrs:{label:"收藏："}},[a("span",[t._v(t._s(t._f("filterEmpty")(e.row.care_count)))])]),t._v(" "),a("el-form-item",{attrs:{label:"虚拟销量："}},[a("span",[t._v(t._s(t._f("filterEmpty")(e.row.ficti)))])])],1)]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"product_id",label:"ID","min-width":"50"}}),t._v(" "),a("el-table-column",{attrs:{label:"商户名称","min-width":"120"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(e.row.merchant?e.row.merchant.mer_name:""))])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"mer_name",label:"商户类别","min-width":"90"},scopedSlots:t._u([{key:"default",fn:function(e){return[e.row.merchant?a("span",{staticClass:"spBlock"},[t._v(t._s(e.row.merchant.is_trader?"自营":"非自营"))]):t._e()]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"商品图","min-width":"80"},scopedSlots:t._u([{key:"default",fn:function(t){return[a("div",{staticClass:"demo-image__preview"},[a("el-image",{staticStyle:{width:"36px",height:"36px"},attrs:{src:t.row.image,"preview-src-list":[t.row.image]}})],1)]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"store_name",label:"活动标题","min-width":"180"}}),t._v(" "),a("el-table-column",{attrs:{prop:"price",label:"商品售价","min-width":"90"}}),t._v(" "),a("el-table-column",{attrs:{prop:"sales",label:"销量","min-width":"90"}}),t._v(" "),a("el-table-column",{attrs:{label:"推荐级别","min-width":"150"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-rate",{attrs:{disabled:"",colors:t.colors},model:{value:e.row.star,callback:function(a){t.$set(e.row,"star",a)},expression:"scope.row.star"}})]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"限量剩余","min-width":"90"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(e.row.stock))])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"rank",label:"排序","min-width":"70"}}),t._v(" "),a("el-table-column",{attrs:{prop:"status",label:"是否显示","min-width":"100"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-switch",{attrs:{"active-value":1,"inactive-value":0,"active-text":"显示","inactive-text":"隐藏"},on:{change:function(a){return t.onchangeIsShow(e.row)}},model:{value:e.row.is_used,callback:function(a){t.$set(e.row,"is_used",a)},expression:"scope.row.is_used"}})]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"stock",label:"商品状态","min-width":"90"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(t._f("productStatusFilter")(e.row.us_status)))])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"stock",label:"秒杀状态","min-width":"90"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(t._f("seckillStatusFilter")(e.row.seckill_status)))])]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"秒杀活动日期","min-width":"160"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",[t._v("开始日期："+t._s(e.row.seckillActive&&e.row.seckillActive.start_day?e.row.seckillActive.start_day.slice(0,10):""))]),t._v(" "),a("div",[t._v("结束日期："+t._s(e.row.seckillActive&&e.row.seckillActive.end_day?e.row.seckillActive.end_day.slice(0,10):""))])]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"秒杀活动时间","min-width":"130"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",[t._v("开始时间："+t._s(e.row.seckillActive&&e.row.seckillActive.start_time?e.row.seckillActive.start_time+":00":""))]),t._v(" "),a("div",[t._v("结束时间："+t._s(e.row.seckillActive&&e.row.seckillActive.end_time?e.row.seckillActive.end_time+":00":""))])]}}])}),t._v(" "),Number(t.tableFrom.type)<7?a("el-table-column",{key:"8",attrs:{label:"操作","min-width":"100",fixed:"right",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){return[Number(t.tableFrom.type)<7?a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){return t.onEdit(e.row.product_id)}}},[t._v("编辑")]):t._e(),t._v(" "),"6"===t.tableFrom.type?a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){return t.toExamine(e.row.product_id)}}},[t._v("审核")]):t._e(),t._v(" "),Number(t.tableFrom.type)<3?a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){return t.toOff([e.row.product_id])}}},[t._v("强制下架")]):t._e(),t._v(" "),a("el-button",{staticClass:"mr10",attrs:{type:"text",size:"small"},on:{click:function(a){return t.goDetail(e.row.product_id)}}},[t._v("详情")])]}}],null,!1,4222037010)}):t._e()],1),t._v(" "),a("div",{staticClass:"block"},[a("el-pagination",{attrs:{"page-sizes":[20,40,60,80],"page-size":t.tableFrom.limit,"current-page":t.tableFrom.page,layout:"total, sizes, prev, pager, next, jumper",total:t.tableData.total},on:{"size-change":t.handleSizeChange,"current-change":t.pageChange}})],1)],1),t._v(" "),a("info-from",{ref:"infoFrom",attrs:{"is-show":t.isShow,ids:t.OffId},on:{subSuccess:t.subSuccess}}),t._v(" "),a("el-dialog",{attrs:{title:"商品编辑",visible:t.dialogVisible,width:"1000px","before-close":t.handleClose},on:{"update:visible":function(e){t.dialogVisible=e}}},[a("el-form",{directives:[{name:"loading",rawName:"v-loading",value:t.fullscreenLoading,expression:"fullscreenLoading"}],ref:"formValidate",staticClass:"formValidate mt20",attrs:{rules:t.ruleValidate,model:t.formValidate,"label-width":"120px"},nativeOn:{submit:function(t){t.preventDefault()}}},[a("el-form-item",{attrs:{label:"商品名称：",prop:"store_name"}},[a("el-input",{attrs:{placeholder:"请输入商品名称"},model:{value:t.formValidate.store_name,callback:function(e){t.$set(t.formValidate,"store_name",e)},expression:"formValidate.store_name"}})],1),t._v(" "),a("el-form-item",{attrs:{label:"活动列表推荐："}},[a("el-rate",{staticClass:"rate_star",attrs:{colors:t.colors},model:{value:t.formValidate.star,callback:function(e){t.$set(t.formValidate,"star",e)},expression:"formValidate.star"}})],1),t._v(" "),a("el-form-item",{attrs:{label:"商品推荐："}},[a("el-checkbox-group",{attrs:{size:"small"},on:{change:t.onChangeGroup},model:{value:t.checkboxGroup,callback:function(e){t.checkboxGroup=e},expression:"checkboxGroup"}},t._l(t.recommend,(function(e,n){return a("el-checkbox",{key:n,attrs:{label:e.value}},[t._v(t._s(e.name))])})),1)],1),t._v(" "),a("el-form-item",{attrs:{label:"排序："}},[a("el-input-number",{attrs:{label:"排序"},model:{value:t.formValidate.rank,callback:function(e){t.$set(t.formValidate,"rank",e)},expression:"formValidate.rank"}})],1),t._v(" "),a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{label:"商品详情："}},[a("ueditor-from",{attrs:{content:t.formValidate.content},model:{value:t.formValidate.content,callback:function(e){t.$set(t.formValidate,"content",e)},expression:"formValidate.content"}})],1)],1),t._v(" "),a("el-form-item",{staticStyle:{"margin-top":"30px"}},[a("el-button",{staticClass:"submission",attrs:{type:"primary",size:"small"},on:{click:function(e){return t.handleSubmit("formValidate")}}},[t._v("提交")])],1)],1)],1),t._v(" "),t.detailDialog?a("el-dialog",{attrs:{title:"秒杀商品详情",center:"",visible:t.detailDialog,width:"700px"},on:{"update:visible":function(e){t.detailDialog=e}}},[a("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticStyle:{"margin-top":"5px"}},[a("div",{staticClass:"box-container"},[a("div",{staticClass:"title"},[t._v("基本信息")]),t._v(" "),a("div",{staticClass:"acea-row"},[a("div",{staticClass:"list sp"},[a("label",{staticClass:"name"},[t._v("商户名称：")]),t._v(t._s(t.detailFormValidate.merchant&&t.detailFormValidate.merchant.mer_name))]),t._v(" "),a("div",{staticClass:"list sp"},[a("label",{staticClass:"name"},[t._v("商户类别：")]),t._v(t._s(1===(t.detailFormValidate.merchant&&t.detailFormValidate.merchant.is_trader)?"自营":"非自营"))]),t._v(" "),a("div",{staticClass:"list sp"},[a("label",{staticClass:"name"},[t._v("商品ID：")]),t._v(t._s(t.detailFormValidate.product_id))]),t._v(" "),a("div",{staticClass:"list sp"},[a("label",{staticClass:"name"},[t._v("商品名称：")]),t._v(t._s(t.detailFormValidate.store_name))]),t._v(" "),a("div",{staticClass:"list sp100 image"},[a("label",{staticClass:"name"},[t._v("商品图：")]),t._v(" "),a("img",{staticStyle:{"max-width":"150px",height:"80px"},attrs:{src:t.detailFormValidate.image}})]),t._v(" "),a("div",{staticClass:"list sp100"},[a("label",{staticClass:"name"},[t._v("商品信息")]),t._v(" "),0===t.detailFormValidate.spec_type?a("div",[a("el-table",{staticClass:"tabNumWidth",attrs:{data:t.OneattrValue,border:"",size:"mini"}},[a("el-table-column",{attrs:{align:"center",label:"秒杀价格","min-width":"80"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(e.row["price"]))])]}}],null,!1,1703924291)}),t._v(" "),a("el-table-column",{attrs:{align:"center",label:"已售商品数量","min-width":"80"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(e.row["sales"]))])]}}],null,!1,703426790)})],1)],1):t._e(),t._v(" "),1===t.detailFormValidate.spec_type?a("div",{staticClass:"labeltop",attrs:{label:"规格列表："}},[a("el-table",{attrs:{data:t.ManyAttrValue,height:"260","tooltip-effect":"dark","row-key":function(t){return t.id}}},[t.manyTabDate?t._l(t.manyTabDate,(function(e,n){return a("el-table-column",{key:n,attrs:{align:"center",label:t.manyTabTit[n].title,"min-width":"80"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",{staticClass:"priceBox",domProps:{textContent:t._s(e.row[n])}})]}}],null,!0)})})):t._e(),t._v(" "),a("el-table-column",{attrs:{align:"center",label:"秒杀价格","min-width":"80"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(e.row["price"]))])]}}],null,!1,1703924291)}),t._v(" "),a("el-table-column",{attrs:{align:"center",label:"已售商品数量","min-width":"80"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(e.row["sales"]))])]}}],null,!1,703426790)})],2)],1):t._e()])]),t._v(" "),a("div",{staticClass:"title",staticStyle:{"margin-top":"20px"}},[t._v("秒杀商品活动信息")]),t._v(" "),a("div",{staticClass:"acea-row"},[a("div",{staticClass:"list sp100"},[a("label",{staticClass:"name"},[t._v("秒杀简介：")]),t._v(t._s(t.detailFormValidate.store_info))]),t._v(" "),a("div",{staticClass:"list sp100"},[a("label",{staticClass:"name"},[t._v("秒杀活动日期：")]),t._v(t._s(t.detailFormValidate.start_day+"-"+t.detailFormValidate.end_day))]),t._v(" "),a("div",{staticClass:"list sp100"},[a("label",{staticClass:"name"},[t._v("秒杀活动时间：")]),t._v(t._s(t.detailFormValidate.start_time+"-"+t.detailFormValidate.end_time))]),t._v(" "),a("div",{staticClass:"list sp100"},[a("label",{staticClass:"name"},[t._v("活动日期内最多购买次数：")]),t._v(t._s(t.detailFormValidate.all_pay_count))]),t._v(" "),a("div",{staticClass:"list sp100"},[a("label",{staticClass:"name"},[t._v("秒杀时间段内最多购买次数：")]),t._v(t._s(t.detailFormValidate.once_pay_count))]),t._v(" "),a("div",{staticClass:"list sp"},[a("label",{staticClass:"name"},[t._v("审核状态：")]),t._v(t._s(1===t.detailFormValidate.status?"审核通过":0===t.detailFormValidate.status?"未审核":"审核未通过"))]),t._v(" "),a("div",{staticClass:"list sp"},[a("label",{staticClass:"name"},[t._v("商品状态：")]),t._v(t._s(1===t.detailFormValidate.us_status?"上架显示":-1===t.detailFormValidate.us_status?"平台关闭":"下架"))]),t._v(" "),a("div",{staticClass:"list sp"},[a("label",{staticClass:"name"},[t._v("秒杀活动状态：")]),t._v(t._s(0===t.detailFormValidate.seckill_status?"未开始":1===t.detailFormValidate.seckill_status?"正在进行":"已结束"))]),t._v(" "),a("div",{staticClass:"list sp"},[a("label",{staticClass:"name"},[t._v("创建时间：")]),t._v(t._s(t.detailFormValidate.create_time))])])])])]):t._e()],1)},i=[],o=(a("8615"),a("55dd"),a("ac6a"),a("6762"),a("2fdb"),a("96cf"),a("3b8d")),l=(a("7f7f"),a("bd86")),c=a("c4c8"),u=a("b7be"),d=a("83d6"),f=function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.dialogVisible?a("el-dialog",{staticClass:"projectInfo",attrs:{title:"商品审核",visible:t.dialogVisible,width:"900px","before-close":t.handleClose},on:{"update:visible":function(e){t.dialogVisible=e}}},[t.projectData&&t.isShow?a("el-tabs",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],model:{value:t.activeNames,callback:function(e){t.activeNames=e},expression:"activeNames"}},[a("el-tab-pane",{attrs:{label:"商品信息",name:"first"}},[a("div",{staticClass:"acea-row"},[a("span",{staticClass:"sp"},[t._v("商品名称："+t._s(t.projectData.store_name))]),t._v(" "),a("span",{staticClass:"sp"},[t._v("平台分类："+t._s(t.projectData.storeCategory?t.projectData.storeCategory.cate_name:""))]),t._v(" "),a("span",{staticClass:"sp"},[t._v("品牌："+t._s(t.projectData.brand?t.projectData.brand.brand_name:""))]),t._v(" "),a("span",{staticClass:"sp"},[t._v("商品关键字："+t._s(t.projectData.keyword))]),t._v(" "),a("span",{staticClass:"sp"},[t._v("商品单位："+t._s(t.projectData.unit_name))]),t._v(" "),a("span",{staticClass:"sp"},[t._v("运费模板："+t._s(t.projectData.temp?t.projectData.temp.name:""))]),t._v(" "),a("span",{staticClass:"sp100"},[t._v("\n          商品分类：\n          "),t.projectData.merCateId?t._l(t.projectData.merCateId,(function(e,n){return a("span",{key:n,staticClass:"mr10"},[t._v(t._s(e.category?e.category.cate_name:""))])})):a("span",[t._v("-")])],2),t._v(" "),a("span",{staticClass:"sp100"},[t._v("商品简介："+t._s(t.projectData.store_info))]),t._v(" "),a("span",{staticClass:"sp100"},[t._v("\n          商品封面图：\n          "),a("div",{staticClass:"demo-image__preview"},[a("el-image",{staticStyle:{width:"60px",height:"60px"},attrs:{src:t.projectData.image,"preview-src-list":[t.projectData.image]}})],1)]),t._v(" "),a("span",{staticClass:"sp100"},[t._v("商品轮播图：\n          "),t._l(t.projectData.slider_image,(function(t,e){return a("div",{key:e,staticClass:"pictrue"},[a("el-image",{staticStyle:{width:"60px",height:"60px"},attrs:{src:t,"preview-src-list":[t]}})],1)}))],2)])]),t._v(" "),a("el-tab-pane",{attrs:{label:"商品详情",name:"second"}},[a("span",{staticClass:"sp100"},[t._v("商品详情：")]),t._v(" "),a("div",{staticClass:"contentPic",domProps:{innerHTML:t._s(t.projectData.content)}})]),t._v(" "),a("el-tab-pane",{attrs:{label:"其他设置",name:"third"}},[a("span",{staticClass:"sp100"},[t._v("商品排序："+t._s(t.projectData.sort))]),t._v(" "),a("span",{staticClass:"third mb20"},[a("span",[t._v("商品推荐：")]),t._v(" "),a("el-checkbox-group",{attrs:{size:"small"},model:{value:t.checkboxGroup,callback:function(e){t.checkboxGroup=e},expression:"checkboxGroup"}},t._l(t.recommend,(function(e,n){return a("el-checkbox",{key:n,attrs:{disabled:"",label:e.value}},[t._v(t._s(e.name))])})),1)],1)]),t._v(" "),a("el-tab-pane",{attrs:{label:"商品规格",name:"fourth"}},[a("span",{staticClass:"sp"},[t._v("商品规格："+t._s(0===t.projectData.spec_type?"单规格":"多规格"))]),t._v(" "),a("span",{staticClass:"sp"},[t._v("佣金设置："+t._s(0===t.projectData.extension_type?"默认设置":"单独设置"))]),t._v(" "),a("span",{staticClass:"sp100"},[a("span",{staticClass:"mb15",staticStyle:{display:"block"}},[t._v("商品规格:")]),t._v(" "),0===t.projectData.spec_type?[a("el-table",{staticClass:"tabNumWidth",attrs:{data:t.OneattrValue,border:"",size:"mini"}},[a("el-table-column",{attrs:{align:"center",label:"图片","min-width":"80"},scopedSlots:t._u([{key:"default",fn:function(t){return[a("div",{staticClass:"demo-image__preview"},[a("el-image",{staticStyle:{width:"60px",height:"60px"},attrs:{src:t.row.image}})],1)]}}],null,!1,323865937)}),t._v(" "),t._l(t.attrValue,(function(e,n){return a("el-table-column",{key:n,attrs:{label:t.formThead[n].title,align:"center","min-width":"120"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",{staticClass:"priceBox",domProps:{textContent:t._s(e.row[n])}})]}}],null,!0)})})),t._v(" "),1===t.projectData.extension_type?[a("el-table-column",{attrs:{align:"center",label:"一级返佣(元)","min-width":"120"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",{staticClass:"priceBox",domProps:{textContent:t._s(e.row.extension_one)}})]}}],null,!1,102250766)}),t._v(" "),a("el-table-column",{attrs:{align:"center",label:"二级返佣(元)","min-width":"120"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",{staticClass:"priceBox",domProps:{textContent:t._s(e.row.extension_two)}})]}}],null,!1,4284057702)})]:t._e()],2)]:t._e(),t._v(" "),1===t.projectData.spec_type?[a("el-table",{staticClass:"tabNumWidth",attrs:{data:t.ManyAttrValue,border:"",size:"mini"}},[a("el-table-column",{attrs:{align:"center",label:"图片","min-width":"80"},scopedSlots:t._u([{key:"default",fn:function(t){return[a("div",{staticClass:"upLoadPicBox"},[a("div",{staticClass:"pictrue tabPic"},[a("img",{attrs:{src:t.row.image}})])])]}}],null,!1,651288578)}),t._v(" "),t._l(t.attrValue,(function(e,n){return a("el-table-column",{key:n,attrs:{label:t.formThead[n].title,align:"center","min-width":"120"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",{staticClass:"priceBox"},[t._v(t._s(e.row[n]))])]}}],null,!0)})})),t._v(" "),1===t.projectData.extension_type?[a("el-table-column",{attrs:{align:"center",label:"一级返佣(元)","min-width":"120"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",{staticClass:"priceBox"},[t._v(t._s(e.row.extension_one))])]}}],null,!1,1519547738)}),t._v(" "),a("el-table-column",{attrs:{align:"center",label:"二级返佣(元)","min-width":"120"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",{staticClass:"priceBox"},[t._v(t._s(e.row.extension_two))])]}}],null,!1,603129202)})]:t._e()],2)]:t._e()],2)])],1):t._e(),t._v(" "),a("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:t.ruleForm,rules:t.rules,"label-width":"80px"}},[a("el-form-item",{attrs:{label:"审核状态",prop:"status"}},[a("el-radio-group",{model:{value:t.ruleForm.status,callback:function(e){t.$set(t.ruleForm,"status",e)},expression:"ruleForm.status"}},[a("el-radio",{attrs:{label:1}},[t._v("通过")]),t._v(" "),a("el-radio",{attrs:{label:-1}},[t._v("拒绝")])],1)],1),t._v(" "),-1===t.ruleForm.status?a("el-form-item",{attrs:{label:"原因",prop:"refusal"}},[a("el-input",{attrs:{type:"textarea",placeholder:"请输入原因"},model:{value:t.ruleForm.refusal,callback:function(e){t.$set(t.ruleForm,"refusal",e)},expression:"ruleForm.refusal"}})],1):t._e(),t._v(" "),a("el-form-item",[a("el-button",{attrs:{type:"primary"},on:{click:t.onSubmit}},[t._v("提交")])],1)],1)],1):t._e()},m=[],p={image:"",slider_image:[],store_name:"",store_info:"",keyword:"",brand_id:"",cate_id:"",mer_cate_id:[],unit_name:"",sort:0,is_show:0,is_benefit:0,is_new:0,is_good:0,temp_id:"",attrValue:[{image:"",price:null,cost:null,ot_price:null,stock:null,bar_code:"",weight:null,volume:null}],attr:[],selectRule:"",extension_type:0,content:"",spec_type:0},_={price:{title:"售价"},cost:{title:"成本价"},ot_price:{title:"原价"},stock:{title:"库存"},bar_code:{title:"商品编号"},weight:{title:"重量（KG）"},volume:{title:"体积(m³)"}},b=[{name:"热门榜单",value:"is_hot"},{name:"促销单品",value:"is_benefit"},{name:"精品推荐",value:"is_best"},{name:"首发新品",value:"is_new"}],v={name:"Info",props:{isShow:{type:Boolean,default:!0},ids:{type:Array,default:function(){return[]}}},data:function(){return{rules:{status:[{required:!0,message:"请选择审核状态",trigger:"change"}],refusal:[{required:!0,message:"请填写拒绝原因",trigger:"blur"}]},proId:0,ruleForm:{refusal:"",status:1,id:""},formThead:Object.assign({},_),manyTabDate:{},manyTabTit:{},loading:!1,dialogVisible:!1,activeNames:"first",projectData:{},recommend:b,checkboxGroup:[],OneattrValue:[Object.assign({},p.attrValue[0])],ManyAttrValue:[Object.assign({},p.attrValue[0])]}},computed:{attrValue:function(){var t=Object.assign({},p.attrValue[0]);return delete t.image,t},oneFormBatch:function(){var t=[Object.assign({},p.attrValue[0])];return delete t[0].bar_code,t}},methods:{onSubmit:function(){var t=this;this.isShow?this.ruleForm.id=this.proId:this.ruleForm.id=this.ids,Object(c["V"])(this.ruleForm).then((function(e){t.$message.success(e.message),t.dialogVisible=!1,t.activeNames="first",t.$emit("subSuccess")})).catch((function(e){t.listLoading=!1,t.$message.error(e.message)}))},handleClose:function(){this.dialogVisible=!1,this.activeNames="first"},getInfo:function(t){var e=this;this.proId=t,this.loading=!0,Object(c["S"])(t).then((function(t){e.projectData=t.data,0===e.projectData.spec_type?e.OneattrValue=t.data.attrValue:e.ManyAttrValue=t.data.attrValue;var a={},n={};e.projectData.attr.forEach((function(t,e){a["value"+e]={title:t.value},n["value"+e]=""})),e.manyTabDate=n,e.formThead=Object.assign({},e.formThead,a),1===e.projectData.is_hot&&e.checkboxGroup.push("is_hot"),1===e.projectData.is_good&&e.checkboxGroup.push("is_good"),1===e.projectData.is_benefit&&e.checkboxGroup.push("is_benefit"),1===e.projectData.is_best&&e.checkboxGroup.push("is_best"),1===e.projectData.is_new&&e.checkboxGroup.push("is_new"),e.loading=!1})).catch((function(t){e.$message.error(t.message),e.loading=!1}))}}},g=v,h=(a("fc05"),a("2877")),y=Object(h["a"])(g,f,m,!1,null,"19d1b0d9",null),k=y.exports,w=a("ef0d"),x=[{name:"热门榜单",value:"is_hot"},{name:"促销单品",value:"is_benefit"},{name:"精品推荐",value:"is_best"},{name:"首发新品",value:"is_new"}],C=(r={product_id:"",image:"",slider_image:[],store_name:"",store_info:"",start_day:"",end_day:"",start_time:"",end_time:""},Object(l["a"])(r,"start_day",""),Object(l["a"])(r,"end_day",""),Object(l["a"])(r,"is_open_recommend",1),Object(l["a"])(r,"is_open_state",1),Object(l["a"])(r,"is_show",1),Object(l["a"])(r,"seckill_status",""),Object(l["a"])(r,"keyword",""),Object(l["a"])(r,"brand_id",""),Object(l["a"])(r,"cate_id",""),Object(l["a"])(r,"mer_cate_id",[]),Object(l["a"])(r,"unit_name",""),Object(l["a"])(r,"integral",0),Object(l["a"])(r,"sort",0),Object(l["a"])(r,"is_good",0),Object(l["a"])(r,"temp_id",""),Object(l["a"])(r,"seckill_date",""),Object(l["a"])(r,"finalPayment_date",""),Object(l["a"])(r,"delivery_type",1),Object(l["a"])(r,"delivery_day",10),Object(l["a"])(r,"create_time",""),Object(l["a"])(r,"attrValue",[(n={image:"",price:null},Object(l["a"])(n,"price",null),Object(l["a"])(n,"cost",null),Object(l["a"])(n,"ot_price",null),Object(l["a"])(n,"old_stock",null),Object(l["a"])(n,"stock",null),Object(l["a"])(n,"bar_code",""),Object(l["a"])(n,"weight",null),Object(l["a"])(n,"volume",null),n)]),Object(l["a"])(r,"attr",[]),Object(l["a"])(r,"extension_type",0),Object(l["a"])(r,"content",""),Object(l["a"])(r,"spec_type",0),Object(l["a"])(r,"is_gift_bag",0),Object(l["a"])(r,"tattend_two",{}),Object(l["a"])(r,"tattend_one",{}),r),V={name:"ProductExamine1",components:{infoFrom:k,ueditorFrom:w["a"]},data:function(){return{ruleValidate:{},dialogVisible:!1,detailDialog:!1,checkboxGroup:[],recommend:x,formValidate:{is_hot:0,is_best:0,is_new:0,is_benefit:0,ficti:1,content:"",store_name:""},detailFormValidate:Object.assign({},C),OneattrValue:[Object.assign({},C.attrValue[0])],ManyAttrValue:[Object.assign({},C.attrValue[0])],attrInfo:{},colors:["#99A9BF","#F7BA2A","#FF9900"],seckillStatusList:[{label:"正在进行",value:2},{label:"活动已结束",value:3},{label:"活动未开始",value:1}],productStatusList:[{label:"上架显示",value:1},{label:"下架",value:0},{label:"平台关闭",value:-1}],recommendedLevelStatus:[{label:"全部",value:""},{label:"5星",value:5},{label:"4星",value:4},{label:"3星",value:3},{label:"2星",value:2},{label:"1星",value:1}],fullscreenLoading:!1,isShow:!1,roterPre:d["roterPre"],listLoading:!0,tableData:{data:[],total:0},tableFrom:{page:1,limit:20,cate_id:"",store_name:"",type:"6",mer_id:"",seckill_status:"",keyword:"",is_trader:"",us_status:"",star:"",product_id:this.$route.query.id?this.$route.query.id:""},categoryList:[],merCateList:[],multipleSelection:[],headeNum:[],merSelect:[],OffId:[],productId:0}},mounted:function(){this.getMerSelect(),this.getList(""),this.getCategorySelect(),this.getLstFilterApi()},methods:{subSuccess:function(){this.getList(""),this.getLstFilterApi()},onchangeIsShow:function(t){var e=this;Object(c["P"])(t.product_id,t.is_used).then((function(t){var a=t.message;e.$message.success(a),e.getList("")})).catch((function(t){var a=t.message;e.$message.error(a)}))},getInfo:function(t){var e=this;this.fullscreenLoading=!0,this.checkboxGroup=[],Object(c["S"])(t).then((function(t){var a=t.data;e.formValidate={is_hot:a.is_hot,is_best:a.is_best,is_new:a.is_new,is_benefit:a.is_benefit,ficti:a.ficti,content:a.content,store_name:a.store_name,rank:a.rank,star:a.star?a.star:1},1===a.is_hot&&e.checkboxGroup.push("is_hot"),1===a.is_benefit&&e.checkboxGroup.push("is_benefit"),1===a.is_best&&e.checkboxGroup.push("is_best"),1===a.is_new&&e.checkboxGroup.push("is_new"),e.fullscreenLoading=!1})).catch((function(t){e.$message.error(t.message),e.fullscreenLoading=!1}))},onEdit:function(t){this.productId=t,this.getInfo(t),this.dialogVisible=!0},handleSubmit:function(t){var e=this;this.$refs[t].validate((function(t){if(!t)return!1;Object(c["W"])(e.productId,e.formValidate).then(function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(a){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:e.fullscreenLoading=!1,e.$message.success(a.message),e.dialogVisible=!1,e.getList("");case 4:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()).catch((function(t){e.fullscreenLoading=!1,e.$message.error(t.message)}))}))},onChangeGroup:function(){this.checkboxGroup.includes("is_benefit")?this.formValidate.is_benefit=1:this.formValidate.is_benefit=0,this.checkboxGroup.includes("is_best")?this.formValidate.is_best=1:this.formValidate.is_best=0,this.checkboxGroup.includes("is_new")?this.formValidate.is_new=1:this.formValidate.is_new=0,this.checkboxGroup.includes("is_hot")?this.formValidate.is_hot=1:this.formValidate.is_hot=0},handleClose:function(){this.dialogVisible=!1},watCh:function(t){var e=this,a={},n={};this.detailFormValidate.attr.forEach((function(t,e){a["value"+e]={title:t.value},n["value"+e]=""})),this.ManyAttrValue.forEach((function(t,a){var n=Object.values(t.detail).sort().join("/");e.attrInfo[n]&&(e.ManyAttrValue[a]=e.attrInfo[n])})),this.attrInfo={},this.ManyAttrValue.forEach((function(t){e.attrInfo[Object.values(t.detail).sort().join("/")]=t})),this.manyTabTit=a,this.manyTabDate=n},goDetail:function(t){var e=this;this.detailDialog=!0,this.loading=!0,this.detailFormValidate={},Object(u["C"])(t).then(function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(a){var n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:e.loading=!1,n=a.data,e.detailFormValidate={product_id:n.product_id,image:n.image,slider_image:n.slider_image,store_name:n.store_name,store_info:n.store_info,start_time:n.seckillActive&&n.seckillActive.start_time?n.seckillActive.start_time+":00:00":"",end_time:n.seckillActive&&n.seckillActive.end_time?n.seckillActive.end_time+":00:00":"",start_day:n.seckillActive&&n.seckillActive.start_day?n.seckillActive.start_day.slice(0,10):"",end_day:n.seckillActive&&n.seckillActive.end_day?n.seckillActive.end_day.slice(0,10):"",brand_id:n.brand_id,cate_id:n.cate_id?n.cate_id:"",mer_cate_id:n.mer_cate_id,unit_name:n.unit_name,sort:n.sort,is_good:n.is_good,temp_id:n.temp_id,is_show:n.is_show,attr:n.attr,extension_type:n.extension_type,content:n.content,spec_type:n.spec_type,is_gift_bag:n.is_gift_bag,create_time:n.create_time,product_status:n.product_status,status:n.status,all_pay_count:n.seckillActive?n.seckillActive.all_pay_count:"",once_pay_count:n.seckillActive?n.seckillActive.once_pay_count:"",stock:n.stock,stock_count:n.stock_count,seckill_status:n.seckill_status,us_status:n.us_status,merchant:n.merchant},0===e.detailFormValidate.spec_type?e.OneattrValue=n.attrValue:(e.ManyAttrValue=n.attrValue,e.watCh(e.detailFormValidate.attr)),console.log(e.ManyAttrValue),e.fullscreenLoading=!1,e.detailFormValidate.seckill_date=[n.start_time,n.end_time];case 7:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()).catch((function(t){e.fullscreenLoading=!1,e.$message.error(t.message)}))},batchOff:function(){if(0===this.multipleSelection.length)return this.$message.warning("请先选择商品");this.toOff(this.OffId)},toOff:function(t){var e=this;this.$prompt("强制下架",{confirmButtonText:"确定",cancelButtonText:"取消",inputErrorMessage:"请输入强制下架原因",inputType:"textarea",inputPlaceholder:"请输入强制下架原因",inputValidator:function(t){if(!t)return"请输入强制下架原因"}}).then((function(a){var n=a.value;Object(c["U"])({id:t,status:-2,refusal:n}).then((function(t){e.$message({type:"success",message:"提交成功"}),e.getLstFilterApi(),e.getList("")})).catch((function(t){e.$message.error(t.message)}))})).catch((function(){e.$message({type:"info",message:"取消输入"})}))},getLstFilterApi:function(){var t=this;Object(c["Q"])().then((function(e){t.headeNum=e.data})).catch((function(e){t.$message.error(e.message)}))},getMerSelect:function(){var t=this;Object(c["R"])().then((function(e){t.merSelect=e.data})).catch((function(e){t.$message.error(e.message)}))},batch:function(){if(0===this.multipleSelection.length)return this.$message.warning("请先选择商品");this.$refs.infoFrom.dialogVisible=!0,this.isShow=!1},handleSelectionChange:function(t){this.multipleSelection=t;var e=[];this.multipleSelection.map((function(t){e.push(t.product_id)})),this.OffId=e},toExamine:function(t){this.$refs.infoFrom.dialogVisible=!0,this.isShow=!0,this.$refs.infoFrom.getInfo(t)},getCategorySelect:function(){var t=this;Object(c["t"])().then((function(e){t.merCateList=e.data})).catch((function(e){t.$message.error(e.message)}))},getList:function(t){var e=this;this.listLoading=!0,this.tableFrom.page=t||this.tableFrom.page,Object(c["T"])(this.tableFrom).then((function(t){e.tableData.data=t.data.list,e.tableData.total=t.data.count,e.listLoading=!1})).catch((function(t){e.listLoading=!1,e.$message.error(t.message)}))},pageChange:function(t){this.tableFrom.page=t,this.getList("")},handleSizeChange:function(t){this.tableFrom.limit=t,this.getList(1)}}},j=V,F=(a("48d5"),Object(h["a"])(j,s,i,!1,null,"cec8fd02",null));e["default"]=F.exports},8615:function(t,e,a){var n=a("5ca1"),r=a("504c")(!1);n(n.S,"Object",{values:function(t){return r(t)}})},b7be:function(t,e,a){"use strict";a.d(e,"y",(function(){return r})),a.d(e,"z",(function(){return s})),a.d(e,"A",(function(){return i})),a.d(e,"B",(function(){return o})),a.d(e,"x",(function(){return l})),a.d(e,"e",(function(){return c})),a.d(e,"k",(function(){return u})),a.d(e,"c",(function(){return d})),a.d(e,"b",(function(){return f})),a.d(e,"d",(function(){return m})),a.d(e,"h",(function(){return p})),a.d(e,"g",(function(){return _})),a.d(e,"l",(function(){return b})),a.d(e,"a",(function(){return v})),a.d(e,"H",(function(){return g})),a.d(e,"E",(function(){return h})),a.d(e,"G",(function(){return y})),a.d(e,"D",(function(){return k})),a.d(e,"F",(function(){return w})),a.d(e,"C",(function(){return x})),a.d(e,"I",(function(){return C})),a.d(e,"f",(function(){return V})),a.d(e,"j",(function(){return j})),a.d(e,"i",(function(){return F})),a.d(e,"v",(function(){return S})),a.d(e,"n",(function(){return O})),a.d(e,"q",(function(){return D})),a.d(e,"r",(function(){return L})),a.d(e,"p",(function(){return A})),a.d(e,"s",(function(){return $})),a.d(e,"w",(function(){return I})),a.d(e,"u",(function(){return E})),a.d(e,"t",(function(){return G})),a.d(e,"m",(function(){return N})),a.d(e,"o",(function(){return T}));var n=a("0c6d");function r(t){return n["a"].get("store/coupon/detail/".concat(t))}function s(t){return n["a"].get("store/coupon/lst",t)}function i(t,e){return n["a"].post("store/coupon/status/".concat(t),{status:e})}function o(t){return n["a"].get("store/coupon/issue",t)}function l(t){return n["a"].delete("store/coupon/delete/".concat(t))}function c(t){return n["a"].get("broadcast/room/lst",t)}function u(t,e){return n["a"].post("broadcast/room/status/".concat(t),e)}function d(t){return n["a"].delete("broadcast/room/delete/".concat(t))}function f(t){return n["a"].get("broadcast/room/apply/form/".concat(t))}function m(t){return n["a"].get("broadcast/room/detail/".concat(t))}function p(t){return n["a"].get("broadcast/goods/lst",t)}function _(t){return n["a"].get("broadcast/goods/detail/".concat(t))}function b(t,e){return n["a"].post("broadcast/goods/status/".concat(t),e)}function v(t){return n["a"].get("broadcast/goods/apply/form/".concat(t))}function g(){return n["a"].get("seckill/config/create/form")}function h(t){return n["a"].get("seckill/config/lst",t)}function y(t){return n["a"].get("seckill/config/update/".concat(t,"/form"))}function k(t){return n["a"].delete("seckill/config/delete/".concat(t))}function w(t,e){return n["a"].post("seckill/config/status/".concat(t),{status:e})}function x(t,e){return n["a"].get("seckill/product/detail/".concat(t),e)}function C(t,e){return n["a"].get("broadcast/room/goods/".concat(t),e)}function V(t){return n["a"].delete("broadcast/goods/delete/".concat(t))}function j(t,e){return n["a"].post("broadcast/room/sort/".concat(t),e)}function F(t,e){return n["a"].post("broadcast/goods/sort/".concat(t),e)}function S(t){return n["a"].post("config/others/group_buying",t)}function O(){return n["a"].get("config/others/group_buying")}function D(t){return n["a"].get("store/product/group/lst",t)}function L(t){return n["a"].get("store/product/group/get/".concat(t))}function A(t){return n["a"].get("store/product/group/detail/".concat(t))}function $(t){return n["a"].post("store/product/group/status",t)}function I(t,e){return n["a"].post("store/product/group/is_show/".concat(t),{status:e})}function E(t){return n["a"].get("store/product/group/get/".concat(t))}function G(t,e){return n["a"].post("store/product/group/update/".concat(t),e)}function N(t){return n["a"].get("store/product/group/buying/lst",t)}function T(t,e){return n["a"].get("store/product/group/buying/detail/".concat(t),e)}},c4c8:function(t,e,a){"use strict";a.d(e,"Z",(function(){return r})),a.d(e,"X",(function(){return s})),a.d(e,"bb",(function(){return i})),a.d(e,"Y",(function(){return o})),a.d(e,"ab",(function(){return l})),a.d(e,"l",(function(){return c})),a.d(e,"j",(function(){return u})),a.d(e,"n",(function(){return d})),a.d(e,"k",(function(){return f})),a.d(e,"m",(function(){return m})),a.d(e,"q",(function(){return p})),a.d(e,"o",(function(){return _})),a.d(e,"s",(function(){return b})),a.d(e,"p",(function(){return v})),a.d(e,"r",(function(){return g})),a.d(e,"I",(function(){return h})),a.d(e,"T",(function(){return y})),a.d(e,"t",(function(){return k})),a.d(e,"x",(function(){return w})),a.d(e,"H",(function(){return x})),a.d(e,"S",(function(){return C})),a.d(e,"K",(function(){return V})),a.d(e,"V",(function(){return j})),a.d(e,"w",(function(){return F})),a.d(e,"Q",(function(){return S})),a.d(e,"O",(function(){return O})),a.d(e,"M",(function(){return D})),a.d(e,"N",(function(){return L})),a.d(e,"v",(function(){return A})),a.d(e,"y",(function(){return $})),a.d(e,"R",(function(){return I})),a.d(e,"J",(function(){return E})),a.d(e,"U",(function(){return G})),a.d(e,"L",(function(){return N})),a.d(e,"W",(function(){return T})),a.d(e,"u",(function(){return z})),a.d(e,"P",(function(){return B})),a.d(e,"cb",(function(){return P})),a.d(e,"A",(function(){return M})),a.d(e,"z",(function(){return W})),a.d(e,"D",(function(){return U})),a.d(e,"G",(function(){return R})),a.d(e,"E",(function(){return H})),a.d(e,"F",(function(){return q})),a.d(e,"B",(function(){return J})),a.d(e,"C",(function(){return K})),a.d(e,"d",(function(){return Q})),a.d(e,"e",(function(){return X})),a.d(e,"c",(function(){return Y})),a.d(e,"f",(function(){return Z})),a.d(e,"i",(function(){return tt})),a.d(e,"b",(function(){return et})),a.d(e,"a",(function(){return at})),a.d(e,"h",(function(){return nt})),a.d(e,"g",(function(){return rt}));var n=a("0c6d");function r(){return n["a"].get("store/category/lst")}function s(){return n["a"].get("store/category/create/form")}function i(t){return n["a"].get("store/category/update/form/".concat(t))}function o(t){return n["a"].delete("store/category/delete/".concat(t))}function l(t,e){return n["a"].post("store/category/status/".concat(t),{status:e})}function c(t){return n["a"].get("store/brand/category/lst",t)}function u(){return n["a"].get("store/brand/category/create/form")}function d(t){return n["a"].get("store/brand/category/update/form/".concat(t))}function f(t){return n["a"].delete("store/brand/category/delete/".concat(t))}function m(t,e){return n["a"].post("store/brand/category/status/".concat(t),{status:e})}function p(t){return n["a"].get("store/brand/lst",t)}function _(){return n["a"].get("store/brand/create/form")}function b(t){return n["a"].get("store/brand/update/form/".concat(t))}function v(t){return n["a"].delete("store/brand/delete/".concat(t))}function g(t,e){return n["a"].post("store/brand/status/".concat(t),{status:e})}function h(t){return n["a"].get("store/product/lst",t)}function y(t){return n["a"].get("seckill/product/lst",t)}function k(){return n["a"].get("store/category/list")}function w(){return n["a"].get("system/merchant/category_lst")}function x(t){return n["a"].get("store/product/detail/".concat(t))}function C(t){return n["a"].get("seckill/product/detail/".concat(t))}function V(t){return n["a"].post("store/product/status",t)}function j(t){return n["a"].post("seckill/product/status",t)}function F(){return n["a"].get("store/product/lst_filter")}function S(){return n["a"].get("seckill/product/lst_filter")}function O(t){return n["a"].get("store/reply/lst",t)}function D(t){return n["a"].get(t?"store/reply/create/form/".concat(t):"store/reply/create/form")}function L(t){return n["a"].delete("store/reply/delete/".concat(t))}function A(t){return n["a"].get("store/product/list",t)}function $(){return n["a"].get("store/product/mer_select")}function I(){return n["a"].get("seckill/product/mer_select")}function E(t){return n["a"].post("store/product/status",t)}function G(t){return n["a"].post("seckill/product/status",t)}function N(t,e){return n["a"].post("store/product/update/".concat(t),e)}function T(t,e){return n["a"].post("seckill/product/update/".concat(t),e)}function z(t,e){return n["a"].post("store/product/change/".concat(t),{status:e})}function B(t,e){return n["a"].post("seckill/product/change/".concat(t),{status:e})}function P(t){return n["a"].get("store/product/ficti/form/".concat(t))}function M(t){return n["a"].get("store/product/presell/lst",t)}function W(t){return n["a"].get("store/product/presell/get/".concat(t))}function U(t){return n["a"].get("store/product/presell/detail/".concat(t))}function R(t,e){return n["a"].post("store/product/presell/update/".concat(t),e)}function H(t){return n["a"].post("store/product/presell/status",t)}function q(t,e){return n["a"].post("store/product/presell/is_show/".concat(t),{status:e})}function J(){return n["a"].get("store/product/presell/agree")}function K(t){return n["a"].post("store/product/presell/agree",t)}function Q(t){return n["a"].get("store/product/assist/lst",t)}function X(t){return n["a"].get("store/product/assist/get/".concat(t))}function Y(t){return n["a"].get("store/product/assist/detail/".concat(t))}function Z(t){return n["a"].post("store/product/assist/status",t)}function tt(t,e){return n["a"].post("store/product/assist/is_show/".concat(t),{status:e})}function et(t){return n["a"].get("store/product/assist/set/lst",t)}function at(t,e){return n["a"].get("store/product/assist/set/detail/".concat(t),e)}function nt(t){return n["a"].get("store/product/assist/get/".concat(t))}function rt(t,e){return n["a"].post("store/product/assist/update/".concat(t),e)}},ef0d:function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("vue-ueditor-wrap",{staticStyle:{width:"90%"},attrs:{config:t.myConfig},on:{beforeInit:t.addCustomDialog},model:{value:t.contents,callback:function(e){t.contents=e},expression:"contents"}})],1)},r=[],s=a("6625"),i=a.n(s),o=a("83d6"),l={name:"Index",components:{VueUeditorWrap:i.a},scrollerHeight:{content:String,default:""},props:{content:{type:String,default:""}},data:function(){return{contents:this.content,myConfig:{autoHeightEnabled:!1,initialFrameHeight:500,initialFrameWidth:"100%",UEDITOR_HOME_URL:"/UEditor/",serverUrl:"http://35.201.165.105:8000/controller.php",elementPathEnabled:!1,wordCount:!1,enableAutoSave:!1}}},watch:{content:function(t){this.contents=this.content},contents:function(t){this.$emit("input",t)}},created:function(){},methods:{addCustomDialog:function(t){window.UE.registerUI("test-dialog",(function(t,e){var a=new window.UE.ui.Dialog({iframeUrl:o["roterPre"]+"/setting/uploadPicture?field=dialog",editor:t,name:e,title:"上传图片",cssRules:"width:1000px;height:620px;padding:20px;"});this.dialog=a;var n=new window.UE.ui.Button({name:"dialog-button",title:"上传图片",cssRules:"background-image: url(@/assets/images/icons.png);background-position: -726px -77px;",onclick:function(){a.render(),a.open()}});return n}),37)}}},c=l,u=a("2877"),d=Object(u["a"])(c,n,r,!1,null,"458b79f6",null);e["a"]=d.exports},f963:function(t,e,a){},fc05:function(t,e,a){"use strict";var n=a("f963"),r=a.n(n);r.a}}]);