1 |
- (window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-10d0562a"],{"046c":function(t,e,n){"use strict";var r=n("9d86");n.n(r).a},"0b65":function(t,e,n){"use strict";e.a={shortcuts:[{text:"今天",value:function(){var t=new Date,e=new Date;return e.setTime(new Date((new Date).getFullYear(),(new Date).getMonth(),(new Date).getDate())),[e,t]}},{text:"昨天",value:function(){var t=new Date,e=new Date;return e.setTime(e.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,t]}},{text:"最近7天",value:function(){var t=new Date,e=new Date;return e.setTime(e.setTime(new Date((new Date).getFullYear(),(new Date).getMonth(),(new Date).getDate()-6))),[e,t]}},{text:"最近30天",value:function(){var t=new Date,e=new Date;return e.setTime(e.setTime(new Date((new Date).getFullYear(),(new Date).getMonth(),(new Date).getDate()-29))),[e,t]}},{text:"上月",value:function(){var t=new Date,e=new Date,n=new Date(e.getFullYear(),e.getMonth(),0).getDate();return e.setTime(e.setTime(new Date((new Date).getFullYear(),(new Date).getMonth()-1,1))),t.setTime(t.setTime(new Date((new Date).getFullYear(),(new Date).getMonth()-1,n))),[e,t]}},{text:"本月",value:function(){var t=new Date,e=new Date;return e.setTime(e.setTime(new Date((new Date).getFullYear(),(new Date).getMonth(),1))),[e,t]}},{text:"本年",value:function(){var t=new Date,e=new Date;return e.setTime(e.setTime(new Date((new Date).getFullYear(),0,1))),[e,t]}}]}},"0c9f":function(t,e,n){"use strict";n.d(e,"k",(function(){return a})),n.d(e,"p",(function(){return i})),n.d(e,"n",(function(){return o})),n.d(e,"m",(function(){return s})),n.d(e,"q",(function(){return c})),n.d(e,"s",(function(){return u})),n.d(e,"t",(function(){return l})),n.d(e,"w",(function(){return d})),n.d(e,"u",(function(){return m})),n.d(e,"v",(function(){return f})),n.d(e,"r",(function(){return g})),n.d(e,"o",(function(){return h})),n.d(e,"l",(function(){return p})),n.d(e,"g",(function(){return b})),n.d(e,"j",(function(){return w})),n.d(e,"a",(function(){return v})),n.d(e,"b",(function(){return k})),n.d(e,"c",(function(){return y})),n.d(e,"d",(function(){return D})),n.d(e,"e",(function(){return _})),n.d(e,"f",(function(){return O})),n.d(e,"h",(function(){return j})),n.d(e,"i",(function(){return x}));var r=n("b6bd");function a(t){return Object(r.a)({url:"/statistic/product/get_basic",method:"get",params:t})}function i(t){return Object(r.a)({url:"/statistic/product/get_trend",method:"get",params:t})}function o(t){return Object(r.a)({url:"/statistic/product/get_product_ranking",method:"get",params:t})}function s(t){return Object(r.a)({url:"/statistic/product/get_excel",method:"get",params:t})}function c(t){return Object(r.a)({url:"/statistic/user/get_basic",method:"get",params:t})}function u(t){return Object(r.a)({url:"/statistic/user/get_trend",method:"get",params:t})}function l(t){return Object(r.a)({url:"/statistic/user/get_wechat",method:"get",params:t})}function d(t){return Object(r.a)({url:"/statistic/user/get_wechat_trend",method:"get",params:t})}function m(t){return Object(r.a)({url:"/statistic/user/get_region",method:"get",params:t})}function f(t){return Object(r.a)({url:"/statistic/user/get_sex",method:"get",params:t})}function g(t){return Object(r.a)({url:"/statistic/user/get_excel",method:"get",params:t})}function h(t){return Object(r.a)({url:"/statistic/trade/top_trade",method:"get",params:t})}function p(t){return Object(r.a)({url:"/statistic/trade/bottom_trade",method:"get",params:t})}function b(t){return Object(r.a)({url:"finance/flow/get_list",method:"get",params:t})}function w(t,e){return Object(r.a)({url:"finance/flow/set_mark/".concat(t),method:"post",data:e})}function v(t){return Object(r.a)({url:"/statistic/balance/get_basic",method:"get",params:t})}function k(t){return Object(r.a)({url:"/statistic/balance/get_channel",method:"get",params:t})}function y(t){return Object(r.a)({url:"/statistic/balance/get_trend",method:"get",params:t})}function D(t){return Object(r.a)({url:"/statistic/balance/get_type",method:"get",params:t})}function _(t){return Object(r.a)({url:"/statistic/order/get_basic",method:"get",params:t})}function O(t){return Object(r.a)({url:"/statistic/order/get_channel",method:"get",params:t})}function j(t){return Object(r.a)({url:"/statistic/order/get_trend",method:"get",params:t})}function x(t){return Object(r.a)({url:"/statistic/order/get_type",method:"get",params:t})}},"3e85":function(t,e,n){"use strict";n.d(e,"e",(function(){return a})),n.d(e,"c",(function(){return i})),n.d(e,"b",(function(){return o})),n.d(e,"a",(function(){return s})),n.d(e,"d",(function(){return c}));var r=n("b6bd");function a(t){return Object(r.a)({url:"finance/extract/order",method:"get",params:t})}function i(t){return Object(r.a)({url:"finance/extract/order/"+t.id,method:"get"})}function o(t){return Object(r.a)({url:"finance/extract/order/print/"+t.id,method:"get"})}function s(t){return Object(r.a)({url:"finance/extract/order/"+t.id,method:"post"})}function c(t){return Object(r.a)({url:"finance/lake",method:"get"})}},"84ee":function(t,e,n){"use strict";n.r(e);var r=n("a34a"),a=n.n(r),i=n("2f62"),o=n("0c9f"),s=n("3e85"),c=n("0b65");function u(t,e,n,r,a,i,o){try{var s=t[i](o),c=s.value}catch(t){return void n(t)}s.done?e(c):Promise.resolve(c).then(r,a)}function l(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function d(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var m={name:"order",data:function(){return{modalmark:!1,options:c.a,remarks:{mark:""},staff:[],total:0,grid:{xl:7,lg:7,md:12,sm:24,xs:24},loading:!1,columns:[{title:"交易单号",key:"flow_id",minWidth:180},{title:"关联订单",key:"order_id",minWidth:180},{title:"交易金额",slot:"price",minWidth:80},{title:"交易用户",key:"nickname",ellipsis:!0,minWidth:80},{title:"交易时间",key:"add_time",minWidth:150},{title:"交易类型",key:"trading_type",minWidth:80},{title:"支付方式",key:"pay_type",minWidth:80},{title:"备注",key:"mark",minWidth:120},{title:"操作",slot:"action",minWidth:80,align:"center"}],tabList:[],withdrawal:[],formValidate:{trading_type:"",time:"",keywords:"",page:1,limit:20},timeVal:[],fromList:{title:"选择时间",custom:!0,fromTxt:[{text:"全部",val:""},{text:"昨天",val:"yesterday"},{text:"今天",val:"today"},{text:"本周",val:"week"},{text:"本月",val:"month"},{text:"本季度",val:"quarter"},{text:"本年",val:"year"}]}}},computed:function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?l(n,!0).forEach((function(e){d(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):l(n).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},Object(i.e)("admin/layout",["isMobile"]),{labelWidth:function(){return this.isMobile?void 0:96},labelPosition:function(){return this.isMobile?"top":"right"}}),mounted:function(){this.getList()},methods:{tb:function(t){var e=this,n={title:t,url:"finance/integral/set_rate",method:"post",ids:""};this.$modalSure(n).then((function(t){e.$Message.success(t.msg),e.getList()})).catch((function(t){e.$Message.error(t.msg)}))},moneyConfig:function(){var t=this;this.$modalForm(Object(s.d)()).then((function(){return t.$refs.sends.getList()}))},getList:function(){var t=this;this.loading=!0,Object(o.g)(this.formValidate).then(function(){var e,n=(e=a.a.mark((function e(n){var r;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r=n.data,t.tabList=r.list,t.total=r.count,t.withdrawal=r.status,t.loading=!1;case 5:case"end":return e.stop()}}),e)})),function(){var t=this,n=arguments;return new Promise((function(r,a){var i=e.apply(t,n);function o(t){u(i,r,a,o,s,"next",t)}function s(t){u(i,r,a,o,s,"throw",t)}o(void 0)}))});return function(t){return n.apply(this,arguments)}}()).catch((function(e){t.loading=!1,t.$Message.error(e.msg)}))},search:function(){this.formValidate.page=1,this.getList()},reset:function(){this.formValidate={trading_type:0,time:"",keywords:"",page:1,limit:20},this.timeVal=[],this.getList()},selectChange:function(t){this.formValidate.page=1,this.formValidate.time=t,this.timeVal=[],this.getList()},onchangeTime:function(t){this.timeVal=t,this.formValidate.time=this.timeVal[0]?this.timeVal.join("-"):"",this.formValidate.page=1,this.getList()},pageChange:function(t){this.formValidate.page=t,this.getList()},remark:function(t){this.remarkId=t.id,this.modalmark=!0,this.remarks.mark=t.mark},putRemark:function(){var t=this;this.modalmark=!1,Object(o.j)(this.remarkId,this.remarks).then((function(e){t.$Message.success(e.msg),t.modal_loading=!1,t.modals=!1,t.getList()})).catch((function(e){t.modal_loading=!1,t.$Message.error(e.msg)}))},cancel:function(){this.remarks={mark:""},this.modalmark=!1}}},f=(n("046c"),n("2877")),g=Object(f.a)(m,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("Card",{staticClass:"ivu-mt box",attrs:{bordered:!1,"dis-hover":""}},[n("Form",{ref:"formValidate",attrs:{inline:"",model:t.formValidate,"label-width":t.labelWidth,"label-position":t.labelPosition},nativeOn:{submit:function(t){t.preventDefault()}}},[n("FormItem",{attrs:{label:"创建时间:"}},[n("DatePicker",{staticClass:"input-add",attrs:{editable:!1,value:t.timeVal,format:"yyyy/MM/dd HH:mm",type:"datetimerange",placement:"bottom-start",placeholder:"自定义时间",options:t.options},on:{"on-change":t.onchangeTime}})],1),n("FormItem",{attrs:{label:"交易类型:"}},[n("Select",{staticClass:"input-add",attrs:{placeholder:"请选择",clearable:""},on:{"on-change":t.search},model:{value:t.formValidate.trading_type,callback:function(e){t.$set(t.formValidate,"trading_type",e)},expression:"formValidate.trading_type"}},t._l(t.withdrawal,(function(e,r){return n("Option",{key:r,attrs:{label:e,value:r}},[t._v(t._s(e)+"\n\t\t\t\t\t\t")])})),1)],1),n("FormItem",{attrs:{label:"订单搜索:","label-for":"status1"}},[n("Input",{staticClass:"input-add mr14",attrs:{placeholder:"订单号/昵称/电话/用户ID"},on:{"on-search":t.getList},model:{value:t.formValidate.keywords,callback:function(e){t.$set(t.formValidate,"keywords",e)},expression:"formValidate.keywords"}}),n("Button",{attrs:{type:"primary"},on:{click:function(e){return t.search()}}},[t._v("查询")])],1),n("Button",{attrs:{type:"primary"},on:{click:function(e){return t.tb("同步倍数")}}},[t._v("同步倍数")]),n("Button",{staticStyle:{"margin-left":"10px"},attrs:{type:"primary"},on:{click:function(e){return t.moneyConfig("资金池操作")}}},[t._v("资金池操作")])],1)],1),n("Card",{staticClass:"ive-mt tablebox",attrs:{bordered:!1,"dis-hover":""}},[n("div",{staticClass:"btnbox"}),n("div",{staticClass:"table"},[n("Table",{ref:"table",attrs:{columns:t.columns,data:t.tabList,loading:t.loading,"highlight-row":"","no-userFrom-text":"暂无数据","no-filtered-userFrom-text":"暂无筛选结果"},scopedSlots:t._u([{key:"price",fn:function(e){var r=e.row;return[n("span",{class:Number(r.price)<0?"colorgreen":"colorred"},[t._v(t._s(r.price))])]}},{key:"user_nickname",fn:function(e){var r=e.row;return[n("span",[t._v(t._s(r.uid?r.user_nickname:"游客"))])]}},{key:"action",fn:function(e){var r=e.row;return[n("a",{on:{click:function(e){return t.remark(r)}}},[t._v("备注")])]}}])})],1),n("div",{staticClass:"acea-row row-right page"},[n("Page",{attrs:{total:t.total,current:t.formValidate.page,"show-elevator":"","show-total":"","page-size":t.formValidate.limit},on:{"on-change":t.pageChange}})],1)]),n("Modal",{staticClass:"order_box",attrs:{scrollable:"",title:"请修改内容",closable:!1,"mask-closable":!1},model:{value:t.modalmark,callback:function(e){t.modalmark=e},expression:"modalmark"}},[n("Form",{ref:"remarks",attrs:{model:t.remarks,"label-width":80},nativeOn:{submit:function(t){t.preventDefault()}}},[n("FormItem",{attrs:{label:"备注:"}},[n("Input",{staticStyle:{width:"100%"},attrs:{maxlength:"200","show-word-limit":"",type:"textarea",placeholder:"请填写备注~"},model:{value:t.remarks.mark,callback:function(e){t.$set(t.remarks,"mark",e)},expression:"remarks.mark"}})],1)],1),n("div",{attrs:{slot:"footer"},slot:"footer"},[n("Button",{attrs:{type:"primary"},on:{click:function(e){return t.putRemark()}}},[t._v("提交")]),n("Button",{on:{click:function(e){return t.cancel()}}},[t._v("取消")])],1)],1)],1)}),[],!1,null,"54fa1c9a",null);e.default=g.exports},"9d86":function(t,e,n){}}]);
|