loulijun2021
2022-12-08 cd5e7cc2de9eeb8cb097d4fe28ec2c10df7f51f6
src/views/kb/zpcj.vue
@@ -3,7 +3,7 @@
    <div class="kb_dashboard">
      <div class="kb_header">
        <div class="flex_c_c kb_header_text">
          车间综合看板
          装配车间看板
        </div>
        <div class="kb_headerPic" />
        <div class="kb_headTime">
@@ -210,21 +210,21 @@
                    </template>
                  </el-table-column>
                  <el-table-column
                    prop="planenddate"
                    prop="planstartdate"
                    label="预计开始"
                    width="115"
                  >
                    <template slot-scope="{row}">
                      <div>{{ row.planenddate.substring(0, 10) }}</div>
                      <div>{{ row.planstartdate.substring(0, 10) }}</div>
                    </template>
                  </el-table-column>
                  <el-table-column
                    prop="planstartdate"
                    prop="planenddate"
                    label="预计结束"
                    width="125"
                  >
                    <template slot-scope="{row}">
                      <div>{{ row.planstartdate.substring(0, 10) }}</div>
                      <div>{{ row.planenddate.substring(0, 10) }}</div>
                    </template>
                  </el-table-column>
                </el-table>
@@ -354,6 +354,11 @@
  created() {
    setInterval(this.getNowTime, 1000)
    // 两小时看板刷新一次
    setInterval(() => {
      window.location.reload()
    }, 1000 * 60 * 120)
  },
  mounted() {
    // 监听网络是否在线