启程易购后端代码
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-617e4c8e.ce865ec6.js

1 lines
13 KiB

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-617e4c8e"],{"0b65":function(t,e,n){"use strict";e["a"]={shortcuts:[{text:"今天",onClick:function(t){var e=new Date,n=new Date;n.setTime(new Date((new Date).getFullYear(),(new Date).getMonth(),(new Date).getDate())),t.$emit("pick",[n,e])}},{text:"昨天",onClick:function(t){var e=new Date,n=new Date;n.setTime(n.setTime(new Date((new Date).getFullYear(),(new Date).getMonth(),(new Date).getDate()-1))),e.setTime(e.setTime(new Date((new Date).getFullYear(),(new Date).getMonth(),(new Date).getDate()-1))),t.$emit("pick",[n,e])}},{text:"最近7天",onClick:function(t){var e=new Date,n=new Date;n.setTime(n.getTime()-6048e5),t.$emit("pick",[n,e])}},{text:"最近30天",onClick:function(t){var e=new Date,n=new Date;n.setTime(n.getTime()-2592e6),t.$emit("pick",[n,e])}},{text:"本月",onClick:function(t){var e=new Date,n=new Date;n.setTime(n.setTime(new Date((new Date).getFullYear(),(new Date).getMonth(),1))),t.$emit("pick",[n,e])}},{text:"本年",onClick:function(t){var e=new Date,n=new Date;n.setTime(n.setTime(new Date((new Date).getFullYear(),0,1))),t.$emit("pick",[n,e])}}]}},2801:function(t,e,n){"use strict";n.d(e,"f",(function(){return a})),n.d(e,"j",(function(){return i})),n.d(e,"v",(function(){return o})),n.d(e,"w",(function(){return c})),n.d(e,"a",(function(){return u})),n.d(e,"b",(function(){return l})),n.d(e,"x",(function(){return s})),n.d(e,"B",(function(){return f})),n.d(e,"z",(function(){return d})),n.d(e,"A",(function(){return m})),n.d(e,"y",(function(){return g})),n.d(e,"d",(function(){return p})),n.d(e,"c",(function(){return h})),n.d(e,"L",(function(){return b})),n.d(e,"n",(function(){return v})),n.d(e,"i",(function(){return x})),n.d(e,"g",(function(){return w})),n.d(e,"h",(function(){return y})),n.d(e,"r",(function(){return k})),n.d(e,"N",(function(){return D})),n.d(e,"K",(function(){return _})),n.d(e,"I",(function(){return F})),n.d(e,"G",(function(){return L})),n.d(e,"M",(function(){return C})),n.d(e,"J",(function(){return T})),n.d(e,"H",(function(){return O})),n.d(e,"m",(function(){return $})),n.d(e,"l",(function(){return j})),n.d(e,"k",(function(){return z})),n.d(e,"e",(function(){return M})),n.d(e,"q",(function(){return V})),n.d(e,"o",(function(){return E})),n.d(e,"O",(function(){return J})),n.d(e,"t",(function(){return S})),n.d(e,"s",(function(){return Y})),n.d(e,"p",(function(){return N})),n.d(e,"P",(function(){return B})),n.d(e,"u",(function(){return R})),n.d(e,"F",(function(){return q})),n.d(e,"C",(function(){return A})),n.d(e,"D",(function(){return I})),n.d(e,"E",(function(){return P}));var r=n("0c6d");function a(t){return r["a"].get("user/extract/lst",t)}function i(t,e){return r["a"].post("user/extract/status/".concat(t),e)}function o(t){return r["a"].get("user/recharge/list",t)}function c(){return r["a"].get("user/recharge/total")}function u(t){return r["a"].get("bill/list",t)}function l(){return r["a"].get("bill/type")}function s(t){return r["a"].get("merchant/order/reconciliation/lst",t)}function f(t,e){return r["a"].post("merchant/order/reconciliation/status/".concat(t),e)}function d(t,e){return r["a"].get("merchant/order/reconciliation/".concat(t,"/order"),e)}function m(t,e){return r["a"].get("merchant/order/reconciliation/".concat(t,"/refund"),e)}function g(t){return r["a"].get("merchant/order/reconciliation/mark/".concat(t,"/form"))}function p(t){return r["a"].get("financial_record/list",t)}function h(t){return r["a"].get("financial_record/export",t)}function b(t){return r["a"].get("financial/export",t)}function v(t){return r["a"].get("bill/export",t)}function x(t){return r["a"].get("user/extract/export",t)}function w(t){return r["a"].get("user/extract/status_form/".concat(t))}function y(t){return r["a"].get("user/extract/detail/".concat(t))}function k(){return r["a"].get("version")}function D(t){return r["a"].get("config/".concat(t))}function _(t){return r["a"].get("financial/lst",t)}function F(){return r["a"].get("financial/title")}function L(t){return r["a"].get("financial/detail/".concat(t))}function C(t,e){return r["a"].post("financial/status/".concat(t),e)}function T(t){return r["a"].get("financial/mark/".concat(t,"/form"))}function O(t,e){return r["a"].post("financial/update/".concat(t),e)}function $(t){return r["a"].get("financial_record/lst",t)}function j(t,e){return r["a"].get("financial_record/detail/".concat(t),e)}function z(t){return r["a"].get("financial_record/title",t)}function M(t,e){return r["a"].get("financial_record/detail_export/".concat(t),e)}function V(t){return r["a"].get("financial_record/count",t)}function E(t){return r["a"].get("agreement/".concat(t))}function J(t,e){return r["a"].post("agreement/".concat(t),e)}function S(t){return r["a"].get("receipt/lst",t)}function Y(t){return r["a"].get("receipt/detail/".concat(t))}function N(){return r["a"].get("profitsharing/config")}function B(t){return r["a"].post("profitsharing/config",t)}function R(t){return r["a"].get("financial_record/mer_lst",t)}function q(t,e){return r["a"].get("financial_record/mer_list/".concat(t),e)}function A(t,e){return r["a"].get("financial_record/mer_detail/".concat(t),e)}function I(t,e){return r["a"].get("financial_record/mer_excel/".concat(t),e)}function P(t,e){return r["a"].get("financial_record/mer_title/".concat(t),e)}},"64dc":function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"divBox"},[n("div",{staticClass:"selCard"},[n("el-form",{ref:"searchForm",attrs:{model:t.tableFrom,size:"small",inline:"","label-width":"85px"}},[n("el-form-item",{attrs:{label:"时间选择:"}},[n("el-date-picker",{staticStyle:{width:"280px"},attrs:{"value-format":"yyyy/MM/dd",format:"yyyy/MM/dd",type:"daterange",placement:"bottom-end",clearable:"",placeholder:"自定义时间","picker-options":t.pickerOptions},on:{change:t.onchangeTime},model:{value:t.timeVal,callback:function(e){t.timeVal=e},expression:"timeVal"}})],1),t._v(" "),n("el-form-item",{attrs:{label:"明细类型:",prop:"type"}},[n("el-select",{staticClass:"selWidth",attrs:{filterable:"",clearable:"",placeholder:"请选择"},on:{change:function(e){return t.getList(1)}},model:{value:t.tableFrom.type,callback:function(e){t.$set(t.tableFrom,"type",e)},expression:"tableFrom.type"}},t._l(t.options,(function(t,e){return n("el-option",{key:e,attrs:{label:t.title,value:t.type}})})),1)],1),t._v(" "),n("el-form-item",{attrs:{label:"关键字:",prop:"keyword"}},[n("el-input",{staticClass:"selWidth",attrs:{placeholder:"微信昵称/姓名/支付宝账号/银行卡号",clearable:""},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"}})],1),t._v(" "),n("el-form-item",[n("el-button",{attrs:{type:"primary",size:"small"},on:{click:function(e){return t.getList(1)}}},[t._v("搜索")]),t._v(" "),n("el-button",{attrs:{size:"small"},on:{click:function(e){return t.searchReset()}}},[t._v("重置")])],1)],1)],1),t._v(" "),n("el-card",{staticClass:"mt14"},[n("div",{staticClass:"mb20"},[n("el-button",{attrs:{size:"small",type:"primary"},on:{click:t.exports}},[t._v("导出列表")])],1),t._v(" "),n("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.listLoading,expression:"listLoading"}],staticClass:"table",attrs:{data:t.tableData.data,size:"small","highlight-current-row":""}},[n("el-table-column",{attrs:{prop:"uid",label:"会员ID",width:"100"}}),t._v(" "),n("el-table-column",{attrs:{prop:"nickname",label:"昵称","min-width":"150"}}),t._v(" "),n("el-table-column",{attrs:{prop:"number",label:"金额","min-width":"120"}}),t._v(" "),n("el-table-column",{attrs:{label:"明细类型","min-width":"180",prop:"title"}}),t._v(" "),n("el-table-column",{attrs:{prop:"mark",label:"备注","min-width":"250"}}),t._v(" "),n("el-table-column",{attrs:{prop:"create_time",label:"创建时间","min-width":"150"}})],1),t._v(" "),n("div",{staticClass:"block"},[n("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),t._v(" "),n("file-list",{ref:"exportList"})],1)},a=[],i=n("c80c"),o=(n("96cf"),n("3b8d")),c=n("2801"),u=n("e572"),l=n("2e83"),s=n("30dc"),f=n("0b65"),d={components:{fileList:s["a"]},name:"AccountsCapital",data:function(){return{timeVal:[],pickerOptions:f["a"],tableData:{data:[],total:0},listLoading:!0,tableFrom:{type:"",date:"",keyword:"",page:1,limit:20},fromList:u["a"],options:[]}},mounted:function(){this.getTypes(),this.getList()},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.tableFrom.page=1,this.getList(1)},exports:function(){var t=Object(o["a"])(Object(i["a"])().mark((function t(){var e,n,r,a,o;return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:e=JSON.parse(JSON.stringify(this.tableFrom)),n=[],e.page=1,r=1,a={},o=0;case 5:if(!(o<r)){t.next=14;break}return t.next=8,this.downData(e);case 8:a=t.sent,r=Math.ceil(a.count/e.limit),a.export.length&&(n=n.concat(a.export),e.page++);case 11:o++,t.next=5;break;case 14:return Object(l["a"])(a.header,a.title,n,a.foot,a.filename),t.abrupt("return");case 16:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),downData:function(t){return new Promise((function(e,n){Object(c["n"])(t).then((function(t){return e(t.data)}))}))},exportRecord:function(){var t=this;Object(c["n"])(this.tableFrom).then((function(e){var n=t.$createElement;t.$msgbox({title:"提示",message:n("p",null,[n("span",null,'文件正在生成中,请稍后点击"'),n("span",{style:"color: teal"},"导出记录"),n("span",null,'"查看~ ')]),confirmButtonText:"我知道了"}).then((function(t){}))})).catch((function(e){t.$message.error(e.message)}))},getExportFileList:function(){this.$refs.exportList.exportFileList()},getList:function(t){var e=this;this.listLoading=!0,this.tableFrom.page=t||this.tableFrom.page,Object(c["a"])(this.tableFrom).then((function(t){e.tableData.data=t.data.list,e.tableData.total=t.data.count,e.listLoading=!1})).catch((function(t){e.$message.error(t.message),e.listLoading=!1}))},pageChange:function(t){this.tableFrom.page=t,this.getList()},handleSizeChange:function(t){this.tableFrom.limit=t,this.getList()},getTypes:function(){var t=this;Object(c["b"])().then((function(e){t.options=e.data})).catch((function(e){t.$message.error(e.message)}))}}},m=d,g=n("2877"),p=Object(g["a"])(m,r,a,!1,null,"29cbd618",null);e["default"]=p.exports},e572:function(t,e,n){"use strict";n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){return a})),n.d(e,"b",(function(){return i}));var r=[{label:"开启",value:1},{label:"关闭",value:0}],a={title:"选择时间",custom:!0,fromTxt:[{text:"全部",val:""},{text:"今天",val:"today"},{text:"昨天",val:"yesterday"},{text:"最近7天",val:"lately7"},{text:"最近30天",val:"lately30"},{text:"本月",val:"month"},{text:"本年",val:"year"}]},i={title:"状态",custom:!0,fromTxt:[{text:"全部",val:""},{text:"待审核",val:"0"},{text:"审核已通过",val:"1"},{text:"审核未通过",val:"2"}]}},f8b7:function(t,e,n){"use strict";n.d(e,"m",(function(){return a})),n.d(e,"b",(function(){return i})),n.d(e,"a",(function(){return o})),n.d(e,"o",(function(){return c})),n.d(e,"k",(function(){return u})),n.d(e,"l",(function(){return l})),n.d(e,"n",(function(){return s})),n.d(e,"s",(function(){return f})),n.d(e,"i",(function(){return d})),n.d(e,"j",(function(){return m})),n.d(e,"g",(function(){return g})),n.d(e,"h",(function(){return p})),n.d(e,"f",(function(){return h})),n.d(e,"u",(function(){return b})),n.d(e,"v",(function(){return v})),n.d(e,"t",(function(){return x})),n.d(e,"e",(function(){return w})),n.d(e,"d",(function(){return y})),n.d(e,"c",(function(){return k})),n.d(e,"r",(function(){return D})),n.d(e,"q",(function(){return _})),n.d(e,"p",(function(){return F}));var r=n("0c6d");function a(t){return r["a"].get("order/lst",t)}function i(){return r["a"].get("order/chart")}function o(t){return r["a"].get("order/title",t)}function c(t){return r["a"].get("store/order/update/".concat(t,"/form"))}function u(t){return r["a"].get("store/order/delivery/".concat(t,"/form"))}function l(t){return r["a"].get("order/detail/".concat(t))}function s(t,e){return r["a"].get("order/status/".concat(t),e)}function f(t){return r["a"].get("order/refund/lst",t)}function d(t){return r["a"].get("order/children/".concat(t))}function m(t){return r["a"].get("order/express/".concat(t))}function g(t){return r["a"].get("order/excel",t)}function p(t){return r["a"].get("order/refund/excel",t)}function h(t){return r["a"].get("excel/lst",t)}function b(){return r["a"].get("order/takechart")}function v(t){return r["a"].get("order/takelst",t)}function x(t){return r["a"].get("order/take_title",t)}function w(){return r["a"].get("excel/type")}function y(t){return r["a"].get("delivery/order/lst",t)}function k(t){return r["a"].get("delivery/order/cancel/".concat(t,"/form"))}function D(t){return r["a"].get("delivery/station/payLst",t)}function _(){return r["a"].get("delivery/title")}function F(){return r["a"].get("delivery/belence")}}}]);