|
|
|
|
@ -176,17 +176,17 @@ class _HyshGroupState extends State<HyshGroup> {
|
|
|
|
|
getBtnSizeX(
|
|
|
|
|
text: '复审提交',
|
|
|
|
|
fontColor: 0 == _selectedRadio ? Colors.red : Colors.green,
|
|
|
|
|
onPressedFun: 1 == sfyc
|
|
|
|
|
? null
|
|
|
|
|
: () async {
|
|
|
|
|
// onPressedFun: 1 == sfyc
|
|
|
|
|
// ? null
|
|
|
|
|
// : () async {
|
|
|
|
|
onPressedFun: () async {
|
|
|
|
|
int ret = -1;
|
|
|
|
|
print('等待复审提交确认');
|
|
|
|
|
await Navigator.of(context)
|
|
|
|
|
.push(
|
|
|
|
|
PageRouteBuilder(
|
|
|
|
|
opaque: false,
|
|
|
|
|
pageBuilder: (context, animation, secondaryAnimation) =>
|
|
|
|
|
CustomDialogHysh(
|
|
|
|
|
pageBuilder: (context, animation, secondaryAnimation) => CustomDialogHysh(
|
|
|
|
|
shjg: 0 == _selectedRadio ? hyc_text : fhyc_text,
|
|
|
|
|
title: '复审',
|
|
|
|
|
content:
|
|
|
|
|
@ -210,20 +210,18 @@ class _HyshGroupState extends State<HyshGroup> {
|
|
|
|
|
widget.id,
|
|
|
|
|
widget.index,
|
|
|
|
|
mapHyshlx[hyshlx]['audit_workflow'],
|
|
|
|
|
topTabs_map['auditShuoming_Controller_List'][widget.index]
|
|
|
|
|
.text,
|
|
|
|
|
topTabs_map['auditShuoming_Controller_List'][widget.index].text,
|
|
|
|
|
topTabs_map['auditTitle'][widget.index],
|
|
|
|
|
sfyc: sfyc,
|
|
|
|
|
).then((value) {
|
|
|
|
|
eventBus.fire(HycsDataUpdateEvent(
|
|
|
|
|
'${mapHyshlx[hyshlx]['text']}数据已更新'));
|
|
|
|
|
eventBus.fire(
|
|
|
|
|
HycsDataUpdateEvent('${mapHyshlx[hyshlx]['text']}数据已更新'));
|
|
|
|
|
//必须等待审核过程完成后,再处理同时推送交警,否则推送交警总是失败
|
|
|
|
|
print('tsjj = $tsjj');
|
|
|
|
|
if (tsjj) {
|
|
|
|
|
print('before tsjjFun(widget.id, _plateAndID)');
|
|
|
|
|
|
|
|
|
|
String _plateAndID =
|
|
|
|
|
topTabs_map['car_number_List'].toString() +
|
|
|
|
|
String _plateAndID = topTabs_map['car_number_List'].toString() +
|
|
|
|
|
'(ID:${widget.id.toString()})';
|
|
|
|
|
|
|
|
|
|
tsjjFun(widget.id, _plateAndID);
|
|
|
|
|
@ -271,9 +269,10 @@ class _HyshGroupState extends State<HyshGroup> {
|
|
|
|
|
getBtnSizeX(
|
|
|
|
|
text: '初审提交',
|
|
|
|
|
fontColor: 0 == _selectedRadio ? Colors.red : Colors.green,
|
|
|
|
|
onPressedFun: 1 == sfyc
|
|
|
|
|
? null
|
|
|
|
|
: () async {
|
|
|
|
|
// onPressedFun: 1 == sfyc
|
|
|
|
|
// ? null
|
|
|
|
|
// : () async {
|
|
|
|
|
onPressedFun: () async {
|
|
|
|
|
int ret = -1;
|
|
|
|
|
print('等待初审提交确认');
|
|
|
|
|
await Navigator.of(context)
|
|
|
|
|
@ -297,13 +296,12 @@ class _HyshGroupState extends State<HyshGroup> {
|
|
|
|
|
widget.id,
|
|
|
|
|
widget.index,
|
|
|
|
|
mapHyshlx[hyshlx]['audit_workflow'],
|
|
|
|
|
topTabs_map['auditShuoming_Controller_List'][widget.index]
|
|
|
|
|
.text,
|
|
|
|
|
topTabs_map['auditShuoming_Controller_List'][widget.index].text,
|
|
|
|
|
topTabs_map['auditTitle'][widget.index],
|
|
|
|
|
sfyc: 0,
|
|
|
|
|
).then((value) {
|
|
|
|
|
eventBus.fire(
|
|
|
|
|
HycsDataUpdateEvent('${mapHyshlx[hyshlx]['text']}数据已更新'));
|
|
|
|
|
eventBus
|
|
|
|
|
.fire(HycsDataUpdateEvent('${mapHyshlx[hyshlx]['text']}数据已更新'));
|
|
|
|
|
});
|
|
|
|
|
} else {
|
|
|
|
|
print('用户取消了初审提交');
|
|
|
|
|
|