From e93a5190a632b5c5030292163197af8cb739a83d Mon Sep 17 00:00:00 2001 From: fangjiakai <450850793@qq.com> Date: Mon, 19 Jan 2026 13:49:54 +0800 Subject: [PATCH] =?UTF-8?q?feat(primaryAccessControl):=20=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E9=A9=BB=E5=9C=BA=E7=AB=AF=E5=9F=BA=E7=A1=80=E5=87=86?= =?UTF-8?q?=E5=85=A5=E6=8E=A7=E5=88=B6=E5=AE=A1=E6=89=B9=E4=BA=BA=E5=91=98?= =?UTF-8?q?=E7=AE=A1=E7=90=86=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 新增审批人员列表API接口定义 - 添加审批人员删除和新增请求声明 - 创建驻场端审批人员列表页面组件 - 实现审批人员和基础信息路由结构 - 配置相关页面布局和企业名称传递功能 - 更新依赖包版本并调整环境配置注释 --- jjb.config.js | 2 ++ package.json | 2 +- src/api/primaryAccessControl/index.js | 16 ++++++++++++++++ .../AccessApprover/List/index.js | 8 ++++++++ .../BasicInformation/AccessApprover/index.js | 5 +++++ .../BasicInformation/index.js | 5 +++++ 6 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 src/api/primaryAccessControl/index.js create mode 100644 src/pages/Container/Stationed/PrimaryAccessControl/BasicInformation/AccessApprover/List/index.js create mode 100644 src/pages/Container/Stationed/PrimaryAccessControl/BasicInformation/AccessApprover/index.js create mode 100644 src/pages/Container/Stationed/PrimaryAccessControl/BasicInformation/index.js diff --git a/jjb.config.js b/jjb.config.js index 8ba4f36..110f162 100644 --- a/jjb.config.js +++ b/jjb.config.js @@ -9,6 +9,7 @@ module.exports = { // 应用后端分支名称,部署上线需要 javaGitBranch: "", // 接口服务地址 + // API_HOST: "https://gbs-gateway.qhdsafety.com", API_HOST: "http://192.168.20.100:30140", }, production: { @@ -25,6 +26,7 @@ module.exports = { // 应用Key appKey: "", fileUrl: "http://192.168.20.240:9787/mnt/", + // fileUrl: "https://jpfz.qhdsafety.com/gbsFileTest/", }, // public/index.html注入全局变量 windowInject: { diff --git a/package.json b/package.json index 480cf1a..542b93d 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,7 @@ "lodash-es": "^4.17.21", "react": "^18.2.0", "react-dom": "^18.2.0", - "zy-react-library": "^1.0.178" + "zy-react-library": "latest" }, "devDependencies": { "@antfu/eslint-config": "^5.4.1", diff --git a/src/api/primaryAccessControl/index.js b/src/api/primaryAccessControl/index.js new file mode 100644 index 0000000..9e08566 --- /dev/null +++ b/src/api/primaryAccessControl/index.js @@ -0,0 +1,16 @@ +import { declareRequest } from "@cqsjjb/jjb-dva-runtime"; + +export const mkmjApprovalUserList = declareRequest( + "mkmjApprovalUserLoading", + `Get > /primeport/mkmjApprovalUser/list`, +); + +export const deleteMkmjApprovalUser = declareRequest( + "mkmjApprovalUserLoading", + `Delete > /primeport/mkmjApprovalUser/{id}`, +); + +export const addMkmjApprovalUser = declareRequest( + "mkmjApprovalUserLoading", + `Post > @/primeport/mkmjApprovalUser/save`, +); diff --git a/src/pages/Container/Stationed/PrimaryAccessControl/BasicInformation/AccessApprover/List/index.js b/src/pages/Container/Stationed/PrimaryAccessControl/BasicInformation/AccessApprover/List/index.js new file mode 100644 index 0000000..b7596d2 --- /dev/null +++ b/src/pages/Container/Stationed/PrimaryAccessControl/BasicInformation/AccessApprover/List/index.js @@ -0,0 +1,8 @@ +import ListView from "~/pages/Container/Supervision/PrimaryAccessControl/BasicInformation/AccessApprover/List"; + +function List(props) { + // 带入企业名称到下一级页面 + return (); +}; + +export default List; diff --git a/src/pages/Container/Stationed/PrimaryAccessControl/BasicInformation/AccessApprover/index.js b/src/pages/Container/Stationed/PrimaryAccessControl/BasicInformation/AccessApprover/index.js new file mode 100644 index 0000000..db819f3 --- /dev/null +++ b/src/pages/Container/Stationed/PrimaryAccessControl/BasicInformation/AccessApprover/index.js @@ -0,0 +1,5 @@ +function AccessApprover(props) { + return (
{props.children}
); +} + +export default AccessApprover; diff --git a/src/pages/Container/Stationed/PrimaryAccessControl/BasicInformation/index.js b/src/pages/Container/Stationed/PrimaryAccessControl/BasicInformation/index.js new file mode 100644 index 0000000..6b7722a --- /dev/null +++ b/src/pages/Container/Stationed/PrimaryAccessControl/BasicInformation/index.js @@ -0,0 +1,5 @@ +function BasicInformation(props) { + return (
{props.children}
); +} + +export default BasicInformation;