web资产弹窗的组件渲染整理完善

yfy
严飞永 2 months ago
parent ea476544c0
commit 5c5db9bbd8

@ -1,5 +1,5 @@
// import { directive } from "vue/types/umd";
// 基本信息
const list = [
{
key: "xtmc",
@ -20,10 +20,10 @@ const list = [
prop: "xtym",
},
{
key: "xtym",
key: "fwwz",
label: "访问网址",
type: "input",
prop: "xtym",
type: "custom",
prop: "fwwz",
},
{
key: "jsyydw",
@ -38,24 +38,12 @@ const list = [
prop: "hlwkfyt",
dict: "zc_hlwkfyt"
},
{
key: "jsyydw",
label: "建设(运营)单位",
type: "input",
prop: "jsyydw",
},
{
key: "ipAddress",
label: "Ip/Port",
type: "input",
type: "ip-port",
prop: "ipAddress",
},
{
key: "ipPort",
label: "",
type: "input",
prop: "ipPort",
},
{
key: "isZjhlwip",
label: "是否自建互联网专线IP",
@ -78,27 +66,21 @@ const list = [
{
key: "ymdqsj",
label: "关联IP",
type: "date",
type: "input",
prop: "ymdqsj",
},
{
key: "ymtxrXm",
label: "到期提醒人",
type: "input",
type: "input2",
prop: "ymtxrXm",
},
{
key: "ymtxrLxfs",
label: "",
type: "input",
prop: "ymtxrLxfs",
},
{
key: "xtzyx",
label: "系统重要性",
type: "select",
prop: "xtzyx",
dict: "zc_xtzc"
dict: "zc_xtzyx"
},
{
key: "gjxt",
@ -186,6 +168,7 @@ const list = [
label: "地理位置",
type: "cascader",
prop: "dlwz",
options: "options"
},
{
key: "jd",
@ -198,18 +181,21 @@ const list = [
label: "纬度",
type: "input",
prop: "wd",
},
}];
const list01 = [
{
key: "xttz",
label: "系统特征",
type: "checkbox",
prop: "xttz",
// dict: "zc_xttz"
},
dict: "tc_xttz"
}
];
const list02 = [
{
key: "yhgm",
label: "用户规模",
type: "checkbox",
type: "select",
prop: "yhgm",
dict: "zc_yhgm"
},
@ -269,19 +255,11 @@ const list = [
label: "系统标签",
type: "input",
prop: "xtbq"
},
{
key: "tgdw",
label: "托管单位",
type: "input",
prop: "tgdw"
},
{
key: "yfws",
label: "云服务商",
type: "input",
prop: "yfws"
},
}
];
// 系统防护信息
const list2 = [
{
key: "xtfhqkFcg",
label: "防篡改",
@ -309,7 +287,10 @@ const list = [
type: "checkbox-group",
prop: "xtfhqkFls",
dict: "xtfhqk_fls"
},
}];
//相关业务
const list3 = [
{
key: "xgywFgfw",
label: "覆盖范围",
@ -357,86 +338,56 @@ const list = [
label: "业务描述",
type: "textarea",
prop: "xgywYwms",
},
}];
//联系人
const list4 = [
{
key: "fgfzrxm",
key: "fgfzr",
label: "分管责任人",
type: "input",
prop: "fgfzrxm"
},
{
key: "fgfzrlxfs",
label: "",
type: "input",
prop: "fgfzrlxfs",
},
{
key: "fgfzryx",
label: "",
type: "input",
prop: "fgfzryx",
items: [
{ key: "fgfzrxm", label: "姓名", type: "input", prop: "fgfzrxm" },
{ key: "fgfzrlxfs", label: "联系方式", type: "input", prop: "fgfzrlxfs" },
{ key: "fgfzryx", label: "邮箱", type: "input", prop: "fgfzryx" }
]
},
{
key: "bmfzrxm",
key: "bmfzr",
label: "部门负责人",
type: "input",
prop: "bmfzrxm"
},
{
key: "bmfzrlxfs",
label: "",
type: "input",
prop: "bmfzrlxfs",
},
{
key: "bmfzryx",
label: "",
type: "input",
prop: "bmfzryx",
items: [
{ key: "bmfzrxm", label: "姓名", type: "input", prop: "bmfzrxm" },
{ key: "bmfzrlxfs", label: "联系方式", type: "input", prop: "bmfzrlxfs" },
{ key: "bmfzryx", label: "邮箱", type: "input", prop: "bmfzryx" }
]
},
{
key: "dylxrlxfs",
key: "dylxr",
label: "第一联系人",
type: "input",
prop: "dylxrlxfs",
},
{
key: "dylxrlxfs",
label: "",
type: "input",
prop: "dylxrlxfs",
},
{
key: "dylxryx",
label: "",
type: "input",
prop: "dylxryx",
items: [
{ key: "dylxrxm", label: "姓名", type: "input", prop: "dylxrxm" },
{ key: "dylxrlxfs", label: "联系方式", type: "input", prop: "dylxrlxfs" },
{ key: "dylxryx", label: "邮箱", type: "input", prop: "dylxryx" }
]
},
{
key: "qtlxrlxfs",
key: "qt",
label: "其他联系人",
type: "input",
prop: "qtlxrlxfs",
},
{
key: "qtlxrlxfs",
label: "",
type: "input",
prop: "qtlxrlxfs",
},
{
key: "qtlxryx",
label: "",
type: "input",
prop: "qtlxryx",
},
items: [
{ key: "qtlxrxm", label: "姓名", type: "input", prop: "qtlxrxm" },
{ key: "qtlxrlxfs", label: "联系方式", type: "input", prop: "qtlxrlxfs" },
{ key: "qtlxryx", label: "邮箱", type: "input", prop: "qtlxryx" }
]
}
];
//ICP备案信息
const list5 = [
{
key: "ipcSfba",
label: "是否备案",
type: "select",
prop: "ipcSfba",
dict: "is_no"
},
}];
const list501 = [
{
key: "ipcBayxx",
label: "备案有效性",
@ -499,14 +450,18 @@ const list = [
label: "审核时间",
type: "date",
prop: "shsj",
},
}];
//公安机关备案信息
const list6 = [
{
key: "gajgSfba",
label: "是否备案",
type: "select",
prop: "gajgSfba",
dict: "is_no"
},
}];
//公安机关备案信息(是)
const list7 = [
{
key: "gajgBajg",
label: "备案机关",
@ -524,7 +479,9 @@ const list = [
label: "备案日期",
type: "date",
prop: "gajgBarq",
},
}];
//系统架构
const list8 = [
{
key: "xtjgKfs",
label: "开发商",
@ -578,15 +535,20 @@ const list = [
{
key: "xtjgGchl",
label: "系统设备国产化率",
type: "input",
type: "number",
prop: "xtjgGchl"
},
}]
//等保信息
const list9 = [
{
key: "dbxxSfdbxt",
label: "是否等保系统",
type: "select",
prop: "dbxxSfdbxt"
},
prop: "dbxxSfdbxt",
dict: "is_no"
}];
//等保信息(是)
const list10 = [
{
key: "dbxxDbcpbah",
label: "等保测评备案号",
@ -638,7 +600,9 @@ const list = [
type: "select",
prop: "dbxxSfydsfcp",
dict: "is_no"
},
}];
//如果----是---第三方测评
const list11 = [
{
key: "sfCpjgmc",
label: "测评机构名称",
@ -724,7 +688,9 @@ const list = [
label: "测评结论",
type: "textarea",
prop: "sfCpjl",
},
}];
//密评信息
const list12 = [
{
key: "mpSfmpxt",
label: "是否密评系统",
@ -735,15 +701,11 @@ const list = [
{
key: "mpMpdf",
label: "密评得分",
type: "input",
type: "number",
prop: "mpMpdf",
},
// 供应链
{
key: "chepingUnit",
label: "测评单位",
type: "array",
items: [
}];
//供应链信息
const list13 = [
{
key: "name",
label: "测评单位名称",
@ -768,18 +730,13 @@ const list = [
type: "input",
prop: "lxdh"
}
]
},
{
key: "yjgysUnit",
label: "硬件供应商单位",
type: "array",
items: [
];
const list1301 = [
{
key: "name",
key: "name2",
label: "硬件供应商单位名称",
type: "input",
prop: "name"
prop: "name2"
},
{
key: "tyshxydm",
@ -799,18 +756,13 @@ const list = [
type: "input",
prop: "lxdh"
}
]
},
{
key: "jfywUnit",
label: "机房运维单位",
type: "array",
items: [
];
const list1302 = [
{
key: "name",
key: "name3",
label: "机房运维单位名称",
type: "input",
prop: "name"
prop: "name3"
},
{
key: "tyshxydm",
@ -830,18 +782,14 @@ const list = [
type: "input",
prop: "lxdh"
}
]
},
{
key: "xtsjUnit",
label: "系统设计单位",
type: "array",
items: [
];
const list1303 = [
{
key: "name",
key: "name3",
label: "系统设计单位名称",
type: "input",
prop: "name"
prop: "name3"
},
{
key: "tyshxydm",
@ -861,14 +809,10 @@ const list = [
type: "input",
prop: "lxdh"
}
]
},
{
key: "xtjsUnit",
label: "系统建设单位",
type: "array",
items: [
];
const list1304 = [
{
key: "name",
label: "系统建设单位名称",
type: "input",
@ -906,13 +850,8 @@ const list = [
prop: "sfwtc",
dict: "is_no"
}
]
},
{
key: "xtyyUnit",
label: "系统运营单位",
type: "array",
items: [
];
const list1305 = [
{
key: "name",
label: "系统运营单位名称",
@ -950,18 +889,13 @@ const list = [
prop: "sfwtc",
dict: "is_no"
}
]
},
{
key: "aqfwUnit",
label: "安全服务单位",
type: "array",
items: [
]
const list1306 = [
{
key: "name",
key: "name4",
label: "安全服务单位",
type: "input",
prop: "name"
prop: "name4"
},
{
key: "tyshxydm",
@ -981,13 +915,9 @@ const list = [
type: "input",
prop: "lxdh"
}
]
},
{
key: "fwqxx",
label: "服务器信息",
type: "array",
items: [
];
// 基础网络里的 服务器信息
const list14 = [
{
key: "sblx",
label: "设备类型",
@ -1056,13 +986,9 @@ const list = [
type: "input",
prop: "yjbsxx",
}
]
},
{
key: "wlsb",
label: "网络设备",
type: "array",
items: [
];
//基础网络-网络设备
const list15 = [
{
key: "sblx",
label: "设备类型",
@ -1118,13 +1044,9 @@ const list = [
type: "input",
prop: "yjbsxx",
}
]
},
{
key: "aqsb",
label: "安全设备",
type: "array",
items: [
];
//基础网络-安全设备
const list16 = [
{
key: "sblx",
label: "设备类型",
@ -1180,11 +1102,11 @@ const list = [
type: "input",
prop: "yjbsxx",
}
]
},
];
// 新监管业务形态
const list17 = [
{
key: "xjgywxt",
label: "新监管业务形态",
key: "xjgywxt.remark",
type: "radio",
prop: "xjgywxt.remark",
options: [
@ -1195,57 +1117,51 @@ const list = [
{ label: "工业控制", value: "5" },
{ label: "CDN", value: "6" }
],
onChange: "changeRadio",
style: "margin-left: 170px;"
},
// radio云平台
{
key: "ypt",
label: "云平台",
type: "group",
condition: "ruleForm.xjgywxt.remark == '1'",
items: [
}
];
// 上面 -(云平台)
const list18 = [
{
key: "yptFws",
key: "xjgywxt.yptFws",
label: "云平台服务商",
type: "input",
prop: "xjgywxt.yptFws",
},
{
key: "yptSfzh",
key: "xjgywxt.yptSfzh",
label: "是否租户级安全",
type: "select",
prop: "xjgywxt.yptSfzh",
dict: "is_no"
},
{
key: "yptLx",
key: "xjgywxt.yptLx",
label: "云平台类型",
type: "input",
prop: "xjgywxt.yptLx",
},
{
key: "yptYjzydx",
key: "xjgywxt.yptYjzydx",
label: "硬件资源大小",
type: "input",
prop: "xjgywxt.yptYjzydx",
},
{
key: "yptPtjg",
key: "xjgywxt.yptPtjg",
label: "平台架构",
type: "input",
prop: "xjgywxt.yptPtjg",
},
{
key: "yptIp",
key: "xjgywxt.yptIp",
label: "互联网IP段",
type: "input",
prop: "xjgywxt.yptIp",
},
{
key: "yptJflxr",
key: "xjgywxt.yptJflxr",
label: "机房联系人",
type: "input",
prop: "xjgywxt.yptJflxr",
@ -1257,37 +1173,32 @@ const list = [
prop: "xjgywxt.yptJflxrdh",
},
{
key: "yptJfEmail",
key: "xjgywxt.yptJfEmail",
label: "机房联系人邮箱",
type: "input",
prop: "xjgywxt.yptJfEmail",
},
{
key: "yptJfdz",
key: "xjgywxt.yptJfdz",
label: "机房地址",
type: "input",
prop: "xjgywxt.yptJfdz",
},
{
key: "yptYwfw",
key: "xjgywxt.yptYwfw",
label: "业务范围",
type: "input",
prop: "xjgywxt.yptYwfw",
},
{
key: "yptYwms",
key: "xjgywxt.yptYwms",
label: "业务描述",
type: "textarea",
prop: "xjgywxt.yptYwms",
}
]
},
{
key: "dsj",
label: "大数据",
type: "group",
condition: "ruleForm.xjgywxt.remark == '2'",
items: [
];
// 上面 -- (大数据)
const list19 = [
{
key: "dsjPtfws",
label: "平台服务商",
@ -1334,13 +1245,8 @@ const list = [
dict: "is_no"
}
]
},
{
key: "wulianwang",
label: "物联网",
type: "group",
condition: "ruleForm.xjgywxt.remark == '3'",
items: [
// 上面value == 3 时 (物联网)
const list20 = [
{
key: "wlwsbXtjcs",
label: "系统集成商名称",
@ -1447,13 +1353,8 @@ const list = [
prop: "xjgywxt.sxtGdbb",
}
]
},
{
key: "yidongapp",
label: "移动APP",
type: "group",
condition: "ruleForm.xjgywxt.remark == '4'",
items: [
// 上面value == 4 时 移动App
const list21 = [
{
key: "appXt",
label: "移动APP系统",
@ -1498,13 +1399,8 @@ const list = [
dict: "is_no"
}
]
},
{
key: "gongyeKongzhi",
label: "工业控制",
type: "group",
condition: "ruleForm.xjgywxt.remark == '5'",
items: [
// 上面value == 5 时 (工业控制)
const list22 = [
{
key: "gykzJcs",
label: "系统集成商名称",
@ -1607,13 +1503,8 @@ const list = [
prop: "xjgywxt.gykzMs",
}
]
},
{
key: "cdn",
label: "CDN",
type: "group",
condition: "ruleForm.xjgywxt.remark == '6'",
items: [
// 上面value == 6 时 CDN
const list23 = [
{
key: "cdnGys",
label: "CDN供应商",
@ -1658,12 +1549,17 @@ const list = [
prop: "xjgywxt.cdnJsxx",
}
]
},
//Whois信息
const list24 = [
{
key: "whoisYxx",
label: "有效性质",
label:"有效性质",
type: "radio",
prop: "whoisYxx",
options: [
{ label: "是", value: "1" },
{ label: "否", value: "2" }
],
},
{
key: "whoisZcm",
@ -1724,7 +1620,9 @@ const list = [
label: "到期时间",
type: "date",
prop: "whoisDqsj"
},
}];
//数据资产
const list25 = [
{
key: "sjzcSjkmc",
label: "数据库名称",
@ -1829,29 +1727,41 @@ const list = [
label: "数据描述",
type: "textarea",
prop: "sjzcSjms",
},
}
];
const list26 = [
{
key: "ywxttpwj",
label: "业务系统拓扑图文件",
type: "upload",
label: "",
type: "file",
prop: "ywxttpwj",
accept: "xls,xlsx,doc,docx,pdf,rar,zip,pcap,txt",
limit: 1,
fileSize: 30,
description: "附件上传支持xls、xlsx、doc、docx、pdf、rar、zip、pcap、txt、最多上传1个文件每个不超过30M"
},
{
key: "ywxttpt",
label: "业务系统拓扑图图片",
type: "upload",
label: "",
type: "image",
prop: "ywxttpt",
},
{
key: "bfyy",
label: "关停原因",
type: "display",
prop: "bfyy",
condition: "ruleForm.bfyy"
}
];
accept: "jpg,jpeg,png",
limit: 1,
fileSize: 30,
description: "图片上传支持jpg、jpeg、png、最多上传1张图片每个不超过30M"
},
// {
// key: "bfyy",
// label: "关停原因",
// type: "textarea",
// prop: "bfyy",
// condition: "ruleForm.bfyy"
// }
]
const listRules = {
//供应链的表单验证
name: [{ required: true, message: "请填写", trigger: "blur" }],
xtmc: [{ required: true, message: "请填写", trigger: "blur" }],
dwmc: [{ required: true, message: "请填写", trigger: "blur" }],
hlwkfyt: [{ required: true, message: "请填写", trigger: "change" }],
@ -1929,7 +1839,7 @@ const listRules = {
message: '请输入正确的邮箱地址',
trigger: ['blur', 'change']
}],
ipcBayxx: [{ required: true, message: "请填写", trigger: "change" }],
ipcSfba: [{ required: true, message: "请填写", trigger: "change" }],
ipcIpcbabh: [{ required: true, message: "请填写", trigger: "blur" }],
ipcBaym: [{ required: true, message: "请填写", trigger: "blur" }],
ipcBalxrdh: [
@ -2053,5 +1963,6 @@ const listRules = {
sjzcSjfjfl: [{ required: true, message: "请填写", trigger: "change" }],
sjzcSjzycd: [{ required: true, message: "请填写", trigger: "change" }],
};
console.log(list);
export { list, listRules };
export { list,list01,list02, list2, list3, list4, list5, list501, list6, list7, list8, list9, list10, list11, list12, list13,list1301,list1302,list1303,list1304,list1305,list1306, list14, list15, list16, list17, list18, list19, list20, list21, list22, list23, list24, list25,list26, listRules };

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save