更新安装页面内容

master
鲁誉程 10 months ago
parent 4b4fd4cb7f
commit cba4b0de62

@ -4,7 +4,7 @@ import { Input, Progress, message } from 'antd';
interface PageProps { interface PageProps {
open: boolean; open: boolean;
onCancel: () => void; onCancel: (name?: string) => void;
setInstallExe: (index: number, text: string) => void; setInstallExe: (index: number, text: string) => void;
} }

@ -1,13 +1,13 @@
import React, { FC, useEffect, useState } from 'react'; import React, { FC, useEffect, useState } from 'react';
import styles from './index.less'; import styles from './index.less';
import { Input, Progress, message } from 'antd'; import { Input, Progress, message } from 'antd';
import { countType, setInstallExe } from '@/utils'; import { countType } from '@/utils';
import { useParams } from 'umi'; import { useParams } from 'umi';
import DEV from '@/utils/env/dev'; import DEV from '@/utils/env/dev';
interface PageProps { interface PageProps {
open: boolean; open: boolean;
onCancel: () => void; onCancel: (name?: string) => void;
setInstallExe: (index: number, text: string) => void; setInstallExe: (index: number, text: string) => void;
} }

@ -1,13 +1,13 @@
import React, { FC, useEffect, useState } from 'react'; import React, { FC, useEffect, useState } from 'react';
import styles from './index.less'; import styles from './index.less';
import { Input, Progress, message } from 'antd'; import { Input, Progress, message } from 'antd';
import { countType, setInstallExe, sysType } from '@/utils'; import { countType, sysType } from '@/utils';
import { useParams } from 'umi'; import { useParams } from 'umi';
import DEV from '@/utils/env/dev'; import DEV from '@/utils/env/dev';
interface PageProps { interface PageProps {
open: boolean; open: boolean;
onCancel: () => void; onCancel: (name?: string) => void;
setInstallExe: (index: number, text: string) => void; setInstallExe: (index: number, text: string) => void;
} }

@ -5,7 +5,7 @@ import { Input, Progress, message } from 'antd';
interface PageProps { interface PageProps {
open: boolean; open: boolean;
onCancel: () => void; onCancel: (name?: string) => void;
setInstallExe: (index: number, text: string) => void; setInstallExe: (index: number, text: string) => void;
} }

@ -1,13 +1,13 @@
import React, { FC, useEffect, useState } from 'react'; import React, { FC, useEffect, useState } from 'react';
import styles from './index.less'; import styles from './index.less';
import { Input, Progress, message } from 'antd'; import { Input, Progress, message } from 'antd';
import { countType, setInstallExe, sysType } from '@/utils'; import { countType, sysType } from '@/utils';
import { useParams } from 'umi'; import { useParams } from 'umi';
import DEV from '@/utils/env/dev'; import DEV from '@/utils/env/dev';
interface PageProps { interface PageProps {
open: boolean; open: boolean;
onCancel: () => void; onCancel: (name?: string) => void;
setInstallExe: (index: number, text: string) => void; setInstallExe: (index: number, text: string) => void;
} }

@ -4,7 +4,7 @@ import { Input, Progress, message } from 'antd';
interface PageProps { interface PageProps {
open: boolean; open: boolean;
onCancel: () => void; onCancel: (name?: string) => void;
setInstallExe: (index: number, text: string) => void; setInstallExe: (index: number, text: string) => void;
} }

@ -4,7 +4,7 @@ import { Input, Progress, message } from 'antd';
interface PageProps { interface PageProps {
open: boolean; open: boolean;
onCancel: () => void; onCancel: (name?: string) => void;
setInstallExe: (index: number, text: string) => void; setInstallExe: (index: number, text: string) => void;
} }

@ -4,7 +4,7 @@ import { Input, Progress, message } from 'antd';
interface PageProps { interface PageProps {
open: boolean; open: boolean;
onCancel: () => void; onCancel: (name?: string) => void;
setInstallExe: (index: number, text: string) => void; setInstallExe: (index: number, text: string) => void;
} }

@ -4,7 +4,7 @@ import { Input, Progress, message } from 'antd';
interface PageProps { interface PageProps {
open: boolean; open: boolean;
onCancel: () => void; onCancel: (name?: string) => void;
setInstallExe: (index: number, text: string) => void; setInstallExe: (index: number, text: string) => void;
} }

