启程易购后端代码
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.
 
 
 
 
 
 
qicheng_shop_backend/public/system/js/chunk-15f3e05e.12e78190.js

1 lines
34 KiB

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-15f3e05e"],{"5a76":function(t,e,a){"use strict";a("ff99")},b7be:function(t,e,a){"use strict";a.d(e,"Ob",(function(){return o})),a.d(e,"Nb",(function(){return r})),a.d(e,"Jb",(function(){return s})),a.d(e,"Ib",(function(){return i})),a.d(e,"Hb",(function(){return c})),a.d(e,"Kb",(function(){return l})),a.d(e,"Lb",(function(){return u})),a.d(e,"Mb",(function(){return d})),a.d(e,"W",(function(){return f})),a.d(e,"R",(function(){return m})),a.d(e,"S",(function(){return v})),a.d(e,"U",(function(){return _})),a.d(e,"T",(function(){return p})),a.d(e,"Bb",(function(){return b})),a.d(e,"Q",(function(){return g})),a.d(e,"x",(function(){return h})),a.d(e,"D",(function(){return w})),a.d(e,"v",(function(){return y})),a.d(e,"u",(function(){return F})),a.d(e,"w",(function(){return k})),a.d(e,"Cb",(function(){return C})),a.d(e,"Db",(function(){return D})),a.d(e,"Yb",(function(){return x})),a.d(e,"A",(function(){return $})),a.d(e,"z",(function(){return L})),a.d(e,"E",(function(){return S})),a.d(e,"i",(function(){return z})),a.d(e,"Xb",(function(){return O})),a.d(e,"Ub",(function(){return j})),a.d(e,"Wb",(function(){return I})),a.d(e,"Tb",(function(){return B})),a.d(e,"Vb",(function(){return E})),a.d(e,"Qb",(function(){return W})),a.d(e,"Zb",(function(){return A})),a.d(e,"y",(function(){return N})),a.d(e,"C",(function(){return V})),a.d(e,"B",(function(){return q})),a.d(e,"O",(function(){return R})),a.d(e,"G",(function(){return T})),a.d(e,"J",(function(){return G})),a.d(e,"K",(function(){return K})),a.d(e,"I",(function(){return J})),a.d(e,"L",(function(){return M})),a.d(e,"P",(function(){return P})),a.d(e,"N",(function(){return Q})),a.d(e,"M",(function(){return Y})),a.d(e,"F",(function(){return Z})),a.d(e,"H",(function(){return H})),a.d(e,"V",(function(){return U})),a.d(e,"nb",(function(){return X})),a.d(e,"mb",(function(){return tt})),a.d(e,"Sb",(function(){return et})),a.d(e,"fb",(function(){return at})),a.d(e,"cc",(function(){return nt})),a.d(e,"cb",(function(){return ot})),a.d(e,"ab",(function(){return rt})),a.d(e,"bb",(function(){return st})),a.d(e,"Rb",(function(){return it})),a.d(e,"X",(function(){return ct})),a.d(e,"o",(function(){return lt})),a.d(e,"n",(function(){return ut})),a.d(e,"m",(function(){return dt})),a.d(e,"l",(function(){return ft})),a.d(e,"k",(function(){return mt})),a.d(e,"Y",(function(){return vt})),a.d(e,"t",(function(){return _t})),a.d(e,"r",(function(){return pt})),a.d(e,"q",(function(){return bt})),a.d(e,"s",(function(){return gt})),a.d(e,"p",(function(){return ht})),a.d(e,"ib",(function(){return wt})),a.d(e,"gb",(function(){return yt})),a.d(e,"kb",(function(){return Ft})),a.d(e,"hb",(function(){return kt})),a.d(e,"jb",(function(){return Ct})),a.d(e,"Z",(function(){return Dt})),a.d(e,"zb",(function(){return xt})),a.d(e,"yb",(function(){return $t})),a.d(e,"wb",(function(){return Lt})),a.d(e,"Ab",(function(){return St})),a.d(e,"eb",(function(){return zt})),a.d(e,"vb",(function(){return Ot})),a.d(e,"xb",(function(){return jt})),a.d(e,"ub",(function(){return It})),a.d(e,"qb",(function(){return Bt})),a.d(e,"sb",(function(){return Et})),a.d(e,"rb",(function(){return Wt})),a.d(e,"lb",(function(){return At})),a.d(e,"db",(function(){return Nt})),a.d(e,"ob",(function(){return Vt})),a.d(e,"tb",(function(){return qt})),a.d(e,"pb",(function(){return Rt})),a.d(e,"a",(function(){return Tt})),a.d(e,"ac",(function(){return Gt})),a.d(e,"d",(function(){return Kt})),a.d(e,"f",(function(){return Jt})),a.d(e,"c",(function(){return Mt})),a.d(e,"j",(function(){return Pt})),a.d(e,"b",(function(){return Qt})),a.d(e,"h",(function(){return Yt})),a.d(e,"e",(function(){return Zt})),a.d(e,"g",(function(){return Ht}));var n=a("0c6d");function o(t){return n["a"].get("/store/coupon/platformLst",t)}function r(t){return n["a"].get("/store/coupon/update/".concat(t,"/form"))}function s(t){return n["a"].get("/store/coupon/show/".concat(t))}function i(t){return n["a"].delete("store/coupon/delete/".concat(t))}function c(t){return n["a"].get("/store/coupon/sys/clone/".concat(t,"/form"))}function l(t){return n["a"].get("store/coupon/sys/issue",t)}function u(t,e){return n["a"].get("store/coupon/show_lst/".concat(t),e)}function d(t){return n["a"].get("/store/coupon/send/lst",t)}function f(t){return n["a"].post("store/coupon/send",t)}function m(t){return n["a"].get("store/coupon/detail/".concat(t))}function v(t){return n["a"].get("store/coupon/lst",t)}function _(t,e){return n["a"].post("store/coupon/status/".concat(t),{status:e})}function p(){return n["a"].get("store/coupon/create/form")}function b(t){return n["a"].get("store/coupon/issue",t)}function g(t){return n["a"].delete("store/coupon/delete/".concat(t))}function h(t){return n["a"].get("broadcast/room/lst",t)}function w(t,e){return n["a"].post("broadcast/room/status/".concat(t),e)}function y(t){return n["a"].delete("broadcast/room/delete/".concat(t))}function F(t){return n["a"].get("broadcast/room/apply/form/".concat(t))}function k(t){return n["a"].get("broadcast/room/detail/".concat(t))}function C(t,e){return n["a"].post("broadcast/room/feedsPublic/".concat(t),{status:e})}function D(t,e){return n["a"].post("broadcast/room/comment/".concat(t),{status:e})}function x(t,e){return n["a"].post("broadcast/room/closeKf/".concat(t),{status:e})}function $(t){return n["a"].get("broadcast/goods/lst",t)}function L(t){return n["a"].get("broadcast/goods/detail/".concat(t))}function S(t,e){return n["a"].post("broadcast/goods/status/".concat(t),e)}function z(t){return n["a"].get("broadcast/goods/apply/form/".concat(t))}function O(){return n["a"].get("seckill/config/create/form")}function j(t){return n["a"].get("seckill/config/lst",t)}function I(t){return n["a"].get("seckill/config/update/".concat(t,"/form"))}function B(t){return n["a"].delete("seckill/config/delete/".concat(t))}function E(t,e){return n["a"].post("seckill/config/status/".concat(t),{status:e})}function W(t,e){return n["a"].get("seckill/product/detail/".concat(t),e)}function A(t,e){return n["a"].get("broadcast/room/goods/".concat(t),e)}function N(t){return n["a"].delete("broadcast/goods/delete/".concat(t))}function V(t,e){return n["a"].post("broadcast/room/sort/".concat(t),e)}function q(t,e){return n["a"].post("broadcast/goods/sort/".concat(t),e)}function R(t){return n["a"].post("config/others/group_buying",t)}function T(){return n["a"].get("config/others/group_buying")}function G(t){return n["a"].get("store/product/group/lst",t)}function K(t){return n["a"].get("store/product/group/get/".concat(t))}function J(t){return n["a"].get("store/product/group/detail/".concat(t))}function M(t){return n["a"].post("store/product/group/status",t)}function P(t,e){return n["a"].post("store/product/group/is_show/".concat(t),{status:e})}function Q(t){return n["a"].get("store/product/group/get/".concat(t))}function Y(t,e){return n["a"].post("store/product/group/update/".concat(t),e)}function Z(t){return n["a"].get("store/product/group/buying/lst",t)}function H(t,e){return n["a"].get("store/product/group/buying/detail/".concat(t),e)}function U(t,e){return n["a"].get("store/coupon/product/".concat(t),e)}function X(){return n["a"].get("user/integral/title")}function tt(t){return n["a"].get("user/integral/lst",t)}function et(t){return n["a"].get("user/integral/excel",t)}function at(){return n["a"].get("user/integral/config")}function nt(t){return n["a"].post("user/integral/config",t)}function ot(t){return n["a"].get("discounts/lst",t)}function rt(t,e){return n["a"].post("discounts/status/".concat(t),{status:e})}function st(t){return n["a"].get("discounts/detail/".concat(t))}function it(t){return n["a"].get("marketing/spu/lst",t)}function ct(t){return n["a"].post("activity/atmosphere/create",t)}function lt(t,e){return n["a"].post("activity/atmosphere/update/".concat(t),e)}function ut(t){return n["a"].get("activity/atmosphere/lst",t)}function dt(t){return n["a"].get("activity/atmosphere/detail/".concat(t))}function ft(t,e){return n["a"].post("activity/atmosphere/status/".concat(t),{status:e})}function mt(t){return n["a"].delete("activity/atmosphere/delete/".concat(t))}function vt(t){return n["a"].post("activity/border/create",t)}function _t(t,e){return n["a"].post("activity/border/update/".concat(t),e)}function pt(t){return n["a"].get("activity/border/lst",t)}function bt(t){return n["a"].get("activity/border/detail/".concat(t))}function gt(t,e){return n["a"].post("activity/border/status/".concat(t),{status:e})}function ht(t){return n["a"].delete("activity/border/delete/".concat(t))}function wt(){return n["a"].get("points/cate/lst")}function yt(){return n["a"].get("points/cate/create/form")}function Ft(t){return n["a"].get("points/cate/update/form/".concat(t))}function kt(t){return n["a"].delete("points/cate/delete/".concat(t))}function Ct(t,e){return n["a"].post("points/cate/status/".concat(t),{status:e})}function Dt(t){return n["a"].post("points/product/create",t)}function xt(t,e){return n["a"].post("points/product/update/".concat(t),e)}function $t(t){return n["a"].get("points/product/lst",t)}function Lt(t){return n["a"].delete("points/product/delete/".concat(t))}function St(t,e){return n["a"].post("points/product/status/".concat(t),{status:e})}function zt(t,e){return n["a"].post("points/product/get_attr_value/".concat(t),e)}function Ot(){return n["a"].get("points/cate/select")}function jt(t){return n["a"].get("points/product/detail/".concat(t))}function It(t){return n["a"].get("points/order/lst",t)}function Bt(t){return n["a"].get("points/order/detail/".concat(t))}function Et(t){return n["a"].get("points/order/express/".concat(t))}function Wt(t){return n["a"].get("points/order/excel",t)}function At(t,e){return n["a"].post("points/order/delivery/".concat(t),e)}function Nt(t){return n["a"].get("store/express/options",t)}function Vt(t){return n["a"].get("points/order/mark/".concat(t,"/form"))}function qt(t,e){return n["a"].get("points/order/status/".concat(t),e)}function Rt(t){return n["a"].delete("points/order/delete/".concat(t))}function Tt(t){return n["a"].post("activity/form/create",t)}function Gt(){return n["a"].get("system/form/select")}function Kt(t){return n["a"].get("activity/form/lst",t)}function Jt(t,e){return n["a"].post("activity/form/status/".concat(t),{status:e})}function Mt(t){return n["a"].get("activity/form/detail/".concat(t))}function Pt(t,e){return n["a"].get("system/form/info/".concat(t),e)}function Qt(t){return n["a"].delete("activity/form/delete/".concat(t))}function Yt(t,e){return n["a"].get("activity/form/user/lst/".concat(t),e)}function Zt(t,e){return n["a"].get("activity/form/excel/".concat(t),e)}function Ht(t,e){return n["a"].post("activity/form/update/".concat(t),e)}},e6d3:function(t,e,a){"use strict";a.r(e);var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"divBox"},[a("div",{staticClass:"selCard"},[a("el-form",{ref:"searchForm",attrs:{model:t.tableFrom,size:"small","label-width":"85px",inline:""}},[a("el-form-item",{attrs:{label:"状态:",prop:"status_tag"}},[a("el-select",{staticClass:"selWidth",attrs:{clearable:"",placeholder:"请选择"},on:{change:function(e){return t.getList(1)}},model:{value:t.tableFrom.status_tag,callback:function(e){t.$set(t.tableFrom,"status_tag",e)},expression:"tableFrom.status_tag"}},[a("el-option",{attrs:{label:"全部",value:""}}),t._v(" "),a("el-option",{attrs:{label:"待审核",value:"0"}}),t._v(" "),a("el-option",{attrs:{label:"审核已通过",value:"1"}}),t._v(" "),a("el-option",{attrs:{label:"审核未通过",value:"-1"}})],1)],1),t._v(" "),a("el-form-item",{attrs:{label:"商户名称:",prop:"mer_id"}},[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",{attrs:{label:"商户类别:",prop:"is_trader"}},[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:"显示状态:",prop:"show_type"}},[a("el-select",{staticClass:"filter-item selWidth",attrs:{placeholder:"请选择",clearable:""},on:{change:function(e){return t.getList(1)}},model:{value:t.tableFrom.show_type,callback:function(e){t.$set(t.tableFrom,"show_type",e)},expression:"tableFrom.show_type"}},t._l(t.studioShowStatusList,(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:"直播状态:",prop:"live_status"}},[a("el-select",{staticClass:"selWidth",attrs:{placeholder:"请选择",clearable:""},on:{change:function(e){return t.getList(1)}},model:{value:t.tableFrom.live_status,callback:function(e){t.$set(t.tableFrom,"live_status",e)},expression:"tableFrom.live_status"}},t._l(t.studioStatusList,(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:"推荐级别:",prop:"live_status"}},[a("el-select",{staticClass:"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),t._v(" "),a("el-form-item",{attrs:{label:"关键字:",prop:"keyword"}},[a("el-input",{staticClass:"selWidth",attrs:{placeholder:"请输入直播间名称/ID/主播昵称/微信号",size:"small"},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"}})],1),t._v(" "),a("el-form-item",[a("el-button",{attrs:{type:"primary",size:"small"},on:{click:function(e){return t.getList(1)}}},[t._v("搜索")]),t._v(" "),a("el-button",{attrs:{size:"small"},on:{click:function(e){return t.searchReset()}}},[t._v("重置")])],1)],1)],1),t._v(" "),a("el-card",{staticClass:"mt14"},[a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.listLoading,expression:"listLoading"}],attrs:{data:t.tableData.data,size:"small","highlight-current-row":""}},[a("el-table-column",{attrs:{label:"序号","min-width":"60"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(e.$index+(t.tableFrom.page-1)*t.tableFrom.limit+1))])]}}])}),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.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:{prop:"broadcast_room_id",label:"ID","min-width":"60"}}),t._v(" "),a("el-table-column",{attrs:{prop:"name",label:"直播间名称","min-width":"90"}}),t._v(" "),1==t.tableFrom.status_tag?a("el-table-column",{key:"1",attrs:{prop:"broadcast_room_id",label:"直播间ID","min-width":"80"}}):t._e(),t._v(" "),a("el-table-column",{attrs:{prop:"anchor_name",label:"主播昵称","min-width":"90"}}),t._v(" "),a("el-table-column",{attrs:{prop:"anchor_wechat",label:"主播微信号","min-width":"100"}}),t._v(" "),a("el-table-column",{attrs:{prop:"start_time","min-width":"150",label:"直播开始时间"}}),t._v(" "),a("el-table-column",{attrs:{prop:"end_time","min-width":"150",label:"直播计划结束时间"}}),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(t._f("broadcastStatusFilter")(e.row.live_status)))])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"create_time","min-width":"120",label:"创建时间"}}),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:{prop:"sort","min-width":"60",label:"排序"}}),t._v(" "),a("el-table-column",{attrs:{label:"显示状态","min-width":"90"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-switch",{attrs:{"active-value":1,"inactive-value":0,"active-text":"显示","inactive-text":"隐藏"},nativeOn:{click:function(a){return t.onchangeIsShow(e.row)}},model:{value:e.row.is_show,callback:function(a){t.$set(e.row,"is_show",a)},expression:"scope.row.is_show"}})]}}])}),t._v(" "),a("el-table-column",{key:"15",attrs:{label:"开启收录","min-width":"90"},scopedSlots:t._u([{key:"default",fn:function(e){return[2==e.row.status?a("el-switch",{attrs:{"active-value":1,"inactive-value":0,"active-text":"开启","inactive-text":"关闭"},nativeOn:{click:function(a){return t.onchangeIsFeeds(e.row)}},model:{value:e.row.is_feeds_public,callback:function(a){t.$set(e.row,"is_feeds_public",a)},expression:"scope.row.is_feeds_public"}}):a("el-switch",{attrs:{"active-value":1,"inactive-value":0,"active-text":"开启","inactive-text":"关闭"},model:{value:e.row.is_feeds_public,callback:function(a){t.$set(e.row,"is_feeds_public",a)},expression:"scope.row.is_feeds_public"}})]}}])}),t._v(" "),a("el-table-column",{key:"16",attrs:{label:"禁言","min-width":"90"},scopedSlots:t._u([{key:"default",fn:function(e){return[2==e.row.status?a("el-switch",{attrs:{"active-value":0,"inactive-value":1,"active-text":"开启","inactive-text":"关闭"},nativeOn:{click:function(a){return t.onchangeIsCommen(e.row)}},model:{value:e.row.close_comment,callback:function(a){t.$set(e.row,"close_comment",a)},expression:"scope.row.close_comment"}}):a("el-switch",{attrs:{disabled:"","active-value":1,"inactive-value":0,"active-text":"开启","inactive-text":"关闭"},model:{value:e.row.close_comment,callback:function(a){t.$set(e.row,"close_comment",a)},expression:"scope.row.close_comment"}})]}}])}),t._v(" "),a("el-table-column",{key:"17",attrs:{label:"客服开关","min-width":"90"},scopedSlots:t._u([{key:"default",fn:function(e){return[2==e.row.status?a("el-switch",{attrs:{"active-value":1,"inactive-value":0,"active-text":"开启","inactive-text":"关闭"},nativeOn:{click:function(a){return t.onchangeIsKf(e.row)}},model:{value:e.row.close_kf,callback:function(a){t.$set(e.row,"close_kf",a)},expression:"scope.row.close_kf"}}):a("el-switch",{attrs:{disabled:"","active-value":1,"inactive-value":0,"active-text":"开启","inactive-text":"关闭"},model:{value:e.row.close_kf,callback:function(a){t.$set(e.row,"close_kf",a)},expression:"scope.row.close_kf"}})]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"商城显示","min-width":"90"},scopedSlots:t._u([{key:"default",fn:function(e){return[1==e.row.is_mer_show&&1==e.row.is_show?a("span",[t._v("显示")]):0==e.row.is_mer_show&&1==e.row.is_show?a("span",[t._v("商户关闭")]):1==e.row.is_mer_show&&0==e.row.is_show?a("span",[t._v("平台关闭")]):a("span",[t._v("关闭")])]}}])}),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(t._f("liveReviewStatusFilter")(e.row.status)))]),t._v(" "),-1==e.row.status?a("span",{staticStyle:{display:"block","font-size":"12px"}},[t._v("原因 "+t._s(e.row.error_msg))]):t._e()]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"操作","min-width":"150",fixed:"right"},scopedSlots:t._u([{key:"default",fn:function(e){return[0==e.row.status?a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){return t.handleAudit(e.row.broadcast_room_id)}}},[t._v("审核")]):t._e(),t._v(" "),a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){return t.onStudioDetails(e.row.broadcast_room_id)}}},[t._v("详情")]),t._v(" "),a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){return t.handleEdit(e.row.broadcast_room_id)}}},[t._v("编辑")]),t._v(" "),a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){return t.handleDelete(e.row,e.$index)}}},[t._v("删除")])]}}])})],1),t._v(" "),a("div",{staticClass:"block"},[a("el-pagination",{attrs:{background:"","page-size":t.tableFrom.limit,"current-page":t.tableFrom.page,layout:"total, prev, pager, next, jumper",total:t.tableData.total},on:{"size-change":t.handleSizeChange,"current-change":t.pageChange}})],1)],1),t._v(" "),a("details-from",{ref:"studioDetail",on:{getList:t.getList}})],1)},o=[],r=a("b7be"),s=a("c4c8"),i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"divBox"},[t.dialogVisible?a("el-drawer",{attrs:{title:"直播间信息",visible:t.dialogVisible,size:"800px"},on:{"update:visible":function(e){t.dialogVisible=e}}},[a("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}]},[a("el-tabs",{attrs:{type:"border-card"},model:{value:t.activeName,callback:function(e){t.activeName=e},expression:"activeName"}},[a("el-tab-pane",{attrs:{label:"直播间信息",name:"basic"}},[a("div",{staticClass:"section"},[a("div",{staticClass:"title"},[t._v("用户信息")]),t._v(" "),a("ul",{staticClass:"list"},[a("li",{staticClass:"item"},[a("div",[t._v("直播间名称:")]),t._v(" "),a("div",{staticClass:"value"},[t._v(t._s(t.FormData.name))])]),t._v(" "),a("li",{staticClass:"item"},[a("div",[t._v("主播微信号:")]),t._v(" "),a("div",{staticClass:"value"},[t._v(t._s(t.FormData.anchor_wechat))])]),t._v(" "),a("li",{staticClass:"item"},[a("div",[t._v("直播间ID:")]),t._v(" "),a("div",{staticClass:"value"},[t._v(t._s(t.FormData.broadcast_room_id))])]),t._v(" "),a("li",{staticClass:"item"},[a("div",[t._v("主播昵称:")]),t._v(" "),a("div",{staticClass:"value"},[t._v(t._s(t.FormData.anchor_name))])]),t._v(" "),a("li",{staticClass:"item"},[a("div",[t._v("手机号:")]),t._v(" "),a("div",{staticClass:"value"},[t._v(t._s(t.FormData.phone))])]),t._v(" "),a("li",{staticClass:"item"},[a("div",[t._v("审核结果:")]),t._v(" "),a("div",{staticClass:"value"},[t._v(t._s(t._f("liveReviewStatusFilter")(t.FormData.status)))])]),t._v(" "),a("li",{staticClass:"item"},[a("div",[t._v("直播开始时间:")]),t._v(" "),a("div",{staticClass:"value"},[t._v(t._s(t.FormData.start_time))])]),t._v(" "),a("li",{staticClass:"item"},[a("div",[t._v("直播结束时间:")]),t._v(" "),a("div",{staticClass:"value"},[t._v(t._s(t.FormData.end_time))])]),t._v(" "),a("li",{staticClass:"item"},[a("div",[t._v("直播间类型:")]),t._v(" "),a("div",{staticClass:"value"},[t._v(t._s(t._f("broadcastType")(t.FormData.type)))])]),t._v(" "),a("li",{staticClass:"item"},[a("div",[t._v("显示类型:")]),t._v(" "),a("div",{staticClass:"value"},[t._v(t._s(t._f("broadcastDisplayType")(t.FormData.screen_type)))])]),t._v(" "),1==t.FormData.type&&t.FormData.push_url?a("li",{staticClass:"item"},[a("div",[t._v("推流地址:")]),t._v(" "),a("div",{staticClass:"value"},[t._v(t._s(t.FormData.push_url))]),t._v(" "),a("el-button",{staticClass:"copyBtn",attrs:{type:"primary",plain:""},on:{click:function(e){return t.handleClipboard(t.FormData.push_url,e)}}},[t._v("复制")])],1):t._e(),t._v(" "),a("li",{staticClass:"item"},[a("div",[t._v("背景图:")]),t._v(" "),a("div",{staticClass:"value"},[a("img",{staticStyle:{"max-width":"150px",height:"80px"},attrs:{src:t.FormData.cover_img}})])]),t._v(" "),a("li",{staticClass:"item"},[a("div",[t._v("分享图:")]),t._v(" "),a("div",{staticClass:"value"},[a("img",{staticStyle:{"max-width":"150px",height:"80px"},attrs:{src:t.FormData.share_img}})])])])]),t._v(" "),a("div",{staticClass:"section"},[a("div",{staticClass:"title"},[t._v("操作信息")]),t._v(" "),a("ul",{staticClass:"list"},[a("li",{staticClass:"item"},[a("div",[t._v("是否开启点赞:")]),t._v(" "),a("div",{staticClass:"value blue"},[t._v(t._s(t.FormData.close_like?"✖":"✔"))])]),t._v(" "),a("li",{staticClass:"item"},[a("div",[t._v("是否开启货架:")]),t._v(" "),a("div",{staticClass:"value blue"},[t._v(t._s(t.FormData.close_goods?"✖":"✔"))])]),t._v(" "),a("li",{staticClass:"item"},[a("div",[t._v("是否开启评论:")]),t._v(" "),a("div",{staticClass:"value blue"},[t._v(t._s(t.FormData.close_comment?"✖":"✔"))])]),t._v(" "),a("li",{staticClass:"item"},[a("div",[t._v("是否开启直播回放:")]),t._v(" "),a("div",{staticClass:"value blue"},[t._v(t._s(t.FormData.replay_status?"✔":"✖"))])]),t._v(" "),a("li",{staticClass:"item"},[a("div",[t._v("是否开启分享:")]),t._v(" "),a("div",{staticClass:"value blue"},[t._v(t._s(t.FormData.close_share?"✖":"✔"))])]),t._v(" "),a("li",{staticClass:"item"},[a("div",[t._v("是否开启客服:")]),t._v(" "),a("div",{staticClass:"value blue"},[t._v(t._s(t.FormData.close_kf?"✖":"✔"))])]),t._v(" "),a("li",{staticClass:"item"},[a("div",[t._v("是否开启官方收录:")]),t._v(" "),a("div",{staticClass:"value blue"},[t._v(t._s(t.FormData.is_feeds_public?"✔":"✖"))])])]),t._v(" "),t.isEdit?[a("div",{staticClass:"item"},[a("div",[t._v("直播列表推荐:")]),t._v(" "),a("div",{staticClass:"value"},[a("el-rate",{staticClass:"rate_star",attrs:{colors:t.colors},model:{value:t.FormData.star,callback:function(e){t.$set(t.FormData,"star",e)},expression:"FormData.star"}})],1)]),t._v(" "),a("div",{staticClass:"item"},[a("div",[t._v("排序:")]),t._v(" "),a("div",{staticClass:"value"},[a("el-input",{staticClass:"selWidth",staticStyle:{"padding-right":"0"},attrs:{type:"number",placeholder:"请输入序号",size:"small"},model:{value:t.FormData.sort,callback:function(e){t.$set(t.FormData,"sort",t._n(e))},expression:"FormData.sort"}}),t._v(" "),a("el-button",{attrs:{size:"small",type:"primary"},on:{click:t.handleSort}},[t._v("确定")])],1)])]:t._e()],2)]),t._v(" "),2===t.FormData.status?a("el-tab-pane",{attrs:{label:"商品信息",name:"product"}},[a("div",{staticClass:"section"},[a("div",{staticClass:"title mb20"},[t._v("已导入的直播商品:")]),t._v(" "),a("selected-goods",{ref:"selectedGoods",attrs:{broadcast_room_id:t.FormData.broadcast_room_id}})],1)]):t._e()],1)],1)]):t._e()],1)},c=[],l=(a("55dd"),function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"importedGoods"},[a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.listLoading,expression:"listLoading"}],ref:"table",attrs:{data:t.tableData.data,size:"small","highlight-current-row":""}},[a("el-table-column",{attrs:{prop:"broadcast_goods_id",label:"ID","min-width":"50"}}),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.goods.cover_img,"preview-src-list":[t.row.goods.cover_img]}})],1)]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"商品名称","min-width":"200"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(e.row.goods&&e.row.goods.product&&e.row.goods.product.store_name))])]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"库存","min-width":"80"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(e.row.goods&&e.row.goods.product&&e.row.goods.product.stock))])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"goods.price",label:"直播价","min-width":"80"}}),t._v(" "),a("el-table-column",{attrs:{prop:"goods.pay_num",label:"销售数量","min-width":"80"}}),t._v(" "),a("el-table-column",{attrs:{prop:"goods.pay_price",label:"销售金额","min-width":"80"}})],1),t._v(" "),a("div",{staticClass:"block mb20"},[a("el-pagination",{attrs:{"page-size":t.tableFrom.limit,"current-page":t.tableFrom.page,layout:"prev, pager, next, jumper",total:t.tableData.total},on:{"size-change":t.handleSizeChange,"current-change":t.pageChange}})],1)],1)}),u=[],d=(a("c5f6"),{name:"GoodsList",data:function(){return{listLoading:!0,multipleSelection:[],tableData:{data:[],total:0},tableFrom:{page:1,limit:3,cate_id:"",store_name:"",keyword:""}}},props:{broadcast_room_id:{type:Number}},watch:{broadcast_room_id:{deep:!0,handler:function(t){this.getList(t)}}},mounted:function(){this.getList(this.broadcast_room_id)},methods:{getList:function(t){var e=this;this.listLoading=!0,Object(r["Zb"])(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(this.broadcast_room_id)},handleSizeChange:function(t){this.tableFrom.limit=t,this.getList(this.broadcast_room_id)}}}),f=d,m=a("2877"),v=Object(m["a"])(f,l,u,!1,null,"1f5ed4a9",null),_=v.exports,p=a("f71e"),b={name:"studioDetail",components:{selectedGoods:_},data:function(){return{colors:["#99A9BF","#F7BA2A","#FF9900"],dialogVisible:!1,isEdit:!1,activeName:"basic",option:{form:{labelWidth:"150px"}},FormData:{sort:0,star:0},loading:!1}},mounted:function(){},methods:{getData:function(t){var e=this;this.loading=!0,Object(r["w"])(t).then((function(t){e.FormData=t.data,e.loading=!1,console.log(e.FormData)})).catch((function(t){e.$message.error(t.message),e.loading=!1}))},handleSort:function(){var t=this;Object(r["C"])(this.FormData.broadcast_room_id,{sort:this.FormData.sort,star:this.FormData.star}).then((function(e){t.$emit("getList"),t.$message.success(e.message),t.dialogVisible=!1})).catch((function(e){t.$message.error(e.message)}))},handleClipboard:function(t,e){Object(p["a"])(t,e)}}},g=b,h=(a("5a76"),Object(m["a"])(g,i,c,!1,null,"002d2e62",null)),w=h.exports,y=a("83d6");s["Q"];var F={name:"StudioList",components:{detailsFrom:w},data:function(){return{Loading:!1,dialogVisible:!1,broadcast_room_id:0,roterPre:y["roterPre"],listLoading:!0,merSelect:[],colors:["#99A9BF","#F7BA2A","#FF9900"],studioShowStatusList:[{label:"显示",value:3},{label:"商户关闭",value:2},{label:"平台关闭",value:1},{label:"关闭",value:0}],studioStatusList:[{label:"正在进行",value:"101"},{label:"已结束",value:"103"},{label:"未开始",value:"102"},{label:"已过期",value:"107"}],recommendedLevelStatus:[{label:"全部",value:""},{label:"5星",value:"5"},{label:"4星",value:"4"},{label:"3星",value:"3"},{label:"2星",value:"2"},{label:"1星",value:"1"}],tableData:{data:[],total:0},tableFrom:{page:1,limit:20,status_tag:this.$route.query.status?this.$route.query.status:"",is_trader:"",show_type:"",status:"",star:"",broadcast_room_id:this.$route.query.id?this.$route.query.id:""}}},mounted:function(){this.getMerSelect(),this.getList()},methods:{searchReset:function(){this.$refs.searchForm.resetFields(),this.getList(1)},getMerSelect:function(){var t=this;Object(s["Q"])().then((function(e){t.merSelect=e.data})).catch((function(e){t.$message.error(e.message)}))},handleDelete:function(t,e){var a=this;2==t.status&&101==t.live_status?this.$confirm("该直播间正在进行直播,删除后不可恢复,您确认删除吗?","提示",{confirmButtonText:"删除",cancelButtonText:"不删除",type:"warning"}).then((function(){Object(r["v"])(t.broadcast_room_id).then((function(t){var n=t.message;a.$message.success(n),a.tableData.data.splice(e,1)})).catch((function(t){var e=t.message;a.$message.error(e)}))})).catch((function(t){a.$message({type:"info",message:"已取消"})})):this.$modalSureDelete().then((function(){Object(r["v"])(t.broadcast_room_id).then((function(t){var n=t.message;a.$message.success(n),a.tableData.data.splice(e,1),a.getList()})).catch((function(t){var e=t.message;a.$message.error(e)}))}))},onStudioDetails:function(t){this.broadcast_room_id=t,this.$refs.studioDetail.dialogVisible=!0,this.$refs.studioDetail.isEdit=!1,this.$refs.studioDetail.getData(t)},handleEdit:function(t){this.broadcast_room_id=t,this.$refs.studioDetail.dialogVisible=!0,this.$refs.studioDetail.isEdit=!0,this.$refs.studioDetail.getData(t)},getList:function(t){var e=this;this.listLoading=!0,this.tableFrom.page=t||this.tableFrom.page,Object(r["x"])(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()},handleAudit:function(t){var e=this;this.$modalForm(Object(r["u"])(t)).then((function(){return e.getList()}))},onchangeIsShow:function(t){var e=this;Object(r["D"])(t.broadcast_room_id,{is_show:t.is_show}).then((function(t){var a=t.message;e.$message.success(a),e.getList()})).catch((function(t){var a=t.message;e.$message.error(a)}))},onchangeIsFeeds:function(t){var e=this;Object(r["Cb"])(t.broadcast_room_id,t.is_feeds_public).then((function(t){var a=t.message;e.$message.success(a),e.getList("")})).catch((function(t){var a=t.message;e.$message.error(a)}))},onchangeIsCommen:function(t){var e=this;Object(r["Db"])(t.broadcast_room_id,t.close_comment).then((function(t){var a=t.message;e.$message.success(a),e.getList("")})).catch((function(t){var a=t.message;e.$message.error(a)}))},onchangeIsKf:function(t){var e=this;Object(r["Yb"])(t.broadcast_room_id,t.close_kf).then((function(t){var a=t.message;e.$message.success(a),e.getList("")})).catch((function(t){var a=t.message;e.$message.error(a)}))}}},k=F,C=Object(m["a"])(k,n,o,!1,null,"60b01156",null);e["default"]=C.exports},f71e:function(t,e,a){"use strict";a.d(e,"a",(function(){return c}));var n=a("2b0e"),o=a("b311"),r=a.n(o);function s(){n["default"].prototype.$message({message:"Copy successfully",type:"success",duration:1500})}function i(){n["default"].prototype.$message({message:"Copy failed",type:"error"})}function c(t,e){var a=new r.a(e.target,{text:function(){return t}});a.on("success",(function(){s(),a.destroy()})),a.on("error",(function(){i(),a.destroy()})),a.onClick(e)}},ff99:function(t,e,a){}}]);