| 1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-7f7cc532"],{"7f68":function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.fileVisible?n("div",{attrs:{title:"导出订单列表",visible:t.fileVisible,width:"900px"},on:{"update:visible":function(e){t.fileVisible=e}}},[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":"170"}}),t._v(" "),n("el-table-column",{attrs:{label:"操作者ID",prop:"admin_id","min-width":"170"}}),t._v(" "),n("el-table-column",{attrs:{label:"订单类型","min-width":"170"}},[[n("span",{staticStyle:{display:"block"}},[t._v("订单")])]],2),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)))])]}}],null,!1,359322133)}),t._v(" "),n("el-table-column",{key:"8",attrs:{label:"操作","min-width":"150",fixed:"right",align:"center"},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.excel_id)}}},[t._v("下载")]):t._e()]}}],null,!1,2135720880)})],1),t._v(" "),n("div",{staticClass:"block"},[n("el-pagination",{attrs:{"page-sizes":[20,40,60,80],"page-size":t.tableFrom.limit,"current-page":t.tableFrom.page,layout:"total, sizes, prev, pager, next, jumper",total:t.tableData.total},on:{"size-change":t.handleSizeChange,"current-change":t.pageChange}})],1)],1)]):t._e()},o=[],a=n("f8b7"),i={name:"FileList",data:function(){return{fileVisible:!0,loading:!1,tableData:{data:[],total:0},tableFrom:{page:1,limit:20}}},methods:{exportFileList:function(){var t=this;this.loading=!0,Object(a["g"])().then((function(e){t.fileVisible=!0,t.tableData.data=e.data.list,t.tableData.total=e.data.count,t.loading=!1})).catch((function(e){t.$message.error(e.message),t.listLoading=!1}))},downLoad:function(t){var e=this;Object(a["f"])().then((function(t){t.message})).catch((function(t){var n=t.message;e.$message.error(n)}))},pageChange:function(t){this.tableFrom.page=t,this.getList()},pageChangeLog:function(t){this.tableFromLog.page=t,this.getList()},handleSizeChange:function(t){this.tableFrom.limit=t,this.getList()}}},u=i,c=(n("ef98"),n("2877")),s=Object(c["a"])(u,r,o,!1,null,"8a3d6d5c",null);e["default"]=s.exports},a60b:function(t,e,n){},ef98:function(t,e,n){"use strict";var r=n("a60b"),o=n.n(r);o.a},f8b7:function(t,e,n){"use strict";n.d(e,"u",(function(){return o})),n.d(e,"a",(function(){return a})),n.d(e,"y",(function(){return i})),n.d(e,"r",(function(){return u})),n.d(e,"s",(function(){return c})),n.d(e,"v",(function(){return s})),n.d(e,"x",(function(){return d})),n.d(e,"q",(function(){return l})),n.d(e,"w",(function(){return f})),n.d(e,"C",(function(){return g})),n.d(e,"A",(function(){return p})),n.d(e,"F",(function(){return m})),n.d(e,"E",(function(){return b})),n.d(e,"D",(function(){return h})),n.d(e,"z",(function(){return v})),n.d(e,"b",(function(){return w})),n.d(e,"j",(function(){return _})),n.d(e,"B",(function(){return x})),n.d(e,"i",(function(){return k})),n.d(e,"h",(function(){return y})),n.d(e,"g",(function(){return F})),n.d(e,"f",(function(){return L})),n.d(e,"p",(function(){return z})),n.d(e,"t",(function(){return C})),n.d(e,"G",(function(){return D})),n.d(e,"H",(function(){return S})),n.d(e,"n",(function(){return j})),n.d(e,"m",(function(){return V})),n.d(e,"k",(function(){return O})),n.d(e,"l",(function(){return $})),n.d(e,"o",(function(){return E})),n.d(e,"e",(function(){return J})),n.d(e,"c",(function(){return N})),n.d(e,"d",(function(){return q}));var r=n("0c6d");function o(t){return r["a"].get("store/order/lst",t)}function a(){return r["a"].get("store/order/chart")}function i(t,e){return r["a"].post("store/order/update/".concat(t),e)}function u(t){return r["a"].get("store/order/delivery/".concat(t,"/form"))}function c(t){return r["a"].get("store/order/detail/".concat(t))}function s(t,e){return r["a"].get("store/order/log/".concat(t),e)}function d(t){return r["a"].get("store/order/remark/".concat(t,"/form"))}function l(t){return r["a"].post("store/order/delete/".concat(t))}function f(t){return r["a"].get("store/order/printer/".concat(t))}function g(t){return r["a"].get("store/refundorder/lst",t)}function p(t){return r["a"].get("store/refundorder/detail/".concat(t))}function m(t){return r["a"].get("store/refundorder/status/".concat(t,"/form"))}function b(t){return r["a"].get("store/refundorder/mark/".concat(t,"/form"))}function h(t){return r["a"].get("store/refundorder/log/".concat(t))}function v(t){return r["a"].get("store/refundorder/delete/".concat(t))}function w(t){return r["a"].post("store/refundorder/refund/".concat(t))}function _(t){return r["a"].get("store/order/express/".concat(t))}function x(t){return r["a"].get("store/refundorder/express/".concat(t))}function k(t){return r["a"].get("store/order/excel",t)}function y(t){return r["a"].get("store/order/delivery_export",t)}function F(t){return r["a"].get("excel/lst",t)}function L(t){return r["a"].get("excel/download/".concat(t))}function z(t){return r["a"].post("store/order/verify/".concat(t))}function C(){return r["a"].get("store/order/filtter")}function D(){return r["a"].get("store/order/takechart")}function S(t){return r["a"].get("store/order/takelst",t)}function j(t){return r["a"].get("store/receipt/lst",t)}function V(t){return r["a"].get("store/receipt/set_recipt",t)}function O(t){return r["a"].post("store/receipt/save_recipt",t)}function $(t){return r["a"].get("store/receipt/detail/".concat(t))}function E(t,e){return r["a"].post("store/receipt/update/".concat(t),e)}function J(t){return r["a"].get("store/import/lst",t)}function N(t,e){return r["a"].get("store/import/detail/".concat(t),e)}function q(t){return r["a"].get("store/import/excel/".concat(t))}}}]);
|