Commit e2d30405 by 李伟康

提交

1 parent 45c5ef30
......@@ -79,15 +79,14 @@ export default {
},
methods: {
chooseDate (index) {
let monthNumber = {
const monthNumber = {
0: 1,
1: 3,
2: 12
}[index],
{ minDate } = this,
startTime = dayjs().subtract(monthNumber, 'month'),
}[index]
let startTime = dayjs().subtract(monthNumber, 'month'),
endTime = dayjs()
if(index == 0) {
if (index == 0) {
startTime = startTime.startOf('M')
endTime = dayjs(startTime).endOf('month')
}
......@@ -104,7 +103,7 @@ export default {
startTime: `${dayjs(startTime).format('YYYY-MM-DD')} 00:00:00`,
endTime: `${dayjs(endTime).format('YYYY-MM-DD')} 23:59:59`
}
console.log(JSON.parse(JSON.stringify( this.dateValue)))
console.log(JSON.parse(JSON.stringify(this.dateValue)))
},
close () {
this.$emit('update:value', false)
......
......@@ -11,8 +11,7 @@ module.exports = {
title: '嘀加企微助手',
envVersion: 'trial',
request: {
// baseURL: '//scrm.dev.glsx.com.cn', // 本地测试项目地址,
baseURL: '//192.168.1.142:8080', // 本地测试项目地址,
baseURL: '//scrm.dev.glsx.com.cn', // 本地测试项目地址,
// 设置超时时间
timeout: 180000,
// 携带凭证
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!