hyzp_ybqx-Commit041:在点位信息列表页面,解决点位编号不连续的问题

master
WinUser01 4 years ago
parent 4a187cde03
commit 8935e9a565

@ -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

Loading…
Cancel
Save