feat: 部署测试修改

develop
JINGYJ 11 months ago
parent be23bfd06c
commit 3599ba1b8a

@ -127,7 +127,7 @@ export function useKeepAliveTabs() {
});
} else {
// 取消缓存
if(matchRoute?.pathname === '/involved-list-upload' || matchRoute?.pathname === '/involved-list') {
if(matchRoute?.pathname === '/offline/involved-list-upload' || matchRoute?.pathname === '/realTime/involved-list') {
refreshTab(matchRoute?.pathname)
}
// 如果存在触发组件的onShow的回调

@ -8,9 +8,10 @@ interface ImageWithPopoverProps {
src: string;
reload: any;
person_id: any;
classify: any;
}
const ImageWithPopover: React.FC<ImageWithPopoverProps> = ({ src, person_id,reload }) => {
const ImageWithPopover: React.FC<ImageWithPopoverProps> = ({ src, person_id,reload,classify }) => {
const intl = useIntl();
const [visible, setVisible] = useState(false);
const [open, setOpen] = useState(false);
@ -78,7 +79,7 @@ const ImageWithPopover: React.FC<ImageWithPopoverProps> = ({ src, person_id,relo
onClick={handleButtonClick}
/>
</Popover>
{/* {involved.state && (
{classify === 1 && (
<div
style={{
position: 'absolute',
@ -96,7 +97,7 @@ const ImageWithPopover: React.FC<ImageWithPopoverProps> = ({ src, person_id,relo
>
</div>
)} */}
)}
</div>
);
};

@ -153,7 +153,8 @@ const InvolvedDetails: React.FC<UpdateFormProps> = (props) => {
// onClick={handleButtonClick}
/>
</Popover>
<div
{ props?.values?.classify?.toString() === '1' &&
<div
style={{
position: 'absolute',
top: 0,
@ -170,7 +171,7 @@ const InvolvedDetails: React.FC<UpdateFormProps> = (props) => {
}}
>
</div>
</div> }
</div>
<div
style={{

@ -176,6 +176,7 @@ const InvolvedList: React.FC = () => {
// eslint-disable-next-line @typescript-eslint/no-use-before-define
reload={initList}
person_id={record.person_id}
classify={record.classify}
// handleInvolved={handleInvolved}
></ImageWithPopover>
<div

@ -8,9 +8,10 @@ interface ImageWithPopoverProps {
src: string;
reload: any;
person_id: any;
classify: any;
}
const ImageWithPopover: React.FC<ImageWithPopoverProps> = ({ src, person_id,reload }) => {
const ImageWithPopover: React.FC<ImageWithPopoverProps> = ({ src, person_id,reload, classify }) => {
const intl = useIntl();
const [visible, setVisible] = useState(false);
const [open, setOpen] = useState(false);
@ -78,7 +79,7 @@ const ImageWithPopover: React.FC<ImageWithPopoverProps> = ({ src, person_id,relo
onClick={handleButtonClick}
/>
</Popover>
{/* {involved.state && (
{classify === 1 && (
<div
style={{
position: 'absolute',
@ -96,7 +97,7 @@ const ImageWithPopover: React.FC<ImageWithPopoverProps> = ({ src, person_id,relo
>
</div>
)} */}
)}
</div>
);
};

@ -152,7 +152,8 @@ const InvolvedDetails: React.FC<UpdateFormProps> = (props) => {
// onClick={handleButtonClick}
/>
</Popover>
<div
{ props?.values?.classify?.toString() === '1' &&
<div
style={{
position: 'absolute',
top: 0,
@ -170,6 +171,7 @@ const InvolvedDetails: React.FC<UpdateFormProps> = (props) => {
>
</div>
}
</div>
<div
style={{

@ -175,6 +175,7 @@ const InvolvedUploadList: React.FC = () => {
// eslint-disable-next-line @typescript-eslint/no-use-before-define
reload={initList}
person_id={record.person_id}
classify={record.classify}
// handleInvolved={handleInvolved}
></ImageWithPopover>
<div

@ -137,7 +137,7 @@ const UpdateForm: React.FC<UpdateFormProps> = (props) => {
},
]}
/>
<span style={{ margin: '0 6px' }}></span>
<span style={{ margin: '0 6px' }}></span>
<ProFormText
width={100}
name="time_interval"
@ -164,7 +164,7 @@ const UpdateForm: React.FC<UpdateFormProps> = (props) => {
},
]}
/>
<span style={{ marginRight: 6 }}></span>
<span style={{ marginRight: 6 }}></span>
<ProFormText
width={100}
name="appear_number"

@ -137,7 +137,7 @@ const UpdateForm: React.FC<UpdateFormProps> = (props) => {
},
]}
/>
<span style={{ margin: '0 6px' }}></span>
<span style={{ margin: '0 6px' }}></span>
<ProFormText
width={100}
name="time_interval"
@ -164,7 +164,7 @@ const UpdateForm: React.FC<UpdateFormProps> = (props) => {
},
]}
/>
<span style={{ marginRight: 6 }}></span>
<span style={{ marginRight: 6 }}></span>
<ProFormText
width={100}
name="appear_number"

Loading…
Cancel
Save