@ -4,7 +4,7 @@ import { Input, Progress, message } from 'antd';
interface PageProps { interface PageProps {
open: boolean; open: boolean;
onCancel: () => void; onCancel: (name?: string) => void;
setInstallExe: (index: number, text: string) => void; setInstallExe: (index: number, text: string) => void;
} }

@ -224,20 +224,53 @@ const InstallExe: FC<PageProps> = ({ }) => {
onCancel={(e) => { uncheck(e); setOpen1(false) }} onCancel={(e) => { uncheck(e); setOpen1(false) }}
setInstallExe={(i, t) => { setInstallExe(i, t) }} setInstallExe={(i, t) => { setInstallExe(i, t) }}
/> />
<HGoogleEarth open={open2} onCancel={() => setOpen2(false)} setInstallExe={(i, t) => { setInstallExe(i, t) }} /> <HGoogleEarth
<MSXML open={open3} onCancel={() => setOpen3(false)} setInstallExe={(i, t) => { setInstallExe(i, t) }} /> open={open2}
<FlashPlayer open={open4} onCancel={() => setOpen4(false)} setInstallExe={(i, t) => { setInstallExe(i, t) }} /> onCancel={(e) => { uncheck(e); setOpen2(false) }}
<Net open={open5} onCancel={() => setOpen5(false)} setInstallExe={(i, t) => { setInstallExe(i, t) }} /> setInstallExe={(i, t) => { setInstallExe(i, t) }} />
<NetSP1 open={open6} onCancel={() => setOpen6(false)} setInstallExe={(i, t) => { setInstallExe(i, t) }} /> <MSXML
open={open3}
onCancel={(e) => { uncheck(e); setOpen3(false) }}
setInstallExe={(i, t) => { setInstallExe(i, t) }} />
<FlashPlayer
open={open4}
onCancel={(e) => { uncheck(e); setOpen4(false) }}
setInstallExe={(i, t) => { setInstallExe(i, t) }} />
<Net
open={open5}
onCancel={(e) => { uncheck(e); setOpen5(false) }}
setInstallExe={(i, t) => { setInstallExe(i, t) }} />
<NetSP1
open={open6}
onCancel={(e) => { uncheck(e); setOpen6(false) }}
setInstallExe={(i, t) => { setInstallExe(i, t) }} />
{/* 专用核心密码管理分系统--弹窗 */} {/* 专用核心密码管理分系统--弹窗 */}
<CoreArea open={open7} onCancel={() => setOpen7(false)} setInstallExe={(i, t) => { setInstallExe(i, t) }} /> <CoreArea
<DutyArea open={open8} onCancel={() => setOpen8(false)} setInstallExe={(i, t) => { setInstallExe(i, t) }} /> open={open7}
<DeviceDriver open={open9} onCancel={() => setOpen9(false)} setInstallExe={(i, t) => { setInstallExe(i, t) }} /> onCancel={(e) => { uncheck(e); setOpen7(false) }}
setInstallExe={(i, t) => { setInstallExe(i, t) }} />
<DutyArea
open={open8}
onCancel={(e) => { uncheck(e); setOpen8(false) }}
setInstallExe={(i, t) => { setInstallExe(i, t) }} />
<DeviceDriver
open={open9}
onCancel={(e) => { uncheck(e); setOpen9(false) }}
setInstallExe={(i, t) => { setInstallExe(i, t) }} />
{/* 一体化密码机--弹窗 */} {/* 一体化密码机--弹窗 */}
<CodeManage open={open11} onCancel={() => setOpen11(false)} setInstallExe={(i, t) => { setInstallExe(i, t) }} /> <CodeManage
<CodeDriver open={open12} onCancel={() => setOpen12(false)} setInstallExe={(i, t) => { setInstallExe(i, t) }} /> open={open11}
onCancel={(e) => { uncheck(e); setOpen11(false) }}
setInstallExe={(i, t) => { setInstallExe(i, t) }} />
<CodeDriver
open={open12}
onCancel={(e) => { uncheck(e); setOpen12(false) }}
setInstallExe={(i, t) => { setInstallExe(i, t) }} />
</div> </div>
) )
} }

Loading…
Cancel
Save