From 7ea579524d84e93419122367cc903f6cbac11ae3 Mon Sep 17 00:00:00 2001 From: xufei <727302827@qq.com> Date: Thu, 18 Sep 2025 19:13:51 +0800 Subject: [PATCH] =?UTF-8?q?2025.9.18=20=E6=94=B9=E5=AD=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/http/ApiService.dart | 4 ++-- .../home/tap/tabList/special_wrok/dangerous_options_page.dart | 3 +-- .../tabList/special_wrok/dl_work/CutroadDetailFormWidget.dart | 2 +- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/lib/http/ApiService.dart b/lib/http/ApiService.dart index c161ba9..a6183d1 100644 --- a/lib/http/ApiService.dart +++ b/lib/http/ApiService.dart @@ -24,8 +24,8 @@ class ApiService { // static const String baseFacePath = "http://192.168.0.25:38199"; //王轩服务器 /// 登录及其他管理后台接口 - // static const String basePath = "https://qaaqwh.qhdsafety.com/integrated_whb"; - static const String basePath = "http://192.168.20.240:8500/integrated_whb";//测试服务器 + static const String basePath = "https://qaaqwh.qhdsafety.com/integrated_whb"; + // static const String basePath = "http://192.168.20.240:8500/integrated_whb";//测试服务器 // static const String basePath = "http://192.168.0.25:28199";//王轩服务器 // static const String basePath = "http://192.168.0.45:28199";//长久服务器 diff --git a/lib/pages/home/tap/tabList/special_wrok/dangerous_options_page.dart b/lib/pages/home/tap/tabList/special_wrok/dangerous_options_page.dart index 93cc33c..16db021 100644 --- a/lib/pages/home/tap/tabList/special_wrok/dangerous_options_page.dart +++ b/lib/pages/home/tap/tabList/special_wrok/dangerous_options_page.dart @@ -86,8 +86,7 @@ class _DangerousOptionsPageState extends State { status = widget.status; measures = widget.measures; imgList = List.from(widget.imgList); - signImgList = - widget.signImgList.map((map) => SignImageData.fromJson(map)).toList(); + signImgList = widget.signImgList.map((map) => SignImageData.fromJson(map)).toList(); } /// 拍照或选图后的回调 diff --git a/lib/pages/home/tap/tabList/special_wrok/dl_work/CutroadDetailFormWidget.dart b/lib/pages/home/tap/tabList/special_wrok/dl_work/CutroadDetailFormWidget.dart index b2d5bc6..3d014e2 100644 --- a/lib/pages/home/tap/tabList/special_wrok/dl_work/CutroadDetailFormWidget.dart +++ b/lib/pages/home/tap/tabList/special_wrok/dl_work/CutroadDetailFormWidget.dart @@ -236,7 +236,7 @@ class _CutroadDetailFormWidgetState extends State { ), if (FormUtils.hasValue(pd, 'WORK_START_DATE')) ...[ const Divider(), - ItemListWidget.twoRowTitleText(label: '段路作业实施时间', text: FormUtils.hasValue(pd, 'WORK_END_DATE') + ItemListWidget.twoRowTitleText(label: '断路作业实施时间', text: FormUtils.hasValue(pd, 'WORK_END_DATE') ? '${pd['WORK_START_DATE'] ?? ''} - ${pd['WORK_END_DATE'] ?? ''}' : pd['WORK_START_DATE'] ?? ''), if (!FormUtils.hasValue(pd, 'WORK_END_DATE'))