master_basic
鲁誉程 11 months ago
parent 1b148f9e51
commit ababb504f6

@ -143,7 +143,7 @@ export default function Layout() {
// 校验是否是树结构列表
const isTreeType = (info: any) => {
if (info[0].name == '设备注册') {
if (info.length > 0 && info[0]?.name == '设备注册') {
for (let i = 0; i < treeData.length; i++) {
if (treeData[i].children.length > 0) {
history.push(`/registerManage/deviceRegister/${treeData[i].children[0].key}`)

@ -20,7 +20,7 @@ export default function Page() {
const columns: any = [
{
title: '序号', key: 'index', align: 'center', width: 100,
title: '序号', key: 'index', align: 'center', width: 80,
render: (a: any, b: any, c: any) => {
return <span>{c + 1}</span>;
},

@ -21,7 +21,7 @@ export default function Page() {
const columns: any = [
{
title: '序号', key: 'index', align: 'center', width: 100,
title: '序号', key: 'index', align: 'center', width: 80,
render: (a: any, b: any, c: any) => {
return <span>{c + 1}</span>;
},

@ -28,7 +28,7 @@ export default function Page() {
const columns: any = [
{
title: '序号', key: 'index', align: 'center', width: 100,
title: '序号', key: 'index', align: 'center', width: 80,
render: (a: any, b: any, c: any) => {
return <span>{c + 1}</span>;
},

@ -53,7 +53,7 @@ export default function Page() {
const columns: any = [
{
title: '序号', key: 'index', align: 'center', width: 100,
title: '序号', key: 'index', align: 'center', width: 80,
render: (a: any, b: any, c: any) => {
return <span>{c + 1}</span>;
},

@ -32,7 +32,7 @@ export default function Page() {
const columns: any = [
{
title: '序号', key: 'index', align: 'center', width: 100,
title: '序号', key: 'index', align: 'center', width: 80,
render: (a: any, b: any, c: any) => {
return <span>{c + 1}</span>;
},
@ -42,8 +42,8 @@ export default function Page() {
{ title: '载体类型', dataIndex: 'carrierType', key: 'carrierType', align: 'center' },
{ title: '载体型号', dataIndex: 'applyModel', key: 'applyModel', align: 'center' },
{ title: '数量', dataIndex: 'number', key: 'number', align: 'center' },
{ title: '来源', dataIndex: 'orderDirection', key: 'orderDirection', align: 'center' },
{ title: '当前时间', dataIndex: 'createTime', key: 'createTime', align: 'center' },
{ title: '来源', dataIndex: 'source', key: 'source', align: 'center' },
// { title: '当前时间', dataIndex: 'createTime', key: 'createTime', align: 'center' },
{ title: '当前状态', dataIndex: 'currentStatus', key: 'currentStatus', align: 'center' },
{ title: '导入时间', dataIndex: 'importTime', key: 'importTime', align: 'center' }
]

@ -28,7 +28,7 @@ export default function Page() {
const columns: any = [
{
title: '序号', key: 'index', align: 'center', width: 100,
title: '序号', key: 'index', align: 'center', width: 80,
render: (a: any, b: any, c: any) => {
return <span>{(pageNumber - 1) * pageSize + c + 1}</span>;
},
@ -44,7 +44,7 @@ export default function Page() {
const columns1: any = [
{
title: '序号', key: 'index', align: 'center', width: 100,
title: '序号', key: 'index', align: 'center', width: 80,
render: (a: any, b: any, c: any) => {
return <span>{(pageNumber1 - 1) * pageSize1 + c + 1}</span>;
},

@ -16,7 +16,7 @@ export default function Page() {
const columns: any = [
{
title: '序号', key: 'index', align: 'center', width: 100,
title: '序号', key: 'index', align: 'center', width: 80,
render: (a: any, b: any, c: any) => {
return <span>{(pageNumber - 1) * pageSize + c + 1}</span>;
},

@ -88,7 +88,7 @@ export default function Page() {
const columns: any = [
{
title: '序号', key: 'index', align: 'center', width: 100,
title: '序号', key: 'index', align: 'center', width: 80,
render: (a: any, b: any, c: any) => {
return <span>{c + 1}</span>;
},

@ -33,7 +33,7 @@ export default function Page() {
const columns: any = [
{
title: '序号', key: 'index', align: 'center', width: 100,
title: '序号', key: 'index', align: 'center', width: 80,
render: (a: any, b: any, c: any) => {
return <span>{(pageNumber - 1) * pageSize + c + 1}</span>;
},

@ -31,7 +31,7 @@ export default function Page() {
const columns: any = [
{
title: '序号', key: 'index', align: 'center', width: 100,
title: '序号', key: 'index', align: 'center', width: 80,
render: (a: any, b: any, c: any) => {
return <span>{(pageNumber - 1) * pageSize + c + 1}</span>;
},

@ -9,32 +9,35 @@ import { privateIssueList, secretFormatList, secretList, secretUpdateStatus } fr
export default function Page() {
const [activeTab, setActiveTab] = useState(1)
const [tableData, setTableData] = useState([]);
const [pageNumber, setPageNumber] = useState(1);
const [pageSize, setpageSize] = useState(10);
const [total, setTotal] = useState(0);
const [form] = Form.useForm();
const [selectData, setSelectData] = useState<any>({
productName: [],
publisherType: []
});
// 密钥体
const [tableData, setTableData] = useState([]);
const [pageNumber, setPageNumber] = useState(1);
const [pageSize, setpageSize] = useState(10);
const [total, setTotal] = useState(0);
const [selectedRowKeys, setSelectedRowKeys] = useState([]);
// 配发
const [tableData1, setTableData1] = useState([]);
const [pageNumber1, setPageNumber1] = useState(1);
const [pageSize1, setpageSize1] = useState(10);
const [total1, setTotal1] = useState(0);
const [selectedPFKeys, setSelectedPFKeys] = useState([]);
const [allRowKeys, setAllRowKeys] = useState([]);
// 执勤
const [tableData2, setTableData2] = useState([]);
const [pageNumber2, setPageNumber2] = useState(1);
const [pageSize2, setpageSize2] = useState(10);
const [total2, setTotal2] = useState(0);
const [selectedRowKeys, setSelectedRowKeys] = useState([]);
const formItemSty = { width: 'auto', marginBottom: 20, marginRight: 30 };
const columns: any = [
{
title: '序号', key: 'index', align: 'center', width: 100,
title: '序号', key: 'index', align: 'center', width: 80,
render: (a: any, b: any, c: any) => {
return <span>{(pageNumber - 1) * pageSize + c + 1}</span>;
},
@ -49,15 +52,8 @@ export default function Page() {
]
const columns1: any = [
{ title: '执勤区名称', dataIndex: 'name', key: 'name', align: 'center' },
{ title: '执勤区标识', dataIndex: 'name', key: 'name', align: 'center' },
{ title: '所属网络', dataIndex: 'name', key: 'name', align: 'center' },
{ title: 'IP地址', dataIndex: 'name', key: 'name', align: 'center' },
]
const columns2: any = [
{
title: '序号', key: 'index', align: 'center', width: 100,
title: '序号', key: 'index', align: 'center', width: 80,
render: (a: any, b: any, c: any) => {
return <span>{c + 1}</span>;
},
@ -70,6 +66,13 @@ export default function Page() {
{ title: '同步状态', dataIndex: 'name', key: 'name', align: 'center' }
]
const columns2: any = [
{ title: '执勤区名称', dataIndex: 'name', key: 'name', align: 'center' },
{ title: '执勤区标识', dataIndex: 'name', key: 'name', align: 'center' },
{ title: '所属网络', dataIndex: 'name', key: 'name', align: 'center' },
{ title: 'IP地址', dataIndex: 'name', key: 'name', align: 'center' },
]
useEffect(() => {
form.setFieldsValue({
productName: '',
@ -100,8 +103,8 @@ export default function Page() {
}, [pageNumber]);
useEffect(() => {
getList2();
}, [pageNumber2]);
getList1();
}, [pageNumber1]);
// 获取密钥体列表
@ -113,8 +116,8 @@ export default function Page() {
}
secretList({ pageNumber, pageSize, ...params }).then((res) => {
if (res?.result == "success") {
setTotal(res.data[0].total)
setTableData(res.data[0].list)
setTotal(res.data[0].total);
setTableData(res.data[0].list);
} else {
message.error(res?.errorMsg);
}
@ -151,7 +154,7 @@ export default function Page() {
let recordCount = results.reduce((acc: any, val) => acc + val, 0);
if (recordCount === selectedRowKeys.length) {
message.success('配发成功');
pageNumber1 == 1 ? getList2() : setPageNumber2(1);
pageNumber1 == 1 ? getList1() : setPageNumber1(1);
setSelectedRowKeys([]);
}
});
@ -161,12 +164,14 @@ export default function Page() {
pageNumber == 1 ? getList() : setPageNumber(1);
};
// 获取密钥体邮箱任务列表
const getList2 = () => {
privateIssueList({ pageNumber: pageNumber2, pageSize: pageSize2 }).then((res) => {
// 获取向专用密码管理系统配发列表
const getList1 = () => {
privateIssueList({ pageNumber: pageNumber1, pageSize: pageSize1 }).then((res) => {
if (res?.result == "success") {
setTotal2(res.data[0].total)
setTableData2(res.data[0].list)
setTotal1(res.data[0].total)
setTableData1(res.data[0].list)
const keys = res.data[0].list.map((item: any) => item?.id);
setAllRowKeys(keys);
} else {
message.error(res?.errorMsg);
}
@ -184,7 +189,7 @@ export default function Page() {
<ButtonComp type={'special'} text={'向专用密码管理系统配发密钥体'} onClick={() => { }} />
</div>
<div className='flex_aiC mt20 mb20'>
<div className='flex_aiC mt20'>
<Form form={form} layout={'inline'} onFinish={onFinish} className='mt20'>
{/* <Form.Item name="aaa" label="" style={formItemSty}>
@ -236,29 +241,52 @@ export default function Page() {
/>
</div>}
<div className='flex_jE mt30 mb20'>
<ButtonComp text={'同步'} onClick={() => { }} />
<div className='mt30 mb20 flex_aiC_jB'>
<div></div>
<ButtonComp type={'cancel'} text={'全部'} onClick={() => {setSelectedPFKeys(allRowKeys)}} />
</div>
<Table
scroll={tableData.length > 0 ? { y: 41 * 9 } : {}}
scroll={tableData1.length > 0 ? { y: 41 * 5 } : {}}
pagination={false}
bordered
columns={columns1}
dataSource={tableData1}
rowKey={(record: any) => record?.id}
rowClassName={rowClassName}
rowSelection={{
selectedRowKeys: selectedPFKeys,
onChange: (selectedKeys: any) => {
setSelectedPFKeys(selectedKeys);
}
}}
/>
<div className='mb20' style={{ height: 1, background: '#EDEDED' }}></div>
{total1 > 0 && <div className='flex_aiC_jB mt20'>
<div> {total1} </div>
<Pagination
current={pageNumber1}
pageSize={pageSize1}
total={total1}
showQuickJumper
onChange={(pageNumber: number) => {
setPageNumber1(pageNumber);
}}
onShowSizeChange={(current: any, pageSize: any) => {
setpageSize1(pageSize);
getList1();
}}
/>
</div>}
<div className='mb20 flex_aiC_jB'>
<div></div>
<ButtonComp type={'cancel'} text={'全部'} onClick={() => { }} />
<div className='mt30 mb20 flex_aiC_jB'>
<div></div>
<ButtonComp text={'同步'} onClick={() => { message.info('建设中') }} />
</div>
<Table
scroll={tableData.length > 0 ? { y: 41 * 9 } : {}}
scroll={tableData2.length > 0 ? { y: 41 * 5 } : {}}
pagination={false}
bordered
columns={columns2}
@ -266,23 +294,6 @@ export default function Page() {
rowKey={(record: any) => record?.id}
rowClassName={rowClassName}
/>
{total2 > 0 && <div className='flex_aiC_jB mt20'>
<div> {total2} </div>
<Pagination
current={pageNumber2}
pageSize={pageSize2}
total={total2}
showQuickJumper
onChange={(pageNumber: number) => {
setPageNumber2(pageNumber);
}}
onShowSizeChange={(current: any, pageSize: any) => {
setpageSize2(pageSize);
getList2();
}}
/>
</div>}
</div>
);
}

@ -11,7 +11,7 @@ export default function Page() {
const columns: any = [
{
title: '序号', key: 'index', align: 'center', width: 100,
title: '序号', key: 'index', align: 'center', width: 80,
render: (a: any, b: any, c: any) => {
return <span>{c + 1}</span>;
},

@ -11,7 +11,7 @@ export default function Page() {
const columns: any = [
{
title: '序号', key: 'index', align: 'center', width: 100,
title: '序号', key: 'index', align: 'center', width: 80,
render: (a: any, b: any, c: any) => {
return <span>{c + 1}</span>;
},
@ -33,7 +33,7 @@ export default function Page() {
const columns1: any = [
{
title: '序号', key: 'index', align: 'center', width: 100,
title: '序号', key: 'index', align: 'center', width: 80,
render: (a: any, b: any, c: any) => {
return <span>{c + 1}</span>;
},

@ -17,7 +17,7 @@ export default function Page() {
const columns1: any = [
{
title: '序号', key: 'index', align: 'center', width: 100,
title: '序号', key: 'index', align: 'center', width: 80,
render: (a: any, b: any, c: any) => {
return <span>{c + 1}</span>;
},

@ -10,7 +10,7 @@ export default function Page() {
const columns: any = [
{
title: '序号', key: 'index', align: 'center', width: 100,
title: '序号', key: 'index', align: 'center', width: 80,
render: (a: any, b: any, c: any) => {
return <span>{c + 1}</span>;
},

@ -11,7 +11,7 @@ export default function Page() {
const [tableData1, setTableData1] = useState([]);
let number = {
title: '序号', key: 'index', align: 'center', width: 100,
title: '序号', key: 'index', align: 'center', width: 80,
render: (a: any, b: any, c: any) => {
return <span>{c + 1}</span>;
},

@ -16,7 +16,7 @@ export default function Page() {
const columns1: any = [
{
title: '序号', key: 'index', align: 'center', width: 100,
title: '序号', key: 'index', align: 'center', width: 80,
render: (a: any, b: any, c: any) => {
return <span>{c + 1}</span>;
},

@ -19,7 +19,7 @@ export default function Page() {
const columns1: any = [
{
title: '序号', key: 'index', align: 'center', width: 100,
title: '序号', key: 'index', align: 'center', width: 80,
render: (a: any, b: any, c: any) => {
return <span>{c + 1}</span>;
},

@ -30,7 +30,7 @@ export default function Page() {
rowClassName={rowClassName}
/>
<div className='flex_jE mt30'>
<ButtonComp type={'cancel'} text={'查询版本'} onClick={() => { }} />
<ButtonComp type={'cancel'} text={'收文报号设置'} onClick={() => { }} />
</div>
</div>
);

@ -10,7 +10,7 @@ export default function Page() {
const [tableData, setTableData] = useState([]);
let serial = {
title: '序号', key: 'index', align: 'center', width: 100,
title: '序号', key: 'index', align: 'center', width: 80,
render: (a: any, b: any, c: any) => {
return <span>{c + 1}</span>;
},

@ -10,7 +10,7 @@ export default function Page() {
const [tableData, setTableData] = useState([]);
let serial = {
title: '序号', key: 'index', align: 'center', width: 100,
title: '序号', key: 'index', align: 'center', width: 80,
render: (a: any, b: any, c: any) => {
return <span>{c + 1}</span>;
},

@ -10,7 +10,7 @@ export default function Page() {
const columns: any = [
{
title: '序号', key: 'index', align: 'center', width: 100,
title: '序号', key: 'index', align: 'center', width: 80,
render: (a: any, b: any, c: any) => {
return <span>{c + 1}</span>;
},

@ -1,34 +1,97 @@
import styles from '../../../GLQ/index.less';
import { useState } from 'react';
import { ConfigProvider, Table } from 'antd';
import { useEffect, useState } from 'react';
import { ConfigProvider, Pagination, Table, Upload, UploadProps, message } from 'antd';
import { rowClassName } from '@/utils';
import ButtonComp from '@/components/ButtonComp';
import { upholdAlgorithmInfoEditOrAdd, upholdAlgorithmInfoList } from '@/services/sf';
import { testData } from './testData';
export default function Page() {
const [tableData, setTableData] = useState([]);
const [pageNumber, setPageNumber] = useState(1);
const [pageSize, setpageSize] = useState(10);
const [total, setTotal] = useState(0);
const [selectedRowKeys, setSelectedRowKeys] = useState([]);
useEffect(() => {
getList();
}, [pageNumber]);
const columns: any = [
{
title: '序号', key: 'index', align: 'center', width: 100,
title: '序号', key: 'index', align: 'center', width: 80,
render: (a: any, b: any, c: any) => {
return <span>{c + 1}</span>;
return <span>{(pageNumber - 1) * pageSize + c + 1}</span>;
},
},
{ title: '密码算法简称', dataIndex: 'name', key: 'name', align: 'center' },
{ title: '算法标识', dataIndex: 'name', key: 'name', align: 'center' },
{ title: '密码类型', dataIndex: 'name', key: 'name', align: 'center' },
{ title: '算法用途', dataIndex: 'name', key: 'name', align: 'center' },
{ title: '算法体制', dataIndex: 'name', key: 'name', align: 'center' },
{ title: '算法模式简称', dataIndex: 'name', key: 'name', align: 'center' },
{ title: '参数简称', dataIndex: 'name', key: 'name', align: 'center' },
{ title: '信息长度', dataIndex: 'name', key: 'name', align: 'center' },
{ title: '工作模式', dataIndex: 'name', key: 'name', align: 'center' },
{ title: '秘钥长度', dataIndex: 'name', key: 'name', align: 'center' },
{ title: '使用状态', dataIndex: 'name', key: 'name', align: 'center' },
{ title: '删除状态', dataIndex: 'name', key: 'name', align: 'center' }
{ title: '密码算法简称', dataIndex: '', key: '', align: 'center' },
{ title: '算法标识', dataIndex: 'algorithmName', key: 'algorithmName', align: 'center' },
{ title: '密码类型', dataIndex: 'pwdType', key: 'pwdType', align: 'center' },
{ title: '算法用途', dataIndex: 'algorithmUsage', key: 'algorithmUsage', align: 'center' },
{ title: '算法体制', dataIndex: 'algorithmStyle', key: 'algorithmStyle', align: 'center' },
{ title: '算法模式简称', dataIndex: 'algorithmModelShortName', key: 'algorithmModelShortName', align: 'center' },
{ title: '参数简称', dataIndex: 'argsShortName', key: 'argsShortName', align: 'center' },
{ title: '信息长度', dataIndex: 'infoSize', key: 'infoSize', align: 'center' },
{ title: '工作模式', dataIndex: 'workModel', key: 'workModel', align: 'center' },
{ title: '秘钥长度', dataIndex: 'pwdSize', key: 'pwdSize', align: 'center' },
{ title: '使用状态', dataIndex: 'useFlag', key: 'useFlag', align: 'center' },
{ title: '删除状态', dataIndex: 'delFlag', key: 'delFlag', align: 'center' }
]
const updataList = () => {
pageNumber == 1 ? getList() : setPageNumber(1);
}
// 获取密钥体列表
const getList = () => {
upholdAlgorithmInfoList({ pageNumber, pageSize }).then((res) => {
if (res?.result == "success") {
setTotal(res.data[0].total);
setTableData(res.data[0].list);
} else {
message.error(res?.errorMsg);
}
})
}
const props: UploadProps = {
maxCount: 1,
beforeUpload: (file: any) => {
if (file.name == 'aaaa.zip') {
let promises = testData.map(async item => {
const res = await upholdAlgorithmInfoEditOrAdd(item);
if (res?.result === "success") {
return 1;
} else {
message.error(res?.errorMsg);
return 0;
}
});
Promise.all(promises).then(results => {
let recordCount = results.reduce((acc: any, val: any) => acc + val, 0);
if (recordCount === testData.length) {
message.success('导入成功');
updataList()
}
});
} else {
message.error('导入失败');
}
return
}
};
const pageOnChange = (pageNumber: number) => {
setPageNumber(pageNumber);
}
const onShowSizeChange = (current: any, pageSize: any) => {
setpageSize(pageSize);
getList();
}
return (
<div className={`${styles.params_warp}`}>
<ButtonComp style={{ marginBottom: 30 }} type={'special'} text={'算法信息维护'} onClick={() => { }} />
@ -40,9 +103,30 @@ export default function Page() {
dataSource={tableData}
rowKey={(record: any) => record?.id}
rowClassName={rowClassName}
rowSelection={{
selectedRowKeys,
onChange: (selectedKeys: any) => {
setSelectedRowKeys(selectedKeys);
}
}}
/>
{total > 0 && <div className='flex_aiC_jB mt20'>
<div> {total} </div>
<Pagination
current={pageNumber}
pageSize={pageSize}
total={total}
showQuickJumper
onChange={pageOnChange}
onShowSizeChange={onShowSizeChange}
/>
</div>}
<div className='flex_aiC_jB mt30'>
<ButtonComp text={'导入算法'} onClick={() => { }} />
<Upload {...props} showUploadList={false}>
<ButtonComp text={'导入算法'} />
</Upload>
<div className='flex_aiC_jB'>
<ButtonComp style={{ marginRight: 20 }} text={'查询'} onClick={() => { }} />
<ButtonComp style={{ marginRight: 20 }} type={'delete'} text={'删除'} onClick={() => { }} />

@ -0,0 +1,46 @@
export const testData = [{
"ss": "密码算法简称11",
"algorithmName": "算法标识",
"algorithmNumber": "算法编号",
"algorithmShortName": "算法简称",
"algorithmStyle": "算法体制",
"algorithmUsage": "算法用法",
"algorithmModelShortName": "算法模式简称",
"argsShortName": "参数简称",
"delFlag": 0,
"infoSize": "信息长度",
"pwdSize": 6,
"pwdType": "密码类型",
"useFlag": 0,
"workModel": "工作模式"
}, {
"ss": "密码算法简称22",
"algorithmName": "算法标识",
"algorithmNumber": "算法编号",
"algorithmShortName": "算法简称",
"algorithmStyle": "算法体制",
"algorithmUsage": "算法用法",
"algorithmModelShortName": "算法模式简称",
"argsShortName": "参数简称",
"delFlag": 0,
"infoSize": "信息长度",
"pwdSize": 6,
"pwdType": "密码类型",
"useFlag": 0,
"workModel": "工作模式"
}, {
"ss": "密码算法简称33",
"algorithmName": "算法标识",
"algorithmNumber": "算法编号",
"algorithmShortName": "算法简称",
"algorithmStyle": "算法体制",
"algorithmUsage": "算法用法",
"algorithmModelShortName": "算法模式简称",
"argsShortName": "参数简称",
"delFlag": 0,
"infoSize": "信息长度",
"pwdSize": 6,
"pwdType": "密码类型",
"useFlag": 0,
"workModel": "工作模式"
}]

@ -10,7 +10,7 @@ export default function Page() {
const columns: any = [
{
title: '序号', key: 'index', align: 'center', width: 100,
title: '序号', key: 'index', align: 'center', width: 80,
render: (a: any, b: any, c: any) => {
return <span>{c + 1}</span>;
},

@ -10,7 +10,7 @@ export default function Page() {
const columns: any = [
{
title: '序号', key: 'index', align: 'center', width: 100,
title: '序号', key: 'index', align: 'center', width: 80,
render: (a: any, b: any, c: any) => {
return <span>{c + 1}</span>;
},

@ -0,0 +1,21 @@
import { getRequest, postRequest } from "@/utils/request";
// 查看执勤区信息
export async function dutyAreaInfoId(params: any) {
return getRequest(`/xgd/dutyAreaInfo/getById/${params.id}`, {});
}
// 列表查询执勤区信息
export async function dutyAreaInfoList(params: any) {
return getRequest(`/xgd/dutyAreaInfo/list`, params);
}
// 新增或修改执勤区信息
export async function dutyAreaInfoEditOrAdd(data: any) {
return postRequest(`/xgd/dutyAreaInfo/editOrAdd`, data);
}
// 删除执勤区信息
export async function dutyAreaInfoDelete(data: any) {
return postRequest(`/xgd/dutyAreaInfo/delete/${data.id}`, {});
}

@ -0,0 +1,21 @@
import { getRequest, postRequest } from "@/utils/request";
// 列表查询算法信息维护
export async function upholdAlgorithmInfoList(params: any) {
return getRequest(`/xgd/upholdAlgorithmInfo/list`, params);
}
// 查看算法信息维护
export async function upholdAlgorithmInfoId(params: any) {
return getRequest(`/xgd/upholdAlgorithmInfo/getById/${params.id}`, {});
}
// 批量删除或恢复算法信息维护
export async function upholdAlgorithmInfoDelOrRestore(data: any) {
return postRequest(`/xgd/upholdAlgorithmInfo/delOrRestore`, data);
}
// 新增或修改算法信息维护
export async function upholdAlgorithmInfoEditOrAdd(data: any) {
return postRequest(`/xgd/upholdAlgorithmInfo/editOrAdd`, data);
}
Loading…
Cancel
Save