封闭区域相关方端

master
LiuJiaNan 2026-02-07 10:14:43 +08:00
parent 90c6ad1686
commit 589c4460bb
34 changed files with 197 additions and 25 deletions

View File

@ -59,6 +59,12 @@
- `/primeport/container/stakeholder/firstLevelDoor/personnelApplicationRecords/list` 人员申请记录
- `/primeport/container/stakeholder/firstLevelDoor/vehicleApplicationRecords/list` 车辆申请记录
#### 封闭区域管理
- `/primeport/container/stakeholder/enclosedArea/apply/personnel/list` 封闭区域申请/人员封闭区域申请
- `/primeport/container/stakeholder/enclosedArea/apply/vehicle/list` 封闭区域申请/车辆封闭区域申请
- `/primeport/container/stakeholder/enclosedArea/apply/personnelRecords/list` 封闭区域申请/人员封闭区域申请记录
- `/primeport/container/stakeholder/enclosedArea/apply/vehicleRecords/list` 封闭区域申请/车辆封闭区域申请记录
### H5端
- `/primeport/container/mobile/firstLevelDoor/personnelApplication/apply` 人员申请/申请

View File

@ -0,0 +1,7 @@
import AddPage from "~/pages/Container/Supervision/EnclosedArea/Apply/Personnel/Add";
function Add(props) {
return (<AddPage entrance="stakeholder" {...props} />);
}
export default Add;

View File

@ -0,0 +1,7 @@
import ListPage from "~/pages/Container/Supervision/EnclosedArea/Apply/Personnel/List";
function List(props) {
return (<ListPage entrance="stakeholder" {...props} />);
}
export default List;

View File

@ -0,0 +1,7 @@
import ViewPage from "~/pages/Container/Supervision/EnclosedArea/Apply/Personnel/View";
function View(props) {
return (<ViewPage entrance="stakeholder" {...props} />);
}
export default View;

View File

@ -0,0 +1,5 @@
function Personnel(props) {
return props.children;
}
export default Personnel;

View File

@ -0,0 +1,7 @@
import ListPage from "~/pages/Container/Supervision/EnclosedArea/Apply/PersonnelRecords/List";
function List(props) {
return (<ListPage entrance="stakeholder" {...props} />);
}
export default List;

View File

@ -0,0 +1,7 @@
import ViewPage from "~/pages/Container/Supervision/EnclosedArea/Apply/PersonnelRecords/View";
function View(props) {
return (<ViewPage entrance="stakeholder" {...props} />);
}
export default View;

View File

@ -0,0 +1,5 @@
function PersonnelRecords(props) {
return props.children;
}
export default PersonnelRecords;

View File

@ -0,0 +1,7 @@
import AddPage from "~/pages/Container/Supervision/EnclosedArea/Apply/Vehicle/Add";
function Add(props) {
return (<AddPage entrance="stakeholder" {...props} />);
}
export default Add;

View File

@ -0,0 +1,7 @@
import ListPage from "~/pages/Container/Supervision/EnclosedArea/Apply/Vehicle/List";
function List(props) {
return (<ListPage entrance="stakeholder" {...props} />);
}
export default List;

View File

@ -0,0 +1,7 @@
import ViewPage from "~/pages/Container/Supervision/EnclosedArea/Apply/Vehicle/View";
function View(props) {
return (<ViewPage entrance="stakeholder" {...props} />);
}
export default View;

View File

@ -0,0 +1,5 @@
function Vehicle(props) {
return props.children;
}
export default Vehicle;

View File

@ -0,0 +1,7 @@
import ListPage from "~/pages/Container/Supervision/EnclosedArea/Apply/VehicleRecords/List";
function List(props) {
return (<ListPage entrance="stakeholder" {...props} />);
}
export default List;

View File

@ -0,0 +1,7 @@
import ViewPage from "~/pages/Container/Supervision/EnclosedArea/Apply/VehicleRecords/View";
function View(props) {
return (<ViewPage entrance="stakeholder" {...props} />);
}
export default View;

View File

@ -0,0 +1,5 @@
function VehicleRecords(props) {
return props.children;
}
export default VehicleRecords;

View File

@ -0,0 +1,5 @@
function Apply(props) {
return props.children;
}
export default Apply;

View File

@ -0,0 +1,5 @@
function EnclosedArea(props) {
return props.children;
}
export default EnclosedArea;

View File

@ -45,6 +45,15 @@ function Add(props) {
submitButtonText="提交申请"
onFinish={onSubmit}
options={[
{
name: "todo0",
label: "项目",
tip: "如果无法找到相应的项目,请在“项目审核管理”栏目中查看,项目是否备案审核成功。",
span: 24,
render: FORM_ITEM_RENDER_ENUM.SELECT,
items: [],
hidden: !(props.entrance === "stakeholder"),
},
{
name: "todo1",
label: "区域管辖单位",
@ -58,9 +67,18 @@ function Add(props) {
/>
),
},
{ name: "todo2", label: "封闭区域", render: (<BasicSelectTree treeData={enclosedAreaList} placeholder="封闭区域" />) },
{
name: "todo2",
label: "封闭区域",
render: (<BasicSelectTree treeData={enclosedAreaList} placeholder="封闭区域" />),
},
{ name: "todo4", label: "审核人员", render: FORM_ITEM_RENDER_ENUM.SELECT, items: [] },
{ name: "todo5", label: "申请时间范围", render: FORM_ITEM_RENDER_ENUM.DATE_RANGE },
{
name: "todo5",
label: "申请时间范围",
render: FORM_ITEM_RENDER_ENUM.DATE_RANGE,
componentProps: { disabled: props.entrance === "stakeholder" },
},
{
label: "随行人员",
span: 24,

View File

@ -42,6 +42,7 @@ function List(props) {
{ title: "申请区域", dataIndex: "todo4" },
{ title: "申请时间范围", dataIndex: "todo5", render: (_, record) => `${record.todo5} - ${record.todo6}` },
{ title: "个人照片", dataIndex: "todo7", render: (_, record) => <TooltipPreviewImg files={record.todo7} /> },
{ title: "所属项目", dataIndex: "todo9", hidden: !(props.entrance === "stakeholder") },
{ title: "申请状态", dataIndex: "todo8" },
{
title: "操作",

View File

@ -30,7 +30,16 @@ function View(props) {
column={2}
styles={{ label: { width: 200 } }}
items={[
{ label: "所属企业", children: info.todo1 },
...(
props.entrance === "stakeholder"
? [
{ label: "相关方名称", children: info.todo1 },
{ label: "所属项目", children: info.todo1 },
]
: [
{ label: "所属企业", children: info.todo1 },
]
),
{ label: "姓名", children: info.todo2 },
{ label: "部门", children: info.todo3 },
{ label: "手机号", children: info.todo4 },

View File

@ -35,6 +35,7 @@ function List(props) {
{ title: "申请区域", dataIndex: "todo4" },
{ title: "申请时间范围", dataIndex: "todo5", render: (_, record) => `${record.todo5} - ${record.todo6}` },
{ title: "个人照片", dataIndex: "todo7", render: (_, record) => <TooltipPreviewImg files={record.todo7} /> },
{ title: "所属项目", dataIndex: "todo9", hidden: !(props.entrance === "stakeholder") },
{ title: "申请状态", dataIndex: "todo8" },
{
title: "操作",

View File

@ -0,0 +1,5 @@
function PersonnelRecords(props) {
return props.children;
}
export default PersonnelRecords;

View File

@ -57,6 +57,15 @@ function Add(props) {
submitButtonText="提交申请"
onFinish={onSubmit}
options={[
{
name: "todo0",
label: "项目",
tip: "如果无法找到相应的项目,请在“项目审核管理”栏目中查看,项目是否备案审核成功。",
span: 24,
render: FORM_ITEM_RENDER_ENUM.SELECT,
items: [],
hidden: !(props.entrance === "stakeholder"),
},
{
name: "todo1",
label: "区域管辖单位",
@ -70,9 +79,18 @@ function Add(props) {
/>
),
},
{ name: "todo2", label: "封闭区域", render: (<BasicSelectTree treeData={enclosedAreaList} placeholder="封闭区域" />) },
{
name: "todo2",
label: "封闭区域",
render: (<BasicSelectTree treeData={enclosedAreaList} placeholder="封闭区域" />),
},
{ name: "todo4", label: "审核人员", render: FORM_ITEM_RENDER_ENUM.SELECT, items: [] },
{ name: "todo5", label: "申请时间范围", render: FORM_ITEM_RENDER_ENUM.DATE_RANGE },
{
name: "todo5",
label: "申请时间范围",
render: FORM_ITEM_RENDER_ENUM.DATE_RANGE,
componentProps: { disabled: props.entrance === "stakeholder" },
},
{
name: "todo6",
label: "车辆类型",
@ -86,6 +104,7 @@ function Add(props) {
setVehicleList([]);
},
},
hidden: props.entrance === "stakeholder",
},
...(todo6 === 1
? [
@ -139,7 +158,12 @@ function Add(props) {
},
]
: []),
...(todo6 === 2
...(props.entrance === "stakeholder"
? [
{ name: "todo92", label: "驾驶人员", render: FORM_ITEM_RENDER_ENUM.SELECT, items: [] },
]
: []),
...(todo6 === 2 || props.entrance === "stakeholder"
? [
{ name: "todo7", label: "车牌类型", render: (<DictionarySelect dictValue="LICENSE_PLATE_TYPE" />) },
{ name: "todo8", label: "车辆类型", render: (<DictionarySelect dictValue="VEHICLE_TYPE" />) },

View File

@ -38,13 +38,14 @@ function List(props) {
columns={[
{ title: "车辆类型", dataIndex: "todo1" },
{ title: "驾驶人", dataIndex: "todo2" },
{ title: "职务", dataIndex: "todo3" },
{ title: "部门", dataIndex: "todo3" },
{ title: "手机号", dataIndex: "todo4" },
{ title: "申请区域", dataIndex: "todo5" },
{ title: "申请时间范围", dataIndex: "todo6", render: (_, record) => `${record.todo6} - ${record.todo7}` },
{ title: "申请原因", dataIndex: "todo7" },
{ title: "车牌号", dataIndex: "todo8" },
{ title: "车辆照片", dataIndex: "todo9", render: (_, record) => <TooltipPreviewImg files={record.todo9} /> },
{ title: "所属项目", dataIndex: "todo9", hidden: !(props.entrance === "stakeholder") },
{ title: "申请状态", dataIndex: "todo10" },
{
title: "操作",

View File

@ -30,17 +30,28 @@ function View(props) {
column={2}
styles={{ label: { width: 200 } }}
items={[
{ label: "所属企业", children: info.todo1 },
...(
props.entrance === "stakeholder"
? [
{ label: "相关方名称", children: info.todo1 },
{ label: "所属项目", children: info.todo1 },
]
: [
{ label: "所属企业", children: info.todo1 },
]
),
{ label: "姓名", children: info.todo2 },
{ label: "职务", children: info.todo3 },
{ label: "部门", children: info.todo3 },
{ label: "手机号", children: info.todo4 },
{ label: "申请区域", children: info.todo5 },
{ label: "申请时间范围", children: `${info.todo6} - ${info.todo7}` },
{ label: "车辆类型", children: info.todo8 },
{ label: "车辆照片", children: (<PreviewImg files={info.todo9} />) },
{ label: "行驶证照片", children: (<PreviewImg files={info.todo10} />) },
{ label: "申请原因", children: info.todo11 },
{ label: "申请人员签字", children: (<PreviewImg files={info.todo12} />) },
{ label: "车牌号", children: info.todo8 },
{ label: "车牌类型", children: info.todo9 },
{ label: "车辆类型", children: info.todo10 },
{ label: "车辆照片", children: (<PreviewImg files={info.todo11} />) },
{ label: "行驶证照片", children: (<PreviewImg files={info.todo12} />) },
{ label: "申请原因", children: info.todo13 },
{ label: "申请人员签字", children: (<PreviewImg files={info.todo14} />) },
]}
/>
{props.children}

View File

@ -37,6 +37,7 @@ function List(props) {
{ title: "申请原因", dataIndex: "todo7" },
{ title: "车牌号", dataIndex: "todo8" },
{ title: "车辆照片", dataIndex: "todo9", render: (_, record) => <TooltipPreviewImg files={record.todo9} /> },
{ title: "所属项目", dataIndex: "todo9", hidden: !(props.entrance === "stakeholder") },
{ title: "申请状态", dataIndex: "todo10" },
{
title: "操作",

View File

@ -4,7 +4,7 @@ import { useEffect, useState } from "react";
import Table from "zy-react-library/components/Table";
import useGetUrlQuery from "zy-react-library/hooks/useGetUrlQuery";
import { NS_ENCLOSED_AREA_VEHICLE_APPLY } from "~/enumerate/namespace";
import ViewPage from "../../Personnel/View";
import ViewPage from "../../Vehicle/View";
function View(props) {
const [accessRecordsList, setAccessRecordsList] = useState([]);

View File

@ -1,5 +0,0 @@
function personnelRecords(props) {
return props.children;
}
export default personnelRecords;

View File

@ -0,0 +1,5 @@
function PersonnelAndVehicleStatistics(props) {
return props.children;
}
export default PersonnelAndVehicleStatistics;

View File

@ -1,5 +0,0 @@
function personnelAndVehicleStatistics(props) {
return props.children;
}
export default personnelAndVehicleStatistics;