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
7.4 KiB
1 line
7.4 KiB
12 months ago
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-09296115"],{"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=[],i=n("f8b7"),u={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(i["k"])().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(i["j"])().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()}}},a=u,c=(n("add5"),n("2877")),d=Object(c["a"])(a,r,o,!1,null,"3dcc43d4",null);e["default"]=d.exports},add5:function(t,e,n){"use strict";n("bc3a8")},bc3a8:function(t,e,n){},f8b7:function(t,e,n){"use strict";n.d(e,"F",(function(){return o})),n.d(e,"c",(function(){return i})),n.d(e,"b",(function(){return u})),n.d(e,"J",(function(){return a})),n.d(e,"C",(function(){return c})),n.d(e,"D",(function(){return d})),n.d(e,"p",(function(){return s})),n.d(e,"G",(function(){return f})),n.d(e,"I",(function(){return l})),n.d(e,"B",(function(){return g})),n.d(e,"H",(function(){return p})),n.d(e,"Q",(function(){return m})),n.d(e,"O",(function(){return b})),n.d(e,"T",(function(){return h})),n.d(e,"S",(function(){return v})),n.d(e,"R",(function(){return w})),n.d(e,"N",(function(){return _})),n.d(e,"d",(function(){return x})),n.d(e,"s",(function(){return y})),n.d(e,"P",(function(){return k})),n.d(e,"m",(function(){return L})),n.d(e,"l",(function(){return F})),n.d(e,"k",(function(){return z})),n.d(e,"j",(function(){return C})),n.d(e,"A",(function(){return S})),n.d(e,"u",(function(){return D})),n.d(e,"E",(function(){return j})),n.d(e,"V",(function(){return V})),n.d(e,"W",(function(){return O})),n.d(e,"U",(function(){return J})),n.d(e,"y",(function(){return N})),n.d(e,"x",(function(){return $})),n.d(e,"v",(function(){return E})),n.d(e,"w",(function(){return I})),n.d(e,"z",(function(){return q})),n.d(e,"i",(function(){return A})),n.d(e,"g",(function(){return B})),n.d(e,"h",(function()
|