hyzp_ybqx-Commit080:解决以下两个问题:
1、对长度小于等于2的区县名称(“高县”、“珙县”等)不进行去尾操作 2、在线升级测试OK。使用app_installer: 0.5.0插件,准备解决Android11允许“安装未知来源”后应用重启的问题,https://pub.dev/packages/app_installer。
This commit is contained in:
@@ -606,45 +606,6 @@ Future getAllSumNew() async {
|
||||
]
|
||||
*/
|
||||
|
||||
// 实现多个基于 Page1_Works 构建的页面共享统计数据
|
||||
Future startGetStatisDataOld() async {
|
||||
///获取点位信息数据
|
||||
//listDwinfoGetList2.clear();
|
||||
|
||||
if (listDwinfoGetList2.isEmpty) {
|
||||
//若没有读取点位数据,便需要先读取
|
||||
getThePageList(theHyshlx: 'dwxx').then((value) {
|
||||
listDwinfoGetList2 = value;
|
||||
print('listDwinfoGetList2 = \n$listDwinfoGetList2');
|
||||
dwSum = listDwinfoGetList2.length;
|
||||
getZptjStatisAlone();
|
||||
getTodayShtj();
|
||||
getClltjStatisAlone();
|
||||
});
|
||||
} else {
|
||||
if (mapStatisInfo['今日抓拍'] < 0) {
|
||||
getZptjStatisAlone();
|
||||
} else {
|
||||
//发送统计数据已更新广播
|
||||
eventBus.fire(StatisDataUpdate('统计数据已更新'));
|
||||
}
|
||||
|
||||
if (mapStatisInfo['今日初审'] < 0) {
|
||||
getTodayShtj();
|
||||
} else {
|
||||
//发送统计数据已更新广播
|
||||
eventBus.fire(StatisDataUpdate('统计数据已更新'));
|
||||
}
|
||||
|
||||
if (mapStatisInfo['今日车流'] < 0) {
|
||||
getClltjStatisAlone();
|
||||
} else {
|
||||
//发送统计数据已更新广播
|
||||
eventBus.fire(StatisDataUpdate('统计数据已更新'));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//获取已审核黑烟车统计数据:App.Car_Statis.GetStaHyc
|
||||
//{
|
||||
// "ret": 200,
|
||||
|
||||
Reference in New Issue
Block a user