master_basic
parent
1b148f9e51
commit
ababb504f6
@ -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": "工作模式"
|
||||
}]
|
@ -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…
Reference in new issue