Commit 9bed1699f920f3d1fb1c239642e7498857cc65da

Authored by weixin_45529955
2 parents 7581b97c 8661aa12

Merge branch 'v7.3.0+' into v6.1.0+

@@ -95,6 +95,16 @@ subprojects { @@ -95,6 +95,16 @@ subprojects {
95 } 95 }
96 } 96 }
97 } 97 }
  98 + if (project.name == 'speech_to_text') {
  99 + plugins.withId('com.android.library') {
  100 + android.compileSdk = 34
  101 + }
  102 + afterEvaluate {
  103 + if (project.hasProperty('android')) {
  104 + project.android.compileSdk = 34
  105 + }
  106 + }
  107 + }
98 } 108 }
99 subprojects { 109 subprojects {
100 project.evaluationDependsOn(':app') 110 project.evaluationDependsOn(':app')
@@ -977,7 +977,7 @@ class NotebookDetailPageState extends State<NotebookDetailPage> @@ -977,7 +977,7 @@ class NotebookDetailPageState extends State<NotebookDetailPage>
977 isShowTF = false; 977 isShowTF = false;
978 // paddingBottom = ScreenUtil().screenHeight.ceil() - 138 - 340; 978 // paddingBottom = ScreenUtil().screenHeight.ceil() - 138 - 340;
979 cancelReasonList = [ 979 cancelReasonList = [
980 - {'title': '顾客取消', 'select': false}, 980 + {'title': '顾客取消', 'select': true},
981 {'title': '顾客行程有变', 'select': false}, 981 {'title': '顾客行程有变', 'select': false},
982 {'title': '操作失误', 'select': false}, 982 {'title': '操作失误', 'select': false},
983 {'title': '信息填写有误', 'select': false}, 983 {'title': '信息填写有误', 'select': false},
@@ -1313,6 +1313,7 @@ class NotebookDetailPageState extends State<NotebookDetailPage> @@ -1313,6 +1313,7 @@ class NotebookDetailPageState extends State<NotebookDetailPage>
1313 1313
1314 ///取消预订弹框 1314 ///取消预订弹框
1315 _showCancelWidget(context, phone) { 1315 _showCancelWidget(context, phone) {
  1316 + BuildContext pageContext = context;
1316 _scrollController = ScrollController(); 1317 _scrollController = ScrollController();
1317 showGeneralDialog( 1318 showGeneralDialog(
1318 context: context, 1319 context: context,
@@ -1613,8 +1614,9 @@ class NotebookDetailPageState extends State<NotebookDetailPage> @@ -1613,8 +1614,9 @@ class NotebookDetailPageState extends State<NotebookDetailPage>
1613 1614
1614 print(oldInfo); 1615 print(oldInfo);
1615 1616
  1617 + Navigator.of(context).pop();
1616 DialogUtil.cupertinoAlertDialogCancelReseve( 1618 DialogUtil.cupertinoAlertDialogCancelReseve(
1617 - context, 1619 + pageContext,
1618 title: '', 1620 title: '',
1619 // content1: 1621 // content1:
1620 // '确定要将${oldInfo}的预订 变更为 ${newInfo}?', 1622 // '确定要将${oldInfo}的预订 变更为 ${newInfo}?',
@@ -1622,8 +1624,7 @@ class NotebookDetailPageState extends State<NotebookDetailPage> @@ -1622,8 +1624,7 @@ class NotebookDetailPageState extends State<NotebookDetailPage>
1622 lTitle: '取消', 1624 lTitle: '取消',
1623 lCallback: () {}, 1625 lCallback: () {},
1624 rTitle: '确定', rCallback: () async { 1626 rTitle: '确定', rCallback: () async {
1625 - Navigator.of(context).pop();  
1626 - Loading.showLoading(context); 1627 + Loading.showLoading(pageContext);
1627 1628
1628 await setReserveStatus('4', 1629 await setReserveStatus('4',
1629 desc: desc, phone: phone); 1630 desc: desc, phone: phone);
@@ -1637,7 +1638,7 @@ class NotebookDetailPageState extends State<NotebookDetailPage> @@ -1637,7 +1638,7 @@ class NotebookDetailPageState extends State<NotebookDetailPage>
1637 }; 1638 };
1638 1639
1639 await detailModel!.setReserveDeposit( 1640 await detailModel!.setReserveDeposit(
1640 - context, pramas); 1641 + pageContext, pramas);
1641 } 1642 }
1642 }); 1643 });
1643 }), 1644 }),
@@ -917,7 +917,7 @@ class NoteBookPageState extends State<NoteBookPage> { @@ -917,7 +917,7 @@ class NoteBookPageState extends State<NoteBookPage> {
917 _showCancelWidget(context, NoteBookOnlySunModel notebook, 917 _showCancelWidget(context, NoteBookOnlySunModel notebook,
918 List<ReserveDepositSunModel> reserveDepositList) { 918 List<ReserveDepositSunModel> reserveDepositList) {
919 List<Map<String, dynamic>> cancelReasonList = [ 919 List<Map<String, dynamic>> cancelReasonList = [
920 - {'title': '顾客取消', 'select': false}, 920 + {'title': '顾客取消', 'select': true},
921 {'title': '顾客行程有变', 'select': false}, 921 {'title': '顾客行程有变', 'select': false},
922 {'title': '操作失误', 'select': false}, 922 {'title': '操作失误', 'select': false},
923 {'title': '信息填写有误', 'select': false}, 923 {'title': '信息填写有误', 'select': false},
@@ -937,6 +937,7 @@ class NoteBookPageState extends State<NoteBookPage> { @@ -937,6 +937,7 @@ class NoteBookPageState extends State<NoteBookPage> {
937 FocusNode _cancelNode = FocusNode(); 937 FocusNode _cancelNode = FocusNode();
938 TextEditingController _cancelController = TextEditingController(); 938 TextEditingController _cancelController = TextEditingController();
939 String? desc2 = ''; 939 String? desc2 = '';
  940 + BuildContext pageContext = context;
940 showGeneralDialog( 941 showGeneralDialog(
941 context: context, 942 context: context,
942 barrierDismissible: false, 943 barrierDismissible: false,
@@ -1242,8 +1243,9 @@ class NoteBookPageState extends State<NoteBookPage> { @@ -1242,8 +1243,9 @@ class NoteBookPageState extends State<NoteBookPage> {
1242 1243
1243 print(oldInfo); 1244 print(oldInfo);
1244 1245
  1246 + Navigator.of(context).pop();
1245 DialogUtil.cupertinoAlertDialogCancelReseve( 1247 DialogUtil.cupertinoAlertDialogCancelReseve(
1246 - context, 1248 + pageContext,
1247 title: '', 1249 title: '',
1248 // content1: 1250 // content1:
1249 // '确定要将${oldInfo}的预订 变更为 ${newInfo}?', 1251 // '确定要将${oldInfo}的预订 变更为 ${newInfo}?',
@@ -1251,8 +1253,7 @@ class NoteBookPageState extends State<NoteBookPage> { @@ -1251,8 +1253,7 @@ class NoteBookPageState extends State<NoteBookPage> {
1251 lTitle: '取消', 1253 lTitle: '取消',
1252 lCallback: () {}, 1254 lCallback: () {},
1253 rTitle: '确定', rCallback: () async { 1255 rTitle: '确定', rCallback: () async {
1254 - Navigator.of(context).pop();  
1255 - Loading.showLoading(context); 1256 + Loading.showLoading(pageContext);
1256 1257
1257 await setReserveStatus( 1258 await setReserveStatus(
1258 '4', 1259 '4',
@@ -1269,7 +1270,7 @@ class NoteBookPageState extends State<NoteBookPage> { @@ -1269,7 +1270,7 @@ class NoteBookPageState extends State<NoteBookPage> {
1269 }; 1270 };
1270 1271
1271 await detailModel.setReserveDeposit( 1272 await detailModel.setReserveDeposit(
1272 - context, pramas); 1273 + pageContext, pramas);
1273 } 1274 }
1274 }); 1275 });
1275 }), 1276 }),
@@ -4464,6 +4464,8 @@ class TableManagerPageState extends State<TableManagerPage> @@ -4464,6 +4464,8 @@ class TableManagerPageState extends State<TableManagerPage>
4464 child: Container( 4464 child: Container(
4465 alignment: Alignment.center, 4465 alignment: Alignment.center,
4466 width: double.infinity, 4466 width: double.infinity,
  4467 + height: (ScreenUtil().screenWidth - w(10) - w(18)) / 4 * 0.4 +
  4468 + ScreenUtil().setWidth(20),
4467 // width: width, 4469 // width: width,
4468 // padding: padding, 4470 // padding: padding,
4469 // height: ScreenUtil().setWidth(height), 4471 // height: ScreenUtil().setWidth(height),
@@ -4477,6 +4479,7 @@ class TableManagerPageState extends State<TableManagerPage> @@ -4477,6 +4479,7 @@ class TableManagerPageState extends State<TableManagerPage>
4477 width: w(1), 4479 width: w(1),
4478 ))), 4480 ))),
4479 child: Column( 4481 child: Column(
  4482 + mainAxisAlignment: MainAxisAlignment.center,
4480 children: [ 4483 children: [
4481 Text( 4484 Text(
4482 element.mname ?? '', 4485 element.mname ?? '',
@@ -4607,8 +4610,9 @@ class TableManagerPageState extends State<TableManagerPage> @@ -4607,8 +4610,9 @@ class TableManagerPageState extends State<TableManagerPage>
4607 child: Container( 4610 child: Container(
4608 // height: w(35), 4611 // height: w(35),
4609 height: (ScreenUtil().screenWidth - w(10) - w(18)) / 4612 height: (ScreenUtil().screenWidth - w(10) - w(18)) /
4610 - 4 *  
4611 - 0.6, 4613 + 4 *
  4614 + 0.6 +
  4615 + ScreenUtil().setWidth(10),
4612 padding: EdgeInsets.symmetric( 4616 padding: EdgeInsets.symmetric(
4613 horizontal: w(10), 4617 horizontal: w(10),
4614 // vertical: ScreenUtil().setWidth(20) 4618 // vertical: ScreenUtil().setWidth(20)
@@ -4646,7 +4650,7 @@ class TableManagerPageState extends State<TableManagerPage> @@ -4646,7 +4650,7 @@ class TableManagerPageState extends State<TableManagerPage>
4646 ], 4650 ],
4647 )), 4651 )),
4648 )), 4652 )),
4649 - VEmptyView(2), 4653 + VEmptyView(5),
4650 if (storeBaseIndoProvider.dayDateData != null) 4654 if (storeBaseIndoProvider.dayDateData != null)
4651 Container( 4655 Container(
4652 padding: EdgeInsets.symmetric( 4656 padding: EdgeInsets.symmetric(
@@ -730,7 +730,7 @@ class NotebookDetailPageSimState extends State<NotebookDetailPageSim> @@ -730,7 +730,7 @@ class NotebookDetailPageSimState extends State<NotebookDetailPageSim>
730 isShowTF = false; 730 isShowTF = false;
731 // paddingBottom = ScreenUtil().screenHeight.ceil() - 138 - 340; 731 // paddingBottom = ScreenUtil().screenHeight.ceil() - 138 - 340;
732 cancelReasonList = [ 732 cancelReasonList = [
733 - {'title': '顾客取消', 'select': false}, 733 + {'title': '顾客取消', 'select': true},
734 {'title': '顾客行程有变', 'select': false}, 734 {'title': '顾客行程有变', 'select': false},
735 {'title': '操作失误', 'select': false}, 735 {'title': '操作失误', 'select': false},
736 {'title': '信息填写有误', 'select': false}, 736 {'title': '信息填写有误', 'select': false},
@@ -98,7 +98,7 @@ class NoteBookItemFSimState extends State<NoteBookItemFSim> @@ -98,7 +98,7 @@ class NoteBookItemFSimState extends State<NoteBookItemFSim>
98 // isShowTF = false; 98 // isShowTF = false;
99 // paddingBottom = ScreenUtil().screenHeight.ceil() - 138 - 340; 99 // paddingBottom = ScreenUtil().screenHeight.ceil() - 138 - 340;
100 cancelReasonList = [ 100 cancelReasonList = [
101 - {'title': '顾客取消', 'select': false}, 101 + {'title': '顾客取消', 'select': true},
102 {'title': '顾客行程有变', 'select': false}, 102 {'title': '顾客行程有变', 'select': false},
103 {'title': '信息填写有误', 'select': false}, 103 {'title': '信息填写有误', 'select': false},
104 {'title': '操作失误', 'select': false}, 104 {'title': '操作失误', 'select': false},
@@ -102,7 +102,7 @@ class NoteBookItemSimpleSimState extends State<NoteBookItemSimpleSim> @@ -102,7 +102,7 @@ class NoteBookItemSimpleSimState extends State<NoteBookItemSimpleSim>
102 // isShowTF = false; 102 // isShowTF = false;
103 // paddingBottom = ScreenUtil().screenHeight.ceil() - 138 - 340; 103 // paddingBottom = ScreenUtil().screenHeight.ceil() - 138 - 340;
104 cancelReasonList = [ 104 cancelReasonList = [
105 - {'title': '顾客取消', 'select': false}, 105 + {'title': '顾客取消', 'select': true},
106 {'title': '顾客行程有变', 'select': false}, 106 {'title': '顾客行程有变', 'select': false},
107 {'title': '信息填写有误', 'select': false}, 107 {'title': '信息填写有误', 'select': false},
108 {'title': '操作失误', 'select': false}, 108 {'title': '操作失误', 'select': false},