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-558abde6.2e219dfa.js

8 lines
40 KiB

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-558abde6"],{"23a6":function(t,e,n){},"2f21":function(t,e,n){"use strict";var a=n("79e5");t.exports=function(t,e){return!!t&&a((function(){e?t.call(null,(function(){}),1):t.call(null)}))}},"55dd":function(t,e,n){"use strict";var a=n("5ca1"),o=n("d8e8"),r=n("4bf8"),s=n("79e5"),i=[].sort,c=[1,2,3];a(a.P+a.F*(s((function(){c.sort(void 0)}))||!s((function(){c.sort(null)}))||!n("2f21")(i)),"Array",{sort:function(t){return void 0===t?i.call(r(this)):i.call(r(this),o(t))}})},"5a46":function(t,e,n){"use strict";n("d863")},acc6:function(t,e,n){"use strict";n("23a6")},b311:function(t,e,n){
/*!
* clipboard.js v2.0.11
* https://clipboardjs.com/
*
* Licensed MIT © Zeno Rocha
*/
(function(e,n){t.exports=n()})(0,(function(){return function(){var t={686:function(t,e,n){"use strict";n.d(e,{default:function(){return j}});var a=n(279),o=n.n(a),r=n(370),s=n.n(r),i=n(817),c=n.n(i);function l(t){try{return document.execCommand(t)}catch(e){return!1}}var u=function(t){var e=c()(t);return l("cut"),e},d=u;function f(t){var e="rtl"===document.documentElement.getAttribute("dir"),n=document.createElement("textarea");n.style.fontSize="12pt",n.style.border="0",n.style.padding="0",n.style.margin="0",n.style.position="absolute",n.style[e?"right":"left"]="-9999px";var a=window.pageYOffset||document.documentElement.scrollTop;return n.style.top="".concat(a,"px"),n.setAttribute("readonly",""),n.value=t,n}var m=function(t,e){var n=f(t);e.container.appendChild(n);var a=c()(n);return l("copy"),n.remove(),a},p=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{container:document.body},n="";return"string"===typeof t?n=m(t,e):t instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(null===t||void 0===t?void 0:t.type)?n=m(t.value,e):(n=c()(t),l("copy")),n},v=p;function b(t){return b="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},b(t)}var _=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.action,n=void 0===e?"copy":e,a=t.container,o=t.target,r=t.text;if("copy"!==n&&"cut"!==n)throw new Error('Invalid "action" value, use either "copy" or "cut"');if(void 0!==o){if(!o||"object"!==b(o)||1!==o.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===n&&o.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===n&&(o.hasAttribute("readonly")||o.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes')}return r?v(r,{container:a}):o?"cut"===n?d(o):v(o,{container:a}):void 0},g=_;function h(t){return h="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},h(t)}function y(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function w(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}function C(t,e,n){return e&&w(t.prototype,e),n&&w(t,n),t}function k(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&x(t,e)}function x(t,e){return x=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},x(t,e)}function F(t){var e=L();return function(){var n,a=$(t);if(e){var o=$(this).constructor;n=Reflect.construct(a,arguments,o)}else n=a.apply(this,arguments);return S(this,n)}}function S(t,e){return!e||"object"!==h(e)&&"function"!==typeof e?D(t):e}function D(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function L(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}function $(t){return $=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},$(t)}function E(t,e){var n="data-clipboard-".concat(t);if(e.hasAttribute(n))return e.getAttribute(n)}var O=function(t){k(n,t);var e=F(n);function n(t,a){var o;return y(this,n),o=e.call(this),o.resolveOptions(a),o.listenClick(t),o}return C(n,[{key:"resolveOptions",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.action="function"===typeof t.action?t.action:this.defaultAction,this.target="function"===typeof t.target?t.target:this.defaultTarget,this.text="function"===typeof t.text?t.text:this.defaultText,this.container="object"===h(t.container)?t.container:document.body}},{key:"listenClick",value:function(t){var e=this;this.listener=s()(t,"click",(function(t){return e.onClick(t)}))}},{key:"onClick",value:function(t){var e=t.delegateTarget||t.currentTarget,n=this.action(e)||"copy",a=g({action:n,container:this.container,target:this.target(e),text:this.text(e)});this.emit(a?"success":"error",{action:n,text:a,trigger:e,clearSelection:function(){e&&e.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(t){return E("action",t)}},{key:"defaultTarget",value:function(t){var e=E("target",t);if(e)return document.querySelector(e)}},{key:"defaultText",value:function(t){return E("text",t)}},{key:"destroy",value:function(){this.listener.destroy()}}],[{key:"copy",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{container:document.body};return v(t,e)}},{key:"cut",value:function(t){return d(t)}},{key:"isSupported",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["copy","cut"],e="string"===typeof t?[t]:t,n=!!document.queryCommandSupported;return e.forEach((function(t){n=n&&!!document.queryCommandSupported(t)})),n}}]),n}(o()),j=O},828:function(t){var e=9;if("undefined"!==typeof Element&&!Element.prototype.matches){var n=Element.prototype;n.matches=n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector}function a(t,n){while(t&&t.nodeType!==e){if("function"===typeof t.matches&&t.matches(n))return t;t=t.parentNode}}t.exports=a},438:function(t,e,n){var a=n(828);function o(t,e,n,a,o){var r=s.apply(this,arguments);return t.addEventListener(n,r,o),{destroy:function(){t.removeEventListener(n,r,o)}}}function r(t,e,n,a,r){return"function"===typeof t.addEventListener?o.apply(null,arguments):"function"===typeof n?o.bind(null,document).apply(null,arguments):("string"===typeof t&&(t=document.querySelectorAll(t)),Array.prototype.map.call(t,(function(t){return o(t,e,n,a,r)})))}function s(t,e,n,o){return function(n){n.delegateTarget=a(n.target,e),n.delegateTarget&&o.call(t,n)}}t.exports=r},879:function(t,e){e.node=function(t){return void 0!==t&&t instanceof HTMLElement&&1===t.nodeType},e.nodeList=function(t){var n=Object.prototype.toString.call(t);return void 0!==t&&("[object NodeList]"===n||"[object HTMLCollection]"===n)&&"length"in t&&(0===t.length||e.node(t[0]))},e.string=function(t){return"string"===typeof t||t instanceof String},e.fn=function(t){var e=Object.prototype.toString.call(t);return"[object Function]"===e}},370:function(t,e,n){var a=n(879),o=n(438);function r(t,e,n){if(!t&&!e&&!n)throw new Error("Missing required arguments");if(!a.string(e))throw new TypeError("Second argument must be a String");if(!a.fn(n))throw new TypeError("Third argument must be a Function");if(a.node(t))return s(t,e,n);if(a.nodeList(t))return i(t,e,n);if(a.string(t))return c(t,e,n);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function s(t,e,n){return t.addEventListener(e,n),{destroy:function(){t.removeEventListener(e,n)}}}function i(t,e,n){return Array.prototype.forEach.call(t,(function(t){t.addEventListener(e,n)})),{destroy:function(){Array.prototype.forEach.call(t,(function(t){t.removeEventListener(e,n)}))}}}function c(t,e,n){return o(document.body,t,e,n)}t.exports=r},817:function(t){function e(t){var e;if("SELECT"===t.nodeName)t.focus(),e=t.value;else if("INPUT"===t.nodeName||"TEXTAREA"===t.nodeName){var n=t.hasAttribute("readonly");n||t.setAttribute("readonly",""),t.select(),t.setSelectionRange(0,t.value.length),n||t.removeAttribute("readonly"),e=t.value}else{t.hasAttribute("contenteditable")&&t.focus();var a=window.getSelection(),o=document.createRange();o.selectNodeContents(t),a.removeAllRanges(),a.addRange(o),e=a.toString()}return e}t.exports=e},279:function(t){function e(){}e.prototype={on:function(t,e,n){var a=this.e||(this.e={});return(a[t]||(a[t]=[])).push({fn:e,ctx:n}),this},once:function(t,e,n){var a=this;function o(){a.off(t,o),e.apply(n,arguments)}return o._=e,this.on(t,o,n)},emit:function(t){var e=[].slice.call(arguments,1),n=((this.e||(this.e={}))[t]||[]).slice(),a=0,o=n.length;for(a;a<o;a++)n[a].fn.apply(n[a].ctx,e);return this},off:function(t,e){var n=this.e||(this.e={}),a=n[t],o=[];if(a&&e)for(var r=0,s=a.length;r<s;r++)a[r].fn!==e&&a[r].fn._!==e&&o.push(a[r]);return o.length?n[t]=o:delete n[t],this}},t.exports=e,t.exports.TinyEmitter=e}},e={};function n(a){if(e[a])return e[a].exports;var o=e[a]={exports:{}};return t[a](o,o.exports,n),o.exports}return function(){n.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return n.d(e,{a:e}),e}}(),function(){n.d=function(t,e){for(var a in e)n.o(e,a)&&!n.o(t,a)&&Object.defineProperty(t,a,{enumerable:!0,get:e[a]})}}(),function(){n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)}}(),n(686)}().default}))},b7be:function(t,e,n){"use strict";n.d(e,"gb",(function(){return o})),n.d(e,"fb",(function(){return r})),n.d(e,"bb",(function(){return s})),n.d(e,"ab",(function(){return i})),n.d(e,"Z",(function(){return c})),n.d(e,"cb",(function(){return l})),n.d(e,"db",(function(){return u})),n.d(e,"eb",(function(){return d})),n.d(e,"N",(function(){return f})),n.d(e,"I",(function(){return m})),n.d(e,"J",(function(){return p})),n.d(e,"L",(function(){return v})),n.d(e,"K",(function(){return b})),n.d(e,"W",(function(){return _})),n.d(e,"H",(function(){return g})),n.d(e,"o",(function(){return h})),n.d(e,"u",(function(){return y})),n.d(e,"m",(function(){return w})),n.d(e,"l",(function(){return C})),n.d(e,"n",(function(){return k})),n.d(e,"X",(function(){return x})),n.d(e,"Y",(function(){return F})),n.d(e,"pb",(function(){return S})),n.d(e,"r",(function(){return D})),n.d(e,"q",(function(){return L})),n.d(e,"v",(function(){return $})),n.d(e,"a",(function(){return E})),n.d(e,"ob",(function(){return O})),n.d(e,"lb",(function(){return j})),n.d(e,"nb",(function(){return T})),n.d(e,"kb",(function(){return A})),n.d(e,"mb",(function(){return z})),n.d(e,"hb",(function(){return I})),n.d(e,"qb",(function(){return P})),n.d(e,"p",(function(){return R})),n.d(e,"t",(function(){return M})),n.d(e,"s",(function(){return N})),n.d(e,"F",(function(){return q})),n.d(e,"x",(function(){return B})),n.d(e,"A",(function(){return V})),n.d(e,"B",(function(){return W})),n.d(e,"z",(function(){return H})),n.d(e,"C",(function(){return G})),n.d(e,"G",(function(){return K})),n.d(e,"E",(function(){return Y})),n.d(e,"D",(function(){return J})),n.d(e,"w",(function(){return X})),n.d(e,"y",(function(){return U})),n.d(e,"M",(function(){return Q})),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 ot})),n.d(e,"Q",(function(){return rt})),n.d(e,"R",(function(){return st})),n.d(e,"ib",(function(){return it})),n.d(e,"O",(function(){return ct})),n.d(e,"f",(function(){return lt})),n.d(e,"e",(function(){return ut})),n.d(e,"d",(function(){return dt})),n.d(e,"c",(function(){return ft})),n.d(e,"b",(function(){return mt})),n.d(e,"P",(function(){return pt})),n.d(e,"k",(function(){return vt})),n.d(e,"i",(function(){return bt})),n.d(e,"h",(function(){return _t})),n.d(e,"j",(function(){return gt})),n.d(e,"g",(function(){return ht}));var a=n("0c6d");function o(t){return a["a"].get("/store/coupon/platformLst",t)}function r(t){return a["a"].get("/store/coupon/update/".concat(t,"/form"))}function s(t){return a["a"].get("/store/coupon/show/".concat(t))}function i(t){return a["a"].delete("store/coupon/delete/".concat(t))}function c(t){return a["a"].get("/store/coupon/sys/clone/".concat(t,"/form"))}function l(t){return a["a"].get("store/coupon/sys/issue",t)}function u(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 m(t){return a["a"].get("store/coupon/detail/".concat(t))}function p(t){return a["a"].get("store/coupon/lst",t)}function v(t,e){return a["a"].post("store/coupon/status/".concat(t),{status:e})}function b(){return a["a"].get("store/coupon/create/form")}function _(t){return a["a"].get("store/coupon/issue",t)}function g(t){return a["a"].delete("store/coupon/delete/".concat(t))}function h(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 C(t){return a["a"].get("broadcast/room/apply/form/".concat(t))}function k(t){return a["a"].get("broadcast/room/detail/".concat(t))}function x(t,e){return a["a"].post("broadcast/room/feedsPublic/".concat(t),{status:e})}function F(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 D(t){return a["a"].get("broadcast/goods/lst",t)}function L(t){return a["a"].get("broadcast/goods/detail/".concat(t))}function $(t,e){return a["a"].post("broadcast/goods/status/".concat(t),e)}function E(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 T(t){return a["a"].get("seckill/config/update/".concat(t,"/form"))}function A(t){return a["a"].delete("seckill/config/delete/".concat(t))}function z(t,e){return a["a"].post("seckill/config/status/".concat(t),{status:e})}function I(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 R(t){return a["a"].delete("broadcast/goods/delete/".concat(t))}function M(t,e){return a["a"].post("broadcast/room/sort/".concat(t),e)}function N(t,e){return a["a"].post("broadcast/goods/sort/".concat(t),e)}function q(t){return a["a"].post("config/others/group_buying",t)}function B(){return a["a"].get("config/others/group_buying")}function V(t){return a["a"].get("store/product/group/lst",t)}function W(t){return a["a"].get("store/product/group/get/".concat(t))}function H(t){return a["a"].get("store/product/group/detail/".concat(t))}function G(t){return a["a"].post("store/product/group/status",t)}function K(t,e){return a["a"].post("store/product/group/is_show/".concat(t),{status:e})}function Y(t){return a["a"].get("store/product/group/get/".concat(t))}function J(t,e){return a["a"].post("store/product/group/update/".concat(t),e)}function X(t){return a["a"].get("store/product/group/buying/lst",t)}function U(t,e){return a["a"].get("store/product/group/buying/detail/".concat(t),e)}function Q(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 ot(t){return a["a"].get("discounts/lst",t)}function rt(t,e){return a["a"].post("discounts/status/".concat(t),{status:e})}function st(t){return a["a"].get("discounts/detail/".concat(t))}function it(t){return a["a"].get("marketing/spu/lst",t)}function ct(t){return a["a"].post("activity/atmosphere/create",t)}function lt(t,e){return a["a"].post("activity/atmosphere/update/".concat(t),e)}function ut(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 mt(t){return a["a"].delete("activity/atmosphere/delete/".concat(t))}function pt(t){return a["a"].post("activity/border/create",t)}function vt(t,e){return a["a"].post("activity/border/update/".concat(t),e)}function bt(t){return a["a"].get("activity/border/lst",t)}function _t(t){return a["a"].get("activity/border/detail/".concat(t))}function gt(t,e){return a["a"].post("activity/border/status/".concat(t),{status:e})}function ht(t){return a["a"].delete("activity/border/delete/".concat(t))}},d863:function(t,e,n){},e6d3: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","label-width":"120px",inline:""}},[n("el-form-item",{staticStyle:{display:"block"},attrs:{label:"状态:"}},[n("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"}},[n("el-radio-button",{attrs:{label:""}},[t._v("全部")]),t._v(" "),n("el-radio-button",{attrs:{label:"0"}},[t._v("待审核")]),t._v(" "),n("el-radio-button",{attrs:{label:"1"}},[t._v("审核已通过")]),t._v(" "),n("el-radio-button",{attrs:{label:"-1"}},[t._v("审核未通过")])],1)],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",{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-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 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-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 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-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 n("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),1)],1),t._v(" "),n("el-form-item",{staticClass:"width100",staticStyle:{display:"inline-block"},attrs:{label:"关键字:"}},[n("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"}},[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("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":""}},[n("el-table-column",{attrs:{label:"序号","min-width":"60"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(e.$index+(t.tableFrom.page-1)*t.tableFrom.limit+1))])]}}])}),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(e.row.merchant?e.row.merchant.mer_name:""))])]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"mer_name",label:"商户类别","min-width":"90"},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:{prop:"broadcast_room_id",label:"ID","min-width":"60"}}),t._v(" "),n("el-table-column",{attrs:{prop:"name",label:"直播间名称","min-width":"90"}}),t._v(" "),1==t.tableFrom.status_tag?n("el-table-column",{key:"1",attrs:{prop:"broadcast_room_id",label:"直播间ID","min-width":"80"}}):t._e(),t._v(" "),n("el-table-column",{attrs:{prop:"anchor_name",label:"主播昵称","min-width":"90"}}),t._v(" "),n("el-table-column",{attrs:{prop:"anchor_wechat",label:"主播微信号","min-width":"100"}}),t._v(" "),n("el-table-column",{attrs:{prop:"start_time","min-width":"150",label:"直播开始时间"}}),t._v(" "),n("el-table-column",{attrs:{prop:"end_time","min-width":"150",label:"直播计划结束时间"}}),t._v(" "),n("el-table-column",{attrs:{label:"直播状态","min-width":"100"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(t._f("broadcastStatusFilter")(e.row.live_status)))])]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"create_time","min-width":"150",label:"创建时间"}}),t._v(" "),n("el-table-column",{attrs:{label:"推荐级别","min-width":"150"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("el-rate",{attrs:{disabled:"",colors:t.colors},model:{value:e.row.star,callback:function(n){t.$set(e.row,"star",n)},expression:"scope.row.star"}})]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"sort","min-width":"60",label:"排序"}}),t._v(" "),n("el-table-column",{attrs:{label:"显示状态","min-width":"100"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("el-switch",{attrs:{"active-value":1,"inactive-value":0,"active-text":"显示","inactive-text":"隐藏"},nativeOn:{click:function(n){return t.onchangeIsShow(e.row)}},model:{value:e.row.is_show,callback:function(n){t.$set(e.row,"is_show",n)},expression:"scope.row.is_show"}})]}}])}),t._v(" "),n("el-table-column",{key:"15",attrs:{label:"开启收录","min-width":"100"},scopedSlots:t._u([{key:"default",fn:function(e){return[2==e.row.status?n("el-switch",{attrs:{"active-value":1,"inactive-value":0,"active-text":"开启","inactive-text":"关闭"},nativeOn:{click:function(n){return t.onchangeIsFeeds(e.row)}},model:{value:e.row.is_feeds_public,callback:function(n){t.$set(e.row,"is_feeds_public",n)},expression:"scope.row.is_feeds_public"}}):n("el-switch",{attrs:{"active-value":1,"inactive-value":0,"active-text":"开启","inactive-text":"关闭"},model:{value:e.row.is_feeds_public,callback:function(n){t.$set(e.row,"is_feeds_public",n)},expression:"scope.row.is_feeds_public"}})]}}])}),t._v(" "),n("el-table-column",{key:"16",attrs:{label:"禁言","min-width":"100"},scopedSlots:t._u([{key:"default",fn:function(e){return[2==e.row.status?n("el-switch",{attrs:{"active-value":0,"inactive-value":1,"active-text":"开启","inactive-text":"关闭"},nativeOn:{click:function(n){return t.onchangeIsCommen(e.row)}},model:{value:e.row.close_comment,callback:function(n){t.$set(e.row,"close_comment",n)},expression:"scope.row.close_comment"}}):n("el-switch",{attrs:{disabled:"","active-value":1,"inactive-value":0,"active-text":"开启","inactive-text":"关闭"},model:{value:e.row.close_comment,callback:function(n){t.$set(e.row,"close_comment",n)},expression:"scope.row.close_comment"}})]}}])}),t._v(" "),n("el-table-column",{key:"17",attrs:{label:"客服开关","min-width":"100"},scopedSlots:t._u([{key:"default",fn:function(e){return[2==e.row.status?n("el-switch",{attrs:{"active-value":1,"inactive-value":0,"active-text":"开启","inactive-text":"关闭"},nativeOn:{click:function(n){return t.onchangeIsKf(e.row)}},model:{value:e.row.close_kf,callback:function(n){t.$set(e.row,"close_kf",n)},expression:"scope.row.close_kf"}}):n("el-switch",{attrs:{disabled:"","active-value":1,"inactive-value":0,"active-text":"开启","inactive-text":"关闭"},model:{value:e.row.close_kf,callback:function(n){t.$set(e.row,"close_kf",n)},expression:"scope.row.close_kf"}})]}}])}),t._v(" "),n("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?n("span",[t._v("显示")]):0==e.row.is_mer_show&&1==e.row.is_show?n("span",[t._v("商户关闭")]):1==e.row.is_mer_show&&0==e.row.is_show?n("span",[t._v("平台关闭")]):n("span",[t._v("关闭")])]}}])}),t._v(" "),n("el-table-column",{attrs:{label:"审核状态","min-width":"100"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(t._f("liveReviewStatusFilter")(e.row.status)))]),t._v(" "),-1==e.row.status?n("span",{staticStyle:{display:"block","font-size":"12px"}},[t._v("原因 "+t._s(e.row.error_msg))]):t._e()]}}])}),t._v(" "),n("el-table-column",{attrs:{label:"操作","min-width":"150",fixed:"right"},scopedSlots:t._u([{key:"default",fn:function(e){return[0==e.row.status?n("el-button",{attrs:{type:"text",size:"small"},on:{click:function(n){return t.handleAudit(e.row.broadcast_room_id)}}},[t._v("审核")]):t._e(),t._v(" "),n("el-button",{staticClass:"mr10",attrs:{type:"text",size:"small"},on:{click:function(n){return t.onStudioDetails(e.row.broadcast_room_id)}}},[t._v("详情")]),t._v(" "),n("el-button",{staticClass:"mr10",attrs:{type:"text",size:"small"},on:{click:function(n){return t.handleEdit(e.row.broadcast_room_id)}}},[t._v("编辑")]),t._v(" "),n("el-button",{attrs:{type:"text",size:"small"},on:{click:function(n){return t.handleDelete(e.row,e.$index)}}},[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-from",{ref:"studioDetail",on:{getList:t.getList}})],1)},o=[],r=n("b7be"),s=n("c4c8"),i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"divBox"},[t.dialogVisible?n("el-dialog",{attrs:{title:"直播间信息",visible:t.dialogVisible,width:"700px"},on:{"update:visible":function(e){t.dialogVisible=e}}},[n("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}]},[n("div",{staticClass:"box-container"},[n("div",{staticClass:"list sp"},[n("label",{staticClass:"name"},[t._v("直播间名称:")]),t._v(" "),n("span",{staticClass:"info"},[t._v(t._s(t.FormData.name))])]),t._v(" "),n("div",{staticClass:"list sp"},[n("label",{staticClass:"name"},[t._v("主播微信号:")]),t._v(" "),n("span",{staticClass:"info"},[t._v(t._s(t.FormData.anchor_wechat))])]),t._v(" "),n("div",{staticClass:"list sp"},[n("label",{staticClass:"name"},[t._v("直播间ID:")]),t._v(" "),n("span",{staticClass:"info"},[t._v(t._s(t.FormData.broadcast_room_id))])]),t._v(" "),n("div",{staticClass:"list sp"},[n("label",{staticClass:"name"},[t._v("主播昵称:")]),t._v(" "),n("span",{staticClass:"info"},[t._v(t._s(t.FormData.anchor_name))])]),t._v(" "),n("div",{staticClass:"list sp"},[n("label",{staticClass:"name"},[t._v("手机号:")]),t._v(" "),n("span",{staticClass:"info"},[t._v(t._s(t.FormData.phone))])]),t._v(" "),n("div",{staticClass:"list sp"},[n("label",{staticClass:"name"},[t._v("审核结果:")]),t._v(" "),n("span",{staticClass:"info"},[t._v(t._s(t._f("liveReviewStatusFilter")(t.FormData.status)))])]),t._v(" "),n("div",{staticClass:"list sp"},[n("label",{staticClass:"name"},[t._v("直播开始时间:")]),t._v(" "),n("span",{staticClass:"info"},[t._v(t._s(t.FormData.start_time))])]),t._v(" "),n("div",{staticClass:"list sp"},[n("label",{staticClass:"name"},[t._v("直播结束时间:")]),t._v(" "),n("span",{staticClass:"info"},[t._v(t._s(t.FormData.end_time))])]),t._v(" "),n("div",{staticClass:"list sp"},[n("label",{staticClass:"name"},[t._v("直播间类型:")]),t._v(" "),n("span",{staticClass:"info"},[t._v(t._s(t._f("broadcastType")(t.FormData.type)))])]),t._v(" "),n("div",{staticClass:"list sp"},[n("label",{staticClass:"name"},[t._v("显示类型:")]),t._v(" "),n("span",{staticClass:"info"},[t._v(t._s(t._f("broadcastDisplayType")(t.FormData.screen_type)))])]),t._v(" "),1==t.FormData.type&&t.FormData.push_url?n("div",{staticClass:"list sp100"},[n("label",{staticClass:"name",staticStyle:{float:"left"}},[t._v("推流地址:")]),t._v(" "),n("span",{staticClass:"info line1",staticStyle:{float:"left",width:"300px","white-space":"nowrap",overflow:"hidden","text-overflow":"ellipsis"}},[t._v(t._s(t.FormData.push_url))]),t._v(" "),n("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(" "),n("div",{staticClass:"list sp image"},[n("label",{staticClass:"name"},[t._v("背景图:")]),t._v(" "),n("img",{staticStyle:{"max-width":"150px",height:"80px"},attrs:{src:t.FormData.cover_img}})]),t._v(" "),n("div",{staticClass:"list sp image"},[n("label",{staticClass:"name"},[t._v("分享图:")]),t._v(" "),n("img",{staticStyle:{"max-width":"150px",height:"80px"},attrs:{src:t.FormData.share_img}})]),t._v(" "),n("div",{staticClass:"list sp"},[n("label",{staticClass:"name"},[t._v("是否开启点赞:")]),t._v(" "),n("span",{staticClass:"info blue"},[t._v(t._s(t.FormData.close_like?"✖":"✔"))])]),t._v(" "),n("div",{staticClass:"list sp"},[n("label",{staticClass:"name"},[t._v("是否开启货架:")]),t._v(" "),n("span",{staticClass:"info blue"},[t._v(t._s(t.FormData.close_goods?"✖":"✔"))])]),t._v(" "),n("div",{staticClass:"list sp"},[n("label",{staticClass:"name"},[t._v("是否开启评论:")]),t._v(" "),n("span",{staticClass:"info blue"},[t._v(t._s(t.FormData.close_comment?"✖":"✔"))])]),t._v(" "),n("div",{staticClass:"list sp"},[n("label",{staticClass:"name"},[t._v("是否开启直播回放:")]),t._v(" "),n("span",{staticClass:"info blue"},[t._v(t._s(t.FormData.replay_status?"✔":"✖"))])]),t._v(" "),n("div",{staticClass:"list sp"},[n("label",{staticClass:"name"},[t._v("是否开启分享:")]),t._v(" "),n("span",{staticClass:"info blue"},[t._v(t._s(t.FormData.close_share?"✖":"✔"))])]),t._v(" "),n("div",{staticClass:"list sp"},[n("label",{staticClass:"name"},[t._v("是否开启客服:")]),t._v(" "),n("span",{staticClass:"info blue"},[t._v(t._s(t.FormData.close_kf?"✖":"✔"))])]),t._v(" "),n("div",{staticClass:"list sp100"},[n("label",{staticClass:"name"},[t._v("是否开启官方收录:")]),t._v(" "),n("span",{staticClass:"info blue"},[t._v(t._s(t.FormData.is_feeds_public?"✔":"✖"))])]),t._v(" "),t.isEdit?n("div",{staticClass:"list"},[n("div",{staticClass:"list sp100"},[n("label",{staticClass:"name"},[t._v("直播列表推荐:")]),t._v(" "),n("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(" "),n("div",{staticClass:"list sp100"},[n("label",{staticClass:"name"},[t._v("排序:")]),t._v(" "),n("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(" "),n("el-button",{staticStyle:{width:"80px"},attrs:{size:"small",type:"primary"},on:{click:t.handleSort}},[t._v("确定")])],1)]):n("div",{staticClass:"list sp"},[n("label",{staticClass:"name"},[t._v("排序:")]),t._v(" "),n("span",{staticClass:"info"},[t._v(t._s(t.FormData.sort))])]),t._v(" "),2===t.FormData.status?n("div",{staticClass:"list sp100"},[n("label",{staticClass:"name"},[t._v("已导入直播商品:")]),t._v(" "),n("selected-goods",{ref:"selectedGoods",attrs:{broadcast_room_id:t.FormData.broadcast_room_id}})],1):t._e()])])]):t._e()],1)},c=[],l=(n("55dd"),function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"importedGoods"},[n("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":""}},[n("el-table-column",{attrs:{prop:"broadcast_goods_id",label:"ID","min-width":"50"}}),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",{staticStyle:{width:"36px",height:"36px"},attrs:{src:t.row.goods.cover_img,"preview-src-list":[t.row.goods.cover_img]}})],1)]}}])}),t._v(" "),n("el-table-column",{attrs:{label:"商品名称","min-width":"200"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(e.row.goods&&e.row.goods.product&&e.row.goods.product.store_name))])]}}])}),t._v(" "),n("el-table-column",{attrs:{label:"库存","min-width":"80"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(e.row.goods&&e.row.goods.product&&e.row.goods.product.stock))])]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"goods.price",label:"直播价","min-width":"80"}}),t._v(" "),n("el-table-column",{attrs:{prop:"goods.pay_num",label:"销售数量","min-width":"80"}}),t._v(" "),n("el-table-column",{attrs:{prop:"goods.pay_price",label:"销售金额","min-width":"80"}})],1),t._v(" "),n("div",{staticClass:"block mb20"},[n("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=(n("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["qb"])(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=n("2877"),p=Object(m["a"])(f,l,u,!1,null,"66dd6776",null),v=p.exports,b=n("f71e"),_={name:"studioDetail",components:{selectedGoods:v},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["n"])(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["t"])(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(b["a"])(t,e)}}},g=_,h=(n("5a46"),Object(m["a"])(g,i,c,!1,null,"f56ae7fe",null)),y=h.exports,w=n("83d6");s["P"];var C={name:"StudioList",components:{detailsFrom:y},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(s["P"])().then((function(e){t.merSelect=e.data})).catch((function(e){t.$message.error(e.message)}))},handleDelete:function(t,e){var n=this;2==t.status&&101==t.live_status?this.$confirm("该直播间正在进行直播,删除后不可恢复,您确认删除吗?","提示",{confirmButtonText:"删除",cancelButtonText:"不删除",type:"warning"}).then((function(){Object(r["m"])(t.broadcast_room_id).then((function(t){var a=t.message;n.$message.success(a),n.tableData.data.splice(e,1)})).catch((function(t){var e=t.message;n.$message.error(e)}))})).catch((function(t){n.$message({type:"info",message:"已取消"})})):this.$modalSureDelete().then((function(){Object(r["m"])(t.broadcast_room_id).then((function(t){var a=t.message;n.$message.success(a),n.tableData.data.splice(e,1),n.getList()})).catch((function(t){var e=t.message;n.$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["o"])(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["l"])(t)).then((function(){return e.getList()}))},onchangeIsShow:function(t){var e=this;Object(r["u"])(t.broadcast_room_id,{is_show:t.is_show}).then((function(t){var n=t.message;e.$message.success(n),e.getList()})).catch((function(t){var n=t.message;e.$message.error(n)}))},onchangeIsFeeds:function(t){var e=this;Object(r["X"])(t.broadcast_room_id,t.is_feeds_public).then((function(t){var n=t.message;e.$message.success(n),e.getList("")})).catch((function(t){var n=t.message;e.$message.error(n)}))},onchangeIsCommen:function(t){var e=this;Object(r["Y"])(t.broadcast_room_id,t.close_comment).then((function(t){var n=t.message;e.$message.success(n),e.getList("")})).catch((function(t){var n=t.message;e.$message.error(n)}))},onchangeIsKf:function(t){var e=this;Object(r["pb"])(t.broadcast_room_id,t.close_kf).then((function(t){var n=t.message;e.$message.success(n),e.getList("")})).catch((function(t){var n=t.message;e.$message.error(n)}))}}},k=C,x=(n("acc6"),Object(m["a"])(k,a,o,!1,null,"8db5af92",null));e["default"]=x.exports},f71e:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var a=n("2b0e"),o=n("b311"),r=n.n(o);function s(){a["default"].prototype.$message({message:"Copy successfully",type:"success",duration:1500})}function i(){a["default"].prototype.$message({message:"Copy failed",type:"error"})}function c(t,e){var n=new r.a(e.target,{text:function(){return t}});n.on("success",(function(){s(),n.destroy()})),n.on("error",(function(){i(),n.destroy()})),n.onClick(e)}}}]);