{"remainingRequest":"/data/jenkins/workspace/mer.ws.baibaodun.com.cn/node_modules/thread-loader/dist/cjs.js!/data/jenkins/workspace/mer.ws.baibaodun.com.cn/node_modules/babel-loader/lib/index.js!/data/jenkins/workspace/mer.ws.baibaodun.com.cn/src/libs/timeOptions.js","dependencies":[{"path":"/data/jenkins/workspace/mer.ws.baibaodun.com.cn/src/libs/timeOptions.js","mtime":1701742078550},{"path":"/data/jenkins/workspace/mer.ws.baibaodun.com.cn/babel.config.js","mtime":1701742078504},{"path":"/data/jenkins/workspace/mer.ws.baibaodun.com.cn/node_modules/cache-loader/dist/cjs.js","mtime":499162500000},{"path":"/data/jenkins/workspace/mer.ws.baibaodun.com.cn/node_modules/thread-loader/dist/cjs.js","mtime":499162500000},{"path":"/data/jenkins/workspace/mer.ws.baibaodun.com.cn/node_modules/babel-loader/lib/index.js","mtime":456789000000}],"contextDependencies":[],"result":["// +---------------------------------------------------------------------\n// | CRMEB [ CRMEB赋能开发者，助力企业发展 ]\n// +---------------------------------------------------------------------\n// | Copyright (c) 2016~2023 https://www.crmeb.com All rights reserved.\n// +---------------------------------------------------------------------\n// | Licensed CRMEB并不是自由软件，未经许可不能去掉CRMEB相关版权\n// +---------------------------------------------------------------------\n// | Author: CRMEB Team <admin@crmeb.com>\n// +---------------------------------------------------------------------\n\nexport default {\n  shortcuts: [{\n    text: '昨天',\n    onClick: function onClick(picker) {\n      var end = new Date();\n      var start = new Date();\n      start.setTime(start.getTime() - 3600 * 1000 * 24);\n      picker.$emit('pick', [start, start]);\n    }\n  }, {\n    text: '最近七天',\n    onClick: function onClick(picker) {\n      var end = new Date();\n      var start = new Date();\n      start.setTime(start.getTime() - 3600 * 1000 * 24 * 6);\n      picker.$emit('pick', [start, end]);\n    }\n  }, {\n    text: '本月',\n    onClick: function onClick(picker) {\n      var end = new Date();\n      var start = new Date();\n      start.setTime(start.setTime(new Date(new Date().getFullYear(), new Date().getMonth(), 1)));\n      picker.$emit('pick', [start, end]);\n    }\n  }, {\n    text: '最近30天',\n    onClick: function onClick(picker) {\n      var end = new Date();\n      var start = new Date();\n      start.setTime(start.getTime() - 3600 * 1000 * 24 * 30);\n      picker.$emit('pick', [start, end]);\n    }\n  }, {\n    text: '最近一年',\n    onClick: function onClick(picker) {\n      var end = new Date();\n      var start = new Date();\n      start.setTime(start.getTime() - 3600 * 1000 * 24 * 365);\n      picker.$emit('pick', [start, end]);\n    }\n  }]\n  // disabledDate(time) {\n  //   let curDate = (new Date()).getTime();\n  //   let three = 365 * 24 * 3600 * 1000;\n  //   let threeMonths = curDate - three;\n  //   return time.getTime() > Date.now() || time.getTime() < threeMonths;;\n  // }\n};",null]}