feat(B批缝隙): B3残留catch补齐/B7-1 add成环/B4-5 key/B5-2 scores索引/门禁62-0-0
This commit is contained in:
@@ -124,7 +124,8 @@
|
||||
formatDate,
|
||||
parseDateTime,
|
||||
getFieldTotal,
|
||||
debounce
|
||||
debounce,
|
||||
getStatErrorMessage
|
||||
} from '@/js_sdk/uni-stat/util.js'
|
||||
import {
|
||||
fieldsMap,
|
||||
@@ -452,9 +453,9 @@
|
||||
}
|
||||
this.chartData = options
|
||||
}).catch((err) => {
|
||||
console.error(err)
|
||||
// err.message 错误信息
|
||||
// err.code 错误码
|
||||
// B3-2:图表查询失败必须落 errorMessage + 清空 chartData(图表组件已接 errorMessage)
|
||||
this.errorMessage = getStatErrorMessage(err)
|
||||
this.chartData = {}
|
||||
}).finally(() => {})
|
||||
},
|
||||
|
||||
@@ -531,9 +532,11 @@
|
||||
this.loading = false
|
||||
})
|
||||
}).catch((err) => {
|
||||
console.error(err)
|
||||
// err.message 错误信息
|
||||
// err.code 错误码
|
||||
// B3-2:页面排行查询失败必须落 errorMessage + 清空双表 + loading=false
|
||||
this.errorMessage = getStatErrorMessage(err)
|
||||
this.resTableData = []
|
||||
this.entTableData = []
|
||||
this.loading = false
|
||||
}).finally(() => {})
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user