hyzp_ybqx-Commit144:解决初审为非黑烟、复审默认勾选非黑烟车,同时取消勾选“同时推送交警”

master
WinUser01 4 years ago
parent f09362e635
commit 5f4c95c744

@ -48,6 +48,7 @@ class _HyshGroupState extends State<HyshGroup> {
void initState() {
_selectedRadio = widget.selectedRadio;
tsjj = _selectedRadio == 0 ? true : false; //
//Checkbox
eventBus.on<HycsDataAuditSfyc>().listen((event) {
@ -407,69 +408,6 @@ class _HyshGroupState extends State<HyshGroup> {
);
}
//5.3-0
Widget getShjg0(int index) {
return Container(
width: ScreenUtil().setWidth(1022),
height: ScreenUtil().setHeight(175),
child: Column(
children: [
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().setHeight(15)),
Row(
mainAxisAlignment: MainAxisAlignment.start,
children: <Widget>[
SizedBox(width: my_marginLeft),
Text((widget.hyshlx == 'hyfh' ? '复审' : '初审') + '结果: ',
style: TextStyle(fontSize: widget.fontSize, color: Colors.white)),
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.2
Widget getShyj(int index) {
// return ConstrainedBox(

Loading…
Cancel
Save