travel/service/public/static/js/chunk-46a84215.105f5912.js

1 line
5.8 KiB
JavaScript
Raw Normal View History

2024-06-28 18:34:38 +08:00
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-46a84215"],{"09f4":function(t,e,a){"use strict";a.d(e,"a",(function(){return l})),Math.easeInOutQuad=function(t,e,a,n){return t/=n/2,t<1?a/2*t*t+e:(t--,-a/2*(t*(t-2)-1)+e)};var n=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(t){window.setTimeout(t,1e3/60)}}();function i(t){document.documentElement.scrollTop=t,document.body.parentNode.scrollTop=t,document.body.scrollTop=t}function r(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function l(t,e,a){var l=r(),o=t-l,s=20,u=0;e="undefined"===typeof e?500:e;var c=function t(){u+=s;var r=Math.easeInOutQuad(u,l,o,e);i(r),u<e?n(t):a&&"function"===typeof a&&a()};c()}},"16eb":function(t,e,a){"use strict";a.r(e);var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"app-container"},[a("div",{staticClass:"filter-container"},[a("el-input",{staticClass:"filter-item",staticStyle:{"margin-right":"10px",width:"200px"},attrs:{placeholder:"管理员"},model:{value:t.listQuery.admin,callback:function(e){t.$set(t.listQuery,"admin",e)},expression:"listQuery.admin"}}),a("el-input",{staticClass:"filter-item",staticStyle:{"margin-right":"10px",width:"200px"},attrs:{placeholder:"订单号"},model:{value:t.listQuery.sn,callback:function(e){t.$set(t.listQuery,"sn",e)},expression:"listQuery.sn"}}),a("el-date-picker",{staticClass:"filter-item",staticStyle:{"margin-right":"10px","margin-bottom":"10px"},attrs:{type:"datetimerange","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期","default-time":["00:00:00","23:59:59"]},model:{value:t.listQuery.times,callback:function(e){t.$set(t.listQuery,"times",e)},expression:"listQuery.times"}}),a("el-button",{staticClass:"filter-item",attrs:{type:"primary",icon:"el-icon-search"},on:{click:t.getList}},[t._v(" 搜索 ")])],1),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.listLoading,expression:"listLoading"}],staticStyle:{width:"100%"},attrs:{data:t.list,border:"",fit:"","highlight-current-row":""}},[a("el-table-column",{attrs:{align:"center",label:"跟进人",width:"80",prop:"admin.username"}}),a("el-table-column",{attrs:{align:"center",label:"跟进事件",width:"80",prop:"status_name"}}),a("el-table-column",{attrs:{align:"center",label:"备注",prop:"desc"}}),a("el-table-column",{attrs:{align:"center",label:"订单号",width:"220",prop:"orders.sn"}}),a("el-table-column",{attrs:{align:"center",label:"产品",width:"360",prop:"orders.product_name"}}),a("el-table-column",{attrs:{align:"center",label:"总金额",width:"120"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(" "+t._s(e.row.orders&&e.row.orders.total_price/100)+" ")]}}])}),a("el-table-column",{attrs:{align:"center",width:"80px",label:"人数",prop:"orders.quantity"}}),a("el-table-column",{attrs:{width:"180px",align:"center",label:"下单时间"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(" "+t._s(t._f("parseTime")(e.row.orders&&e.row.orders.create_at,"{y}-{m}-{d} {h}:{i}"))+" ")]}}])}),a("el-table-column",{attrs:{width:"180px",align:"center",label:"跟进时间"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(" "+t._s(t._f("parseTime")(e.row.create_time,"{y}-{m}-{d} {h}:{i}:{s}"))+" ")]}}])})],1),a("pagination",{directives:[{name:"show",rawName:"v-show",value:t.total>0,expression:"total>0"}],attrs:{total:t.total,page:t.listQuery.page,limit:t.listQuery.limit},on:{"update:page":function(e){return t.$set(t.listQuery,"page",e)},"update:limit":function(e){return t.$set(t.listQuery,"limit",e)},pagination:t.getList}})],1)},i=[],r=a("333d"),l={name:"Orderlist",components:{Pagination:r["a"]},filters:{statusFilter:function(t){var e={1:"success",0:"danger"};return e[t]}},data:function(){return{list:[],total:0,listLoading:!0,listQuery:{page:1,limit:10}}},created:function(){this.getList()},methods:{getList:function(){var t=this;this.$axios.get("/admin/follow/index",{params:thi