travel/service/public/static/js/chunk-246590bc.704d9a88.js

1 line
14 KiB
JavaScript
Raw Normal View History

2024-10-28 16:52:59 +08:00
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-246590bc"],{"09f4":function(e,t,a){"use strict";a.d(t,"a",(function(){return o})),Math.easeInOutQuad=function(e,t,a,i){return e/=i/2,e<1?a/2*e*e+t:(e--,-a/2*(e*(e-2)-1)+t)};var i=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)}}();function n(e){document.documentElement.scrollTop=e,document.body.parentNode.scrollTop=e,document.body.scrollTop=e}function r(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function o(e,t,a){var o=r(),l=e-o,s=20,c=0;t="undefined"===typeof t?500:t;var u=function e(){c+=s;var r=Math.easeInOutQuad(c,o,l,t);n(r),c<t?i(e):a&&"function"===typeof a&&a()};u()}},"2cbf":function(e,t,a){"use strict";a("73e0")},"333d":function(e,t,a){"use strict";var i=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"pagination-container",class:{hidden:e.hidden}},[a("el-pagination",e._b({attrs:{background:e.background,"current-page":e.currentPage,"page-size":e.pageSize,layout:e.layout,"page-sizes":e.pageSizes,total:e.total},on:{"update:currentPage":function(t){e.currentPage=t},"update:current-page":function(t){e.currentPage=t},"update:pageSize":function(t){e.pageSize=t},"update:page-size":function(t){e.pageSize=t},"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}},"el-pagination",e.$attrs,!1))],1)},n=[],r=(a("a9e3"),a("09f4")),o={name:"Pagination",props:{total:{required:!0,type:Number},page:{type:Number,default:1},limit:{type:Number,default:20},pageSizes:{type:Array,default:function(){return[10,20,30,50]}},layout:{type:String,default:"total, sizes, prev, pager, next, jumper"},background:{type:Boolean,default:!0},autoScroll:{type:Boolean,default:!0},hidden:{type:Boolean,default:!1}},computed:{currentPage:{get:function(){return this.page},set:function(e){this.$emit("update:page",e)}},pageSize:{get:function(){return this.limit},set:function(e){this.$emit("update:limit",e)}}},methods:{handleSizeChange:function(e){this.$emit("pagination",{page:this.currentPage,limit:e}),this.autoScroll&&Object(r["a"])(0,800)},handleCurrentChange:function(e){this.$emit("pagination",{page:e,limit:this.pageSize}),this.autoScroll&&Object(r["a"])(0,800)}}},l=o,s=(a("2cbf"),a("2877")),c=Object(s["a"])(l,i,n,!1,null,"6af373ef",null);t["a"]=c.exports},"34e1":function(e,t,a){},"50fc":function(e,t,a){"use strict";a.d(t,"e",(function(){return n})),a.d(t,"b",(function(){return r})),a.d(t,"f",(function(){return o})),a.d(t,"g",(function(){return l})),a.d(t,"d",(function(){return s})),a.d(t,"a",(function(){return c})),a.d(t,"c",(function(){return u})),a.d(t,"i",(function(){return d})),a.d(t,"h",(function(){return p}));a("99af");var i=a("b775");function n(){return Object(i["a"])({url:"admin/products/list",method:"get"})}function r(e){return Object(i["a"])({url:"/admin/products/add",method:"post",data:e})}function o(e){var t,a;return Object(i["a"])({url:"/admin/products/list?page=".concat(e.page,"&limit=").concat(e.limit,"&product_name=").concat(null!==(t=e.product_name)&&void 0!==t?t:"","&third_product_id=").concat(null!==(a=e.third_product_id)&&void 0!==a?a:""),method:"get"})}function l(e){return Object(i["a"])({url:"/admin/products/add",method:"post",data:e})}function s(e){return Object(i["a"])({url:"/admin/products/productschedules?id=".concat(e.id,"&date=").concat(e.date),method:"get"})}function c(e){return Object(i["a"])({url:"/admin/products/addproductschedules",method:"post",data:e})}function u(){return Object(i["a"])({url:"/admin/setting/getContractSetting",method:"get"})}function d(e){return Object(i["a"])({url:"/admin/setting/savecontractsetting",method:"post",data:e})}function p(){return Object(i["a"])({url:"/admin/setting/getContractSetting",method:"get"})}},"62cb":function(e,t,a){"use strict";a("34e1")},"73e0":function(e,t,a){},bf50:function(e,t,a){"use strict";a.r(t);var i=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"a