licp
2024-04-22 998b76da54ab3556592d6f6329e0150327fb2195
src/components/view/a6-device-overview.vue
@@ -261,15 +261,15 @@
            this.total = res.data.body.total
            let list = res.data.body.records.map(m=>{
              switch (m.deviceStatus){
                case '0':
                case 0:
                  // 正常
                  m.type ='success'
                  break;
                case '1':
                case 1:
                  // 报废
                  m.type ='warning'
                  break;
                case '2':
                case 2:
                  // 保修
                  m.type ='danger'
                  break;