You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
crmeb_php/public/system/js/chunk-7ea13f92.2dea57de.js

1 lines
20 KiB

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-7ea13f92"],{"0cca":function(t,e,n){},"1c0c":function(t,e,n){},"9b45":function(t,e,n){"use strict";n("1c0c")},b1ce:function(t,e,n){"use strict";n("0cca")},b7be:function(t,e,n){"use strict";n.d(e,"gb",(function(){return r})),n.d(e,"fb",(function(){return o})),n.d(e,"bb",(function(){return i})),n.d(e,"ab",(function(){return u})),n.d(e,"Z",(function(){return s})),n.d(e,"cb",(function(){return c})),n.d(e,"db",(function(){return l})),n.d(e,"eb",(function(){return d})),n.d(e,"N",(function(){return f})),n.d(e,"I",(function(){return p})),n.d(e,"J",(function(){return m})),n.d(e,"L",(function(){return b})),n.d(e,"K",(function(){return g})),n.d(e,"W",(function(){return _})),n.d(e,"H",(function(){return h})),n.d(e,"o",(function(){return v})),n.d(e,"u",(function(){return y})),n.d(e,"m",(function(){return w})),n.d(e,"l",(function(){return k})),n.d(e,"n",(function(){return x})),n.d(e,"X",(function(){return F})),n.d(e,"Y",(function(){return L})),n.d(e,"pb",(function(){return S})),n.d(e,"r",(function(){return C})),n.d(e,"q",(function(){return D})),n.d(e,"v",(function(){return V})),n.d(e,"a",(function(){return z})),n.d(e,"ob",(function(){return O})),n.d(e,"lb",(function(){return j})),n.d(e,"nb",(function(){return I})),n.d(e,"kb",(function(){return $})),n.d(e,"mb",(function(){return T})),n.d(e,"hb",(function(){return M})),n.d(e,"qb",(function(){return P})),n.d(e,"p",(function(){return W})),n.d(e,"t",(function(){return E})),n.d(e,"s",(function(){return G})),n.d(e,"F",(function(){return B})),n.d(e,"x",(function(){return J})),n.d(e,"A",(function(){return N})),n.d(e,"B",(function(){return q})),n.d(e,"z",(function(){return A})),n.d(e,"C",(function(){return K})),n.d(e,"G",(function(){return H})),n.d(e,"E",(function(){return Q})),n.d(e,"D",(function(){return R})),n.d(e,"w",(function(){return U})),n.d(e,"y",(function(){return X})),n.d(e,"M",(function(){return Y})),n.d(e,"V",(function(){return Z})),n.d(e,"U",(function(){return tt})),n.d(e,"jb",(function(){return et})),n.d(e,"T",(function(){return nt})),n.d(e,"rb",(function(){return at})),n.d(e,"S",(function(){return rt})),n.d(e,"Q",(function(){return ot})),n.d(e,"R",(function(){return it})),n.d(e,"ib",(function(){return ut})),n.d(e,"O",(function(){return st})),n.d(e,"f",(function(){return ct})),n.d(e,"e",(function(){return lt})),n.d(e,"d",(function(){return dt})),n.d(e,"c",(function(){return ft})),n.d(e,"b",(function(){return pt})),n.d(e,"P",(function(){return mt})),n.d(e,"k",(function(){return bt})),n.d(e,"i",(function(){return gt})),n.d(e,"h",(function(){return _t})),n.d(e,"j",(function(){return ht})),n.d(e,"g",(function(){return vt}));var a=n("0c6d");function r(t){return a["a"].get("/store/coupon/platformLst",t)}function o(t){return a["a"].get("/store/coupon/update/".concat(t,"/form"))}function i(t){return a["a"].get("/store/coupon/show/".concat(t))}function u(t){return a["a"].delete("store/coupon/delete/".concat(t))}function s(t){return a["a"].get("/store/coupon/sys/clone/".concat(t,"/form"))}function c(t){return a["a"].get("store/coupon/sys/issue",t)}function l(t,e){return a["a"].get("store/coupon/show_lst/".concat(t),e)}function d(t){return a["a"].get("/store/coupon/send/lst",t)}function f(t){return a["a"].post("store/coupon/send",t)}function p(t){return a["a"].get("store/coupon/detail/".concat(t))}function m(t){return a["a"].get("store/coupon/lst",t)}function b(t,e){return a["a"].post("store/coupon/status/".concat(t),{status:e})}function g(){return a["a"].get("store/coupon/create/form")}function _(t){return a["a"].get("store/coupon/issue",t)}function h(t){return a["a"].delete("store/coupon/delete/".concat(t))}function v(t){return a["a"].get("broadcast/room/lst",t)}function y(t,e){return a["a"].post("broadcast/room/status/".concat(t),e)}function w(t){return a["a"].delete("broadcast/room/delete/".concat(t))}function k(t){return a["a"].get("broadcast/room/apply/form/".concat(t))}function x(t){return a["a"].get("broadcast/room/detail/".concat(t))}function F(t,e){return a["a"].post("broadcast/room/feedsPublic/".concat(t),{status:e})}function L(t,e){return a["a"].post("broadcast/room/comment/".concat(t),{status:e})}function S(t,e){return a["a"].post("broadcast/room/closeKf/".concat(t),{status:e})}function C(t){return a["a"].get("broadcast/goods/lst",t)}function D(t){return a["a"].get("broadcast/goods/detail/".concat(t))}function V(t,e){return a["a"].post("broadcast/goods/status/".concat(t),e)}function z(t){return a["a"].get("broadcast/goods/apply/form/".concat(t))}function O(){return a["a"].get("seckill/config/create/form")}function j(t){return a["a"].get("seckill/config/lst",t)}function I(t){return a["a"].get("seckill/config/update/".concat(t,"/form"))}function $(t){return a["a"].delete("seckill/config/delete/".concat(t))}function T(t,e){return a["a"].post("seckill/config/status/".concat(t),{status:e})}function M(t,e){return a["a"].get("seckill/product/detail/".concat(t),e)}function P(t,e){return a["a"].get("broadcast/room/goods/".concat(t),e)}function W(t){return a["a"].delete("broadcast/goods/delete/".concat(t))}function E(t,e){return a["a"].post("broadcast/room/sort/".concat(t),e)}function G(t,e){return a["a"].post("broadcast/goods/sort/".concat(t),e)}function B(t){return a["a"].post("config/others/group_buying",t)}function J(){return a["a"].get("config/others/group_buying")}function N(t){return a["a"].get("store/product/group/lst",t)}function q(t){return a["a"].get("store/product/group/get/".concat(t))}function A(t){return a["a"].get("store/product/group/detail/".concat(t))}function K(t){return a["a"].post("store/product/group/status",t)}function H(t,e){return a["a"].post("store/product/group/is_show/".concat(t),{status:e})}function Q(t){return a["a"].get("store/product/group/get/".concat(t))}function R(t,e){return a["a"].post("store/product/group/update/".concat(t),e)}function U(t){return a["a"].get("store/product/group/buying/lst",t)}function X(t,e){return a["a"].get("store/product/group/buying/detail/".concat(t),e)}function Y(t,e){return a["a"].get("store/coupon/product/".concat(t),e)}function Z(){return a["a"].get("user/integral/title")}function tt(t){return a["a"].get("user/integral/lst",t)}function et(t){return a["a"].get("user/integral/excel",t)}function nt(){return a["a"].get("user/integral/config")}function at(t){return a["a"].post("user/integral/config",t)}function rt(t){return a["a"].get("discounts/lst",t)}function ot(t,e){return a["a"].post("discounts/status/".concat(t),{status:e})}function it(t){return a["a"].get("discounts/detail/".concat(t))}function ut(t){return a["a"].get("marketing/spu/lst",t)}function st(t){return a["a"].post("activity/atmosphere/create",t)}function ct(t,e){return a["a"].post("activity/atmosphere/update/".concat(t),e)}function lt(t){return a["a"].get("activity/atmosphere/lst",t)}function dt(t){return a["a"].get("activity/atmosphere/detail/".concat(t))}function ft(t,e){return a["a"].post("activity/atmosphere/status/".concat(t),{status:e})}function pt(t){return a["a"].delete("activity/atmosphere/delete/".concat(t))}function mt(t){return a["a"].post("activity/border/create",t)}function bt(t,e){return a["a"].post("activity/border/update/".concat(t),e)}function gt(t){return a["a"].get("activity/border/lst",t)}function _t(t){return a["a"].get("activity/border/detail/".concat(t))}function ht(t,e){return a["a"].post("activity/border/status/".concat(t),{status:e})}function vt(t){return a["a"].delete("activity/border/delete/".concat(t))}},c3e9: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:"divBox"},[n("el-card",{staticClass:"box-card"},[n("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[n("div",{staticClass:"container"},[n("el-form",{attrs:{size:"small",inline:"","label-width":"120px"}},[n("el-form-item",{staticClass:"width100",staticStyle:{display:"block"},attrs:{label:"时间选择:"}},[n("el-radio-group",{staticClass:"mr20",attrs:{type:"button",size:"small"},on:{change:function(e){return t.selectChange(t.tableFrom.date)}},model:{value:t.tableFrom.date,callback:function(e){t.$set(t.tableFrom,"date",e)},expression:"tableFrom.date"}},t._l(t.fromList.fromTxt,(function(e,a){return n("el-radio-button",{key:a,attrs:{label:e.val}},[t._v(t._s(e.text))])})),1),t._v(" "),n("el-date-picker",{staticStyle:{width:"250px"},attrs:{"value-format":"yyyy/MM/dd",format:"yyyy/MM/dd",size:"small",type:"daterange",placement:"bottom-end",placeholder:"自定义时间"},on:{change:t.onchangeTime},model:{value:t.timeVal,callback:function(e){t.timeVal=e},expression:"timeVal"}})],1),t._v(" "),n("el-form-item",{attrs:{label:"商户名称:"}},[n("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 n("el-option",{key:t.mer_id,attrs:{label:t.mer_name,value:t.mer_id}})})),1)],1),t._v(" "),n("el-form-item",{staticStyle:{display:"inline-block"},attrs:{label:"商户类别:"}},[n("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"}},[n("el-option",{attrs:{label:"自营",value:"1"}}),t._v(" "),n("el-option",{attrs:{label:"非自营",value:"0"}})],1)],1),t._v(" "),n("el-form-item",{attrs:{label:"商品搜索:"}},[n("el-input",{staticClass:"selWidth",attrs:{placeholder:"请输入商品名称/ID"},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"}},[n("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(" "),n("el-form-item",{attrs:{label:"拼团状态:"}},[n("el-select",{staticClass:"filter-item selWidth",attrs:{placeholder:"请选择",clearable:""},on:{change:function(e){return t.getList(1)}},model:{value:t.tableFrom.status,callback:function(e){t.$set(t.tableFrom,"status",e)},expression:"tableFrom.status"}},t._l(t.activityStatusList,(function(t){return n("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),1)],1),t._v(" "),n("el-form-item",{attrs:{label:"开团团长搜索:"}},[n("el-input",{staticClass:"selWidth",attrs:{placeholder:"请输入开团团长昵称/ID"},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.user_name,callback:function(e){t.$set(t.tableFrom,"user_name",e)},expression:"tableFrom.user_name"}},[n("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)],1)],1),t._v(" "),n("cards-data",{attrs:{"card-lists":t.cardLists}})],1),t._v(" "),n("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.listLoading,expression:"listLoading"}],staticStyle:{width:"100%"},attrs:{data:t.tableData.data,size:"mini"}},[n("el-table-column",{attrs:{prop:"group_buying_id",label:"ID","min-width":"50"}}),t._v(" "),n("el-table-column",{attrs:{label:"商户名称","min-width":"120"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(e.row.merchant?e.row.merchant.mer_name:""))])]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"mer_name",label:"商户类别","min-width":"80"},scopedSlots:t._u([{key:"default",fn:function(e){return[e.row.merchant?n("span",{staticClass:"spBlock"},[t._v(t._s(e.row.merchant.is_trader?"自营":"非自营"))]):t._e()]}}])}),t._v(" "),n("el-table-column",{attrs:{label:"开团团长","min-width":"120"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(e.row.initiator&&e.row.initiator.nickname))])]}}])}),t._v(" "),n("el-table-column",{attrs:{label:"拼团商品图片","min-width":"80"},scopedSlots:t._u([{key:"default",fn:function(t){return[n("div",{staticClass:"demo-image__preview"},[n("el-image",{attrs:{src:t.row.productGroup&&t.row.productGroup.product.image,"preview-src-list":[t.row.productGroup.product.image]}})],1)]}}])}),t._v(" "),n("el-table-column",{attrs:{label:"拼团商品","min-width":"150"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(e.row.productGroup.product.store_name))])]}}])}),t._v(" "),n("el-table-column",{attrs:{label:"拼团时间","min-width":"160"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("div",[t._v("发起时间:"+t._s(e.row.create_time))]),t._v(" "),n("div",[t._v("结束时间:"+t._s(e.row.stop_time))])]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"buying_count_num",label:"几人团","min-width":"90"}}),t._v(" "),n("el-table-column",{attrs:{prop:"yet_buying_num",label:"参与人次","min-width":"90"}}),t._v(" "),n("el-table-column",{attrs:{label:"状态","min-width":"90"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(-1===e.row.status?"未完成":0===e.row.status?"进行中":"已完成"))])]}}])}),t._v(" "),n("el-table-column",{attrs:{label:"操作","min-width":"150",fixed:"right"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("el-button",{staticClass:"mr10",attrs:{type:"text",size:"small"},on:{click:function(n){return t.goDetail(e.row.group_buying_id)}}},[t._v("查看详情")])]}}])})],1),t._v(" "),n("div",{staticClass:"block"},[n("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(" "),n("details-data",{ref:"detailsData",attrs:{"is-show":t.isShowDetail}})],1)},r=[],o=n("c4c8"),i=n("b7be"),u=n("83d6"),s=n("e572"),c=function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.dialogVisible?a("el-dialog",{attrs:{title:"查看详情",visible:t.dialogVisible,width:"700px"},on:{"update:visible":function(e){t.dialogVisible=e}}},[a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.listLoading,expression:"listLoading"}],staticStyle:{width:"100%"},attrs:{data:t.tableData.data,size:"mini"}},[a("el-table-column",{attrs:{prop:"uid",label:"ID","min-width":"80"}}),t._v(" "),a("el-table-column",{attrs:{prop:"nickname",label:"用户名称","min-width":"120"},scopedSlots:t._u([{key:"default",fn:function(e){return[1==e.row.is_initiator?a("span",{staticClass:"initiator"},[t._v("团长")]):t._e(),a("span",[t._v(t._s(e.row.nickname))])]}}],null,!1,1665894273)}),t._v(" "),a("el-table-column",{attrs:{label:"用户头像","min-width":"100"},scopedSlots:t._u([{key:"default",fn:function(t){return[t.row.avatar?a("div",{staticClass:"demo-image__preview"},[a("el-image",{staticStyle:{width:"36px",height:"36px"},attrs:{src:t.row.avatar,"preview-src-list":[t.row.avatar]}})],1):a("img",{staticStyle:{width:"36px",height:"36px","vertical-align":"top"},attrs:{src:n("cdfe"),alt:""}})]}}],null,!1,3128291785)}),t._v(" "),a("el-table-column",{attrs:{label:"订单编号","min-width":"100"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(" "+t._s(e.row.orderInfo&&e.row.orderInfo.order_sn))])]}}],null,!1,2124253839)}),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.orderInfo&&e.row.orderInfo.pay_price))])]}}],null,!1,2324806425)}),t._v(" "),a("el-table-column",{attrs:{label:"订单状态","min-width":"90"},scopedSlots:t._u([{key:"default",fn:function(e){return[e.row.orderInfo&&-1==e.row.orderInfo.status?a("span",{staticClass:"refuned"},[t._v("\n 已退款")]):a("span",{staticClass:"unrefuned"},[t._v("未退款")])]}}],null,!1,3392112779)})],1),t._v(" "),a("div",{staticClass:"block mb20"},[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._e()},l=[],d={name:"Info",props:{isShow:{type:Boolean,default:!0}},data:function(){return{id:"",loading:!1,dialogVisible:!1,tableData:{data:[],total:0},tableFrom:{page:1,limit:20}}},computed:{},methods:{getList:function(t){var e=this;this.id=t,this.listLoading=!0,Object(i["y"])(this.id,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(this.id)},handleSizeChange:function(t){this.tableFrom.limit=t,this.getList(this.id)}}},f=d,p=(n("b1ce"),n("2877")),m=Object(p["a"])(f,c,l,!1,null,"6bb32903",null),b=m.exports,g=n("0f56"),_={product_id:"",image:"",slider_image:[],store_name:"",store_info:"",start_day:"",end_day:"",start_time:"",end_time:"",is_open_recommend:1,is_open_state:1,is_show:1,presell_type:1,keyword:"",brand_id:"",cate_id:"",mer_cate_id:[],unit_name:"",integral:0,sort:0,is_good:0,temp_id:"",preSale_date:"",finalPayment_date:"",delivery_type:1,delivery_day:10,attrValue:[{image:"",price:null,down_price:null,presell_price:null,cost:null,ot_price:null,old_stock:null,stock:null,bar_code:"",weight:null,volume:null}],attr:[],extension_type:0,content:"",spec_type:0,is_gift_bag:0},h={name:"ProductList",components:{detailsData:b,cardsData:g["a"]},data:function(){return{roterPre:u["roterPre"],listLoading:!0,cardLists:[],tableData:{data:[],total:0},activityStatusList:[{label:"未完成",value:-1},{label:"进行中",value:0},{label:"已完成",value:10}],fromList:s["a"],tableFrom:{page:1,limit:20,keyword:"",date:"",status:"",is_trader:"",mer_id:"",user_name:""},modals:!1,dialogVisible:!1,loading:!1,manyTabTit:{},manyTabDate:{},formValidate:Object.assign({},_),OneattrValue:[Object.assign({},_.attrValue[0])],ManyAttrValue:[Object.assign({},_.attrValue[0])],attrInfo:{},timeVal:"",isShowDetail:!1,merSelect:[]}},mounted:function(){this.getList(""),this.getMerSelect()},methods:{getMerSelect:function(){var t=this;Object(o["P"])().then((function(e){t.merSelect=e.data})).catch((function(e){t.$message.error(e.message)}))},goDetail:function(t){this.$refs.detailsData.dialogVisible=!0,this.isShowDetail=!0,this.$refs.detailsData.getList(t)},selectChange:function(t){this.tableFrom.date=t,this.tableFrom.page=1,this.timeVal=[],this.getList("")},onchangeTime:function(t){this.timeVal=t,this.tableFrom.date=t?this.timeVal.join("-"):"",this.tableFrom.page=1,this.getList("")},getList:function(t){var e=this;this.listLoading=!0,this.tableFrom.page=t||this.tableFrom.page,Object(i["w"])(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("")}}},v=h,y=(n("9b45"),Object(p["a"])(v,a,r,!1,null,"0b8b2b07",null));e["default"]=y.exports},cdfe:function(t,e,n){t.exports=n.p+"system/img/f.5aa43cd3.png"},e572:function(t,e,n){"use strict";n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return o}));var a=[{label:"开启",value:1},{label:"关闭",value:0}],r={title:"选择时间",custom:!0,fromTxt:[{text:"全部",val:""},{text:"今天",val:"today"},{text:"昨天",val:"yesterday"},{text:"最近7天",val:"lately7"},{text:"最近30天",val:"lately30"},{text:"本月",val:"month"},{text:"本年",val:"year"}]},o={title:"状态",custom:!0,fromTxt:[{text:"全部",val:""},{text:"待审核",val:"0"},{text:"审核已通过",val:"1"},{text:"审核未通过",val:"2"}]}}}]);