| 1 |
- (window.webpackJsonp=window.webpackJsonp||[]).push([[26],{428:function(t,e,n){var content=n(490);"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(4).default)("06d8f643",content,!0,{sourceMap:!1})},489:function(t,e,n){"use strict";var r=n(428);n.n(r).a},490:function(t,e,n){(t.exports=n(3)(!1)).push([t.i,".order-footer[data-v-05ff288c]{position:absolute;bottom:10px;left:10px}#order-wrap[data-v-05ff288c]{width:100%}#cloud-balance[data-v-05ff288c]{white-space:nowrap;overflow-x:scroll;height:calc(100% - 40px)}.top[data-v-05ff288c]{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;height:160px}.selector-box[data-v-05ff288c],.top[data-v-05ff288c]{display:-webkit-box;display:-ms-flexbox;display:flex}.selector-box[data-v-05ff288c]{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.table[data-v-05ff288c]{margin-top:10px;height:calc(100% - 320px)}.end-row[data-v-05ff288c]{background:rgba(0,0,0,.1)}.inlineb[data-v-05ff288c]{display:inline-block}.vsub[data-v-05ff288c]{vertical-align:sub}.type-boxs[data-v-05ff288c]{margin-bottom:10px}.green[data-v-05ff288c]{color:#259b24}.orange[data-v-05ff288c]{color:#ff9800}.state-success[data-v-05ff288c]{border:1px solid #308eff}.state-success[data-v-05ff288c],.state-wait[data-v-05ff288c]{display:inline-block;padding:0 8px;text-align:center}.state-wait[data-v-05ff288c]{border:1px solid #868282}.state-load[data-v-05ff288c]{border:1px solid #259b24}.state-faile[data-v-05ff288c],.state-load[data-v-05ff288c]{display:inline-block;padding:0 8px;text-align:center}.state-faile[data-v-05ff288c]{border:1px solid #e51c23}",""])},537:function(t,e,n){"use strict";n.r(e);n(39);var r=n(6),o={data:function(){return{count:1,user:"",statusList:[{id:0,name:"已解冻"},{id:1,name:"冻结中"}],order_no:"",timeRange:"",arriveTime:"",searchId:"",tableData:[],totalData:{},orderStatus:"",currentPage:1,currentPageSize:20}},mounted:function(){this.getTableData()},methods:{clickExport:function(){window.open("/api/admin/job/get_all_periods?action=export")},clickSearchConfirm:function(){this.currentPage=1,this.getTableData()},changePageSize:function(t){this.currentPageSize=t,this.getTableData()},getTableData:function(){var t=Object(r.a)(regeneratorRuntime.mark(function t(){var body,e;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return this.tableData=[],"/api/admin/order/get_frozen_coins",body={page:this.currentPage,size:this.currentPageSize},this.user&&(body.user=this.user),""!==this.orderStatus&&(body.status=this.orderStatus),this.order_no&&(body.order_no=this.order_no),this.timeRange&&(body.start_time=this.timeRange[0]/1e3,body.end_time=this.timeRange[1]/1e3),t.next=9,this.$post("/api/admin/order/get_frozen_coins",body);case 9:e=t.sent,this.tableData=e.data.list,this.totalCoins=e.data.total_coins,this.totalCount=e.data.total_count,this.count=e.data.count;case 14:case"end":return t.stop()}},t,this)}));return function(){return t.apply(this,arguments)}}()},created:function(){}},l=(n(489),n(2)),component=Object(l.a)(o,function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.tableData?n("div",{attrs:{id:"cloud-balance"}},[n("section",{staticClass:"top"},[n("section",[n("div",{staticClass:"type-boxs"},[n("div",[n("span",{staticClass:"marginr30"},[t._v("待解冻金额:"+t._s(t.totalCoins))]),t._v(" "),n("span",{staticClass:"marginr30"},[t._v("冻结订单数:"+t._s(t.totalCount))]),t._v(" "),n("span",{staticClass:"marginr30"},[t._v("待解冻订单数:"+t._s(t.count))])])]),t._v(" "),n("div",{staticClass:"type-boxs"},[n("div",{staticClass:"inlineb"},[n("span",{},[t._v("时间范围:")]),t._v(" "),n("el-date-picker",{attrs:{type:"daterange",align:"right","unlink-panels":"","range-separator":"到","start-placeholder":"开始日期","end-placeholder":"结束日期"},model:{value:t.timeRange,callback:function(e){t.timeRange=e},expression:"timeRange"}})],1)]),t._v(" "),n("div",{staticClass:"type-boxs"},[n("div",{staticClass:"inlineb"},[n("span",{},[t._v("用户:")]),t._v(" "),n("div",{staticClass:"inlineb"},[n("el-input",{staticStyle:{width:"180px"},attrs:{placeholder:"UID"},model:{value:t.user,callback:function(e){t.user=e},expression:"user"}})],1)]),t._v(" "),n("div",{staticClass:"inlineb"},[n("span",{},[t._v("订单ID:")]),t._v(" "),n("el-input",{staticStyle:{width:"180px"},attrs:{placeholder:"输入订单ID"},model:{value:t.order_no,callback:function(e){t.order_no=e},expression:"order_no"}})],1),t._v(" "),n("div",{staticClass:"inlineb"},[n("span",{},[t._v("状态:")]),t._v(" "),n("el-select",{model:{value:t.orderStatus,callback:function(e){t.orderStatus=e},expression:"orderStatus"}},t._l(t.statusList,function(t){return n("el-option",{key:t.id,attrs:{label:t.name,value:t.id}})}),1)],1),t._v(" "),n("el-button",{attrs:{type:"primary"},on:{click:t.clickSearchConfirm}},[t._v("筛选")]),t._v(" "),n("el-button",[t._v("导出报表")])],1)])]),t._v(" "),n("div",{},[n("el-table",{staticStyle:{width:"100%"},attrs:{data:t.tableData,border:""}},[n("el-table-column",{attrs:{label:"项目名称"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",{staticClass:"lblue point"},[n("a",{attrs:{href:e.row.url,target:"_blank"}},[t._v(t._s(e.row.name))])])]}}],null,!1,2117306019)}),t._v(" "),n("el-table-column",{attrs:{prop:"name",label:"用户"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",{staticClass:"lblue point"},[n("a",{attrs:{href:e.row.user_url,target:"_blank"}},[t._v(t._s(e.row.nickname)+"("+t._s(e.row.uid)+")")])])]}}],null,!1,2926094845)}),t._v(" "),n("el-table-column",{attrs:{prop:"name",label:"关联订单ID"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(e.row.order_no))])]}}],null,!1,3565854646)}),t._v(" "),n("el-table-column",{attrs:{prop:"name",label:"类型"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(e.row.target_type_name))])]}}],null,!1,1253713864)}),t._v(" "),n("el-table-column",{attrs:{prop:"name",label:"冻结金额"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(e.row.coins))])]}}],null,!1,3460840766)}),t._v(" "),n("el-table-column",{attrs:{prop:"name",label:"冻结方式"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(e.row.end_time_type_name))])]}}],null,!1,1418895580)}),t._v(" "),n("el-table-column",{attrs:{prop:"name",label:"创建日期"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(e.row.create_time))])]}}],null,!1,570062024)}),t._v(" "),n("el-table-column",{attrs:{prop:"name",label:"解冻日期"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(e.row.end_time))])]}}],null,!1,2335274691)}),t._v(" "),n("el-table-column",{attrs:{prop:"name",label:"当前状态"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(e.row.status_name))])]}}],null,!1,2762668586)})],1)],1),t._v(" "),n("div",{staticClass:"order-footer"},[n("el-pagination",{attrs:{background:"","current-page":t.currentPage,"page-sizes":[10,20,30,40],"page-size":20,layout:"total, sizes, prev, pager, next, jumper",total:t.count},on:{"current-change":t.getTableData,"size-change":t.changePageSize,"update:currentPage":function(e){t.currentPage=e},"update:current-page":function(e){t.currentPage=e}}})],1)]):t._e()},[],!1,null,"05ff288c",null);e.default=component.exports}}]);
|