|
|
|
@ -1,16 +1,15 @@
|
|
|
|
import 'dart:async';
|
|
|
|
import 'dart:async';
|
|
|
|
|
|
|
|
|
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
|
|
|
|
import 'package:flutter_easyrefresh/easy_refresh.dart';
|
|
|
|
|
|
|
|
import 'package:flutter_screenutil/flutter_screenutil.dart';
|
|
|
|
import 'package:fluttertoast/fluttertoast.dart';
|
|
|
|
import 'package:fluttertoast/fluttertoast.dart';
|
|
|
|
|
|
|
|
|
|
|
|
import 'dwxx_content.dart';
|
|
|
|
import '../../../components/commonFun.dart';
|
|
|
|
import '../../../components/dioFun.dart';
|
|
|
|
import '../../../components/dioFun.dart';
|
|
|
|
import '../../../components/hyxx_data_handle.dart';
|
|
|
|
import '../../../components/hyxx_data_handle.dart';
|
|
|
|
import '../../../components/commonFun.dart';
|
|
|
|
|
|
|
|
import '../../../services/EventBus.dart';
|
|
|
|
import '../../../services/EventBus.dart';
|
|
|
|
import 'package:flutter_easyrefresh/easy_refresh.dart';
|
|
|
|
import 'dwxx_content.dart';
|
|
|
|
import '../../../components/doJSON.dart';
|
|
|
|
|
|
|
|
import 'package:flutter_screenutil/flutter_screenutil.dart';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//sbgl是本项目中“设备管理”的统一缩写
|
|
|
|
//sbgl是本项目中“设备管理”的统一缩写
|
|
|
|
class DwxxGetList extends StatefulWidget {
|
|
|
|
class DwxxGetList extends StatefulWidget {
|
|
|
|
@ -54,9 +53,15 @@ class _SbglPageState extends State<DwxxGetList> {
|
|
|
|
//为播放点位视频读取数据
|
|
|
|
//为播放点位视频读取数据
|
|
|
|
print('listDwspGetList2 = ${listDwspGetList2}');
|
|
|
|
print('listDwspGetList2 = ${listDwspGetList2}');
|
|
|
|
listDwspGetList2 = listSbglGetList2;
|
|
|
|
listDwspGetList2 = listSbglGetList2;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 在点位视频列表页面,解决点位编号不连续的问题
|
|
|
|
|
|
|
|
int _len = listDwspGetList2.length;
|
|
|
|
|
|
|
|
for (int i = 0; i < _len; i++) {
|
|
|
|
|
|
|
|
listDwspGetList2[i]['dwbh'] = i + 1;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
listDwinfoGetList2 = listSbglGetList2;
|
|
|
|
listDwinfoGetList2 = listSbglGetList2;
|
|
|
|
print('listDwspGetList2 = ${listDwspGetList2}');
|
|
|
|
print('listDwspGetList2 = ${listDwspGetList2}');
|
|
|
|
|
|
|
|
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
// ///从接口 mapHyshlx[theHyshlx]['api'] 获取指定类型第 page 页的列表数据,返回 list
|
|
|
|
// ///从接口 mapHyshlx[theHyshlx]['api'] 获取指定类型第 page 页的列表数据,返回 list
|
|
|
|
|