启程易购后端代码
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-0e639411.e99c80d6.js

1 lines
18 KiB

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-0e639411"],{"0b65":function(t,n,e){"use strict";n["a"]={shortcuts:[{text:"今天",onClick:function(t){var n=new Date,e=new Date;e.setTime(new Date((new Date).getFullYear(),(new Date).getMonth(),(new Date).getDate())),t.$emit("pick",[e,n])}},{text:"昨天",onClick:function(t){var n=new Date,e=new Date;e.setTime(e.setTime(new Date((new Date).getFullYear(),(new Date).getMonth(),(new Date).getDate()-1))),n.setTime(n.setTime(new Date((new Date).getFullYear(),(new Date).getMonth(),(new Date).getDate()-1))),t.$emit("pick",[e,n])}},{text:"最近7天",onClick:function(t){var n=new Date,e=new Date;e.setTime(e.getTime()-6048e5),t.$emit("pick",[e,n])}},{text:"最近30天",onClick:function(t){var n=new Date,e=new Date;e.setTime(e.getTime()-2592e6),t.$emit("pick",[e,n])}},{text:"本月",onClick:function(t){var n=new Date,e=new Date;e.setTime(e.setTime(new Date((new Date).getFullYear(),(new Date).getMonth(),1))),t.$emit("pick",[e,n])}},{text:"本年",onClick:function(t){var n=new Date,e=new Date;e.setTime(e.setTime(new Date((new Date).getFullYear(),0,1))),t.$emit("pick",[e,n])}}]}},b7be:function(t,n,e){"use strict";e.d(n,"Ob",(function(){return o})),e.d(n,"Nb",(function(){return a})),e.d(n,"Jb",(function(){return u})),e.d(n,"Ib",(function(){return c})),e.d(n,"Hb",(function(){return i})),e.d(n,"Kb",(function(){return s})),e.d(n,"Lb",(function(){return l})),e.d(n,"Mb",(function(){return d})),e.d(n,"W",(function(){return f})),e.d(n,"R",(function(){return p})),e.d(n,"S",(function(){return g})),e.d(n,"U",(function(){return m})),e.d(n,"T",(function(){return b})),e.d(n,"Bb",(function(){return h})),e.d(n,"Q",(function(){return v})),e.d(n,"x",(function(){return y})),e.d(n,"D",(function(){return w})),e.d(n,"v",(function(){return k})),e.d(n,"u",(function(){return _})),e.d(n,"w",(function(){return D})),e.d(n,"Cb",(function(){return x})),e.d(n,"Db",(function(){return F})),e.d(n,"Yb",(function(){return L})),e.d(n,"A",(function(){return C})),e.d(n,"z",(function(){return T})),e.d(n,"E",(function(){return $})),e.d(n,"i",(function(){return S})),e.d(n,"Xb",(function(){return z})),e.d(n,"Ub",(function(){return O})),e.d(n,"Wb",(function(){return M})),e.d(n,"Tb",(function(){return V})),e.d(n,"Vb",(function(){return j})),e.d(n,"Qb",(function(){return P})),e.d(n,"Zb",(function(){return Y})),e.d(n,"y",(function(){return I})),e.d(n,"C",(function(){return J})),e.d(n,"B",(function(){return R})),e.d(n,"O",(function(){return W})),e.d(n,"G",(function(){return B})),e.d(n,"J",(function(){return E})),e.d(n,"K",(function(){return H})),e.d(n,"I",(function(){return K})),e.d(n,"L",(function(){return N})),e.d(n,"P",(function(){return q})),e.d(n,"N",(function(){return A})),e.d(n,"M",(function(){return Q})),e.d(n,"F",(function(){return U})),e.d(n,"H",(function(){return X})),e.d(n,"V",(function(){return Z})),e.d(n,"nb",(function(){return G})),e.d(n,"mb",(function(){return tt})),e.d(n,"Sb",(function(){return nt})),e.d(n,"fb",(function(){return et})),e.d(n,"cc",(function(){return rt})),e.d(n,"cb",(function(){return ot})),e.d(n,"ab",(function(){return at})),e.d(n,"bb",(function(){return ut})),e.d(n,"Rb",(function(){return ct})),e.d(n,"X",(function(){return it})),e.d(n,"o",(function(){return st})),e.d(n,"n",(function(){return lt})),e.d(n,"m",(function(){return dt})),e.d(n,"l",(function(){return ft})),e.d(n,"k",(function(){return pt})),e.d(n,"Y",(function(){return gt})),e.d(n,"t",(function(){return mt})),e.d(n,"r",(function(){return bt})),e.d(n,"q",(function(){return ht})),e.d(n,"s",(function(){return vt})),e.d(n,"p",(function(){return yt})),e.d(n,"ib",(function(){return wt})),e.d(n,"gb",(function(){return kt})),e.d(n,"kb",(function(){return _t})),e.d(n,"hb",(function(){return Dt})),e.d(n,"jb",(function(){return xt})),e.d(n,"Z",(function(){return Ft})),e.d(n,"zb",(function(){return Lt})),e.d(n,"yb",(function(){return Ct})),e.d(n,"wb",(function(){return Tt})),e.d(n,"Ab",(function(){return $t})),e.d(n,"eb",(function(){return St})),e.d(n,"vb",(function(){return zt})),e.d(n,"xb",(function(){return Ot})),e.d(n,"ub",(function(){return Mt})),e.d(n,"qb",(function(){return Vt})),e.d(n,"sb",(function(){return jt})),e.d(n,"rb",(function(){return Pt})),e.d(n,"lb",(function(){return Yt})),e.d(n,"db",(function(){return It})),e.d(n,"ob",(function(){return Jt})),e.d(n,"tb",(function(){return Rt})),e.d(n,"pb",(function(){return Wt})),e.d(n,"a",(function(){return Bt})),e.d(n,"ac",(function(){return Et})),e.d(n,"d",(function(){return Ht})),e.d(n,"f",(function(){return Kt})),e.d(n,"c",(function(){return Nt})),e.d(n,"j",(function(){return qt})),e.d(n,"b",(function(){return At})),e.d(n,"h",(function(){return Qt})),e.d(n,"e",(function(){return Ut})),e.d(n,"g",(function(){return Xt}));var r=e("0c6d");function o(t){return r["a"].get("/store/coupon/platformLst",t)}function a(t){return r["a"].get("/store/coupon/update/".concat(t,"/form"))}function u(t){return r["a"].get("/store/coupon/show/".concat(t))}function c(t){return r["a"].delete("store/coupon/delete/".concat(t))}function i(t){return r["a"].get("/store/coupon/sys/clone/".concat(t,"/form"))}function s(t){return r["a"].get("store/coupon/sys/issue",t)}function l(t,n){return r["a"].get("store/coupon/show_lst/".concat(t),n)}function d(t){return r["a"].get("/store/coupon/send/lst",t)}function f(t){return r["a"].post("store/coupon/send",t)}function p(t){return r["a"].get("store/coupon/detail/".concat(t))}function g(t){return r["a"].get("store/coupon/lst",t)}function m(t,n){return r["a"].post("store/coupon/status/".concat(t),{status:n})}function b(){return r["a"].get("store/coupon/create/form")}function h(t){return r["a"].get("store/coupon/issue",t)}function v(t){return r["a"].delete("store/coupon/delete/".concat(t))}function y(t){return r["a"].get("broadcast/room/lst",t)}function w(t,n){return r["a"].post("broadcast/room/status/".concat(t),n)}function k(t){return r["a"].delete("broadcast/room/delete/".concat(t))}function _(t){return r["a"].get("broadcast/room/apply/form/".concat(t))}function D(t){return r["a"].get("broadcast/room/detail/".concat(t))}function x(t,n){return r["a"].post("broadcast/room/feedsPublic/".concat(t),{status:n})}function F(t,n){return r["a"].post("broadcast/room/comment/".concat(t),{status:n})}function L(t,n){return r["a"].post("broadcast/room/closeKf/".concat(t),{status:n})}function C(t){return r["a"].get("broadcast/goods/lst",t)}function T(t){return r["a"].get("broadcast/goods/detail/".concat(t))}function $(t,n){return r["a"].post("broadcast/goods/status/".concat(t),n)}function S(t){return r["a"].get("broadcast/goods/apply/form/".concat(t))}function z(){return r["a"].get("seckill/config/create/form")}function O(t){return r["a"].get("seckill/config/lst",t)}function M(t){return r["a"].get("seckill/config/update/".concat(t,"/form"))}function V(t){return r["a"].delete("seckill/config/delete/".concat(t))}function j(t,n){return r["a"].post("seckill/config/status/".concat(t),{status:n})}function P(t,n){return r["a"].get("seckill/product/detail/".concat(t),n)}function Y(t,n){return r["a"].get("broadcast/room/goods/".concat(t),n)}function I(t){return r["a"].delete("broadcast/goods/delete/".concat(t))}function J(t,n){return r["a"].post("broadcast/room/sort/".concat(t),n)}function R(t,n){return r["a"].post("broadcast/goods/sort/".concat(t),n)}function W(t){return r["a"].post("config/others/group_buying",t)}function B(){return r["a"].get("config/others/group_buying")}function E(t){return r["a"].get("store/product/group/lst",t)}function H(t){return r["a"].get("store/product/group/get/".concat(t))}function K(t){return r["a"].get("store/product/group/detail/".concat(t))}function N(t){return r["a"].post("store/product/group/status",t)}function q(t,n){return r["a"].post("store/product/group/is_show/".concat(t),{status:n})}function A(t){return r["a"].get("store/product/group/get/".concat(t))}function Q(t,n){return r["a"].post("store/product/group/update/".concat(t),n)}function U(t){return r["a"].get("store/product/group/buying/lst",t)}function X(t,n){return r["a"].get("store/product/group/buying/detail/".concat(t),n)}function Z(t,n){return r["a"].get("store/coupon/product/".concat(t),n)}function G(){return r["a"].get("user/integral/title")}function tt(t){return r["a"].get("user/integral/lst",t)}function nt(t){return r["a"].get("user/integral/excel",t)}function et(){return r["a"].get("user/integral/config")}function rt(t){return r["a"].post("user/integral/config",t)}function ot(t){return r["a"].get("discounts/lst",t)}function at(t,n){return r["a"].post("discounts/status/".concat(t),{status:n})}function ut(t){return r["a"].get("discounts/detail/".concat(t))}function ct(t){return r["a"].get("marketing/spu/lst",t)}function it(t){return r["a"].post("activity/atmosphere/create",t)}function st(t,n){return r["a"].post("activity/atmosphere/update/".concat(t),n)}function lt(t){return r["a"].get("activity/atmosphere/lst",t)}function dt(t){return r["a"].get("activity/atmosphere/detail/".concat(t))}function ft(t,n){return r["a"].post("activity/atmosphere/status/".concat(t),{status:n})}function pt(t){return r["a"].delete("activity/atmosphere/delete/".concat(t))}function gt(t){return r["a"].post("activity/border/create",t)}function mt(t,n){return r["a"].post("activity/border/update/".concat(t),n)}function bt(t){return r["a"].get("activity/border/lst",t)}function ht(t){return r["a"].get("activity/border/detail/".concat(t))}function vt(t,n){return r["a"].post("activity/border/status/".concat(t),{status:n})}function yt(t){return r["a"].delete("activity/border/delete/".concat(t))}function wt(){return r["a"].get("points/cate/lst")}function kt(){return r["a"].get("points/cate/create/form")}function _t(t){return r["a"].get("points/cate/update/form/".concat(t))}function Dt(t){return r["a"].delete("points/cate/delete/".concat(t))}function xt(t,n){return r["a"].post("points/cate/status/".concat(t),{status:n})}function Ft(t){return r["a"].post("points/product/create",t)}function Lt(t,n){return r["a"].post("points/product/update/".concat(t),n)}function Ct(t){return r["a"].get("points/product/lst",t)}function Tt(t){return r["a"].delete("points/product/delete/".concat(t))}function $t(t,n){return r["a"].post("points/product/status/".concat(t),{status:n})}function St(t,n){return r["a"].post("points/product/get_attr_value/".concat(t),n)}function zt(){return r["a"].get("points/cate/select")}function Ot(t){return r["a"].get("points/product/detail/".concat(t))}function Mt(t){return r["a"].get("points/order/lst",t)}function Vt(t){return r["a"].get("points/order/detail/".concat(t))}function jt(t){return r["a"].get("points/order/express/".concat(t))}function Pt(t){return r["a"].get("points/order/excel",t)}function Yt(t,n){return r["a"].post("points/order/delivery/".concat(t),n)}function It(t){return r["a"].get("store/express/options",t)}function Jt(t){return r["a"].get("points/order/mark/".concat(t,"/form"))}function Rt(t,n){return r["a"].get("points/order/status/".concat(t),n)}function Wt(t){return r["a"].delete("points/order/delete/".concat(t))}function Bt(t){return r["a"].post("activity/form/create",t)}function Et(){return r["a"].get("system/form/select")}function Ht(t){return r["a"].get("activity/form/lst",t)}function Kt(t,n){return r["a"].post("activity/form/status/".concat(t),{status:n})}function Nt(t){return r["a"].get("activity/form/detail/".concat(t))}function qt(t,n){return r["a"].get("system/form/info/".concat(t),n)}function At(t){return r["a"].delete("activity/form/delete/".concat(t))}function Qt(t,n){return r["a"].get("activity/form/user/lst/".concat(t),n)}function Ut(t,n){return r["a"].get("activity/form/excel/".concat(t),n)}function Xt(t,n){return r["a"].post("activity/form/update/".concat(t),n)}},c3aa:function(t,n,e){},e4c5:function(t,n,e){"use strict";e.r(n);var r=function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("div",{staticClass:"divBox"},[e("div",{staticClass:"selCard"},[e("el-form",{ref:"searchForm",attrs:{model:t.tableFrom,size:"small","label-width":"85px",inline:!0}},[e("el-form-item",{attrs:{label:"创建时间:"}},[e("el-date-picker",{staticStyle:{width:"280px"},attrs:{"value-format":"yyyy/MM/dd",align:"right","unlink-panels":"",format:"yyyy/MM/dd",size:"small",type:"daterange",placement:"bottom-end",placeholder:"自定义时间","picker-options":t.pickerOptions},on:{change:t.onchangeTime},model:{value:t.timeVal,callback:function(n){t.timeVal=n},expression:"timeVal"}})],1),t._v(" "),e("el-form-item",{attrs:{label:"活动状态:",prop:"status"}},[e("el-select",{staticClass:"selWidth",attrs:{placeholder:"请选择",clearable:""},on:{change:function(n){return t.getList(1)}},model:{value:t.tableFrom.status,callback:function(n){t.$set(t.tableFrom,"status",n)},expression:"tableFrom.status"}},[e("el-option",{attrs:{label:"未开始",value:0}}),t._v(" "),e("el-option",{attrs:{label:"进行中",value:1}}),t._v(" "),e("el-option",{attrs:{label:"已结束",value:-1}})],1)],1),t._v(" "),e("el-form-item",{attrs:{label:"活动搜索:",prop:"keyword"}},[e("el-input",{staticClass:"selWidth",attrs:{placeholder:"请输入活动名称/关键字",clearable:""},nativeOn:{keyup:function(n){return!n.type.indexOf("key")&&t._k(n.keyCode,"enter",13,n.key,"Enter")?null:t.getList(1)}},model:{value:t.tableFrom.keyword,callback:function(n){t.$set(t.tableFrom,"keyword",n)},expression:"tableFrom.keyword"}})],1),t._v(" "),e("el-form-item",[e("el-button",{attrs:{type:"primary",size:"small"},on:{click:function(n){return t.getList(1)}}},[t._v("搜索")]),t._v(" "),e("el-button",{attrs:{size:"small"},on:{click:function(n){return t.searchReset()}}},[t._v("重置")])],1)],1)],1),t._v(" "),e("el-card",{staticClass:"mt14"},[e("div",{staticClass:"mb20"},[e("router-link",{attrs:{to:{path:t.roterPre+"/marketing/border/add"}}},[e("el-button",{attrs:{size:"small",type:"primary"}},[t._v("添加活动边框")])],1)],1),t._v(" "),e("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.listLoading,expression:"listLoading"}],staticClass:"mt20",attrs:{data:t.tableData.data,size:"small","highlight-current-row":""}},[e("el-table-column",{attrs:{prop:"activity_id",label:"ID","min-width":"50"}}),t._v(" "),e("el-table-column",{attrs:{prop:"activity_name",label:"活动名称","min-width":"150"}}),t._v(" "),e("el-table-column",{attrs:{"min-width":"100",label:"活动边框"},scopedSlots:t._u([{key:"default",fn:function(t){return[e("el-image",{staticStyle:{width:"36px",height:"36px"},attrs:{src:t.row.pic}})]}}])}),t._v(" "),e("el-table-column",{attrs:{"min-width":"200",label:"活动日期"},scopedSlots:t._u([{key:"default",fn:function(n){var r=n.row;return[e("div",[t._v("\n "+t._s(r.start_time)+" - "+t._s(r.end_time)+"\n ")])]}}])}),t._v(" "),e("el-table-column",{attrs:{label:"活动状态","min-width":"90"},scopedSlots:t._u([{key:"default",fn:function(n){var r=n.row;return[0==r.status?e("el-tag",{attrs:{type:"danger"}},[t._v("未开始")]):t._e(),t._v(" "),1==r.status?e("el-tag",[t._v("进行中")]):t._e(),t._v(" "),-1==r.status?e("el-tag",{attrs:{type:"info"}},[t._v("已结束")]):t._e()]}}])}),t._v(" "),e("el-table-column",{attrs:{label:"是否开启","min-width":"90"},scopedSlots:t._u([{key:"default",fn:function(n){return[e("el-switch",{attrs:{"active-value":1,"inactive-value":0,"active-text":"开启","inactive-text":"关闭"},nativeOn:{click:function(e){return t.onchangeIsShow(n.row)}},model:{value:n.row.is_show,callback:function(e){t.$set(n.row,"is_show",e)},expression:"scope.row.is_show"}})]}}])}),t._v(" "),e("el-table-column",{attrs:{prop:"create_time",label:"创建时间","min-width":"120"}}),t._v(" "),e("el-table-column",{attrs:{label:"操作","min-width":"100",fixed:"right"},scopedSlots:t._u([{key:"default",fn:function(n){return[e("router-link",{attrs:{to:{path:t.roterPre+"/marketing/border/add/"+n.row.activity_id}}},[e("el-button",{staticClass:"mr10",attrs:{type:"text",size:"small"}},[t._v("编辑")])],1),t._v(" "),e("el-button",{attrs:{type:"text",size:"small"},on:{click:function(e){return t.handleDelete(n.row.activity_id,n.$index)}}},[t._v("删除")])]}}])})],1),t._v(" "),e("div",{staticClass:"block"},[e("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=[],a=e("b7be"),u=e("83d6"),c=e("0b65"),i={name:"HoneyList",components:{},data:function(){return{props:{multiple:!1,emitPath:!1},Loading:!1,dialogVisible:!1,roterPre:u["roterPre"],listLoading:!0,receiveType:0,id:"",categoryList:[],labelList:[],tableData:{data:[],total:0},tableFrom:{page:1,limit:20,keyword:"",status:"",date:""},type:0,isShow:!1,pickerOptions:c["a"],timeVal:[]}},mounted:function(){this.getList(1)},methods:{searchReset:function(){this.timeVal=[],this.tableFrom.date="",this.$refs.searchForm.resetFields(),this.getList(1)},onchangeTime:function(t){this.timeVal=t,this.tableFrom.date=t?this.timeVal.join("-"):"",this.getList(1)},handleDelete:function(t,n){var e=this;this.$modalSureDelete("删除活动后将无法恢复,请谨慎操作!").then((function(){Object(a["p"])(t).then((function(t){var n=t.message;e.$message.success(n),e.getList("")})).catch((function(t){var n=t.message;e.$message.error(n)}))}))},getList:function(t){var n=this;this.listLoading=!0,this.tableFrom.page=t||this.tableFrom.page,Object(a["r"])(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("")},onchangeIsShow:function(t){var n=this;Object(a["s"])(t.activity_id,t.is_show).then((function(t){var e=t.message;n.$message.success(e),n.getList("")})).catch((function(t){var e=t.message;n.$message.error(e)}))}}},s=i,l=(e("ea3e"),e("2877")),d=Object(l["a"])(s,r,o,!1,null,"4d3a75b8",null);n["default"]=d.exports},ea3e:function(t,n,e){"use strict";e("c3aa")}}]);