封闭区域企业端
parent
fd54edf0dd
commit
42867900d1
|
|
@ -42,6 +42,15 @@
|
||||||
- `/primeport/container/enterprise/firstLevelDoor/importAndExportPortInfo/vehiclesViolation/vehiclesViolation/list` 进出港信息管理/车辆违规管理/车辆违规管理
|
- `/primeport/container/enterprise/firstLevelDoor/importAndExportPortInfo/vehiclesViolation/vehiclesViolation/list` 进出港信息管理/车辆违规管理/车辆违规管理
|
||||||
- `/primeport/container/enterprise/firstLevelDoor/importAndExportPortInfo/vehiclesViolation/vehicleBlacklist/list` 进出港信息管理/车辆违规管理/车辆黑名单管理
|
- `/primeport/container/enterprise/firstLevelDoor/importAndExportPortInfo/vehiclesViolation/vehicleBlacklist/list` 进出港信息管理/车辆违规管理/车辆黑名单管理
|
||||||
|
|
||||||
|
#### 封闭区域管理
|
||||||
|
- `/primeport/container/enterprise/enclosedArea/areaAndEntrance/enclosedArea/list` 封闭区域管理/封闭区域管理
|
||||||
|
- `/primeport/container/enterprise/enclosedArea/areaAndEntrance/enclosedAreaDoor/list` 封闭区域管理/封闭区域口门管理
|
||||||
|
- `/primeport/container/enterprise/enclosedArea/apply/personnel/list` 封闭区域申请/人员封闭区域申请
|
||||||
|
- `/primeport/container/enterprise/enclosedArea/apply/vehicle/list` 封闭区域申请/车辆封闭区域申请
|
||||||
|
- `/primeport/container/enterprise/enclosedArea/apply/personnelRecords/list` 封闭区域申请/人员封闭区域申请记录
|
||||||
|
- `/primeport/container/enterprise/enclosedArea/apply/vehicleRecords/list` 封闭区域申请/车辆封闭区域申请记录
|
||||||
|
- `/primeport/container/enterprise/enclosedArea/personnelAndVehicleStatistics/list` 区域人员及车辆统计
|
||||||
|
|
||||||
|
|
||||||
### 相关方端
|
### 相关方端
|
||||||
#### 一级口门管理
|
#### 一级口门管理
|
||||||
|
|
|
||||||
|
|
@ -217,10 +217,12 @@ const ElectronicFenceModal = (props) => {
|
||||||
mapInstanceRef.current = viewer;
|
mapInstanceRef.current = viewer;
|
||||||
flyTo({ longitude: window.mapLongitude, latitude: window.mapLatitude, height: 900000 });
|
flyTo({ longitude: window.mapLongitude, latitude: window.mapLatitude, height: 900000 });
|
||||||
|
|
||||||
|
if (!props.disabled) {
|
||||||
// 设置鼠标点击事件
|
// 设置鼠标点击事件
|
||||||
const handler = new window.Cesium.ScreenSpaceEventHandler(viewer.scene.canvas);
|
const handler = new window.Cesium.ScreenSpaceEventHandler(viewer.scene.canvas);
|
||||||
handler.setInputAction(handleMapClick, window.Cesium.ScreenSpaceEventType.LEFT_CLICK);
|
handler.setInputAction(handleMapClick, window.Cesium.ScreenSpaceEventType.LEFT_CLICK);
|
||||||
handlerRef.current = handler;
|
handlerRef.current = handler;
|
||||||
|
}
|
||||||
|
|
||||||
// 如果传入了position参数,则绘制已存在的围栏
|
// 如果传入了position参数,则绘制已存在的围栏
|
||||||
if (position) {
|
if (position) {
|
||||||
|
|
@ -323,6 +325,9 @@ const ElectronicFenceModal = (props) => {
|
||||||
style={{ width: "100%", height: "500px" }}
|
style={{ width: "100%", height: "500px" }}
|
||||||
/>
|
/>
|
||||||
<div style={{ display: "flex", gap: 15, alignItems: "center", marginTop: 16 }}>
|
<div style={{ display: "flex", gap: 15, alignItems: "center", marginTop: 16 }}>
|
||||||
|
{
|
||||||
|
!props.disabled && (
|
||||||
|
<>
|
||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
display: "flex",
|
display: "flex",
|
||||||
|
|
@ -348,6 +353,9 @@ const ElectronicFenceModal = (props) => {
|
||||||
<DeleteOutlined style={{ fontSize: 16 }} />
|
<DeleteOutlined style={{ fontSize: 16 }} />
|
||||||
<span style={{ fontSize: 12, color: "#666" }}>清除绘制</span>
|
<span style={{ fontSize: 12, color: "#666" }}>清除绘制</span>
|
||||||
</div>
|
</div>
|
||||||
|
</>
|
||||||
|
)
|
||||||
|
}
|
||||||
<div style={{ flex: 1, display: "flex", alignItems: "center", gap: 8 }}>
|
<div style={{ flex: 1, display: "flex", alignItems: "center", gap: 8 }}>
|
||||||
<div style={{ width: "100px" }}>区域经纬度:</div>
|
<div style={{ width: "100px" }}>区域经纬度:</div>
|
||||||
<Input value={latitudeAndLongitudeSet} readOnly />
|
<Input value={latitudeAndLongitudeSet} readOnly />
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
import AddPage from "~/pages/Container/Supervision/EnclosedArea/Apply/Personnel/Add";
|
||||||
|
|
||||||
|
function Add(props) {
|
||||||
|
return (<AddPage {...props} />);
|
||||||
|
}
|
||||||
|
|
||||||
|
export default Add;
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
import ListPage from "~/pages/Container/Supervision/EnclosedArea/Apply/Personnel/List";
|
||||||
|
|
||||||
|
function List(props) {
|
||||||
|
return (<ListPage {...props} />);
|
||||||
|
}
|
||||||
|
|
||||||
|
export default List;
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
import ViewPage from "~/pages/Container/Supervision/EnclosedArea/Apply/Personnel/View";
|
||||||
|
|
||||||
|
function View(props) {
|
||||||
|
return (<ViewPage {...props} />);
|
||||||
|
}
|
||||||
|
|
||||||
|
export default View;
|
||||||
|
|
@ -0,0 +1,5 @@
|
||||||
|
function Personnel(props) {
|
||||||
|
return props.children;
|
||||||
|
}
|
||||||
|
|
||||||
|
export default Personnel;
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
import ListPage from "~/pages/Container/Supervision/EnclosedArea/Apply/PersonnelRecords/List";
|
||||||
|
|
||||||
|
function List(props) {
|
||||||
|
return (<ListPage {...props} />);
|
||||||
|
}
|
||||||
|
|
||||||
|
export default List;
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
import ViewPage from "~/pages/Container/Supervision/EnclosedArea/Apply/PersonnelRecords/View";
|
||||||
|
|
||||||
|
function View(props) {
|
||||||
|
return (<ViewPage {...props} />);
|
||||||
|
}
|
||||||
|
|
||||||
|
export default View;
|
||||||
|
|
@ -0,0 +1,5 @@
|
||||||
|
function PersonnelRecords(props) {
|
||||||
|
return props.children;
|
||||||
|
}
|
||||||
|
|
||||||
|
export default PersonnelRecords;
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
import AddPage from "~/pages/Container/Supervision/EnclosedArea/Apply/Vehicle/Add";
|
||||||
|
|
||||||
|
function Add(props) {
|
||||||
|
return (<AddPage entrance="enterprise" {...props} />);
|
||||||
|
}
|
||||||
|
|
||||||
|
export default Add;
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
import ListPage from "~/pages/Container/Supervision/EnclosedArea/Apply/Vehicle/List";
|
||||||
|
|
||||||
|
function List(props) {
|
||||||
|
return (<ListPage {...props} />);
|
||||||
|
}
|
||||||
|
|
||||||
|
export default List;
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
import ViewPage from "~/pages/Container/Supervision/EnclosedArea/Apply/Vehicle/View";
|
||||||
|
|
||||||
|
function View(props) {
|
||||||
|
return (<ViewPage {...props} />);
|
||||||
|
}
|
||||||
|
|
||||||
|
export default View;
|
||||||
|
|
@ -0,0 +1,5 @@
|
||||||
|
function Personnel(props) {
|
||||||
|
return props.children;
|
||||||
|
}
|
||||||
|
|
||||||
|
export default Personnel;
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
import ListPage from "~/pages/Container/Supervision/EnclosedArea/Apply/VehicleRecords/List";
|
||||||
|
|
||||||
|
function List(props) {
|
||||||
|
return (<ListPage {...props} />);
|
||||||
|
}
|
||||||
|
|
||||||
|
export default List;
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
import ViewPage from "~/pages/Container/Supervision/EnclosedArea/Apply/VehicleRecords/View";
|
||||||
|
|
||||||
|
function View(props) {
|
||||||
|
return (<ViewPage {...props} />);
|
||||||
|
}
|
||||||
|
|
||||||
|
export default View;
|
||||||
|
|
@ -0,0 +1,5 @@
|
||||||
|
function VehicleRecords(props) {
|
||||||
|
return props.children;
|
||||||
|
}
|
||||||
|
|
||||||
|
export default VehicleRecords;
|
||||||
|
|
@ -0,0 +1,5 @@
|
||||||
|
function Apply(props) {
|
||||||
|
return props.children;
|
||||||
|
}
|
||||||
|
|
||||||
|
export default Apply;
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
import DetailListPage from "~/pages/Container/Supervision/EnclosedArea/AreaAndEntrance/EnclosedArea/DetailList";
|
||||||
|
|
||||||
|
function DetailList(props) {
|
||||||
|
return (<DetailListPage entrance="enterprise" {...props} />);
|
||||||
|
}
|
||||||
|
|
||||||
|
export default DetailList;
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
import ListPage from "~/pages/Container/Supervision/EnclosedArea/AreaAndEntrance/EnclosedArea/List";
|
||||||
|
|
||||||
|
function List(props) {
|
||||||
|
return (<ListPage {...props} />);
|
||||||
|
}
|
||||||
|
|
||||||
|
export default List;
|
||||||
|
|
@ -0,0 +1,5 @@
|
||||||
|
function EnclosedArea(props) {
|
||||||
|
return props.children;
|
||||||
|
}
|
||||||
|
|
||||||
|
export default EnclosedArea;
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
import ListPage from "~/pages/Container/Supervision/EnclosedArea/AreaAndEntrance/EnclosedAreaDoor/Camera/List";
|
||||||
|
|
||||||
|
function List(props) {
|
||||||
|
return (<ListPage entrance="enterprise" {...props} />);
|
||||||
|
}
|
||||||
|
|
||||||
|
export default List;
|
||||||
|
|
@ -0,0 +1,5 @@
|
||||||
|
function Camera(props) {
|
||||||
|
return props.children;
|
||||||
|
}
|
||||||
|
|
||||||
|
export default Camera;
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
import CameraPage from "~/pages/Container/Supervision/EnclosedArea/AreaAndEntrance/EnclosedAreaDoor/Channel/Camera";
|
||||||
|
|
||||||
|
function Camera(props) {
|
||||||
|
return (<CameraPage entrance="enterprise" {...props} />);
|
||||||
|
}
|
||||||
|
|
||||||
|
export default Camera;
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
import FareGatePage from "~/pages/Container/Supervision/EnclosedArea/AreaAndEntrance/EnclosedAreaDoor/Channel/FareGate";
|
||||||
|
|
||||||
|
function FareGate(props) {
|
||||||
|
return (<FareGatePage entrance="enterprise" {...props} />);
|
||||||
|
}
|
||||||
|
|
||||||
|
export default FareGate;
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
import ListPage from "~/pages/Container/Supervision/EnclosedArea/AreaAndEntrance/EnclosedAreaDoor/Channel/List";
|
||||||
|
|
||||||
|
function List(props) {
|
||||||
|
return (<ListPage entrance="enterprise" {...props} />);
|
||||||
|
}
|
||||||
|
|
||||||
|
export default List;
|
||||||
|
|
@ -0,0 +1,5 @@
|
||||||
|
function Channel(props) {
|
||||||
|
return props.children;
|
||||||
|
}
|
||||||
|
|
||||||
|
export default Channel;
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
import ListPage from "~/pages/Container/Supervision/EnclosedArea/AreaAndEntrance/EnclosedAreaDoor/List";
|
||||||
|
|
||||||
|
function List(props) {
|
||||||
|
return (<ListPage entrance="enterprise" {...props} />);
|
||||||
|
}
|
||||||
|
|
||||||
|
export default List;
|
||||||
|
|
@ -0,0 +1,5 @@
|
||||||
|
function EnclosedAreaDoor(props) {
|
||||||
|
return props.children;
|
||||||
|
}
|
||||||
|
|
||||||
|
export default EnclosedAreaDoor;
|
||||||
|
|
@ -0,0 +1,5 @@
|
||||||
|
function AreaAndEntrance(props) {
|
||||||
|
return props.children;
|
||||||
|
}
|
||||||
|
|
||||||
|
export default AreaAndEntrance;
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
import ListPage from "~/pages/Container/Supervision/EnclosedArea/PersonnelAndVehicleStatistics/List";
|
||||||
|
|
||||||
|
function List(props) {
|
||||||
|
return (<ListPage {...props} />);
|
||||||
|
}
|
||||||
|
|
||||||
|
export default List;
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
import PersonnelEntryAndExitRecordsPage from "~/pages/Container/Supervision/EnclosedArea/PersonnelAndVehicleStatistics/PersonnelEntryAndExitRecords";
|
||||||
|
|
||||||
|
function PersonnelEntryAndExitRecords(props) {
|
||||||
|
return (<PersonnelEntryAndExitRecordsPage {...props} />);
|
||||||
|
}
|
||||||
|
|
||||||
|
export default PersonnelEntryAndExitRecords;
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
import VehicleEntryAndExitRecordsPage from "~/pages/Container/Supervision/EnclosedArea/PersonnelAndVehicleStatistics/VehicleEntryAndExitRecords";
|
||||||
|
|
||||||
|
function VehicleEntryAndExitRecords(props) {
|
||||||
|
return (<VehicleEntryAndExitRecordsPage {...props} />);
|
||||||
|
}
|
||||||
|
|
||||||
|
export default VehicleEntryAndExitRecords;
|
||||||
|
|
@ -0,0 +1,5 @@
|
||||||
|
function PersonnelAndVehicleStatistics(props) {
|
||||||
|
return props.children;
|
||||||
|
}
|
||||||
|
|
||||||
|
export default PersonnelAndVehicleStatistics;
|
||||||
|
|
@ -66,6 +66,14 @@ function Add(props) {
|
||||||
items: [],
|
items: [],
|
||||||
hidden: !(props.entrance === "stakeholder"),
|
hidden: !(props.entrance === "stakeholder"),
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: "todo00",
|
||||||
|
label: "是否申请本公司区域",
|
||||||
|
span: 24,
|
||||||
|
render: FORM_ITEM_RENDER_ENUM.RADIO,
|
||||||
|
items: [{ bianma: 1, name: "是" }, { bianma: 2, name: "否" }],
|
||||||
|
hidden: !(props.entrance === "enterprise"),
|
||||||
|
},
|
||||||
{
|
{
|
||||||
name: "todo1",
|
name: "todo1",
|
||||||
label: "区域管辖单位",
|
label: "区域管辖单位",
|
||||||
|
|
@ -78,6 +86,12 @@ function Add(props) {
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
),
|
),
|
||||||
|
dependencies: ["todo00"],
|
||||||
|
hidden: (formValues) => {
|
||||||
|
if (props.entrance !== "enterprise")
|
||||||
|
return false;
|
||||||
|
return !(formValues.todo00 === 2 || formValues.todo00 === null);
|
||||||
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "todo2",
|
name: "todo2",
|
||||||
|
|
@ -94,6 +108,7 @@ function Add(props) {
|
||||||
{
|
{
|
||||||
name: "todo6",
|
name: "todo6",
|
||||||
label: "车辆类型",
|
label: "车辆类型",
|
||||||
|
span: 24,
|
||||||
render: FORM_ITEM_RENDER_ENUM.RADIO,
|
render: FORM_ITEM_RENDER_ENUM.RADIO,
|
||||||
items: [
|
items: [
|
||||||
{ bianma: 1, name: "选择现有车辆" },
|
{ bianma: 1, name: "选择现有车辆" },
|
||||||
|
|
|
||||||
|
|
@ -84,6 +84,7 @@ function DetailList(props) {
|
||||||
<Table
|
<Table
|
||||||
toolBarRender={() => (
|
toolBarRender={() => (
|
||||||
<Space>
|
<Space>
|
||||||
|
{props.entrance !== "enterprise" && (
|
||||||
<Button
|
<Button
|
||||||
type="primary"
|
type="primary"
|
||||||
icon={(<AddIcon />)}
|
icon={(<AddIcon />)}
|
||||||
|
|
@ -93,6 +94,7 @@ function DetailList(props) {
|
||||||
>
|
>
|
||||||
新增区域
|
新增区域
|
||||||
</Button>
|
</Button>
|
||||||
|
)}
|
||||||
{
|
{
|
||||||
urlState.parentId !== query.id && (
|
urlState.parentId !== query.id && (
|
||||||
<Button
|
<Button
|
||||||
|
|
@ -136,6 +138,7 @@ function DetailList(props) {
|
||||||
fixed: "right",
|
fixed: "right",
|
||||||
render: (_, record) => (
|
render: (_, record) => (
|
||||||
<Space>
|
<Space>
|
||||||
|
{props.entrance !== "enterprise" && (
|
||||||
<Button
|
<Button
|
||||||
type="link"
|
type="link"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
|
|
@ -145,6 +148,7 @@ function DetailList(props) {
|
||||||
>
|
>
|
||||||
修改
|
修改
|
||||||
</Button>
|
</Button>
|
||||||
|
)}
|
||||||
<Button
|
<Button
|
||||||
type="link"
|
type="link"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
|
|
@ -154,6 +158,7 @@ function DetailList(props) {
|
||||||
>
|
>
|
||||||
电子围栏
|
电子围栏
|
||||||
</Button>
|
</Button>
|
||||||
|
{props.entrance !== "enterprise" && (
|
||||||
<Button
|
<Button
|
||||||
type="link"
|
type="link"
|
||||||
danger
|
danger
|
||||||
|
|
@ -163,6 +168,7 @@ function DetailList(props) {
|
||||||
>
|
>
|
||||||
删除
|
删除
|
||||||
</Button>
|
</Button>
|
||||||
|
)}
|
||||||
</Space>
|
</Space>
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
|
|
@ -192,6 +198,7 @@ function DetailList(props) {
|
||||||
setCurrentId("");
|
setCurrentId("");
|
||||||
}}
|
}}
|
||||||
onOk={onSaveElectronicFence}
|
onOk={onSaveElectronicFence}
|
||||||
|
disabled={props.entrance === "enterprise"}
|
||||||
/>
|
/>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -64,6 +64,8 @@ function List(props) {
|
||||||
/>
|
/>
|
||||||
<Table
|
<Table
|
||||||
toolBarRender={() => (
|
toolBarRender={() => (
|
||||||
|
<Space>
|
||||||
|
{props.entrance !== "enterprise" && (
|
||||||
<Button
|
<Button
|
||||||
type="primary"
|
type="primary"
|
||||||
icon={(<AddIcon />)}
|
icon={(<AddIcon />)}
|
||||||
|
|
@ -74,6 +76,8 @@ function List(props) {
|
||||||
新增
|
新增
|
||||||
</Button>
|
</Button>
|
||||||
)}
|
)}
|
||||||
|
</Space>
|
||||||
|
)}
|
||||||
columns={[
|
columns={[
|
||||||
{ title: "所属区域", dataIndex: "areaParentName" },
|
{ title: "所属区域", dataIndex: "areaParentName" },
|
||||||
{
|
{
|
||||||
|
|
@ -109,6 +113,7 @@ function List(props) {
|
||||||
>
|
>
|
||||||
查看
|
查看
|
||||||
</Button>
|
</Button>
|
||||||
|
{props.entrance !== "enterprise" && (
|
||||||
<Button
|
<Button
|
||||||
type="link"
|
type="link"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
|
|
@ -118,6 +123,8 @@ function List(props) {
|
||||||
>
|
>
|
||||||
编辑
|
编辑
|
||||||
</Button>
|
</Button>
|
||||||
|
)}
|
||||||
|
{props.entrance !== "enterprise" && (
|
||||||
<Button
|
<Button
|
||||||
type="link"
|
type="link"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
|
|
@ -126,13 +133,14 @@ function List(props) {
|
||||||
>
|
>
|
||||||
{record.status === 1 ? "停用" : "开启"}
|
{record.status === 1 ? "停用" : "开启"}
|
||||||
</Button>
|
</Button>
|
||||||
|
)}
|
||||||
<Button
|
<Button
|
||||||
type="link"
|
type="link"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
props.history.push(`./channel/list?areaId=${record.id}`);
|
props.history.push(`./channel/list?areaId=${record.id}`);
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
添加通道
|
{props.entrance !== "enterprise" ? "添加通道" : "查看通道"}
|
||||||
</Button>
|
</Button>
|
||||||
<Button
|
<Button
|
||||||
type="link"
|
type="link"
|
||||||
|
|
@ -140,7 +148,7 @@ function List(props) {
|
||||||
props.history.push(`./camera/list?areaId=${record.id}`);
|
props.history.push(`./camera/list?areaId=${record.id}`);
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
添加摄像头
|
{props.entrance !== "enterprise" ? "添加摄像头" : "查看摄像头"}
|
||||||
</Button>
|
</Button>
|
||||||
</Space>
|
</Space>
|
||||||
),
|
),
|
||||||
|
|
|
||||||
|
|
@ -87,6 +87,7 @@ function List(props) {
|
||||||
}}
|
}}
|
||||||
toolBarRender={() => (
|
toolBarRender={() => (
|
||||||
<Space>
|
<Space>
|
||||||
|
{props.entrance !== "enterprise" && (
|
||||||
<Button
|
<Button
|
||||||
type="primary"
|
type="primary"
|
||||||
icon={<AddIcon />}
|
icon={<AddIcon />}
|
||||||
|
|
@ -96,6 +97,7 @@ function List(props) {
|
||||||
>
|
>
|
||||||
新增
|
新增
|
||||||
</Button>
|
</Button>
|
||||||
|
)}
|
||||||
<Button
|
<Button
|
||||||
type="primary"
|
type="primary"
|
||||||
icon={<VideoIcon />}
|
icon={<VideoIcon />}
|
||||||
|
|
@ -136,6 +138,7 @@ function List(props) {
|
||||||
>
|
>
|
||||||
查看
|
查看
|
||||||
</Button>
|
</Button>
|
||||||
|
{props.entrance !== "enterprise" && (
|
||||||
<Button
|
<Button
|
||||||
type="link"
|
type="link"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
|
|
@ -145,6 +148,8 @@ function List(props) {
|
||||||
>
|
>
|
||||||
编辑
|
编辑
|
||||||
</Button>
|
</Button>
|
||||||
|
)}
|
||||||
|
{props.entrance !== "enterprise" && (
|
||||||
<Button
|
<Button
|
||||||
type="link"
|
type="link"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
|
|
@ -154,6 +159,8 @@ function List(props) {
|
||||||
>
|
>
|
||||||
定位
|
定位
|
||||||
</Button>
|
</Button>
|
||||||
|
)}
|
||||||
|
{props.entrance !== "enterprise" && (
|
||||||
<Button
|
<Button
|
||||||
type="link"
|
type="link"
|
||||||
danger
|
danger
|
||||||
|
|
@ -163,6 +170,7 @@ function List(props) {
|
||||||
>
|
>
|
||||||
删除
|
删除
|
||||||
</Button>
|
</Button>
|
||||||
|
)}
|
||||||
<Button
|
<Button
|
||||||
type="link"
|
type="link"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
|
|
@ -171,6 +179,7 @@ function List(props) {
|
||||||
>
|
>
|
||||||
播放
|
播放
|
||||||
</Button>
|
</Button>
|
||||||
|
{props.entrance !== "enterprise" && (
|
||||||
<Button
|
<Button
|
||||||
type="link"
|
type="link"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
|
|
@ -179,6 +188,7 @@ function List(props) {
|
||||||
>
|
>
|
||||||
获取rtsp地址
|
获取rtsp地址
|
||||||
</Button>
|
</Button>
|
||||||
|
)}
|
||||||
</Space>
|
</Space>
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -57,6 +57,7 @@ function List(props) {
|
||||||
<Table
|
<Table
|
||||||
toolBarRender={() => (
|
toolBarRender={() => (
|
||||||
<Space>
|
<Space>
|
||||||
|
{props.entrance !== "enterprise" && (
|
||||||
<Button
|
<Button
|
||||||
type="primary"
|
type="primary"
|
||||||
icon={<AddIcon />}
|
icon={<AddIcon />}
|
||||||
|
|
@ -66,6 +67,7 @@ function List(props) {
|
||||||
>
|
>
|
||||||
新增
|
新增
|
||||||
</Button>
|
</Button>
|
||||||
|
)}
|
||||||
</Space>
|
</Space>
|
||||||
)}
|
)}
|
||||||
columns={[
|
columns={[
|
||||||
|
|
@ -93,6 +95,7 @@ function List(props) {
|
||||||
width: 240,
|
width: 240,
|
||||||
render: (_, record) => (
|
render: (_, record) => (
|
||||||
<Space>
|
<Space>
|
||||||
|
{props.entrance !== "enterprise" && (
|
||||||
<Button
|
<Button
|
||||||
type="link"
|
type="link"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
|
|
@ -102,13 +105,14 @@ function List(props) {
|
||||||
>
|
>
|
||||||
编辑
|
编辑
|
||||||
</Button>
|
</Button>
|
||||||
|
)}
|
||||||
<Button
|
<Button
|
||||||
type="link"
|
type="link"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
props.history.push(`./camera?id=${record.id}`);
|
props.history.push(`./camera?id=${record.id}`);
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
添加摄像头
|
{props.entrance !== "enterprise" ? "添加摄像头" : "查看摄像头"}
|
||||||
</Button>
|
</Button>
|
||||||
<Button
|
<Button
|
||||||
type="link"
|
type="link"
|
||||||
|
|
@ -119,6 +123,7 @@ function List(props) {
|
||||||
>
|
>
|
||||||
查看
|
查看
|
||||||
</Button>
|
</Button>
|
||||||
|
{props.entrance !== "enterprise" && (
|
||||||
<Button
|
<Button
|
||||||
type="link"
|
type="link"
|
||||||
danger
|
danger
|
||||||
|
|
@ -128,6 +133,7 @@ function List(props) {
|
||||||
>
|
>
|
||||||
删除
|
删除
|
||||||
</Button>
|
</Button>
|
||||||
|
)}
|
||||||
</Space>
|
</Space>
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -56,6 +56,7 @@ function List(props) {
|
||||||
<Table
|
<Table
|
||||||
toolBarRender={() => (
|
toolBarRender={() => (
|
||||||
<Space>
|
<Space>
|
||||||
|
{props.entrance !== "enterprise" && (
|
||||||
<Button
|
<Button
|
||||||
type="primary"
|
type="primary"
|
||||||
icon={<AddIcon />}
|
icon={<AddIcon />}
|
||||||
|
|
@ -65,6 +66,7 @@ function List(props) {
|
||||||
>
|
>
|
||||||
新增
|
新增
|
||||||
</Button>
|
</Button>
|
||||||
|
)}
|
||||||
</Space>
|
</Space>
|
||||||
)}
|
)}
|
||||||
columns={[
|
columns={[
|
||||||
|
|
@ -90,6 +92,7 @@ function List(props) {
|
||||||
>
|
>
|
||||||
查看
|
查看
|
||||||
</Button>
|
</Button>
|
||||||
|
{props.entrance !== "enterprise" && (
|
||||||
<Button
|
<Button
|
||||||
type="link"
|
type="link"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
|
|
@ -99,6 +102,8 @@ function List(props) {
|
||||||
>
|
>
|
||||||
编辑
|
编辑
|
||||||
</Button>
|
</Button>
|
||||||
|
)}
|
||||||
|
{props.entrance !== "enterprise" && (
|
||||||
<Button
|
<Button
|
||||||
type="link"
|
type="link"
|
||||||
danger
|
danger
|
||||||
|
|
@ -108,13 +113,14 @@ function List(props) {
|
||||||
>
|
>
|
||||||
删除
|
删除
|
||||||
</Button>
|
</Button>
|
||||||
|
)}
|
||||||
<Button
|
<Button
|
||||||
type="link"
|
type="link"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
props.history.push(`./fareGate?passageId=${record.id}&areaId=${query.areaId}`);
|
props.history.push(`./fareGate?passageId=${record.id}&areaId=${query.areaId}`);
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
添加设备
|
{props.entrance !== "enterprise" ? "添加设备" : "查看设备"}
|
||||||
</Button>
|
</Button>
|
||||||
</Space>
|
</Space>
|
||||||
),
|
),
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,7 @@
|
||||||
import ApprovalRecordsPage from "~/pages/Container/Supervision/FirstLevelDoor/ImportAndExportPortInfo/StockPersonnelAndVehicles/VehicleManagement/ApprovalRecords";
|
import ApprovalRecordsPage from "~/pages/Container/Supervision/FirstLevelDoor/ImportAndExportPortInfo/StockPersonnelAndVehicles/VehicleManagement/ApprovalRecords";
|
||||||
|
|
||||||
function ApprovalRecords(props) {
|
function ApprovalRecords(props) {
|
||||||
return (
|
return (<ApprovalRecordsPage {...props} />);
|
||||||
<ApprovalRecordsPage {...props} />
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export default ApprovalRecords;
|
export default ApprovalRecords;
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,7 @@
|
||||||
import VehicleRecordsPage from "~/pages/Container/Supervision/FirstLevelDoor/ImportAndExportPortInfo/StockVehicles/VehicleRecords";
|
import VehicleRecordsPage from "~/pages/Container/Supervision/FirstLevelDoor/ImportAndExportPortInfo/StockVehicles/VehicleRecords";
|
||||||
|
|
||||||
function VehicleRecords(props) {
|
function VehicleRecords(props) {
|
||||||
return (
|
return (<VehicleRecordsPage {...props} />);
|
||||||
<VehicleRecordsPage {...props} />
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export default VehicleRecords;
|
export default VehicleRecords;
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,7 @@
|
||||||
import ViewPage from "~/pages/Container/Supervision/FirstLevelDoor/ImportAndExportPortInfo/StockPersonnelAndVehicles/VehicleManagement/View";
|
import ViewPage from "~/pages/Container/Supervision/FirstLevelDoor/ImportAndExportPortInfo/StockPersonnelAndVehicles/VehicleManagement/View";
|
||||||
|
|
||||||
function View(props) {
|
function View(props) {
|
||||||
return (
|
return (<ViewPage {...props} />);
|
||||||
<ViewPage {...props} />
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export default View;
|
export default View;
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,7 @@
|
||||||
import ApprovalRecordsPage from "~/pages/Container/Supervision/FirstLevelDoor/ImportAndExportPortInfo/StockPersonnelAndVehicles/VehicleManagement/ApprovalRecords";
|
import ApprovalRecordsPage from "~/pages/Container/Supervision/FirstLevelDoor/ImportAndExportPortInfo/StockPersonnelAndVehicles/VehicleManagement/ApprovalRecords";
|
||||||
|
|
||||||
function ApprovalRecords(props) {
|
function ApprovalRecords(props) {
|
||||||
return (
|
return (<ApprovalRecordsPage {...props} />);
|
||||||
<ApprovalRecordsPage {...props} />
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export default ApprovalRecords;
|
export default ApprovalRecords;
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,7 @@
|
||||||
import VehicleRecordsPage from "~/pages/Container/Supervision/FirstLevelDoor/ImportAndExportPortInfo/StockPersonnelAndVehicles/VehicleManagement/VehicleRecords";
|
import VehicleRecordsPage from "~/pages/Container/Supervision/FirstLevelDoor/ImportAndExportPortInfo/StockPersonnelAndVehicles/VehicleManagement/VehicleRecords";
|
||||||
|
|
||||||
function VehicleRecords(props) {
|
function VehicleRecords(props) {
|
||||||
return (
|
return (<VehicleRecordsPage {...props} />);
|
||||||
<VehicleRecordsPage {...props} />
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export default VehicleRecords;
|
export default VehicleRecords;
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,7 @@
|
||||||
import PersonnelRecordsPage from "~/pages/Container/Supervision/FirstLevelDoor/ImportAndExportPortInfo/StockPersonnelAndVehicles/PersonnelRecords";
|
import PersonnelRecordsPage from "~/pages/Container/Supervision/FirstLevelDoor/ImportAndExportPortInfo/StockPersonnelAndVehicles/PersonnelRecords";
|
||||||
|
|
||||||
function PersonnelRecords(props) {
|
function PersonnelRecords(props) {
|
||||||
return (
|
return (<PersonnelRecordsPage {...props} />);
|
||||||
<PersonnelRecordsPage {...props} />
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export default PersonnelRecords;
|
export default PersonnelRecords;
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,7 @@
|
||||||
import ApprovalRecordsPage from "~/pages/Container/Supervision/FirstLevelDoor/ImportAndExportPortInfo/StockPersonnelAndVehicles/VehicleManagement/ApprovalRecords";
|
import ApprovalRecordsPage from "~/pages/Container/Supervision/FirstLevelDoor/ImportAndExportPortInfo/StockPersonnelAndVehicles/VehicleManagement/ApprovalRecords";
|
||||||
|
|
||||||
function ApprovalRecords(props) {
|
function ApprovalRecords(props) {
|
||||||
return (
|
return (<ApprovalRecordsPage {...props} />);
|
||||||
<ApprovalRecordsPage {...props} />
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export default ApprovalRecords;
|
export default ApprovalRecords;
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,7 @@
|
||||||
import ListPage from "~/pages/Container/Supervision/FirstLevelDoor/ImportAndExportPortInfo/BranchPersonnelAndVehicles/PersonnelAndVehicle/VehicleManagement/List";
|
import ListPage from "~/pages/Container/Supervision/FirstLevelDoor/ImportAndExportPortInfo/BranchPersonnelAndVehicles/PersonnelAndVehicle/VehicleManagement/List";
|
||||||
|
|
||||||
function List(props) {
|
function List(props) {
|
||||||
return (
|
return (<ListPage {...props} />);
|
||||||
<ListPage {...props} />
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export default List;
|
export default List;
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,7 @@
|
||||||
import VehicleRecordsPage from "~/pages/Container/Supervision/FirstLevelDoor/ImportAndExportPortInfo/StockVehicles/VehicleRecords";
|
import VehicleRecordsPage from "~/pages/Container/Supervision/FirstLevelDoor/ImportAndExportPortInfo/StockVehicles/VehicleRecords";
|
||||||
|
|
||||||
function VehicleRecords(props) {
|
function VehicleRecords(props) {
|
||||||
return (
|
return (<VehicleRecordsPage {...props} />);
|
||||||
<VehicleRecordsPage {...props} />
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export default VehicleRecords;
|
export default VehicleRecords;
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,7 @@
|
||||||
import ViewPage from "~/pages/Container/Supervision/FirstLevelDoor/ImportAndExportPortInfo/StockPersonnelAndVehicles/VehicleManagement/View";
|
import ViewPage from "~/pages/Container/Supervision/FirstLevelDoor/ImportAndExportPortInfo/StockPersonnelAndVehicles/VehicleManagement/View";
|
||||||
|
|
||||||
function View(props) {
|
function View(props) {
|
||||||
return (
|
return (<ViewPage {...props} />);
|
||||||
<ViewPage {...props} />
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export default View;
|
export default View;
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,7 @@
|
||||||
import PersonnelRecordsPage from "~/pages/Container/Supervision/FirstLevelDoor/ImportAndExportPortInfo/StockPersonnelAndVehicles/PersonnelRecords";
|
import PersonnelRecordsPage from "~/pages/Container/Supervision/FirstLevelDoor/ImportAndExportPortInfo/StockPersonnelAndVehicles/PersonnelRecords";
|
||||||
|
|
||||||
function InAndOutRecords(props) {
|
function InAndOutRecords(props) {
|
||||||
return (
|
return (<PersonnelRecordsPage {...props} />);
|
||||||
<PersonnelRecordsPage {...props} />
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export default InAndOutRecords;
|
export default InAndOutRecords;
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,7 @@
|
||||||
import VehicleRecordsPage from "~/pages/Container/Supervision/FirstLevelDoor/ImportAndExportPortInfo/StockPersonnelAndVehicles/VehicleManagement/VehicleRecords";
|
import VehicleRecordsPage from "~/pages/Container/Supervision/FirstLevelDoor/ImportAndExportPortInfo/StockPersonnelAndVehicles/VehicleManagement/VehicleRecords";
|
||||||
|
|
||||||
function InAndOutRecords(props) {
|
function InAndOutRecords(props) {
|
||||||
return (
|
return (<VehicleRecordsPage {...props} />);
|
||||||
<VehicleRecordsPage {...props} />
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export default InAndOutRecords;
|
export default InAndOutRecords;
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,7 @@
|
||||||
import ApprovalRecordsPage from "~/pages/Container/Supervision/FirstLevelDoor/ImportAndExportPortInfo/StockPersonnelAndVehicles/VehicleManagement/ApprovalRecords";
|
import ApprovalRecordsPage from "~/pages/Container/Supervision/FirstLevelDoor/ImportAndExportPortInfo/StockPersonnelAndVehicles/VehicleManagement/ApprovalRecords";
|
||||||
|
|
||||||
function ApprovalRecords(props) {
|
function ApprovalRecords(props) {
|
||||||
return (
|
return (<ApprovalRecordsPage {...props} />);
|
||||||
<ApprovalRecordsPage {...props} />
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export default ApprovalRecords;
|
export default ApprovalRecords;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue