2026.7.3 口门门禁bug
parent
fc326aa5b1
commit
f097eaddf1
|
|
@ -52,7 +52,7 @@ class _DoorcarTabPageState extends State<DoorcarTabPage> {
|
|||
AppSectionItem(
|
||||
title: '进港口门申请',
|
||||
icon: 'assets/images/door_ico9.png',
|
||||
menuPerms:'',
|
||||
menuPerms:'dashboard-Gate-Access-Control-Port-Gate-Entry-Application',
|
||||
badge: 0,
|
||||
onTap: () async {
|
||||
await pushPage(DoorareaTypePage(1), context);
|
||||
|
|
@ -62,7 +62,7 @@ class _DoorcarTabPageState extends State<DoorcarTabPage> {
|
|||
AppSectionItem(
|
||||
title: '进港口门申请记录',
|
||||
icon: 'assets/images/door_ico10.png',
|
||||
menuPerms:'',
|
||||
menuPerms:'dashboard-Gate-Access-Crdtrol-Port-Gate-Entry-Record',
|
||||
badge: 0,
|
||||
onTap: () async {
|
||||
await pushPage(DoorareaTypePage(2), context);
|
||||
|
|
@ -75,7 +75,7 @@ class _DoorcarTabPageState extends State<DoorcarTabPage> {
|
|||
AppSectionItem(
|
||||
title: '封闭区域口门申请',
|
||||
icon: 'assets/images/door_ico9.png',
|
||||
menuPerms:'',
|
||||
menuPerms:'dashboard-Area-Access-Cionsedrol-Closed-Area-Gate-Application',
|
||||
badge: 0,
|
||||
onTap: () async {
|
||||
await pushPage(DoorareaTypePage(3), context);
|
||||
|
|
@ -85,7 +85,7 @@ class _DoorcarTabPageState extends State<DoorcarTabPage> {
|
|||
AppSectionItem(
|
||||
title: '封闭区域口门申请记录',
|
||||
icon: 'assets/images/door_ico10.png',
|
||||
menuPerms:'',
|
||||
menuPerms:'dashboard-Area-Access-Crdsedrol-Closed-Area-Gate-Record',
|
||||
badge: 0,
|
||||
onTap: () async {
|
||||
await pushPage(DoorareaTypePage(4), context);
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
import 'dart:convert';
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:qhd_prevention/common/route_service.dart';
|
||||
import 'package:qhd_prevention/customWidget/toast_util.dart';
|
||||
import 'package:qhd_prevention/http/modules/doorAndCar_api.dart';
|
||||
import 'package:qhd_prevention/pages/home/doorAndCar/car/doorArea_car_add_page.dart';
|
||||
|
|
@ -59,11 +60,16 @@ class _DoorareaPersonRecordPageState extends State<DoorareaPersonRecordPage> {
|
|||
@override
|
||||
void initState() {
|
||||
super.initState();
|
||||
|
||||
final routeService = RouteService();
|
||||
switch(widget.type){
|
||||
case 1://1 进港口门申请(人)
|
||||
titleName='人员申请';
|
||||
buttonName='查看';
|
||||
|
||||
// bool showAdd= routeService.hasPerm('dashboard-Port-Gate-Entry-Application-Personnel-Application');
|
||||
// if(showAdd){
|
||||
//
|
||||
// }
|
||||
isAdd=true;
|
||||
xgfDataApplyListData['processOrRecord']=1;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue