-
懒羊羊
2023-12-14 44a5b1c254907db67e2efce68321fa59f4e9153b
src/views/midea/left.vue
@@ -10,7 +10,7 @@
        </div>
      </div>
      <dv-scroll-ranking-board class="dv-scr-rank-board mt-1" :config="ranking" />
      <dv-scroll-board class="dv-scr-board" :config="config" />
      <dv-scroll-board class="dv-scr-board" :config="config" ifBorderBottom />
    </div>
  </div>
@@ -24,11 +24,11 @@
    return {
      value:'',
      config: {
        header: ['工位', '到期时间', '剩余天数'],
        header: ['工位', '油脂到期', '剩余天数'],
        data: [
          ['<span style=\'font-size: 20px\' class=\'colorRed\'>DOP020</span>', '<span style=\'font-size: 20px\' class=\'colorRed\'>20221103</span>', '<span style=\'font-size: 20px\' class=\'colorRed\'>2</span>'],
          ['<span style=\'font-size: 20px\' class=\'colorRed\'>OP050</span>', '<span style=\'font-size: 20px\' class=\'colorRed\'>20231103</span>', '<span style=\'font-size: 20px\' class=\'colorRed\'>3</span>',],
          ['<span style=\'font-size: 20px\' class=\'colorRed\'>BOP030/BOP040</span>', '<span style=\'font-size: 20px\' class=\'colorRed\'>20231104</span>', '<span style=\'font-size: 20px\' class=\'colorRed\'>24</span>'],
          ['<span style=\'font-size: 20px\'>DOP020</span>', '<span style=\'font-size: 20px\'>20241211</span>', '<span style=\'font-size: 20px\'>365</span>'],
          ['<span style=\'font-size: 20px\'>OP050</span>', '<span style=\'font-size: 20px\'>20241211</span>', '<span style=\'font-size: 20px\'>365</span>',],
          ['<span style=\'font-size: 20px\'>BOP30/40</span>', '<span style=\'font-size: 20px\'>20241211</span>', '<span style=\'font-size: 20px\'>365</span>'],
        ],
        rowNum: 7, //表格行数
        headerHeight: 35,
@@ -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: ['工位', '到期时间', '剩余天数'],
@@ -169,5 +169,11 @@
  font-size: 20px;
  margin-top: -1px;
}
//.dv-scr-board{
  .row-item{
    border-bottom: 3px solid #00BAFF;
  }
//}
</style>