doum
15 小时以前 4936ba718f4ec2d069a9c28d07215573ed8548aa
admin/src/views/index.vue
@@ -239,6 +239,7 @@
      nowDate: '',
      nowWeek: '',
      headerData: {},
      timeInfo:'上午',
      staticData: {},
      manningRatio: [],
      taskList: [],
@@ -377,6 +378,7 @@
      this.$router.push(item.path)
    },
    updateDate () {
      this.timeInfo = new Date().getHours()<12?'上午':'下午'
      this.nowDate = dayjs().format('YYYY年M月D日')
      this.nowWeek = weeks[new Date().getDay()]
      this.timeInfo = new Date().getHours() < 12 ? '上午' : '下午'