zx/public/mer/js/chunk-6dd8ad36.51822558.js

1 line
8.6 KiB
JavaScript

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-6dd8ad36"],{"3c93":function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"divBox"},[n("el-card",{staticClass:"box-card"},[n("div",{staticClass:"container"},[n("el-form",{attrs:{size:"small",inline:"","label-width":"100px"}},[n("el-form-item",{attrs:{label:"文件类型:"}},[n("el-select",{staticClass:"selWidth",attrs:{clearable:"",filterable:"",placeholder:"请选择"},on:{change:function(e){return t.exportFileList(1)}},model:{value:t.tableFrom.type,callback:function(e){t.$set(t.tableFrom,"type",e)},expression:"tableFrom.type"}},t._l(t.fileTypeList,(function(t){return n("el-option",{key:t.value,attrs:{label:t.name,value:t.value}})})),1)],1)],1)],1),t._v(" "),n("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}]},[n("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticClass:"table",staticStyle:{width:"100%"},attrs:{data:t.tableData.data,size:"mini","highlight-current-row":""}},[n("el-table-column",{attrs:{label:"文件名",prop:"name","min-width":"200"}}),t._v(" "),n("el-table-column",{attrs:{label:"操作者名称",prop:"admin_id","min-width":"80"}}),t._v(" "),n("el-table-column",{attrs:{label:"生成时间",prop:"create_time","min-width":"180"}}),t._v(" "),n("el-table-column",{attrs:{label:"类型","min-width":"120"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(e.row.type))])]}}])}),t._v(" "),n("el-table-column",{attrs:{label:"状态","min-width":"80"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(t._f("exportOrderStatusFilter")(e.row.status)))])]}}])}),t._v(" "),n("el-table-column",{key:"8",attrs:{label:"操作","min-width":"100",fixed:"right"},scopedSlots:t._u([{key:"default",fn:function(e){return[1==e.row.status?n("el-button",{staticClass:"mr10",attrs:{type:"text",size:"small"},on:{click:function(n){return t.downLoad(e.row.path)}}},[t._v("下载")]):t._e()]}}])})],1),t._v(" "),n("div",{staticClass:"block"},[n("el-pagination",{attrs:{background:"","page-size":t.tableFrom.limit,"current-page":t.tableFrom.page,layout:"total, prev, pager, next, jumper",total:t.tableData.total},on:{"size-change":t.handleSizeChange,"current-change":t.pageChange}})],1)],1)])],1)},o=[],u=n("f8b7"),a={name:"FileList",data:function(){return{fileVisible:!1,loading:!1,tableData:{data:[],total:0},tableFrom:{page:1,limit:10,type:""},fileTypeList:[{name:"订单",value:"order"},{name:"流水记录",value:"financial"},{name:"发货单",value:"delivery"},{name:"导入记录",value:"importDelivery"},{name:"账单信息",value:"exportFinancial"},{name:"退款单",value:"refundOrder"}]}},mounted:function(){this.exportFileList("")},methods:{exportFileList:function(t){var e=this;this.loading=!0,this.tableFrom.page=t||this.tableFrom.page,Object(u["l"])(this.tableFrom).then((function(t){e.tableData.data=t.data.list,e.tableData.total=t.data.count,e.loading=!1})).catch((function(t){e.$message.error(t.message),e.listLoading=!1}))},downLoad:function(t){window.open(t)},pageChange:function(t){this.tableFrom.page=t,this.exportFileList("")},pageChangeLog:function(t){this.tableFromLog.page=t,this.exportFileList("")},handleSizeChange:function(t){this.tableFrom.limit=t,this.exportFileList("")}}},i=a,c=(n("b893"),n("2877")),d=Object(c["a"])(i,r,o,!1,null,"5ecee6b7",null);e["default"]=d.exports},"5dfd":function(t,e,n){},b893:function(t,e,n){"use strict";n("5dfd")},f8b7:function(t,e,n){"use strict";n.d(e,"I",(function(){return o})),n.d(e,"c",(function(){return u})),n.d(e,"b",(function(){return a})),n.d(e,"M",(function(){return i})),n.d(e,"F",(function(){return c})),n.d(e,"G",(function(){return d})),n.d(e,"q",(function(){return l})),n.d(e,"J",(function(){return s})),n.d(e,"L",(function(){return f})),n.d(e,"E",(function(){return p})),n.d(e,"K",(function(){return g})),n.d(e,"T",(function(){return m})),n.d(e,"R",(function(){return b})),n.d(e,"W",(function(){return v})),n.d(e,"V",(function(){return h})),n.d(e,"U",(function(){return y})),n.d(e,"Q",(function(){return x})),n.d(e,"e",(function(){return _})),n.d(e,"t",(function(){return w})),n.d(e,"S",(function(){return F})),n.d(e,"n",(function(){return k})),n.d(e,"m",(function(){return L})),n.d(e,"l",(function(){return C})),n.d(e,"k",(function(){return z})),n.d(e,"D",(function(){return S})),n.d(e,"x",(function(){return D})),n.d(e,"H",(function(){return O})),n.d(e,"Z",(function(){return j})),n.d(e,"ab",(function(){return J})),n.d(e,"Y",(function(){return N})),n.d(e,"B",(function(){return T})),n.d(e,"A",(function(){return $})),n.d(e,"y",(function(){return B})),n.d(e,"z",(function(){return E})),n.d(e,"C",(function(){return V})),n.d(e,"j",(function(){return W})),n.d(e,"h",(function(){return q})),n.d(e,"i",(function(){return A})),n.d(e,"P",(function(){return G})),n.d(e,"p",(function(){return H})),n.d(e,"o",(function(){return I})),n.d(e,"a",(function(){return K})),n.d(e,"s",(function(){return M})),n.d(e,"w",(function(){return P})),n.d(e,"r",(function(){return Q})),n.d(e,"g",(function(){return R})),n.d(e,"f",(function(){return U})),n.d(e,"O",(function(){return X})),n.d(e,"N",(function(){return Y})),n.d(e,"v",(function(){return Z})),n.d(e,"u",(function(){return tt})),n.d(e,"X",(function(){return et})),n.d(e,"d",(function(){return nt}));var r=n("0c6d");function o(t){return r["a"].get("store/order/lst",t)}function u(){return r["a"].get("store/order/chart")}function a(t){return r["a"].get("store/order/title",t)}function i(t,e){return r["a"].post("store/order/update/".concat(t),e)}function c(t,e){return r["a"].post("store/order/delivery/".concat(t),e)}function d(t){return r["a"].get("store/order/detail/".concat(t))}function l(t){return r["a"].get("store/order/children/".concat(t))}function s(t,e){return r["a"].get("store/order/log/".concat(t),e)}function f(t){return r["a"].get("store/order/remark/".concat(t,"/form"))}function p(t){return r["a"].post("store/order/delete/".concat(t))}function g(t){return r["a"].get("store/order/printer/".concat(t))}function m(t){return r["a"].get("store/refundorder/lst",t)}function b(t){return r["a"].get("store/refundorder/detail/".concat(t))}function v(t){return r["a"].get("store/refundorder/status/".concat(t,"/form"))}function h(t){return r["a"].get("store/refundorder/mark/".concat(t,"/form"))}function y(t){return r["a"].get("store/refundorder/log/".concat(t))}function x(t){return r["a"].get("store/refundorder/delete/".concat(t))}function _(t){return r["a"].post("store/refundorder/refund/".concat(t))}function w(t){return r["a"].get("store/order/express/".concat(t))}function F(t){return r["a"].get("store/refundorder/express/".concat(t))}function k(t){return r["a"].get("store/order/excel",t)}function L(t){return r["a"].get("store/order/delivery_export",t)}function C(t){return r["a"].get("excel/lst",t)}function z(t){return r["a"].get("excel/download/".concat(t))}function S(t){return r["a"].get("store/order/verify/".concat(t))}function D(t,e){return r["a"].post("store/order/verify/".concat(t),e)}function O(){return r["a"].get("store/order/filtter")}function j(){return r["a"].get("store/order/takechart")}function J(t){return r["a"].get("store/order/takelst",t)}function N(t){return r["a"].get("store/order/take_title",t)}function T(t){return r["a"].get("store/receipt/lst",t)}function $(t){return r["a"].get("store/receipt/set_recipt",t)}function B(t){return r["a"].post("store/receipt/save_recipt",t)}function E(t){return r["a"].get("store/receipt/detail/".concat(t))}function V(t,e){return r["a"].post("store/receipt/update/".concat(t),e)}function W(t){return r["a"].get("store/import/lst",t)}function q(t,e){return r["a"].get("store/import/detail/".concat(t),e)}function A(t,e){return r["a"].get("store/import/excel/".concat(t),e)}function G(t){return r["a"].get("store/refundorder/excel",t)}function H(){return r["a"].get("expr/options")}function I(t){return r["a"].get("expr/temps",t)}function K(t){return r["a"].post("store/order/delivery_batch",t)}function M(){return r["a"].get("serve/config")}function P(){return r["a"].get("delivery/station/select")}function Q(){return r["a"].get("delivery/station/options")}function R(t){return r["a"].get("delivery/order/lst",t)}function U(t){return r["a"].get("delivery/order/cancel/".concat(t,"/form"))}function X(t){return r["a"].get("delivery/station/payLst",t)}function Y(t){return r["a"].get("delivery/station/code",t)}function Z(t){return r["a"].get("store/refundorder/check/".concat(t))}function tt(){return r["a"].get("store/refundorder/refund_message")}function et(t){return r["a"].post("store/refundorder/create",t)}function nt(t){return r["a"].post("store/refundorder/compute",t)}}}]);