1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-ce5ddb0c"],{"0e6b":function(t,e,a){"use strict";var n=a("7c45"),s=a.n(n);s.a},"2f21":function(t,e,a){"use strict";var n=a("79e5");t.exports=function(t,e){return!!t&&n((function(){e?t.call(null,(function(){}),1):t.call(null)}))}},"44ef":function(t,e,a){},"55dd":function(t,e,a){"use strict";var n=a("5ca1"),s=a("d8e8"),r=a("4bf8"),o=a("79e5"),i=[].sort,l=[1,2,3];n(n.P+n.F*(o((function(){l.sort(void 0)}))||!o((function(){l.sort(null)}))||!a("2f21")(i)),"Array",{sort:function(t){return void 0===t?i.call(r(this)):i.call(r(this),s(t))}})},"7c45":function(t,e,a){},b7be:function(t,e,a){"use strict";a.d(e,"y",(function(){return s})),a.d(e,"z",(function(){return r})),a.d(e,"A",(function(){return o})),a.d(e,"B",(function(){return i})),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 w})),a.d(e,"D",(function(){return C})),a.d(e,"F",(function(){return y})),a.d(e,"C",(function(){return F})),a.d(e,"I",(function(){return k})),a.d(e,"f",(function(){return D})),a.d(e,"j",(function(){return x})),a.d(e,"i",(function(){return S})),a.d(e,"v",(function(){return L})),a.d(e,"n",(function(){return $})),a.d(e,"q",(function(){return z})),a.d(e,"r",(function(){return j})),a.d(e,"p",(function(){return O})),a.d(e,"s",(function(){return E})),a.d(e,"w",(function(){return A})),a.d(e,"u",(function(){return B})),a.d(e,"t",(function(){return I})),a.d(e,"m",(function(){return V})),a.d(e,"o",(function(){return W}));var n=a("0c6d");function s(t){return n["a"].get("store/coupon/detail/".concat(t))}function r(t){return n["a"].get("store/coupon/lst",t)}function o(t,e){return n["a"].post("store/coupon/status/".concat(t),{status:e})}function i(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 w(t){return n["a"].get("seckill/config/update/".concat(t,"/form"))}function C(t){return n["a"].delete("seckill/config/delete/".concat(t))}function y(t,e){return n["a"].post("seckill/config/status/".concat(t),{status:e})}function F(t,e){return n["a"].get("seckill/product/detail/".concat(t),e)}function k(t,e){return n["a"].get("broadcast/room/goods/".concat(t),e)}function D(t){return n["a"].delete("broadcast/goods/delete/".concat(t))}function x(t,e){return n["a"].post("broadcast/room/sort/".concat(t),e)}function S(t,e){return n["a"].post("broadcast/goods/sort/".concat(t),e)}function L(t){return n["a"].post("config/others/group_buying",t)}function $(){return n["a"].get("config/others/group_buying")}function z(t){return n["a"].get("store/product/group/lst",t)}function j(t){return n["a"].get("store/product/group/get/".concat(t))}function O(t){return n["a"].get("store/product/group/detail/".concat(t))}function E(t){return n["a"].post("store/product/group/status",t)}function A(t,e){return n["a"].post("store/product/group/is_show/".concat(t),{status:e})}function B(t){return n["a"].get("store/product/group/get/".concat(t))}function I(t,e){return n["a"].post("store/product/group/update/".concat(t),e)}function V(t){return n["a"].get("store/product/group/buying/lst",t)}function W(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 s})),a.d(e,"X",(function(){return r})),a.d(e,"bb",(function(){return o})),a.d(e,"Y",(function(){return i})),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 w})),a.d(e,"t",(function(){return C})),a.d(e,"x",(function(){return y})),a.d(e,"H",(function(){return F})),a.d(e,"S",(function(){return k})),a.d(e,"K",(function(){return D})),a.d(e,"V",(function(){return x})),a.d(e,"w",(function(){return S})),a.d(e,"Q",(function(){return L})),a.d(e,"O",(function(){return $})),a.d(e,"M",(function(){return z})),a.d(e,"N",(function(){return j})),a.d(e,"v",(function(){return O})),a.d(e,"y",(function(){return E})),a.d(e,"R",(function(){return A})),a.d(e,"J",(function(){return B})),a.d(e,"U",(function(){return I})),a.d(e,"L",(function(){return V})),a.d(e,"W",(function(){return W})),a.d(e,"u",(function(){return q})),a.d(e,"P",(function(){return G})),a.d(e,"cb",(function(){return N})),a.d(e,"A",(function(){return T})),a.d(e,"z",(function(){return P})),a.d(e,"D",(function(){return J})),a.d(e,"G",(function(){return M})),a.d(e,"E",(function(){return R})),a.d(e,"F",(function(){return H})),a.d(e,"B",(function(){return K})),a.d(e,"C",(function(){return Q})),a.d(e,"d",(function(){return U})),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 st}));var n=a("0c6d");function s(){return n["a"].get("store/category/lst")}function r(){return n["a"].get("store/category/create/form")}function o(t){return n["a"].get("store/category/update/form/".concat(t))}function i(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 w(t){return n["a"].get("seckill/product/lst",t)}function C(){return n["a"].get("store/category/list")}function y(){return n["a"].get("system/merchant/category_lst")}function F(t){return n["a"].get("store/product/detail/".concat(t))}function k(t){return n["a"].get("seckill/product/detail/".concat(t))}function D(t){return n["a"].post("store/product/status",t)}function x(t){return n["a"].post("seckill/product/status",t)}function S(){return n["a"].get("store/product/lst_filter")}function L(){return n["a"].get("seckill/product/lst_filter")}function $(t){return n["a"].get("store/reply/lst",t)}function z(t){return n["a"].get(t?"store/reply/create/form/".concat(t):"store/reply/create/form")}function j(t){return n["a"].delete("store/reply/delete/".concat(t))}function O(t){return n["a"].get("store/product/list",t)}function E(){return n["a"].get("store/product/mer_select")}function A(){return n["a"].get("seckill/product/mer_select")}function B(t){return n["a"].post("store/product/status",t)}function I(t){return n["a"].post("seckill/product/status",t)}function V(t,e){return n["a"].post("store/product/update/".concat(t),e)}function W(t,e){return n["a"].post("seckill/product/update/".concat(t),e)}function q(t,e){return n["a"].post("store/product/change/".concat(t),{status:e})}function G(t,e){return n["a"].post("seckill/product/change/".concat(t),{status:e})}function N(t){return n["a"].get("store/product/ficti/form/".concat(t))}function T(t){return n["a"].get("store/product/presell/lst",t)}function P(t){return n["a"].get("store/product/presell/get/".concat(t))}function J(t){return n["a"].get("store/product/presell/detail/".concat(t))}function M(t,e){return n["a"].post("store/product/presell/update/".concat(t),e)}function R(t){return n["a"].post("store/product/presell/status",t)}function H(t,e){return n["a"].post("store/product/presell/is_show/".concat(t),{status:e})}function K(){return n["a"].get("store/product/presell/agree")}function Q(t){return n["a"].post("store/product/presell/agree",t)}function U(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 st(t,e){return n["a"].post("store/product/assist/update/".concat(t),e)}},d280:function(t,e,a){"use strict";var n=a("44ef"),s=a.n(n);s.a},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("el-card",{staticClass:"box-card"},[a("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[a("div",{staticClass:"container"},[a("el-form",{attrs:{size:"small","label-width":"120px",inline:""}},[a("el-form-item",{staticStyle:{display:"block"},attrs:{label:"状态:"}},[a("el-radio-group",{attrs:{type:"button"},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-radio-button",{attrs:{label:""}},[t._v("全部")]),t._v(" "),a("el-radio-button",{attrs:{label:"0"}},[t._v("待审核")]),t._v(" "),a("el-radio-button",{attrs:{label:"1"}},[t._v("审核已通过")]),t._v(" "),a("el-radio-button",{attrs:{label:"-1"}},[t._v("审核未通过")])],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",{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-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:"直播状态:"}},[a("el-select",{staticClass:"filter-item 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:"推荐级别:"}},[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),t._v(" "),a("el-form-item",{staticClass:"width100",staticStyle:{display:"inline-block"},attrs:{label:"关键字:"}},[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"}},[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)],1)],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:"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":"100"},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":"150",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":"100"},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",{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":"100"},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",{staticClass:"mr10",attrs:{type:"text",size:"small"},on:{click:function(a){return t.onStudioDetails(e.row.broadcast_room_id)}}},[t._v("详情")]),t._v(" "),a("el-button",{staticClass:"mr10",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:{"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("details-from",{ref:"studioDetail",on:{getList:t.getList}})],1)},s=[],r=a("b7be"),o=a("c4c8"),i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"divBox"},[t.dialogVisible?a("el-dialog",{attrs:{title:"直播间信息",visible:t.dialogVisible,width:"700px"},on:{"update:visible":function(e){t.dialogVisible=e}}},[a("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}]},[a("div",{staticClass:"box-container"},[a("div",{staticClass:"list sp"},[a("label",{staticClass:"name"},[t._v("直播间名称:")]),t._v(" "),a("span",{staticClass:"info"},[t._v(t._s(t.FormData.name))])]),t._v(" "),a("div",{staticClass:"list sp"},[a("label",{staticClass:"name"},[t._v("主播微信号:")]),t._v(" "),a("span",{staticClass:"info"},[t._v(t._s(t.FormData.anchor_wechat))])]),t._v(" "),a("div",{staticClass:"list sp"},[a("label",{staticClass:"name"},[t._v("直播间ID:")]),t._v(" "),a("span",{staticClass:"info"},[t._v(t._s(t.FormData.broadcast_room_id))])]),t._v(" "),a("div",{staticClass:"list sp"},[a("label",{staticClass:"name"},[t._v("主播昵称:")]),t._v(" "),a("span",{staticClass:"info"},[t._v(t._s(t.FormData.anchor_name))])]),t._v(" "),a("div",{staticClass:"list sp"},[a("label",{staticClass:"name"},[t._v("手机号:")]),t._v(" "),a("span",{staticClass:"info"},[t._v(t._s(t.FormData.phone))])]),t._v(" "),a("div",{staticClass:"list sp"},[a("label",{staticClass:"name"},[t._v("审核结果:")]),t._v(" "),a("span",{staticClass:"info"},[t._v(t._s(t._f("liveReviewStatusFilter")(t.FormData.status)))])]),t._v(" "),a("div",{staticClass:"list sp"},[a("label",{staticClass:"name"},[t._v("直播开始时间:")]),t._v(" "),a("span",{staticClass:"info"},[t._v(t._s(t.FormData.start_time))])]),t._v(" "),a("div",{staticClass:"list sp"},[a("label",{staticClass:"name"},[t._v("直播结束时间:")]),t._v(" "),a("span",{staticClass:"info"},[t._v(t._s(t.FormData.end_time))])]),t._v(" "),a("div",{staticClass:"list sp"},[a("label",{staticClass:"name"},[t._v("直播间类型:")]),t._v(" "),a("span",{staticClass:"info"},[t._v(t._s(t._f("broadcastType")(t.FormData.type)))])]),t._v(" "),a("div",{staticClass:"list sp"},[a("label",{staticClass:"name"},[t._v("显示类型:")]),t._v(" "),a("span",{staticClass:"info"},[t._v(t._s(t._f("broadcastDisplayType")(t.FormData.screen_type)))])]),t._v(" "),a("div",{staticClass:"list sp image"},[a("label",{staticClass:"name"},[t._v("背景图:")]),t._v(" "),a("img",{staticStyle:{"max-width":"150px",height:"80px"},attrs:{src:t.FormData.cover_img}})]),t._v(" "),a("div",{staticClass:"list sp image"},[a("label",{staticClass:"name"},[t._v("分享图:")]),t._v(" "),a("img",{staticStyle:{"max-width":"150px",height:"80px"},attrs:{src:t.FormData.share_img}})]),t._v(" "),a("div",{staticClass:"list sp"},[a("label",{staticClass:"name"},[t._v("是否开启点赞:")]),t._v(" "),a("span",{staticClass:"info blue"},[t._v(t._s(t._f("filterClose")(t.FormData.close_like)))])]),t._v(" "),a("div",{staticClass:"list sp"},[a("label",{staticClass:"name"},[t._v("是否开启货架:")]),t._v(" "),a("span",{staticClass:"info blue"},[t._v(t._s(t._f("filterClose")(t.FormData.close_goods)))])]),t._v(" "),a("div",{staticClass:"list sp"},[a("label",{staticClass:"name"},[t._v("是否开启评论:")]),t._v(" "),a("span",{staticClass:"info blue"},[t._v(t._s(t._f("filterClose")(t.FormData.close_comment)))])]),t._v(" "),a("div",{staticClass:"list sp"},[a("label",{staticClass:"name"},[t._v("是否开启直播回放:")]),t._v(" "),a("span",{staticClass:"info blue"},[t._v(t._s(t.FormData.replay_status?"✔":"✖"))])]),t._v(" "),a("div",{staticClass:"list sp"},[a("label",{staticClass:"name"},[t._v("是否开启分享:")]),t._v(" "),a("span",{staticClass:"info blue"},[t._v(t._s(t.FormData.close_share?"✖":"✔"))])]),t._v(" "),a("div",{staticClass:"list sp"},[a("label",{staticClass:"name"},[t._v("是否开启客服:")]),t._v(" "),a("span",{staticClass:"info blue"},[t._v(t._s(t.FormData.close_kf?"✖":"✔"))])]),t._v(" "),t.isEdit?a("div",{staticClass:"list"},[a("div",{staticClass:"list sp100"},[a("label",{staticClass:"name"},[t._v("直播列表推荐:")]),t._v(" "),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:"list sp100"},[a("label",{staticClass:"name"},[t._v("排序:")]),t._v(" "),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",{staticStyle:{width:"80px"},attrs:{size:"small",type:"primary"},on:{click:t.handleSort}},[t._v("确定")])],1)]):a("div",{staticClass:"list sp"},[a("label",{staticClass:"name"},[t._v("排序:")]),t._v(" "),a("span",{staticClass:"info"},[t._v(t._s(t.FormData.sort))])]),t._v(" "),2===t.FormData.status?a("div",{staticClass:"list sp100"},[a("label",{staticClass:"name"},[t._v("已导入直播商品:")]),t._v(" "),a("selected-goods",{ref:"selectedGoods",attrs:{broadcast_room_id:t.FormData.broadcast_room_id}})],1):t._e()])])]):t._e()],1)},l=[],c=(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",staticStyle:{width:"100%"},attrs:{data:t.tableData.data,size:"samll","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.cover_img,"preview-src-list":[t.row.cover_img]}})],1)]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"store_name",label:"商品名称","min-width":"200"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(e.row.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.product.stock))])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"price",label:"直播价","min-width":"80"}}),t._v(" "),a("el-table-column",{attrs:{prop:"pay_num",label:"销售数量","min-width":"80"}}),t._v(" "),a("el-table-column",{attrs:{prop:"pay_price",label:"销售金额","min-width":"80"}})],1),t._v(" "),a("div",{staticClass:"block mb20"},[a("el-pagination",{attrs:{"page-sizes":[3,6,9],"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)}),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["I"])(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"),p=Object(m["a"])(f,c,u,!1,null,"65106882",null),_=p.exports,b={name:"studioDetail",components:{selectedGoods:_},data:function(){return{colors:["#99A9BF","#F7BA2A","#FF9900"],dialogVisible:!1,isEdit:!1,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["d"])(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["j"])(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)}))}}},v=b,g=(a("0e6b"),Object(m["a"])(v,i,l,!1,null,"6d96003e",null)),h=g.exports,w=a("83d6");o["y"];var C={name:"StudioList",components:{detailsFrom:h},data:function(){return{Loading:!1,dialogVisible:!1,broadcast_room_id:0,roterPre:w["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:{getMerSelect:function(){var t=this;Object(o["y"])().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["c"])(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["c"])(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)}))}))},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["e"])(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["b"])(t)).then((function(){return e.getList()}))},onchangeIsShow:function(t){var e=this;Object(r["k"])(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)}))}}},y=C,F=(a("d280"),Object(m["a"])(y,n,s,!1,null,"cf4e1064",null));e["default"]=F.exports}}]);
|