启程易购后端代码
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-6534983d.45a0afa4.js

1 line
6.5 KiB

9 months ago
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-6534983d"],{"0b65":function(e,t,a){"use strict";t["a"]={shortcuts:[{text:"今天",onClick:function(e){var t=new Date,a=new Date;a.setTime(new Date((new Date).getFullYear(),(new Date).getMonth(),(new Date).getDate())),e.$emit("pick",[a,t])}},{text:"昨天",onClick:function(e){var t=new Date,a=new Date;a.setTime(a.setTime(new Date((new Date).getFullYear(),(new Date).getMonth(),(new Date).getDate()-1))),t.setTime(t.setTime(new Date((new Date).getFullYear(),(new Date).getMonth(),(new Date).getDate()-1))),e.$emit("pick",[a,t])}},{text:"最近7天",onClick:function(e){var t=new Date,a=new Date;a.setTime(a.getTime()-6048e5),e.$emit("pick",[a,t])}},{text:"最近30天",onClick:function(e){var t=new Date,a=new Date;a.setTime(a.getTime()-2592e6),e.$emit("pick",[a,t])}},{text:"本月",onClick:function(e){var t=new Date,a=new Date;a.setTime(a.setTime(new Date((new Date).getFullYear(),(new Date).getMonth(),1))),e.$emit("pick",[a,t])}},{text:"本年",onClick:function(e){var t=new Date,a=new Date;a.setTime(a.setTime(new Date((new Date).getFullYear(),0,1))),e.$emit("pick",[a,t])}}]}},"41ff":function(e,t,a){"use strict";a.r(t);var i=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"divBox"},[a("div",{staticClass:"selCard mb14"},[a("el-form",{ref:"searchForm",attrs:{model:e.tableFrom,inline:"",size:"small","label-width":"95px"}},[a("el-form-item",{attrs:{label:"时间选择:"}},[a("el-date-picker",{staticStyle:{width:"280px"},attrs:{"value-format":"yyyy/MM/dd",format:"yyyy/MM/dd",type:"daterange",placement:"bottom-end",placeholder:"自定义时间","picker-options":e.pickerOptions},on:{change:e.onchangeTime},model:{value:e.timeVal,callback:function(t){e.timeVal=t},expression:"timeVal"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"支付方式:",prop:"pay_type"}},[a("el-select",{staticClass:"selWidth",attrs:{clearable:"",placeholder:"请选择"},on:{change:function(t){e.getList(1),e.getCardList()}},model:{value:e.tableFrom.pay_type,callback:function(t){e.$set(e.tableFrom,"pay_type",t)},expression:"tableFrom.pay_type"}},[a("el-option",{attrs:{label:"微信",value:"weixin"}}),e._v(" "),a("el-option",{attrs:{label:"支付宝",value:"alipay"}}),e._v(" "),a("el-option",{attrs:{label:"小程序",value:"routine"}}),e._v(" "),a("el-option",{attrs:{label:"平台设置",value:"sys"}}),e._v(" "),a("el-option",{attrs:{label:"免费",value:"free"}})],1)],1),e._v(" "),a("el-form-item",{attrs:{label:"会员卡名称:",prop:"title"}},[a("el-input",{staticClass:"selWidth",attrs:{placeholder:"请输入会员卡名称",clearable:""},nativeOn:{keyup:function(t){if(!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter"))return null;e.getList(1),e.getCardList()}},model:{value:e.tableFrom.title,callback:function(t){e.$set(e.tableFrom,"title",t)},expression:"tableFrom.title"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"用户名:",prop:"keyword"}},[a("el-input",{staticClass:"selWidth",attrs:{placeholder:"请输入用户名称搜索",clearable:""},nativeOn:{keyup:function(t){if(!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter"))return null;e.getList(1),e.getCardList()}},model:{value:e.tableFrom.keyword,callback:function(t){e.$set(e.tableFrom,"keyword",t)},expression:"tableFrom.keyword"}})],1),e._v(" "),a("el-form-item",[a("el-button",{attrs:{type:"primary",size:"small"},on:{click:function(t){e.getList(1),e.getCardList()}}},[e._v("搜索")]),e._v(" "),a("el-button",{attrs:{size:"small"},on:{click:function(t){return e.searchReset()}}},[e._v("重置")])],1)],1)],1),e._v(" "),e.cardLists.length>0?a("cards-data",{attrs:{"card-lists":e.cardLists}}):e._e(),e._v(" "),a("el-card",[a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.listLoading,expression:"listLoading"}],attrs:{data:e.tableData.data,size:"small"}},[a("el-table-column",{attrs:{prop:"order_sn",label:"订单号","min-width":"100"}}),e._v(" "),a("el-table-column",{attrs:{prop:"user.nickname",label:"用户名","min-width":"80"}}),e._v(" "),a("el-table-colum