|
|
|
@ -96,6 +96,9 @@ class _Page1_WorksState extends State<Page1_Works>
|
|
|
|
|
|
|
|
|
|
|
|
// 更新工作页面的今日统计数据
|
|
|
|
// 更新工作页面的今日统计数据
|
|
|
|
Future updateStatisData() async {
|
|
|
|
Future updateStatisData() async {
|
|
|
|
|
|
|
|
if (cllRStatisDataOk) {
|
|
|
|
|
|
|
|
cllRStatisDataGeting = false;
|
|
|
|
|
|
|
|
}
|
|
|
|
if (-1 == mapStatisInfo['今日抓拍']) {
|
|
|
|
if (-1 == mapStatisInfo['今日抓拍']) {
|
|
|
|
getAllSumNew().then((_) {
|
|
|
|
getAllSumNew().then((_) {
|
|
|
|
try_setState();
|
|
|
|
try_setState();
|
|
|
|
@ -287,6 +290,8 @@ class _Page1_WorksState extends State<Page1_Works>
|
|
|
|
mapStatisInfo.forEach((key, value) {
|
|
|
|
mapStatisInfo.forEach((key, value) {
|
|
|
|
mapStatisInfo[key] = -1;
|
|
|
|
mapStatisInfo[key] = -1;
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
cllRStatisDataGeting = true; //正在获取车流量日统计数据,禁止重入
|
|
|
|
|
|
|
|
try_setState();
|
|
|
|
listDwinfoGetList2.clear();
|
|
|
|
listDwinfoGetList2.clear();
|
|
|
|
startGetStatisDataNew();
|
|
|
|
startGetStatisDataNew();
|
|
|
|
Fluttertoast.showToast(
|
|
|
|
Fluttertoast.showToast(
|
|
|
|
|