chunk-0ebfbd96.d27adabe0e4d37fb8b27.js 3.4 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-0ebfbd96"],{1148:function(t,e,r){"use strict";var a=r("a691"),o=r("1d80");t.exports="".repeat||function(t){var e=String(o(this)),r="",n=a(t);if(n<0||n==1/0)throw RangeError("Wrong number of repetitions");for(;n>0;(n>>>=1)&&(e+=e))1&n&&(r+=e);return r}},"408a":function(t,e,r){var a=r("c6b6");t.exports=function(t){if("number"!=typeof t&&"Number"!=a(t))throw TypeError("Incorrect invocation");return+t}},9517:function(t,e,r){},"9d61":function(t,e,r){"use strict";r.r(e);var a=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"app-container layout-vertical"},[r("YMTableSearch",{attrs:{"search-form":t.searchForm},on:{submit:t.onSubmit}}),r("YMTable",{ref:"table",attrs:{selection:!1,columns:t.columns,"rows-actions":[],"edit-form":t.editForm,"table-options":t.tableOptions,"detail-format":t.detailFormat,apis:t.apis}})],1)},o=[],n=(r("a9e3"),r("b680"),{data:function(){return{listLoading:!0,searchForm:[],editForm:[],detailFormat:[],columns:[{label:"订单号",prop:"order_no"},{label:"币种",prop:"coin"},{label:"产品类型",prop:"type",method:function(t){return"flexible"===t.type?"活期":"fixed"===t.type?"定期":"-"}},{label:"认购金额",prop:"amount"},{label:"理财天数",prop:"term_days"},{label:"开始日期",prop:"start_at"},{label:"结束日期",prop:"end_at"},{label:"赎回日期",prop:"redeemed_at"},{label:"总收益率(%)",prop:"total_rate"},{label:"日收益率(%)",prop:"daily_rate"},{label:"总收益",prop:"total_earnings",method:function(t){return Number(null===t||void 0===t?void 0:t.total_earnings).toFixed(2)}},{label:"状态",prop:"status",method:function(t){return"0"==t.status?"待支付":"1"==t.status?"持有中":"2"==t.status?"已赎回":"3"==t.status?"已取消":"-"}}],tableOptions:{add:{show:!1}},apis:{list:{url:"finance/order/index",dataParam:"data.list",resultParam:"data",pageSize:"page_size"}}}},created:function(){},methods:{onSubmit:function(t){this.$refs.table.getList(t)}}}),i=n,l=(r("d33a"),r("2877")),s=Object(l["a"])(i,a,o,!1,null,"6083753c",null);e["default"]=s.exports},b680:function(t,e,r){"use strict";var a=r("23e7"),o=r("a691"),n=r("408a"),i=r("1148"),l=r("d039"),s=1..toFixed,u=Math.floor,c=function(t,e,r){return 0===e?r:e%2===1?c(t,e-1,r*t):c(t*t,e/2,r)},p=function(t){var e=0,r=t;while(r>=4096)e+=12,r/=4096;while(r>=2)e+=1,r/=2;return e},d=s&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!l((function(){s.call({})}));a({target:"Number",proto:!0,forced:d},{toFixed:function(t){var e,r,a,l,s=n(this),d=o(t),f=[0,0,0,0,0,0],b="",m="0",h=function(t,e){var r=-1,a=e;while(++r<6)a+=t*f[r],f[r]=a%1e7,a=u(a/1e7)},v=function(t){var e=6,r=0;while(--e>=0)r+=f[e],f[e]=u(r/t),r=r%t*1e7},w=function(){var t=6,e="";while(--t>=0)if(""!==e||0===t||0!==f[t]){var r=String(f[t]);e=""===e?r:e+i.call("0",7-r.length)+r}return e};if(d<0||d>20)throw RangeError("Incorrect fraction digits");if(s!=s)return"NaN";if(s<=-1e21||s>=1e21)return String(s);if(s<0&&(b="-",s=-s),s>1e-21)if(e=p(s*c(2,69,1))-69,r=e<0?s*c(2,-e,1):s/c(2,e,1),r*=4503599627370496,e=52-e,e>0){h(0,r),a=d;while(a>=7)h(1e7,0),a-=7;h(c(10,a,1),0),a=e-1;while(a>=23)v(1<<23),a-=23;v(1<<a),h(1,1),v(2),m=w()}else h(0,r),h(1<<-e,0),m=w()+i.call("0",d);return d>0?(l=m.length,m=b+(l<=d?"0."+i.call("0",d-l)+m:m.slice(0,l-d)+"."+m.slice(l-d))):m=b+m,m}})},d33a:function(t,e,r){"use strict";var a=r("9517"),o=r.n(a);o.a}}]);