Browse Source

未配置设备时的数据处理

luyanan 6 years ago
parent
commit
8c965d35d9
1 changed files with 5 additions and 0 deletions
  1. 5 0
      src/views/bridgesConsole/bridgeMonitor/index.vue

+ 5 - 0
src/views/bridgesConsole/bridgeMonitor/index.vue

158
      }
158
      }
159
      if (arr === null || arr.length === 0) {
159
      if (arr === null || arr.length === 0) {
160
        that.progressShow = false
160
        that.progressShow = false
161
        that.$alert('该桥梁尚未配置设备', '提示', {
162
          type: 'warning',
163
          center: true,
164
          callback: action => {}
165
        })
161
        return
166
        return
162
      }
167
      }
163
      getMonitorByDay({ seq: arr, begin: sDate, end: eDate }, flag).then(res => {
168
      getMonitorByDay({ seq: arr, begin: sDate, end: eDate }, flag).then(res => {