Browse Source

Merge branch 'dev-220228' into dev

shibei_master
13176889840 4 years ago
parent
commit
f0b10c7f37
  1. 6
      src/views/modules/visual/communityParty/community.vue

6
src/views/modules/visual/communityParty/community.vue

@ -436,9 +436,9 @@ export default {
const start = new Date();
start.setTime(start.getTime() - 3600 * 1000 * 24 * 30);
console.log('time-rtt', this.timeFormat(start), this.timeFormat(end))
this.timeRange = [this.timeFormat(start), this.timeFormat(end)]
this.timeRange = [this.timeFormat(start, '00:00:00'), this.timeFormat(end, '23:59:59')]
},
timeFormat (date) {
timeFormat (date, h) {
if (!date || typeof date === 'string') {
return false
}
@ -448,7 +448,7 @@ export default {
var d = date.getDate() //
if (d < 10) d = '0' + d
return y + '-' + m + '-' + d + ' 00:00:00'
return y + '-' + m + '-' + d + ' ' + h
},
async loadUnit () {
const url = "/heart/serviceitem/dict-list"

Loading…
Cancel
Save