From 82d75f81c6b3687a36da0554c5e1c1fcb4148f52 Mon Sep 17 00:00:00 2001 From: dearLin <1261008090@qq.com> Date: Sat, 28 Mar 2026 14:54:25 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9A=E4=B8=80=E7=BA=A7=E5=8F=A3?= =?UTF-8?q?=E9=97=A8=E4=B8=B4=E6=97=B6=E4=BA=BA=E5=AE=A1=E6=89=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jjb.config.js | 2 +- src/api/temporaryPersonnel/index.js | 2 +- .../TemporaryPersonnel/List/index.js | 50 ++++++++++--------- .../TemporaryPersonnel/View/index.js | 24 ++++++--- 4 files changed, 45 insertions(+), 33 deletions(-) diff --git a/jjb.config.js b/jjb.config.js index f757efb..afb0aa2 100644 --- a/jjb.config.js +++ b/jjb.config.js @@ -20,7 +20,7 @@ module.exports = { }, }, // 应用唯一标识符 - appIdentifier: "primeport", + appIdentifier: "primeport-h5", // 应用上下文注入全局变量 contextInject: { // 应用Key diff --git a/src/api/temporaryPersonnel/index.js b/src/api/temporaryPersonnel/index.js index ff58b90..10d39c4 100644 --- a/src/api/temporaryPersonnel/index.js +++ b/src/api/temporaryPersonnel/index.js @@ -2,7 +2,7 @@ import { declareRequest } from "@cqsjjb/jjb-dva-runtime"; export const temporaryPersonnelList = declareRequest( "temporaryPersonnelLoading", - `Post > @/primeport/personApply/xgfPersonAuditList`, + `Post > @/primeport/personApply/pendingApprovalList`, ); export const temporaryPersonnelAdd = declareRequest( "temporaryPersonnelLoading", diff --git a/src/pages/Container/Supervision/FirstLevelDoor/PortEntryApproval/TemporaryVisitor/TemporaryPersonnel/List/index.js b/src/pages/Container/Supervision/FirstLevelDoor/PortEntryApproval/TemporaryVisitor/TemporaryPersonnel/List/index.js index 3e16294..184e972 100644 --- a/src/pages/Container/Supervision/FirstLevelDoor/PortEntryApproval/TemporaryVisitor/TemporaryPersonnel/List/index.js +++ b/src/pages/Container/Supervision/FirstLevelDoor/PortEntryApproval/TemporaryVisitor/TemporaryPersonnel/List/index.js @@ -32,7 +32,9 @@ function List(props) { const [form] = Search.useForm(); const { tableProps, getData } = useTable(props["temporaryPersonnelList"], { form, - params: { processOrRecord: !props.isRecords ? 1 : 2 }, + params: { + personBelongType: 4, + processOrRecord: !props.isRecords ? 1 : 2 }, }); const getFirstLevelDoorInfoListAll = async () => { @@ -49,12 +51,12 @@ function List(props) { form={form} onFinish={getData} options={[ - { name: "todo1", label: "访问人姓名" }, - { name: "todo2", label: "访问开始时间" }, - { name: "todo3", label: "访问结束时间" }, + { name: "employeePersonUserName", label: "访问人姓名" }, + { name: "visitStartTime", label: "访问开始时间" }, + { name: "visitEndTime", label: "访问结束时间" }, { name: "auditFlag", label: "审批状态", render: FORM_ITEM_RENDER_ENUM.SELECT, items: STATUS_ENUM }, { - name: "todo5", + name: "mkmjId", label: "访问口门名称", render: FORM_ITEM_RENDER_ENUM.SELECT, items: firstLevelDoorInfoListAll, @@ -90,9 +92,9 @@ function List(props) { )} columns={[ - { title: "访问人姓名", dataIndex: "todo1" }, - { title: "手机号", dataIndex: "todo2" }, - { title: "身份证号", dataIndex: "todo3" }, + { title: "访问人姓名", dataIndex: "employeePersonUserName" }, + { title: "手机号", dataIndex: "userPhone" }, + { title: "身份证号", dataIndex: "userCard" }, { title: "来访事由", dataIndex: "reasonVisit" }, { title: "访问开始时间", dataIndex: "visitStartTime" }, { title: "访问结束时间", dataIndex: "visitEndTime" }, @@ -117,17 +119,17 @@ function List(props) { 查看 )} - {props.permission(props.auditInfoBtn || "jgd-entry-temp-personnel-audit-info") && ( - - )} + {/*{props.permission(props.auditInfoBtn || "jgd-entry-temp-personnel-audit-info") && (*/} + {/* {*/} + {/* setApprovalDetailsModalVisible(true);*/} + {/* setCurrentId(record.id);*/} + {/* }}*/} + {/* >*/} + {/* 审批详情*/} + {/* */} + {/*)}*/} {(!props.isRecords && record.currentUserCanAudit === 1 && props.permission(props.auditBtn || "jgd-entry-temp-personnel-audit")) && (