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/system/js/chunk-2bbbc6fb.28b8831e.js

1 line
52 KiB

1 year ago
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2bbbc6fb"],{"2e83":function(t,e,a){"use strict";a.d(e,"a",(function(){return n}));a("28a5");var i=a("8122"),r=a("e8ae"),s=a.n(r),l=a("21a6");function n(t,e,a,r,n,o){var c,d=["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"],u=1,_=new s.a.Workbook,v=t.length;function m(t){var e=Array.isArray(t)?t[0]:t,a=Array.isArray(t)?t[1]:{};c=_.addWorksheet(e,a)}function p(t,e){if(!Object(i["isEmpty"])(t)){t=Array.isArray(t)?t:t.split(",");for(var a=0;a<t.length;a++){var r=c.getRow(a+1);r.getCell(1).value=t[a],r.height=30,r.font={bold:!0,size:20,vertAlign:"subscript"},r.alignment={vertical:"bottom",horizontal:"center"},r.outlineLevel=1,c.mergeCells(a+1,1,a+1,e),r.commit(),u++}}}function h(t){if(!Object(i["isEmpty"])(t)){for(var e=c.getRow(u),a=1;a<=t.length;a++)e.getCell(a).value=t[a-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(),u++}}function b(t){if(!Object(i["isEmpty"])(t))for(var e=0;e<t.length;e++){for(var a=u,r=c.getRow(u),s=!1,l=0,n=0,o=0,d=0;d<t[e].length;d++)Array.isArray(t[e][d])?(l=o,s=!0,g(t[e][d],o),o+=t[e][d][0].length,n=o):(r.getCell(C(o)).value=t[e][d],r.getCell(C(o)).border={top:{style:"thin"},left:{style:"thin"},bottom:{style:"thin"},right:{style:"thin"}},r.alignment={vertical:"middle",horizontal:"center"},o++);s&&y(a,u,l,n),r.height=25,r.commit(),u++}}function g(t,e){for(var a=t.length,i=a-1,r=0;r<t.length;r++){for(var s=c.getRow(u),l=0;l<t[r].length;l++)s.getCell(C(e+l)).value=t[r][l],s.getCell(C(e+l)).border={top:{style:"thin"},left:{style:"thin"},bottom:{style:"thin"},right:{style:"thin"}},s.alignment={vertical:"middle",horizontal:"center"};s.height=25,s.commit(),r<i&&u++}}function y(t,e,a,i){for(var r=0;r<v;r++)(r<a||r>i)&&c.mergeCells(C(r)+t+":"+C(r)+e)}function w(t){if(!Object(i["isEmpty"])(t))if(Array.isArray(t))for(var e=0;e<t.length;e++){var a=c.getRow(u);a.getCell(1).value=t[e],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"+u+":"+C(v-1)+u),u++}else{var r=c.getRow(u);r.getCell(1).value=t[f],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"+u+":"+C(v-1)+u)}}function C(t){if(t<26)return d[t];var e=t%26,a=Math.floor(t%26);return d[a]+d[e]}function L(t){t||(t=(new Date).getTime()),_.xlsx.writeBuffer().then((function(e){var a=new Blob([e],{type:"application/octet-stream"});l["saveAs"](a,t+".xlsx")}))}m(o),p(e,v),h(t),b(a),w(r),L(n)}},"6af2":function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"divBox"},[a("el-card",{staticClass:"box-card"},[a("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[a("div",{staticClass:"container"},[a("el-form",{attrs:{size:"small",inline:"","label-width":"100px"}},[a("el-form-item",{attrs:{label:"订单状态:"}},[a("el-radio-group",{attrs:{type:"button"},on:{change:function(e){t.getList(1),t.getCardList()}},model:{value:t.tableFrom.status,callback:function(e){t.$set(t.tableFrom,"status",e)},expression:"tableFrom.status"}},[a("el-radio-button",{attrs:{label:""}},[t._v("全部 "+t._s(t.orderChartType.all))]),t._v(" "),a("el-radio-button",{attrs:{label:"1"}},[t._v("待付款 "+t._s(t.orderChartType.unpaid))]),t._v(" "),a("el-radio-button",{attrs:{label:"2"}},[t._v("待发货 "+t._s(t.orderChartType.unshipped))]),t._v(" "),a("el-radio-button",{attrs:{label:"3"}},[t._v("待收货 "+t._s(t.orderChartType.untake))]),t._v(" "),a("el-radio-button",{attrs:{label:"4"}},[t._v("待评价 "+t._s(t.orderChartType.unevaluate))]),t._v(" "),a("el-radio-button",{attrs:{label:"5"}},[t._v("交易完成 "+t._s(t.orderChartType.complete))]),t._v(" "),a("el-radio-button",{attrs:{label:"6"}},[t._v("已退款 "+t._s(t.orderChartType.refund))]),t._v(" ")