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.
1 line
16 KiB
1 line
16 KiB
12 months ago
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-889b372e"],{"2e83":function(t,e,r){"use strict";r.d(e,"a",(function(){return i}));r("28a5");var n=r("8122"),a=r("e8ae"),o=r.n(a),l=r("21a6");function i(t,e,r,a,i,s){var c,u=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],d=1,m=new o.a.Workbook,p=t.length;function h(t){var e=Array.isArray(t)?t[0]:t,r=Array.isArray(t)?t[1]:{};c=m.addWorksheet(e,r)}function b(t,e){if(!Object(n["isEmpty"])(t)){t=Array.isArray(t)?t:t.split(",");for(var r=0;r<t.length;r++){var a=c.getRow(r+1);a.getCell(1).value=t[r],a.height=30,a.font={bold:!0,size:20,vertAlign:"subscript"},a.alignment={vertical:"bottom",horizontal:"center"},a.outlineLevel=1,c.mergeCells(r+1,1,r+1,e),a.commit(),d++}}}function g(t){if(!Object(n["isEmpty"])(t)){for(var e=c.getRow(d),r=1;r<=t.length;r++)e.getCell(r).value=t[r-1];e.height=25,e.width=50,e.font={bold:!0,size:18,vertAlign:"subscript"},e.alignment={vertical:"bottom",horizontal:"center"},e.outlineLevel=1,e.commit(),d++}}function v(t){if(!Object(n["isEmpty"])(t))for(var e=0;e<t.length;e++){for(var r=d,a=c.getRow(d),o=!1,l=0,i=0,s=0,u=0;u<t[e].length;u++)Array.isArray(t[e][u])?(l=s,o=!0,_(t[e][u],s),s+=t[e][u][0].length,i=s):(a.getCell(w(s)).value=t[e][u],a.getCell(w(s)).border={top:{style:"thin"},left:{style:"thin"},bottom:{style:"thin"},right:{style:"thin"}},a.alignment={vertical:"middle",horizontal:"center"},s++);o&&y(r,d,l,i),a.height=25,a.commit(),d++}}function _(t,e){for(var r=t.length,n=r-1,a=0;a<t.length;a++){for(var o=c.getRow(d),l=0;l<t[a].length;l++)o.getCell(w(e+l)).value=t[a][l],o.getCell(w(e+l)).border={top:{style:"thin"},left:{style:"thin"},bottom:{style:"thin"},right:{style:"thin"}},o.alignment={vertical:"middle",horizontal:"center"};o.height=25,o.commit(),a<n&&d++}}function y(t,e,r,n){for(var a=0;a<p;a++)(a<r||a>n)&&c.mergeCells(w(a)+t+":"+w(a)+e)}function x(t){if(!Object(n["isEmpty"])(t))if(Array.isArray(t))for(var e=0;e<t.length;e++){var r=c.getRow(d);r.getCell(1).value=t[e],r.getCell(1).border={top:{style:"thin"},left:{style:"thin"},bottom:{style:"thin"},right:{style:"thin"}},r.alignment={vertical:"middle",horizontal:"left"},c.mergeCells("A"+d+":"+w(p-1)+d),d++}else{var a=c.getRow(d);a.getCell(1).value=t[f],a.getCell(1).border={top:{style:"thin"},left:{style:"thin"},bottom:{style:"thin"},right:{style:"thin"}},a.alignment={vertical:"middle",horizontal:"left"},c.mergeCells("A"+d+":"+w(p-1)+d)}}function w(t){if(t<26)return u[t];var e=t%26,r=Math.floor(t%26);return u[r]+u[e]}function k(t){t||(t=(new Date).getTime()),m.xlsx.writeBuffer().then((function(e){var r=new Blob([e],{type:"application/octet-stream"});l["saveAs"](r,t+".xlsx")}))}h(s),b(e,p),g(t),v(r),x(a),k(i)}},"3f3a":function(t,e,r){"use strict";r("4021")},4021:function(t,e,r){},e572:function(t,e,r){"use strict";r.d(e,"c",(function(){return n})),r.d(e,"a",(function(){return a})),r.d(e,"b",(function(){return o}));var n=[{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"}]},o={title:"状态",custom:!0,fromTxt:[{text:"全部",val:""},{text:"待审核",val:"0"},{text:"审核已通过",val:"1"},{text:"审核未通过",val:"2"}]}},f52f:function(t,e,r){"use strict";r.r(e);var n=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"divBox"},[r("el-card",{staticClass:"box-card"},[r("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[r("div",{staticClass:"container"},[r("el-form",{attrs:{size:"small","label-width":"100px"}},[r("el-form-item",{attrs:{label:"订单状态:"}},[r("el-radio-group",{attrs:{type:"button"},on:{change:function(e){return t.getList(1)}},model:{value:t.tableFrom.status,callback:function(e){t.$set(t.tableFrom,"status",e)},expression:"tableFrom.status"}},[r("el-radio-button",{attrs:{label:""}},[t._v("全部 "+t._s(t.orde
|