懒羊羊
2024-01-23 4f91e27a1a497b5ed9de6be2267a8a57085e7c82
-2024-01-23 修改真实数据
已修改3个文件
10 ■■■■ 文件已修改
src/views/midea/center2.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/midea/left.vue 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/midea/top.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/midea/center2.vue
@@ -78,7 +78,7 @@
    }
  },
  mounted() {
    // this.tops();
    this.tops();
    this.changeTiming();
    this.$bus.$on('refresh-components', (value) => {
      // 刷新初始化方法
src/views/midea/left.vue
@@ -122,8 +122,8 @@
  },
  methods: {
    tops(){
      // this.$http.get('http://127.0.0.1:8080/greaseBoard/bigListGreaseBoard')
      this.$http.get('http://172.20.1.10:8080/greaseBoard/bigListGreaseBoard')
      this.$http.get('http://127.0.0.1:8080/greaseBoard/bigListGreaseBoard')
      // this.$http.get('http://172.20.1.10:8080/greaseBoard/bigListGreaseBoard')
          .then((response)=>{
            this.config = {
              header: ['工位', '到期时间', '剩余天数'],
@@ -143,7 +143,7 @@
    changeTiming() {
      setInterval(() => {
        this.tops();
      }, 300000)
      }, 6000)
    },
  }
}
src/views/midea/top.vue
@@ -2,7 +2,7 @@
  <div class="content-box2">
    <dv-border-box-6>
    <div>
        <div class="top-top">工单号</div>
        <div class="top-top">工单编号</div>
<!--        <div class="top-bottom">{{orderDetail.workOrderNo}}</div>-->
      <div class="top-bottom selectBottom">