From 5f4c95c7443e9c75b3d1267fcdec366562e84965 Mon Sep 17 00:00:00 2001 From: WinUser01 Date: Tue, 3 May 2022 23:29:28 +0800 Subject: [PATCH] =?UTF-8?q?hyzp=5Fybqx-Commit144=EF=BC=9A=E8=A7=A3?= =?UTF-8?q?=E5=86=B3=E5=88=9D=E5=AE=A1=E4=B8=BA=E9=9D=9E=E9=BB=91=E7=83=9F?= =?UTF-8?q?=E3=80=81=E5=A4=8D=E5=AE=A1=E9=BB=98=E8=AE=A4=E5=8B=BE=E9=80=89?= =?UTF-8?q?=E9=9D=9E=E9=BB=91=E7=83=9F=E8=BD=A6=EF=BC=8C=E5=90=8C=E6=97=B6?= =?UTF-8?q?=E5=8F=96=E6=B6=88=E5=8B=BE=E9=80=89=E2=80=9C=E5=90=8C=E6=97=B6?= =?UTF-8?q?=E6=8E=A8=E9=80=81=E4=BA=A4=E8=AD=A6=E2=80=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/pages/Works/HYSH/hysh_group.dart | 64 +--------------------------- 1 file changed, 1 insertion(+), 63 deletions(-) diff --git a/lib/pages/Works/HYSH/hysh_group.dart b/lib/pages/Works/HYSH/hysh_group.dart index 3f34084..2c9a334 100644 --- a/lib/pages/Works/HYSH/hysh_group.dart +++ b/lib/pages/Works/HYSH/hysh_group.dart @@ -48,6 +48,7 @@ class _HyshGroupState extends State { void initState() { _selectedRadio = widget.selectedRadio; + tsjj = _selectedRadio == 0 ? true : false; // 解决初审为非黑烟、复审默认勾选非黑烟车,同时取消勾选“同时推送交警” //黑烟审核推送交警Checkbox改变事件 eventBus.on().listen((event) { @@ -407,69 +408,6 @@ class _HyshGroupState extends State { ); } - //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: [ - 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: [ - 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(