2025.9.1 修改提交
							parent
							
								
									3fd91ef4e6
								
							
						
					
					
						commit
						3167e2f930
					
				|  | @ -2,4 +2,5 @@ distributionBase=GRADLE_USER_HOME | ||||||
| distributionPath=wrapper/dists | distributionPath=wrapper/dists | ||||||
| zipStoreBase=GRADLE_USER_HOME | zipStoreBase=GRADLE_USER_HOME | ||||||
| zipStorePath=wrapper/dists | zipStorePath=wrapper/dists | ||||||
| distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-all.zip | #distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-all.zip | ||||||
|  | distributionUrl=https\://mirrors.cloud.tencent.com/gradle/gradle-8.10.2-all.zip | ||||||
|  |  | ||||||
|  | @ -1,9 +1,13 @@ | ||||||
| import 'dart:io'; | import 'dart:io'; | ||||||
|  | 
 | ||||||
| import 'package:flutter/material.dart'; | import 'package:flutter/material.dart'; | ||||||
| import 'package:flutter/services.dart'; | import 'package:flutter/services.dart'; | ||||||
| import 'package:image_picker/image_picker.dart'; | import 'package:image_picker/image_picker.dart'; | ||||||
|  | import 'package:path/path.dart' as path; | ||||||
|  | import 'package:path_provider/path_provider.dart'; | ||||||
| import 'package:qhd_prevention/tools/VideoConverter.dart'; | import 'package:qhd_prevention/tools/VideoConverter.dart'; | ||||||
| import 'package:video_compress/video_compress.dart'; | import 'package:video_compress/video_compress.dart'; | ||||||
|  | 
 | ||||||
| import 'package:wechat_assets_picker/wechat_assets_picker.dart'; | import 'package:wechat_assets_picker/wechat_assets_picker.dart'; | ||||||
| import 'package:photo_manager/photo_manager.dart'; | import 'package:photo_manager/photo_manager.dart'; | ||||||
| import 'package:path/path.dart' as p; | import 'package:path/path.dart' as p; | ||||||
|  | @ -284,11 +288,12 @@ class _MediaPickerGridState extends State<MediaPickerRow> { | ||||||
|                           : Image.file(File(path), width: 80, height: 80, fit: BoxFit.cover)) |                           : Image.file(File(path), width: 80, height: 80, fit: BoxFit.cover)) | ||||||
|                           : Container( |                           : Container( | ||||||
|                         color: Colors.black12, |                         color: Colors.black12, | ||||||
|                         child: const Center( |                         child:  Center( | ||||||
|                           child: Icon( |                           child: Icon( | ||||||
|                             Icons.videocam, |                             Icons.videocam, | ||||||
|                             color: Colors.white70, |                             color: Colors.white70, | ||||||
|                           ), |                           ), | ||||||
|  | 
 | ||||||
|                         ), |                         ), | ||||||
|                       ), |                       ), | ||||||
|                     ), |                     ), | ||||||
|  | @ -341,6 +346,12 @@ class _MediaPickerGridState extends State<MediaPickerRow> { | ||||||
|   } |   } | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
| /// 照片上传区域组件,使用纵向四列Grid展示 | /// 照片上传区域组件,使用纵向四列Grid展示 | ||||||
| /// 新增 isEdit 属性控制编辑状态 | /// 新增 isEdit 属性控制编辑状态 | ||||||
| class RepairedPhotoSection extends StatefulWidget { | class RepairedPhotoSection extends StatefulWidget { | ||||||
|  |  | ||||||
|  | @ -505,7 +505,7 @@ class _CheckRecordDetailPageState extends State<CheckRecordDetailPage> { | ||||||
| 
 | 
 | ||||||
|   void _goToDetail(String hiddenId) { |   void _goToDetail(String hiddenId) { | ||||||
|     if (hiddenId.isEmpty) return; |     if (hiddenId.isEmpty) return; | ||||||
|     final dynamic item = {"HIDDEN_RISKSTANDARD": "2", "HIDDEN_ID": hiddenId}; |     final dynamic item = {"HIDDEN_RISKSTANDARD": "1", "HIDDEN_ID": hiddenId}; | ||||||
|     pushPage(HiddenRecordDetailPage(DangerType.detailsHiddenInvestigationRecord, item), context); |     pushPage(HiddenRecordDetailPage(DangerType.detailsHiddenInvestigationRecord, item), context); | ||||||
|   } |   } | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -312,7 +312,7 @@ class _HiddenDangerAcceptancePageState extends State<HiddenDangerAcceptancePage> | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|                       Divider(height: 1), |                       Divider(height: 1), | ||||||
|                       _buildInfoItem('整改部门', pd['HAVESCHEME']=="0" ? '无':'有'), |                       _buildInfoItem('整改方案', pd['HAVESCHEME']=="0" ? '无':'有'), | ||||||
|                       Divider(height: 1), |                       Divider(height: 1), | ||||||
|                       if(pd['HAVESCHEME']=="1") |                       if(pd['HAVESCHEME']=="1") | ||||||
|                         Column( |                         Column( | ||||||
|  |  | ||||||
|  | @ -507,7 +507,7 @@ class _HomePageState extends State<HomePage> { | ||||||
|                     case 0: // 人员信息 |                     case 0: // 人员信息 | ||||||
|                       pushPage(UserinfoPage(), context); |                       pushPage(UserinfoPage(), context); | ||||||
|                       break; |                       break; | ||||||
|                     case 1: // 法律法规 |                     case 1: // 工作安排 | ||||||
|                       pushPage(WorkSetPage(), context); |                       pushPage(WorkSetPage(), context); | ||||||
|                       break; |                       break; | ||||||
|                     case 2: // 风险布控 |                     case 2: // 风险布控 | ||||||
|  |  | ||||||
|  | @ -83,6 +83,7 @@ dependencies: | ||||||
|   webview_flutter: ^4.4.0 |   webview_flutter: ^4.4.0 | ||||||
|   path_provider: ^2.0.1 |   path_provider: ^2.0.1 | ||||||
| 
 | 
 | ||||||
|  | 
 | ||||||
|   camera: ^0.11.2 |   camera: ^0.11.2 | ||||||
|   #富文本查看 |   #富文本查看 | ||||||
|   flutter_html: ^3.0.0 |   flutter_html: ^3.0.0 | ||||||
|  | @ -111,6 +112,8 @@ dependencies: | ||||||
|   #息屏处理 |   #息屏处理 | ||||||
|   wakelock_plus: ^1.3.2 |   wakelock_plus: ^1.3.2 | ||||||
| 
 | 
 | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
| dev_dependencies: | dev_dependencies: | ||||||
|   flutter_test: |   flutter_test: | ||||||
|     sdk: flutter |     sdk: flutter | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue