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.
1 lines
21 KiB
1 lines
21 KiB
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-66aeaa9c"],{"066b":function(t,n,r){},2801:function(t,n,r){"use strict";r.d(n,"f",(function(){return o})),r.d(n,"j",(function(){return u})),r.d(n,"v",(function(){return c})),r.d(n,"w",(function(){return i})),r.d(n,"a",(function(){return a})),r.d(n,"b",(function(){return s})),r.d(n,"x",(function(){return f})),r.d(n,"B",(function(){return d})),r.d(n,"z",(function(){return l})),r.d(n,"A",(function(){return g})),r.d(n,"y",(function(){return p})),r.d(n,"d",(function(){return b})),r.d(n,"c",(function(){return m})),r.d(n,"L",(function(){return h})),r.d(n,"n",(function(){return v})),r.d(n,"i",(function(){return _})),r.d(n,"g",(function(){return y})),r.d(n,"h",(function(){return w})),r.d(n,"r",(function(){return x})),r.d(n,"N",(function(){return k})),r.d(n,"K",(function(){return L})),r.d(n,"I",(function(){return F})),r.d(n,"G",(function(){return C})),r.d(n,"M",(function(){return D})),r.d(n,"J",(function(){return z})),r.d(n,"H",(function(){return S})),r.d(n,"m",(function(){return $})),r.d(n,"l",(function(){return j})),r.d(n,"k",(function(){return O})),r.d(n,"e",(function(){return V})),r.d(n,"q",(function(){return A})),r.d(n,"o",(function(){return E})),r.d(n,"O",(function(){return I})),r.d(n,"t",(function(){return J})),r.d(n,"s",(function(){return q})),r.d(n,"p",(function(){return B})),r.d(n,"P",(function(){return K})),r.d(n,"u",(function(){return N})),r.d(n,"F",(function(){return P})),r.d(n,"C",(function(){return H})),r.d(n,"D",(function(){return M})),r.d(n,"E",(function(){return T}));var e=r("0c6d");function o(t){return e["a"].get("user/extract/lst",t)}function u(t,n){return e["a"].post("user/extract/status/".concat(t),n)}function c(t){return e["a"].get("user/recharge/list",t)}function i(){return e["a"].get("user/recharge/total")}function a(t){return e["a"].get("bill/list",t)}function s(){return e["a"].get("bill/type")}function f(t){return e["a"].get("merchant/order/reconciliation/lst",t)}function d(t,n){return e["a"].post("merchant/order/reconciliation/status/".concat(t),n)}function l(t,n){return e["a"].get("merchant/order/reconciliation/".concat(t,"/order"),n)}function g(t,n){return e["a"].get("merchant/order/reconciliation/".concat(t,"/refund"),n)}function p(t){return e["a"].get("merchant/order/reconciliation/mark/".concat(t,"/form"))}function b(t){return e["a"].get("financial_record/list",t)}function m(t){return e["a"].get("financial_record/export",t)}function h(t){return e["a"].get("financial/export",t)}function v(t){return e["a"].get("bill/export",t)}function _(t){return e["a"].get("user/extract/export",t)}function y(t){return e["a"].get("user/extract/status_form/".concat(t))}function w(t){return e["a"].get("user/extract/detail/".concat(t))}function x(){return e["a"].get("version")}function k(t){return e["a"].get("config/".concat(t))}function L(t){return e["a"].get("financial/lst",t)}function F(){return e["a"].get("financial/title")}function C(t){return e["a"].get("financial/detail/".concat(t))}function D(t,n){return e["a"].post("financial/status/".concat(t),n)}function z(t){return e["a"].get("financial/mark/".concat(t,"/form"))}function S(t,n){return e["a"].post("financial/update/".concat(t),n)}function $(t){return e["a"].get("financial_record/lst",t)}function j(t,n){return e["a"].get("financial_record/detail/".concat(t),n)}function O(t){return e["a"].get("financial_record/title",t)}function V(t,n){return e["a"].get("financial_record/detail_export/".concat(t),n)}function A(t){return e["a"].get("financial_record/count",t)}function E(t){return e["a"].get("agreement/".concat(t))}function I(t,n){return e["a"].post("agreement/".concat(t),n)}function J(t){return e["a"].get("receipt/lst",t)}function q(t){return e["a"].get("receipt/detail/".concat(t))}function B(){return e["a"].get("profitsharing/config")}function K(t){return e["a"].post("profitsharing/config",t)}function N(t){return e["a"].get("financial_record/mer_lst",t)}function P(t,n){return e["a"].get("financial_record/mer_list/".concat(t),n)}function H(t,n){return e["a"].get("financial_record/mer_detail/".concat(t),n)}function M(t,n){return e["a"].get("financial_record/mer_excel/".concat(t),n)}function T(t,n){return e["a"].get("financial_record/mer_title/".concat(t),n)}},"306d":function(t,n,r){"use strict";r.r(n);var e=function(){var t=this,n=t.$createElement,r=t._self._c||n;return r("div",{staticClass:"divBox"},[r("div",{staticClass:"selCard"},[r("el-form",{attrs:{size:"small","label-width":"85px"}},[r("el-form-item",{attrs:{label:"是否显示:"}},[r("el-select",{staticClass:"selWidth",attrs:{clearable:"",placeholder:"请选择"},on:{change:function(n){return t.getList(1)}},model:{value:t.tableFrom.is_show,callback:function(n){t.$set(t.tableFrom,"is_show",n)},expression:"tableFrom.is_show"}},[r("el-option",{attrs:{label:"显示",value:"1"}}),t._v(" "),r("el-option",{attrs:{label:"不显示",value:"0"}})],1)],1)],1)],1),t._v(" "),r("el-card",{staticClass:"mt14"},[r("div",{staticClass:"mb20"},[r("el-button",{attrs:{size:"small",type:"primary"},on:{click:t.add}},[t._v("添加数据")])],1),t._v(" "),r("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.listLoading,expression:"listLoading"}],attrs:{data:t.tableData.data,size:"small"}},[r("el-table-column",{attrs:{prop:"product_presell_id",label:"编号","min-width":"50"},scopedSlots:t._u([{key:"default",fn:function(n){return[r("span",[t._v(t._s(n.$index+(t.tableFrom.page-1)*t.tableFrom.limit+1))])]}}])}),t._v(" "),r("el-table-column",{attrs:{label:"第几天","min-width":"150"},scopedSlots:t._u([{key:"default",fn:function(n){return[r("span",[t._v(t._s(n.row.merchant?n.row.merchant.mer_name:""))])]}}])}),t._v(" "),r("el-table-column",{attrs:{prop:"store_name",label:"获取积分","min-width":"120"}}),t._v(" "),r("el-table-column",{attrs:{label:"是否可用","min-width":"100"},scopedSlots:t._u([{key:"default",fn:function(n){return[r("el-switch",{attrs:{"active-value":1,"inactive-value":0,"active-text":"显示","inactive-text":"隐藏"},nativeOn:{click:function(r){return t.onchangeIsShow(n.row)}},model:{value:n.row.is_show,callback:function(r){t.$set(n.row,"is_show",r)},expression:"scope.row.is_show"}})]}}])}),t._v(" "),r("el-table-column",{attrs:{prop:"rank",label:"排序","min-width":"90"}}),t._v(" "),r("el-table-column",{attrs:{label:"操作","min-width":"150",fixed:"right"},scopedSlots:t._u([{key:"default",fn:function(n){return[r("el-button",{staticClass:"mr10",attrs:{type:"text",size:"small"},on:{click:function(r){return t.handleEdit(n.row.broadcast_room_id)}}},[t._v("编辑")]),t._v(" "),r("el-button",{attrs:{type:"text",size:"small"},on:{click:function(r){return t.handleDelete(n.row,n.$index)}}},[t._v("删除")])]}}])})],1),t._v(" "),r("div",{staticClass:"block"},[r("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)],1)},o=[],u=r("f8b7"),c=(r("2801"),r("b7be"),r("30dc")),i=r("0f56"),a={name:"preSaleProductList",components:{fileList:c["a"],cardsData:i["a"]},data:function(){return{timeVal:[],listLoading:!0,tableData:{data:[],total:0},tableFrom:{page:1,limit:20,is_show:""},loading:!1}},watch:{},mounted:function(){this.getList("")},methods:{selectChange:function(t){this.tableFrom.date=t,this.tableFrom.page=1,this.timeVal=[],this.getList("")},onchangeTime:function(t){this.timeVal=t,this.tableFrom.date=t?this.timeVal.join("-"):"",this.tableFrom.page=1,this.getList()},add:function(){},handleEdit:function(t){},handleDelete:function(t,n){var r=this;this.$modalSure().then((function(){productDeleteApi(t).then((function(t){var n=t.message;r.$message.success(n),r.getList()})).catch((function(t){var n=t.message;r.$message.error(n)}))}))},onchangeIsShow:function(t){var n=this;changeDisplayApi(t.broadcast_room_id,{is_show:t.is_show}).then((function(t){var r=t.message;n.$message.success(r),n.getList("")})).catch((function(t){var r=t.message;n.$message.error(r)}))},getList:function(t){var n=this;this.listLoading=!0,this.tableFrom.page=t||this.tableFrom.page,Object(u["v"])(this.tableFrom).then((function(t){n.tableData.data=t.data.list,n.tableData.total=t.data.count,n.listLoading=!1})).catch((function(t){n.listLoading=!1,n.$message.error(t.message)}))},pageChange:function(t){this.tableFrom.page=t,this.getList("")},handleSizeChange:function(t){this.tableFrom.limit=t,this.getList("")}}},s=a,f=(r("965c"),r("2877")),d=Object(f["a"])(s,e,o,!1,null,"359039bc",null);n["default"]=d.exports},"965c":function(t,n,r){"use strict";r("066b")},b7be:function(t,n,r){"use strict";r.d(n,"Ob",(function(){return o})),r.d(n,"Nb",(function(){return u})),r.d(n,"Jb",(function(){return c})),r.d(n,"Ib",(function(){return i})),r.d(n,"Hb",(function(){return a})),r.d(n,"Kb",(function(){return s})),r.d(n,"Lb",(function(){return f})),r.d(n,"Mb",(function(){return d})),r.d(n,"W",(function(){return l})),r.d(n,"R",(function(){return g})),r.d(n,"S",(function(){return p})),r.d(n,"U",(function(){return b})),r.d(n,"T",(function(){return m})),r.d(n,"Bb",(function(){return h})),r.d(n,"Q",(function(){return v})),r.d(n,"x",(function(){return _})),r.d(n,"D",(function(){return y})),r.d(n,"v",(function(){return w})),r.d(n,"u",(function(){return x})),r.d(n,"w",(function(){return k})),r.d(n,"Cb",(function(){return L})),r.d(n,"Db",(function(){return F})),r.d(n,"Yb",(function(){return C})),r.d(n,"A",(function(){return D})),r.d(n,"z",(function(){return z})),r.d(n,"E",(function(){return S})),r.d(n,"i",(function(){return $})),r.d(n,"Xb",(function(){return j})),r.d(n,"Ub",(function(){return O})),r.d(n,"Wb",(function(){return V})),r.d(n,"Tb",(function(){return A})),r.d(n,"Vb",(function(){return E})),r.d(n,"Qb",(function(){return I})),r.d(n,"Zb",(function(){return J})),r.d(n,"y",(function(){return q})),r.d(n,"C",(function(){return B})),r.d(n,"B",(function(){return K})),r.d(n,"O",(function(){return N})),r.d(n,"G",(function(){return P})),r.d(n,"J",(function(){return H})),r.d(n,"K",(function(){return M})),r.d(n,"I",(function(){return T})),r.d(n,"L",(function(){return W})),r.d(n,"P",(function(){return G})),r.d(n,"N",(function(){return Q})),r.d(n,"M",(function(){return R})),r.d(n,"F",(function(){return U})),r.d(n,"H",(function(){return X})),r.d(n,"V",(function(){return Y})),r.d(n,"nb",(function(){return Z})),r.d(n,"mb",(function(){return tt})),r.d(n,"Sb",(function(){return nt})),r.d(n,"fb",(function(){return rt})),r.d(n,"cc",(function(){return et})),r.d(n,"cb",(function(){return ot})),r.d(n,"ab",(function(){return ut})),r.d(n,"bb",(function(){return ct})),r.d(n,"Rb",(function(){return it})),r.d(n,"X",(function(){return at})),r.d(n,"o",(function(){return st})),r.d(n,"n",(function(){return ft})),r.d(n,"m",(function(){return dt})),r.d(n,"l",(function(){return lt})),r.d(n,"k",(function(){return gt})),r.d(n,"Y",(function(){return pt})),r.d(n,"t",(function(){return bt})),r.d(n,"r",(function(){return mt})),r.d(n,"q",(function(){return ht})),r.d(n,"s",(function(){return vt})),r.d(n,"p",(function(){return _t})),r.d(n,"ib",(function(){return yt})),r.d(n,"gb",(function(){return wt})),r.d(n,"kb",(function(){return xt})),r.d(n,"hb",(function(){return kt})),r.d(n,"jb",(function(){return Lt})),r.d(n,"Z",(function(){return Ft})),r.d(n,"zb",(function(){return Ct})),r.d(n,"yb",(function(){return Dt})),r.d(n,"wb",(function(){return zt})),r.d(n,"Ab",(function(){return St})),r.d(n,"eb",(function(){return $t})),r.d(n,"vb",(function(){return jt})),r.d(n,"xb",(function(){return Ot})),r.d(n,"ub",(function(){return Vt})),r.d(n,"qb",(function(){return At})),r.d(n,"sb",(function(){return Et})),r.d(n,"rb",(function(){return It})),r.d(n,"lb",(function(){return Jt})),r.d(n,"db",(function(){return qt})),r.d(n,"ob",(function(){return Bt})),r.d(n,"tb",(function(){return Kt})),r.d(n,"pb",(function(){return Nt})),r.d(n,"a",(function(){return Pt})),r.d(n,"ac",(function(){return Ht})),r.d(n,"d",(function(){return Mt})),r.d(n,"f",(function(){return Tt})),r.d(n,"c",(function(){return Wt})),r.d(n,"j",(function(){return Gt})),r.d(n,"b",(function(){return Qt})),r.d(n,"h",(function(){return Rt})),r.d(n,"e",(function(){return Ut})),r.d(n,"g",(function(){return Xt}));var e=r("0c6d");function o(t){return e["a"].get("/store/coupon/platformLst",t)}function u(t){return e["a"].get("/store/coupon/update/".concat(t,"/form"))}function c(t){return e["a"].get("/store/coupon/show/".concat(t))}function i(t){return e["a"].delete("store/coupon/delete/".concat(t))}function a(t){return e["a"].get("/store/coupon/sys/clone/".concat(t,"/form"))}function s(t){return e["a"].get("store/coupon/sys/issue",t)}function f(t,n){return e["a"].get("store/coupon/show_lst/".concat(t),n)}function d(t){return e["a"].get("/store/coupon/send/lst",t)}function l(t){return e["a"].post("store/coupon/send",t)}function g(t){return e["a"].get("store/coupon/detail/".concat(t))}function p(t){return e["a"].get("store/coupon/lst",t)}function b(t,n){return e["a"].post("store/coupon/status/".concat(t),{status:n})}function m(){return e["a"].get("store/coupon/create/form")}function h(t){return e["a"].get("store/coupon/issue",t)}function v(t){return e["a"].delete("store/coupon/delete/".concat(t))}function _(t){return e["a"].get("broadcast/room/lst",t)}function y(t,n){return e["a"].post("broadcast/room/status/".concat(t),n)}function w(t){return e["a"].delete("broadcast/room/delete/".concat(t))}function x(t){return e["a"].get("broadcast/room/apply/form/".concat(t))}function k(t){return e["a"].get("broadcast/room/detail/".concat(t))}function L(t,n){return e["a"].post("broadcast/room/feedsPublic/".concat(t),{status:n})}function F(t,n){return e["a"].post("broadcast/room/comment/".concat(t),{status:n})}function C(t,n){return e["a"].post("broadcast/room/closeKf/".concat(t),{status:n})}function D(t){return e["a"].get("broadcast/goods/lst",t)}function z(t){return e["a"].get("broadcast/goods/detail/".concat(t))}function S(t,n){return e["a"].post("broadcast/goods/status/".concat(t),n)}function $(t){return e["a"].get("broadcast/goods/apply/form/".concat(t))}function j(){return e["a"].get("seckill/config/create/form")}function O(t){return e["a"].get("seckill/config/lst",t)}function V(t){return e["a"].get("seckill/config/update/".concat(t,"/form"))}function A(t){return e["a"].delete("seckill/config/delete/".concat(t))}function E(t,n){return e["a"].post("seckill/config/status/".concat(t),{status:n})}function I(t,n){return e["a"].get("seckill/product/detail/".concat(t),n)}function J(t,n){return e["a"].get("broadcast/room/goods/".concat(t),n)}function q(t){return e["a"].delete("broadcast/goods/delete/".concat(t))}function B(t,n){return e["a"].post("broadcast/room/sort/".concat(t),n)}function K(t,n){return e["a"].post("broadcast/goods/sort/".concat(t),n)}function N(t){return e["a"].post("config/others/group_buying",t)}function P(){return e["a"].get("config/others/group_buying")}function H(t){return e["a"].get("store/product/group/lst",t)}function M(t){return e["a"].get("store/product/group/get/".concat(t))}function T(t){return e["a"].get("store/product/group/detail/".concat(t))}function W(t){return e["a"].post("store/product/group/status",t)}function G(t,n){return e["a"].post("store/product/group/is_show/".concat(t),{status:n})}function Q(t){return e["a"].get("store/product/group/get/".concat(t))}function R(t,n){return e["a"].post("store/product/group/update/".concat(t),n)}function U(t){return e["a"].get("store/product/group/buying/lst",t)}function X(t,n){return e["a"].get("store/product/group/buying/detail/".concat(t),n)}function Y(t,n){return e["a"].get("store/coupon/product/".concat(t),n)}function Z(){return e["a"].get("user/integral/title")}function tt(t){return e["a"].get("user/integral/lst",t)}function nt(t){return e["a"].get("user/integral/excel",t)}function rt(){return e["a"].get("user/integral/config")}function et(t){return e["a"].post("user/integral/config",t)}function ot(t){return e["a"].get("discounts/lst",t)}function ut(t,n){return e["a"].post("discounts/status/".concat(t),{status:n})}function ct(t){return e["a"].get("discounts/detail/".concat(t))}function it(t){return e["a"].get("marketing/spu/lst",t)}function at(t){return e["a"].post("activity/atmosphere/create",t)}function st(t,n){return e["a"].post("activity/atmosphere/update/".concat(t),n)}function ft(t){return e["a"].get("activity/atmosphere/lst",t)}function dt(t){return e["a"].get("activity/atmosphere/detail/".concat(t))}function lt(t,n){return e["a"].post("activity/atmosphere/status/".concat(t),{status:n})}function gt(t){return e["a"].delete("activity/atmosphere/delete/".concat(t))}function pt(t){return e["a"].post("activity/border/create",t)}function bt(t,n){return e["a"].post("activity/border/update/".concat(t),n)}function mt(t){return e["a"].get("activity/border/lst",t)}function ht(t){return e["a"].get("activity/border/detail/".concat(t))}function vt(t,n){return e["a"].post("activity/border/status/".concat(t),{status:n})}function _t(t){return e["a"].delete("activity/border/delete/".concat(t))}function yt(){return e["a"].get("points/cate/lst")}function wt(){return e["a"].get("points/cate/create/form")}function xt(t){return e["a"].get("points/cate/update/form/".concat(t))}function kt(t){return e["a"].delete("points/cate/delete/".concat(t))}function Lt(t,n){return e["a"].post("points/cate/status/".concat(t),{status:n})}function Ft(t){return e["a"].post("points/product/create",t)}function Ct(t,n){return e["a"].post("points/product/update/".concat(t),n)}function Dt(t){return e["a"].get("points/product/lst",t)}function zt(t){return e["a"].delete("points/product/delete/".concat(t))}function St(t,n){return e["a"].post("points/product/status/".concat(t),{status:n})}function $t(t,n){return e["a"].post("points/product/get_attr_value/".concat(t),n)}function jt(){return e["a"].get("points/cate/select")}function Ot(t){return e["a"].get("points/product/detail/".concat(t))}function Vt(t){return e["a"].get("points/order/lst",t)}function At(t){return e["a"].get("points/order/detail/".concat(t))}function Et(t){return e["a"].get("points/order/express/".concat(t))}function It(t){return e["a"].get("points/order/excel",t)}function Jt(t,n){return e["a"].post("points/order/delivery/".concat(t),n)}function qt(t){return e["a"].get("store/express/options",t)}function Bt(t){return e["a"].get("points/order/mark/".concat(t,"/form"))}function Kt(t,n){return e["a"].get("points/order/status/".concat(t),n)}function Nt(t){return e["a"].delete("points/order/delete/".concat(t))}function Pt(t){return e["a"].post("activity/form/create",t)}function Ht(){return e["a"].get("system/form/select")}function Mt(t){return e["a"].get("activity/form/lst",t)}function Tt(t,n){return e["a"].post("activity/form/status/".concat(t),{status:n})}function Wt(t){return e["a"].get("activity/form/detail/".concat(t))}function Gt(t,n){return e["a"].get("system/form/info/".concat(t),n)}function Qt(t){return e["a"].delete("activity/form/delete/".concat(t))}function Rt(t,n){return e["a"].get("activity/form/user/lst/".concat(t),n)}function Ut(t,n){return e["a"].get("activity/form/excel/".concat(t),n)}function Xt(t,n){return e["a"].post("activity/form/update/".concat(t),n)}},f8b7:function(t,n,r){"use strict";r.d(n,"m",(function(){return o})),r.d(n,"b",(function(){return u})),r.d(n,"a",(function(){return c})),r.d(n,"o",(function(){return i})),r.d(n,"k",(function(){return a})),r.d(n,"l",(function(){return s})),r.d(n,"n",(function(){return f})),r.d(n,"s",(function(){return d})),r.d(n,"i",(function(){return l})),r.d(n,"j",(function(){return g})),r.d(n,"g",(function(){return p})),r.d(n,"h",(function(){return b})),r.d(n,"f",(function(){return m})),r.d(n,"u",(function(){return h})),r.d(n,"v",(function(){return v})),r.d(n,"t",(function(){return _})),r.d(n,"e",(function(){return y})),r.d(n,"d",(function(){return w})),r.d(n,"c",(function(){return x})),r.d(n,"r",(function(){return k})),r.d(n,"q",(function(){return L})),r.d(n,"p",(function(){return F}));var e=r("0c6d");function o(t){return e["a"].get("order/lst",t)}function u(){return e["a"].get("order/chart")}function c(t){return e["a"].get("order/title",t)}function i(t){return e["a"].get("store/order/update/".concat(t,"/form"))}function a(t){return e["a"].get("store/order/delivery/".concat(t,"/form"))}function s(t){return e["a"].get("order/detail/".concat(t))}function f(t,n){return e["a"].get("order/status/".concat(t),n)}function d(t){return e["a"].get("order/refund/lst",t)}function l(t){return e["a"].get("order/children/".concat(t))}function g(t){return e["a"].get("order/express/".concat(t))}function p(t){return e["a"].get("order/excel",t)}function b(t){return e["a"].get("order/refund/excel",t)}function m(t){return e["a"].get("excel/lst",t)}function h(){return e["a"].get("order/takechart")}function v(t){return e["a"].get("order/takelst",t)}function _(t){return e["a"].get("order/take_title",t)}function y(){return e["a"].get("excel/type")}function w(t){return e["a"].get("delivery/order/lst",t)}function x(t){return e["a"].get("delivery/order/cancel/".concat(t,"/form"))}function k(t){return e["a"].get("delivery/station/payLst",t)}function L(){return e["a"].get("delivery/title")}function F(){return e["a"].get("delivery/belence")}}}]); |