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.
crmeb_php/public/mer/js/chunk-f1874498.2e59ed9f.js

1 line
15 KiB

12 months ago
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-f1874498"],{"2e83":function(t,e,r){"use strict";r.d(e,"a",(function(){return l}));r("28a5");var n=r("8122"),a=r("e8ae"),o=r.n(a),i=r("21a6");function l(t,e,r,a,l,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,g=t.length;function p(t){var e=Array.isArray(t)?t[0]:t,r=Array.isArray(t)?t[1]:{};c=m.addWorksheet(e,r)}function h(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 v(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 b(t){if(!Object(n["isEmpty"])(t))for(var e=0;e<t.length;e++){for(var r=d,a=c.getRow(d),o=!1,i=0,l=0,s=0,u=0;u<t[e].length;u++)Array.isArray(t[e][u])?(i=s,o=!0,y(t[e][u],s),s+=t[e][u][0].length,l=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&&_(r,d,i,l),a.height=25,a.commit(),d++}}function y(t,e){for(var r=t.length,n=r-1,a=0;a<t.length;a++){for(var o=c.getRow(d),i=0;i<t[a].length;i++)o.getCell(w(e+i)).value=t[a][i],o.getCell(w(e+i)).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 _(t,e,r,n){for(var a=0;a<g;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(g-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(g-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 C(t){t||(t=(new Date).getTime()),m.xlsx.writeBuffer().then((function(e){var r=new Blob([e],{type:"application/octet-stream"});i["saveAs"](r,t+".xlsx")}))}p(s),h(e,g),v(t),b(r),x(a),C(l)}},"831a":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("span",{staticClass:"seachTiele"},[t._v("创建时间:")]),t._v(" "),r("el-radio-group",{staticClass:"mr20",attrs:{type:"button",size:"small",clearable:""},on:{change:function(e){return t.selectChange(t.tableFrom.date)}},model:{value:t.tableFrom.date,callback:function(e){t.$set(t.tableFrom,"date",e)},expression:"tableFrom.date"}},t._l(t.fromList.fromTxt,(function(e,n){return r("el-radio-button",{key:n,attrs:{label:e.val}},[t._v(t._s(e.text))])})),1),t._v(" "),r("el-date-picker",{staticStyle:{width:"250px"},attrs:{"value-format":"yyyy/MM/dd",format:"yyyy/MM/dd",size:"small",type:"daterange",placement:"bottom-end",placeholder:"自定义时间",clearable:""},on:{change:t.onchangeTime},model:{value:t.timeVal,callback:function(e){t.timeVal=e},expression:"timeVal"}}),t._v(" "),r("div",{staticClass:"mt20"},[r("span",{staticClass:"seachTiele"},[t._v("分账时间:")]),t._v(" "),r("el-radio-group",{staticClass:"mr20",attrs:{type:"button",size:"small",clearable:""},on:{change:functio