hyzp_ybqx-Commit133:已经将初审复审结果黑烟、非黑烟弄到一行显示,这样最后一行就提上来了
This commit is contained in:
@@ -1 +1 @@
|
||||
[{"outputType":{"type":"APK"},"apkData":{"type":"MAIN","splits":[],"versionCode":20220426,"versionName":"1.4.27","enabled":true,"outputFile":"app-release.apk","fullName":"release","baseName":"release"},"path":"app-release.apk","properties":{}}]
|
||||
[{"outputType":{"type":"APK"},"apkData":{"type":"MAIN","splits":[],"versionCode":20220426,"versionName":"1.4.28","enabled":true,"outputFile":"app-release.apk","fullName":"release","baseName":"release"},"path":"app-release.apk","properties":{}}]
|
||||
@@ -97,7 +97,7 @@ class _HyshPageState extends State<HyshContentNew> with SingleTickerProviderStat
|
||||
// getListFlields();
|
||||
// });
|
||||
|
||||
//黑监听烟初审数据审核Radio选项改变事件
|
||||
//监听黑烟初审数据审核Radio选项改变事件
|
||||
eventBus.on<HycsDataAuditRadioEvent>().listen((event) {
|
||||
print(event.str);
|
||||
print('event.selectedRadio = ${event.selectedRadio.toString()}');
|
||||
|
||||
@@ -92,7 +92,8 @@ class _HyshGroupState extends State<HyshGroup> {
|
||||
getHyshItems(int index) {
|
||||
return Container(
|
||||
width: ScreenUtil().setWidth(1022),
|
||||
height: ScreenUtil().setHeight(550),
|
||||
// height: ScreenUtil().setHeight(550),
|
||||
height: ScreenUtil().setHeight(480),
|
||||
decoration: BoxDecoration(
|
||||
color: Colors.white,
|
||||
borderRadius: BorderRadius.all(
|
||||
@@ -325,6 +326,88 @@ class _HyshGroupState extends State<HyshGroup> {
|
||||
|
||||
//5.3、得到审核结果组件
|
||||
Widget getShjg(int index) {
|
||||
return Container(
|
||||
width: ScreenUtil().setWidth(1022),
|
||||
// height: ScreenUtil().setHeight(175),
|
||||
height: ScreenUtil().setHeight(110),
|
||||
child: Column(
|
||||
children: [
|
||||
SizedBox(height: ScreenUtil().setHeight(15)),
|
||||
Row(
|
||||
mainAxisAlignment: MainAxisAlignment.start,
|
||||
children: <Widget>[
|
||||
SizedBox(width: my_marginLeft),
|
||||
Text((widget.hyshlx == 'hyfh' ? '复审' : '初审') + '结果: ',
|
||||
style: TextStyle(
|
||||
fontSize: widget.fontSize,
|
||||
color: 0 == _selectedRadio ? Colors.red : Colors.green)),
|
||||
CustomRadioWidget(
|
||||
value: 0,
|
||||
title: mapHyshlx[hyshlx]['nick_text'] + "为黑烟车",
|
||||
fontSize: widget.fontSize,
|
||||
width: ScreenUtil().setWidth(400),
|
||||
groupValue: _selectedRadio,
|
||||
onChanged: (int value) {
|
||||
_selectedRadio = value;
|
||||
fh_hyc = true; //复审为黑烟车
|
||||
tsjj = true; //同时推送交警
|
||||
//黑烟初审数据审核Radio选项改变广播
|
||||
eventBus.fire(HycsDataAuditRadioEvent('黑烟初审数据审核Radio选项已改变', _selectedRadio));
|
||||
setState(() {});
|
||||
print('selectedRadio = ${_selectedRadio.toString()}');
|
||||
},
|
||||
),
|
||||
SizedBox(height: ScreenUtil().setWidth(20)),
|
||||
CustomRadioWidget(
|
||||
value: 1,
|
||||
title: "非黑烟车",
|
||||
fontSize: widget.fontSize,
|
||||
width: ScreenUtil().setWidth(340),
|
||||
groupValue: _selectedRadio,
|
||||
onChanged: (int value) {
|
||||
_selectedRadio = value;
|
||||
fh_hyc = false; //复审为黑烟车
|
||||
tsjj = false; //同时推送交警
|
||||
//黑烟初审数据审核Radio选项改变广播
|
||||
eventBus.fire(HycsDataAuditRadioEvent('黑烟初审数据审核Radio选项已改变', _selectedRadio));
|
||||
setState(() {});
|
||||
print('selectedRadio = ${_selectedRadio.toString()}');
|
||||
},
|
||||
),
|
||||
],
|
||||
),
|
||||
SizedBox(height: ScreenUtil().setHeight(15)),
|
||||
// Row(
|
||||
// mainAxisAlignment: MainAxisAlignment.start,
|
||||
// children: <Widget>[
|
||||
// SizedBox(width: my_marginLeft),
|
||||
// Text((widget.hyshlx == 'hyfh' ? '复审' : '初审') + '结果: ',
|
||||
// style: TextStyle(fontSize: widget.fontSize, color: Colors.red)),
|
||||
// CustomRadioWidget(
|
||||
// value: 1,
|
||||
// title: "非黑烟车",
|
||||
// fontSize: widget.fontSize,
|
||||
// width: ScreenUtil().setWidth(400),
|
||||
// groupValue: _selectedRadio,
|
||||
// onChanged: (int value) {
|
||||
// _selectedRadio = value;
|
||||
// fh_hyc = false; //复审为黑烟车
|
||||
// tsjj = false; //同时推送交警
|
||||
// //黑烟初审数据审核Radio选项改变广播
|
||||
// eventBus.fire(HycsDataAuditRadioEvent('黑烟初审数据审核Radio选项已改变', _selectedRadio));
|
||||
// setState(() {});
|
||||
// print('selectedRadio = ${_selectedRadio.toString()}');
|
||||
// },
|
||||
// ),
|
||||
// ],
|
||||
// ),
|
||||
],
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
//5.3-0、得到审核结果组件
|
||||
Widget getShjg0(int index) {
|
||||
return Container(
|
||||
width: ScreenUtil().setWidth(1022),
|
||||
height: ScreenUtil().setHeight(175),
|
||||
|
||||
Reference in New Issue
Block a user