From ea476544c0d21f2c31a3f733605b19da0ee2efd8 Mon Sep 17 00:00:00 2001 From: yanfeiyong <2060201549@qq.com> Date: Wed, 26 Feb 2025 08:52:23 +0800 Subject: [PATCH 1/3] =?UTF-8?q?web=E8=B5=84=E4=BA=A7=E5=BC=B9=E7=AA=97?= =?UTF-8?q?=E5=AD=97=E6=AE=B5=E6=95=B4=E7=90=86=E5=92=8C=E6=B8=B2=E6=9F=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/auditPages/assetsManagement.vue | 15 +- .../components/assetsManagement/index.js | 2057 ++++++++++++++++- .../components/assetsManagement/index.vue | 159 +- 3 files changed, 2222 insertions(+), 9 deletions(-) diff --git a/src/views/auditPages/assetsManagement.vue b/src/views/auditPages/assetsManagement.vue index b146423..65f460f 100644 --- a/src/views/auditPages/assetsManagement.vue +++ b/src/views/auditPages/assetsManagement.vue @@ -20,7 +20,7 @@ icon="el-icon-upload2" size="mini" @click="handleImport" - >导入导入11 导出 - 新增资产 @@ -148,6 +152,7 @@ > @@ -278,6 +283,10 @@ export default { this.getDeptTree(); }, methods: { + // 弹窗操作 + handleDialog(id, disabled) { + this.$refs.myDialog.openDialog(id, disabled); + }, /**导出 */ handleExport() { this.download( diff --git a/src/views/auditPages/components/assetsManagement/index.js b/src/views/auditPages/components/assetsManagement/index.js index 3cfcab5..6ca2238 100644 --- a/src/views/auditPages/components/assetsManagement/index.js +++ b/src/views/auditPages/components/assetsManagement/index.js @@ -1,4 +1,2057 @@ -const list = []; +// import { directive } from "vue/types/umd"; +const list = [ + { + key: "xtmc", + label: "系统名称", + type: "input", + prop: "xtmc", + }, + { + key: "dwmc", + label: "单位名称", + type: "autocomplete", + prop: "dwmc", + }, + { + key: "xtym", + label: "系统域名", + type: "input", + prop: "xtym", + }, + { + key: "xtym", + label: "访问网址", + type: "input", + prop: "xtym", + }, + { + key: "jsyydw", + label: "建设(运营)单位", + type: "input", + prop: "jsyydw", + }, + { + key: "hlwkfyt", + label: "互联网开放用途", + type: "select", + prop: "hlwkfyt", + dict: "zc_hlwkfyt" + }, + { + key: "jsyydw", + label: "建设(运营)单位", + type: "input", + prop: "jsyydw", + }, + { + key: "ipAddress", + label: "Ip/Port", + type: "input", + prop: "ipAddress", + }, + { + key: "ipPort", + label: "", + type: "input", + prop: "ipPort", + }, + { + key: "isZjhlwip", + label: "是否自建互联网专线IP", + type: "input", + prop: "isZjhlwip", + dict: "is_no" + }, + { + key: "key", + label: "关联域名", + type: "input", + prop: "key", + }, + { + key: "ymdqsj", + label: "域名到期时间", + type: "date", + prop: "ymdqsj", + }, + { + key: "ymdqsj", + label: "关联IP", + type: "date", + prop: "ymdqsj", + }, + { + key: "ymtxrXm", + label: "到期提醒人", + type: "input", + prop: "ymtxrXm", + }, + { + key: "ymtxrLxfs", + label: "", + type: "input", + prop: "ymtxrLxfs", + }, + { + key: "xtzyx", + label: "系统重要性", + type: "select", + prop: "xtzyx", + dict: "zc_xtzc" + }, + { + key: "gjxt", + label: "是否关基系统", + type: "select", + prop: "gjxt", + dict: "is_no" + }, + { + key: "xtlx", + label: "系统类型", + type: "select", + prop: "xtlx", + dict: "zc_xtlx" + }, + { + key: "jfxx", + label: "机房信息", + type: "input", + prop: "jfxx" + }, + { + key: "sysj", + label: "使用时间", + type: "date", + prop: "sysj" + }, + { + key: "hlwxt", + label: "是否是互联网系统", + type: "select", + prop: "hlwxt", + dict: "is_no" + }, + { + key: "xtbh", + label: "系统编号", + type: "input", + prop: "xtbh" + }, + { + key: "xtzt", + label: "系统状态", + type: "select", + prop: "xtzt", + dict: "zc_xtzt" + }, + { + key: "zxzt", + label: "在线状态", + type: "select", + prop: "zxzt", + dict: "zc_zxzt" + }, + { + key: "cjmx", + label: "C-机密性", + type: "select", + prop: "cjmx", + dict: "zc_c_i_a" + }, + { + key: "iwzx", + label: "I-完整性", + type: "select", + prop: "iwzx", + dict: "zc_c_i_a" + }, + { + key: "akyx", + label: "A-可用性", + type: "select", + prop: "akyx", + dict: "zc_c_i_a" + }, + { + key: "chl", + label: "存活率", + type: "select", + prop: "chl", + dict: "zc_c_i_a" + }, + { + key: "dlwz", + label: "地理位置", + type: "cascader", + prop: "dlwz", + }, + { + key: "jd", + label: "经度", + type: "input", + prop: "jd", + }, + { + key: "wd", + label: "纬度", + type: "input", + prop: "wd", + }, + { + key: "xttz", + label: "系统特征", + type: "checkbox", + prop: "xttz", + // dict: "zc_xttz" + }, + { + key: "yhgm", + label: "用户规模", + type: "checkbox", + prop: "yhgm", + dict: "zc_yhgm" + }, + { + key: "hlwjryys", + label: "互联网接入运营商", + type: "input", + prop: "hlwjryys" + }, + { + key: "zcwljrdz", + label: "资产物理接入地址", + type: "input", + prop: "zcwljrdz" + }, + { + key: "bsypt", + label: "是否部署云平台", + type: "select", + prop: "bsypt", + dict: "is_no", + }, + { + key: "yfwsmc", + label: "云服务商名称", + type: "input", + prop: "yfwsmc" + }, + { + key: "wzfwxy", + label: "网站访问协议/开通协议", + type: "input", + prop: "wzfwxy" + }, + { + key: "xtbsfs", + label: "系统部署方式", + type: "select", + prop: "xtbsfs", + dict: "zc_xtbsfs", + }, + { + key: "dgzkf", + label: "是否对公众开放", + type: "select", + prop: "dgzkf", + dict: "is_no" + }, + { + key: "dns", + label: "DNS", + type: "input", + prop: "dns" + }, + { + key: "xtbq", + label: "系统标签", + type: "input", + prop: "xtbq" + }, + { + key: "tgdw", + label: "托管单位", + type: "input", + prop: "tgdw" + }, + { + key: "yfws", + label: "云服务商", + type: "input", + prop: "yfws" + }, + { + key: "xtfhqkFcg", + label: "防篡改", + type: "checkbox-group", + prop: "xtfhqkFcg", + dict: "xtfhqk_fcg" + }, + { + key: "xtfhqkFxl", + label: "防泄露", + type: "checkbox-group", + prop: "xtfhqkFxl", + dict: "xtfhqk_fxl" + }, + { + key: "xtfhqkFzd", + label: "防中断", + type: "checkbox-group", + prop: "xtfhqkFzd", + dict: "xtfhqk_fzd" + }, + { + key: "xtfhqkFls", + label: "防勒索", + type: "checkbox-group", + prop: "xtfhqkFls", + dict: "xtfhqk_fls" + }, + { + key: "xgywFgfw", + label: "覆盖范围", + type: "select", + prop: "xgywFgfw", + dict: "fgfw" + }, + { + key: "xgywWlxz", + label: "网络性质", + type: "select", + prop: "xgywWlxz", + dict: "wlxz" + }, + { + key: "xgywYwlx", + label: "业务类型", + type: "select", + prop: "xgywYwlx", + dict: "ywlx" + }, + { + key: "xgywHlqk", + label: "互联情况", + type: "select", + prop: "xgywHlqk", + dict: "hlqk" + }, + { + key: "xgywFwdx", + label: "服务对象", + type: "select", + prop: "xgywFwdx", + dict: "fwdx" + }, + { + key: "xgywFwfw", + label: "服务范围", + type: "select", + prop: "xgywFwfw", + dict: "fwfw" + }, + { + key: "xgywYwms", + label: "业务描述", + type: "textarea", + prop: "xgywYwms", + }, + { + key: "fgfzrxm", + label: "分管责任人", + type: "input", + prop: "fgfzrxm" + }, + { + key: "fgfzrlxfs", + label: "", + type: "input", + prop: "fgfzrlxfs", + }, + { + key: "fgfzryx", + label: "", + type: "input", + prop: "fgfzryx", + }, + { + key: "bmfzrxm", + label: "部门负责人", + type: "input", + prop: "bmfzrxm" + }, + { + key: "bmfzrlxfs", + label: "", + type: "input", + prop: "bmfzrlxfs", + }, + { + key: "bmfzryx", + label: "", + type: "input", + prop: "bmfzryx", + }, + { + key: "dylxrlxfs", + label: "第一联系人", + type: "input", + prop: "dylxrlxfs", + }, + { + key: "dylxrlxfs", + label: "", + type: "input", + prop: "dylxrlxfs", + }, + { + key: "dylxryx", + label: "", + type: "input", + prop: "dylxryx", + }, + { + key: "qtlxrlxfs", + label: "其他联系人", + type: "input", + prop: "qtlxrlxfs", + }, + { + key: "qtlxrlxfs", + label: "", + type: "input", + prop: "qtlxrlxfs", + }, + { + key: "qtlxryx", + label: "", + type: "input", + prop: "qtlxryx", + }, + { + key: "ipcSfba", + label: "是否备案", + type: "select", + prop: "ipcSfba", + dict: "is_no" + }, + { + key: "ipcBayxx", + label: "备案有效性", + type: "select", + prop: "ipcBayxx", + dict: "is_no" + }, + { + key: "ipcBawzmc", + label: "备案网站名称", + type: "input", + prop: "ipcBawzmc", + dict: "is_no" + }, + { + key: "ipcBawzsy", + label: "备案网站首页", + type: "input", + prop: "ipcBawzsy" + }, + { + key: "ipcIpcbabh", + label: "ICP备案编号", + type: "input", + prop: "ipcIpcbabh" + }, + { + key: "ipcBaym", + label: "备案域名", + type: "input", + prop: "ipcBaym" + }, + { + key: "ipcBadwmc", + label: "备案单位名称", + type: "input", + prop: "ipcBadwmc" + }, + { + key: "ipcBadwxz", + label: "备案单位性质", + type: "input", + prop: "ipcBadwxz", + dict: "dwlx" + }, + { + key: "ipcBalxr", + label: "备案联系人", + type: "input", + prop: "ipcBalxr", + }, + { + key: "ipcBalxrdh", + label: "备案联系人电话", + type: "input", + prop: "ipcBalxrdh", + }, + { + key: "shsj", + label: "审核时间", + type: "date", + prop: "shsj", + }, + { + key: "gajgSfba", + label: "是否备案", + type: "select", + prop: "gajgSfba", + dict: "is_no" + }, + { + key: "gajgBajg", + label: "备案机关", + type: "input", + prop: "gajgBajg", + }, + { + key: "gajgBah", + label: "公安机关备案号", + type: "input", + prop: "gajgBah", + }, + { + key: "gajgBarq", + label: "备案日期", + type: "date", + prop: "gajgBarq", + }, + { + key: "xtjgKfs", + label: "开发商", + type: "input", + prop: "xtjgKfs", + }, + { + key: "xtjgXtbb", + label: "系统版本", + type: "input", + prop: "xtjgXtbb", + }, + { + key: "xtjgJsjg", + label: "技术架构", + type: "input", + prop: "xtjgJsjg", + }, + { + key: "xtjgFwzj", + label: "服务组件", + type: "input", + prop: "xtjgFwzj", + }, + { + key: "xtjgWebMc", + label: "Web容器名称", + type: "input", + prop: "xtjgWebMc", + }, + { + key: "xtjgWebBb", + label: "Web容器版本", + type: "input", + prop: "xtjgWebBb", + }, + { + key: "xtjgGcxt", + label: "是否国产化系统", + type: "select", + prop: "xtjgGcxt", + dict: "is_no" + }, + { + key: "xtjgGcsb", + label: "是否有国产设备", + type: "select", + prop: "xtjgGcsb", + dict: "is_no" + }, + { + key: "xtjgGchl", + label: "系统设备国产化率", + type: "input", + prop: "xtjgGchl" + }, + { + key: "dbxxSfdbxt", + label: "是否等保系统", + type: "select", + prop: "dbxxSfdbxt" + }, + { + key: "dbxxDbcpbah", + label: "等保测评备案号", + type: "input", + prop: "dbxxDbcpbah" + }, + { + key: "dbxxDbdj", + label: "等保等级", + type: "select", + prop: "dbxxDbdj", + dict: "dbxx_dbdj" + }, + { + key: "dbxxZgbm", + label: "主管部门", + type: "input", + prop: "dbxxZgbm", + }, + { + key: "dbxxZjps", + label: "专家评审", + type: "select", + prop: "dbxxZjps", + dict: "dbxx_zjps" + }, + { + key: "dbxxZgbmps", + label: "主管部门评审", + type: "select", + prop: "dbxxZgbmps", + dict: "dbxx_zjps" + }, + { + key: "dbxxDjsj", + label: "定级时间", + type: "date", + prop: "dbxxDjsj", + }, + { + key: "dbxxCpdf", + label: "测评得分", + type: "input", + prop: "dbxxCpdf" + }, + { + key: "dbxxSfydsfcp", + label: "是否有第三方测评", + type: "select", + prop: "dbxxSfydsfcp", + dict: "is_no" + }, + { + key: "sfCpjgmc", + label: "测评机构名称", + type: "input", + prop: "sfCpjgmc", + }, + { + key: "sfCpjglxr", + label: "测评机构联系人", + type: "input", + prop: "sfCpjglxr", + }, + { + key: "sfCpjgdz", + label: "测评机构地址", + type: "input", + prop: "sfCpjgdz", + }, + { + key: "sfCpjglxrdh", + label: "测评机构联系人电话", + type: "input", + prop: "sfCpjglxrdh", + }, + { + key: "sfCpslxr", + label: "测评时联系人", + type: "input", + prop: "sfCpslxr", + }, + { + key: "sfCpsxm", + label: "测评师姓名", + type: "input", + prop: "sfCpsxm", + }, + { + key: "sfCpslxrdh", + label: "测评时联系人电话", + type: "input", + prop: "sfCpslxrdh" + }, + { + key: "sfCpsdh", + label: "测评师电话", + type: "input", + prop: "sfCpsdh" + }, + { + key: "sfTjdbb", + label: "推荐等保办", + type: "input", + prop: "sfTjdbb", + }, + { + key: "sfCpszsdj", + label: "测评师证书等级", + type: "select", + prop: "sfCpszsdj", + dict: "sf_cpszsdj" + }, + { + key: "sfCpdj", + label: "测评等级", + type: "select", + prop: "sfCpdj", + dict: "dbxx_dbdj" + }, + { + key: "sfTjrq", + label: "推荐日期", + type: "date", + prop: "sfTjrq", + }, + { + key: "sfBgrq", + label: "报告日期", + type: "date", + prop: "sfBgrq", + }, + { + key: "sfCpjl", + label: "测评结论", + type: "textarea", + prop: "sfCpjl", + }, + { + key: "mpSfmpxt", + label: "是否密评系统", + type: "select", + prop: "mpSfmpxt", + dict: "is_no" + }, + { + key: "mpMpdf", + label: "密评得分", + type: "input", + prop: "mpMpdf", + }, + // 供应链 + { + key: "chepingUnit", + label: "测评单位", + type: "array", + items: [ + { + key: "name", + label: "测评单位名称", + type: "input", + prop: "name" + }, + { + key: "tyshxydm", + label: "统一社会信用代码", + type: "input", + prop: "tyshxydm" + }, + { + key: "lxr", + label: "联系人", + type: "input", + prop: "lxr" + }, + { + key: "lxdh", + label: "联系电话", + type: "input", + prop: "lxdh" + } + ] + }, + { + key: "yjgysUnit", + label: "硬件供应商单位", + type: "array", + items: [ + { + key: "name", + label: "硬件供应商单位名称", + type: "input", + prop: "name" + }, + { + key: "tyshxydm", + label: "统一社会信用代码", + type: "input", + prop: "tyshxydm" + }, + { + key: "lxr", + label: "联系人", + type: "input", + prop: "lxr" + }, + { + key: "lxdh", + label: "联系电话", + type: "input", + prop: "lxdh" + } + ] + }, + { + key: "jfywUnit", + label: "机房运维单位", + type: "array", + items: [ + { + key: "name", + label: "机房运维单位名称", + type: "input", + prop: "name" + }, + { + key: "tyshxydm", + label: "统一社会信用代码", + type: "input", + prop: "tyshxydm" + }, + { + key: "lxr", + label: "联系人", + type: "input", + prop: "lxr" + }, + { + key: "lxdh", + label: "联系电话", + type: "input", + prop: "lxdh" + } + ] + }, + { + key: "xtsjUnit", + label: "系统设计单位", + type: "array", + items: [ + { + key: "name", + label: "系统设计单位名称", + type: "input", + prop: "name" + }, + { + key: "tyshxydm", + label: "统一社会信用代码", + type: "input", + prop: "tyshxydm" + }, + { + key: "lxr", + label: "联系人", + type: "input", + prop: "lxr" + }, + { + key: "lxdh", + label: "联系电话", + type: "input", + prop: "lxdh" + } + ] + }, + { + key: "xtjsUnit", + label: "系统建设单位", + type: "array", + items: [ + { + key: "name", + label: "系统建设单位名称", + type: "input", + prop: "name", + }, + { + key: "tyshxydm", + label: "统一社会信用代码", + type: "input", + prop: "tyshxydm", + + }, + { + key: "lxr", + label: "联系人", + type: "input", + prop: "lxr", + }, + { + key: "lxdh", + label: "联系电话", + type: "input", + prop: "lxdh" + }, + { + key: "gyszcdz", + label: "供应商注册地址", + type: "input", + prop: "gyszcdz", + }, + { + key: "sfwtc", + label: "注册地是否为太仓", + type: "select", + prop: "sfwtc", + dict: "is_no" + } + ] + }, + { + key: "xtyyUnit", + label: "系统运营单位", + type: "array", + items: [ + { + key: "name", + label: "系统运营单位名称", + type: "input", + prop: "name", + }, + { + key: "tyshxydm", + label: "统一社会信用代码", + type: "input", + prop: "tyshxydm" + }, + { + key: "lxr", + label: "联系人", + type: "input", + prop: "lxr", + }, + { + key: "lxdh", + label: "联系电话", + type: "input", + prop: "lxdh", + }, + { + key: "gyszcdz", + label: "供应商注册地址", + type: "input", + prop: "gyszcdz", + }, + { + key: "sfwtc", + label: "注册地是否为太仓", + type: "select", + prop: "sfwtc", + dict: "is_no" + } + ] + }, + { + key: "aqfwUnit", + label: "安全服务单位", + type: "array", + items: [ + { + key: "name", + label: "安全服务单位", + type: "input", + prop: "name" + }, + { + key: "tyshxydm", + label: "统一社会信用代码", + type: "input", + prop: "tyshxydm" + }, + { + key: "lxr", + label: "联系人", + type: "input", + prop: "lxr" + }, + { + key: "lxdh", + label: "联系电话", + type: "input", + prop: "lxdh" + } + ] + }, + { + key: "fwqxx", + label: "服务器信息", + type: "array", + items: [ + { + key: "sblx", + label: "设备类型", + type: "input", + prop: "sblx", + }, + { + key: "pp", + label: "品牌", + type: "input", + prop: "pp", + }, + { + key: "ipType", + label: "设备IP", + type: "select", + prop: "ipType", + dict: "sb_ip" + }, + { + key: "sbIp", + label: "设备IP地址", + type: "input", + prop: "sbIp", + }, + { + key: "czxt", + label: "操作系统", + type: "select", + prop: "czxt", + dict: "fwq_czxt" + }, + { + key: "czxtbb", + label: "操作系统版本", + type: "input", + prop: "czxtbb", + }, + { + key: "yjxh", + label: "硬件型号", + type: "input", + prop: "yjxh", + }, + { + key: "yjxlh", + label: "硬件序列号", + type: "input", + prop: "yjxlh" + }, + { + key: "yjbbxx", + label: "硬件版本信息", + type: "input", + prop: "yjbbxx" + }, + { + key: "yjyt", + label: "硬件用途", + type: "input", + prop: "yjyt", + }, + { + key: "yjbsxx", + label: "硬件部署位置", + type: "input", + prop: "yjbsxx", + } + ] + }, + { + key: "wlsb", + label: "网络设备", + type: "array", + items: [ + { + key: "sblx", + label: "设备类型", + type: "input", + prop: "sblx", + }, + { + key: "pp", + label: "品牌", + type: "input", + prop: "pp", + }, + { + key: "ipType", + label: "设备IP", + type: "select", + prop: "ipType", + dict: "sb_ip" + }, + { + key: "sbIp", + label: "设备IP地址", + type: "input", + prop: "sbIp", + }, + { + key: "yjxh", + label: "硬件型号", + type: "input", + prop: "yjxh", + }, + { + key: "yjxlh", + label: "硬件序列号", + type: "input", + prop: "yjxlh" + }, + { + key: "yjbbxx", + label: "硬件版本信息", + type: "input", + prop: "yjbbxx" + }, + { + key: "yjyt", + label: "硬件用途", + type: "input", + prop: "yjyt", + }, + { + key: "yjbsxx", + label: "硬件部署位置", + type: "input", + prop: "yjbsxx", + } + ] + }, + { + key: "aqsb", + label: "安全设备", + type: "array", + items: [ + { + key: "sblx", + label: "设备类型", + type: "input", + prop: "sblx", + }, + { + key: "pp", + label: "品牌", + type: "input", + prop: "pp", + }, + { + key: "ipType", + label: "设备IP", + type: "select", + prop: "ipType", + dict: "sb_ip" + }, + { + key: "sbIp", + label: "", + type: "input", + prop: "sbIp", + }, + { + key: "yjxh", + label: "硬件型号", + type: "input", + prop: "yjxh", + }, + { + key: "yjxlh", + label: "硬件序列号", + type: "input", + prop: "yjxlh" + }, + { + key: "yjbbxx", + label: "硬件版本信息", + type: "input", + prop: "yjbbxx" + }, + { + key: "yjyt", + label: "硬件用途", + type: "input", + prop: "yjyt", + }, + { + key: "yjbsxx", + label: "硬件部署位置", + type: "input", + prop: "yjbsxx", + } + ] + }, + { + key: "xjgywxt", + label: "新监管业务形态", + type: "radio", + prop: "xjgywxt.remark", + options: [ + { label: "云平台", value: "1" }, + { label: "大数据", value: "2" }, + { label: "物联网", value: "3" }, + { label: "移动APP", value: "4" }, + { 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: [ + { + key: "yptFws", + label: "云平台服务商", + type: "input", + prop: "xjgywxt.yptFws", + }, + { + key: "yptSfzh", + label: "是否租户级安全", + type: "select", + prop: "xjgywxt.yptSfzh", + dict: "is_no" + }, + { + key: "yptLx", + label: "云平台类型", + type: "input", + prop: "xjgywxt.yptLx", + }, + { + key: "yptYjzydx", + label: "硬件资源大小", + type: "input", + prop: "xjgywxt.yptYjzydx", + }, + { + key: "yptPtjg", + label: "平台架构", + type: "input", + prop: "xjgywxt.yptPtjg", + + }, + { + key: "yptIp", + label: "互联网IP段", + type: "input", + prop: "xjgywxt.yptIp", + + }, + { + key: "yptJflxr", + label: "机房联系人", + type: "input", + prop: "xjgywxt.yptJflxr", + }, + { + key: "xjgywxt.yptJflxrdh", + label: "机房联系人电话", + type: "input", + prop: "xjgywxt.yptJflxrdh", + }, + { + key: "yptJfEmail", + label: "机房联系人邮箱", + type: "input", + prop: "xjgywxt.yptJfEmail", + }, + { + key: "yptJfdz", + label: "机房地址", + type: "input", + prop: "xjgywxt.yptJfdz", + }, + { + key: "yptYwfw", + label: "业务范围", + type: "input", + prop: "xjgywxt.yptYwfw", + }, + { + key: "yptYwms", + label: "业务描述", + type: "textarea", + prop: "xjgywxt.yptYwms", + } + ] + }, + { + key: "dsj", + label: "大数据", + type: "group", + condition: "ruleForm.xjgywxt.remark == '2'", + items: [ + { + key: "dsjPtfws", + label: "平台服务商", + type: "input", + prop: "xjgywxt.dsjPtfws" + }, + { + key: "dsjMgsjlx", + label: "敏感数据类型", + type: "input", + prop: "xjgywxt.dsjMgsjlx" + }, + { + key: "dsjYjzy", + label: "硬件资源", + type: "input", + prop: "xjgywxt.dsjYjzy", + append: "支持G\\TB\\PB" + }, + { + key: "dsjXtsjl", + label: "系统数据量", + type: "input", + prop: "xjgywxt.dsjXtsjl", + append: "支持G\\TB\\PB" + }, + { + key: "dsjJflxr", + label: "机房联系人", + type: "input", + prop: "xjgywxt.dsjJflxr", + }, + { + key: "dsjJflxrdh", + label: "机房联系人电话", + type: "input", + prop: "xjgywxt.dsjJflxrdh" + }, + { + key: "dsjSfsjsj", + label: "是否数据审计", + type: "select", + prop: "xjgywxt.dsjSfsjsj", + dict: "is_no" + } + ] + }, + { + key: "wulianwang", + label: "物联网", + type: "group", + condition: "ruleForm.xjgywxt.remark == '3'", + items: [ + { + key: "wlwsbXtjcs", + label: "系统集成商名称", + type: "input", + prop: "xjgywxt.wlwsbXtjcs", + }, + { + key: "wlwsbYhsl", + label: "用户数量", + type: "input", + prop: "xjgywxt.wlwsbYhsl", + }, + { + key: "wlwsbFwdx", + label: "服务对象", + type: "select", + prop: "xjgywxt.wlwsbFwdx", + dict: "wlw_fwdx" + }, + { + key: "wlwsbZdsl", + label: "终端数量", + type: "input", + prop: "xjgywxt.wlwsbZdsl", + }, + { + key: "wlwsbWlhlqk", + label: "网络互连情况", + type: "select", + prop: "xjgywxt.wlwsbWlhlqk", + dict: "wlw_wlhlqk" + }, + { + key: "wlwsbLxr", + label: "联系人", + type: "input", + prop: "xjgywxt.wlwsbLxr", + }, + { + key: "wlwsbLxrdh", + label: "联系人电话", + type: "input", + prop: "xjgywxt.wlwsbLxrdh", + }, + { + key: "wlwsbFwfw", + label: "服务范围", + type: "select", + prop: "xjgywxt.wlwsbFwfw", + dict: "wlw_fwfw" + }, + { + key: "wlwsbFwnr", + label: "服务内容", + type: "input", + prop: "xjgywxt.wlwsbFwnr", + }, + { + key: "sxtPp", + label: "摄像头品牌", + type: "input", + prop: "xjgywxt.sxtPp", + }, + { + key: "sxtWz", + label: "位置", + type: "input", + prop: "xjgywxt.sxtWz", + }, + { + key: "sxtIp", + label: "摄像头IP", + type: "input", + prop: "xjgywxt.sxtIp", + }, + { + key: "sxtQy", + label: "区域", + type: "input", + prop: "xjgywxt.sxtQy", + }, + { + key: "sxtSl", + label: "摄像头数量", + type: "input", + prop: "xjgywxt.sxtSl", + }, + { + key: "sxtDk", + label: "端口", + type: "input", + prop: "xjgywxt.sxtDk", + }, + { + key: "sxtSbxh", + label: "设备型号", + type: "input", + prop: "xjgywxt.sxtSbxh", + }, + { + key: "sxtGdbb", + label: "固定版本", + type: "input", + prop: "xjgywxt.sxtGdbb", + } + ] + }, + { + key: "yidongapp", + label: "移动APP", + type: "group", + condition: "ruleForm.xjgywxt.remark == '4'", + items: [ + { + key: "appXt", + label: "移动APP系统", + type: "input", + prop: "xjgywxt.appXt", + }, + { + key: "appYm", + label: "服务端域名", + type: "input", + prop: "xjgywxt.appYm", + }, + { + key: "appQd", + label: "移动APP渠道", + type: "input", + prop: "xjgywxt.appQd", + }, + { + key: "appIp", + label: "服务端IP", + type: "input", + prop: "xjgywxt.appIp", + }, + { + key: "appLxr", + label: "联系人", + type: "input", + prop: "xjgywxt.appLxr", + }, + { + key: "appLxrdh", + label: "联系人电话", + type: "input", + prop: "xjgywxt.appLxrdh", + }, + { + key: "appSfysfrz", + label: "是否有身份认证", + type: "select", + prop: "xjgywxt.appSfysfrz", + dict: "is_no" + } + ] + }, + { + key: "gongyeKongzhi", + label: "工业控制", + type: "group", + condition: "ruleForm.xjgywxt.remark == '5'", + items: [ + { + key: "gykzJcs", + label: "系统集成商名称", + type: "input", + prop: "xjgywxt.gykzJcs", + }, + { + key: "gykzYxsj", + label: "运行时间", + type: "date", + prop: "xjgywxt.gykzYxsj", + format: "yyyy-MM-dd", + valueFormat: "yyyy-MM-dd" + }, + { + key: "gykzFwdx", + label: "服务对象", + type: "select", + prop: "xjgywxt.gykzFwdx", + dict: "wlw_fwdx" + }, + { + key: "gykzJcsqk", + label: "集成商国内外情况", + type: "input", + prop: "xjgywxt.gykzJcsqk", + }, + { + key: "gykzWlhxqk", + label: "网络互联情况", + type: "select", + prop: "xjgywxt.gykzWlhxqk", + dict: "wlw_wlhlqk" + }, + { + key: "gykzLxr", + label: "联系人", + type: "input", + prop: "xjgywxt.gykzLxr", + }, + { + key: "gykzLxrdh", + label: "联系人电话", + type: "input", + prop: "xjgywxt.gykzLxrdh", + }, + { + key: "gykzFwfw", + label: "服务范围", + type: "select", + prop: "xjgywxt.gykzFwfw", + dict: "wlw_fwfw" + }, + { + key: "gykzSbmc", + label: "设备名称", + type: "input", + prop: "xjgywxt.gykzSbmc", + }, + { + key: "gykzSbpp", + label: "设备品牌", + type: "input", + prop: "xjgywxt.gykzSbpp", + }, + { + key: "gykzSblb", + label: "设备类别", + type: "input", + prop: "xjgywxt.gykzSblb", + }, + { + key: "gykzYys", + label: "运营商", + type: "input", + prop: "xjgywxt.gykzYys", + }, + { + key: "gykzHlwIp", + label: "互联网IP", + type: "input", + prop: "xjgywxt.gykzHlwIp", + }, + { + key: "gykzWlcj", + label: "网络层级", + type: "input", + prop: "xjgywxt.gykzWlcj", + }, + { + key: "gykzKztIp", + label: "控制台IP", + type: "input", + prop: "xjgywxt.gykzKztIp", + }, + { + key: "gykzMs", + label: "描述", + type: "input", + prop: "xjgywxt.gykzMs", + } + ] + }, + { + key: "cdn", + label: "CDN", + type: "group", + condition: "ruleForm.xjgywxt.remark == '6'", + items: [ + { + key: "cdnGys", + label: "CDN供应商", + type: "input", + prop: "xjgywxt.cdnGys", + }, + { + key: "cdnSfsy", + label: "CDN是否使用", + type: "select", + prop: "xjgywxt.cdnSfsy", + dict: "is_no" + }, + { + key: "cdnLx", + label: "CDN类型", + type: "input", + prop: "xjgywxt.cdnLx", + }, + { + key: "cdnYm", + label: "CDN域名", + type: "input", + prop: "xjgywxt.cdnYm", + }, + { + key: "cdnLxr", + label: "联系人", + type: "input", + prop: "xjgywxt.cdnLxr", + }, + { + key: "cdnLxrdh", + label: "联系人", + type: "input", + prop: "cdnLxrdh", + }, + { + key: "cdnJsxx", + label: "CDN加速信息", + type: "input", + prop: "xjgywxt.cdnJsxx", + } + ] + }, + { + key: "whoisYxx", + label: "有效性质", + type: "radio", + prop: "whoisYxx", + }, + { + key: "whoisZcm", + label: "注册名", + type: "input", + prop: "whoisZcm", + }, + { + key: "whoisFws", + label: "服务商", + type: "input", + prop: "whoisFws" + }, + { + key: "whoisZcyx", + label: "注册邮箱", + type: "input", + prop: "whoisZcyx" + }, + { + key: "whoisZcgj", + label: "注册国家", + type: "input", + prop: "whoisZcgj" + }, + { + key: "whoisZcs", + label: "注册省", + type: "input", + prop: "whoisZcs" + }, + { + key: "whoisZcdz", + label: "注册地址", + type: "input", + prop: "whoisZcdz" + }, + { + key: "whoisZcjg", + label: "注册机构", + type: "input", + prop: "whoisZcjg" + }, + { + key: "whoisZcsj", + label: "注册时间", + type: "date", + prop: "whoisZcsj" + }, + { + key: "whoisZhgxsj", + label: "最后更新时间", + type: "date", + prop: "whoisZhgxsj" + }, + { + key: "whoisDqsj", + label: "到期时间", + type: "date", + prop: "whoisDqsj" + }, + { + key: "sjzcSjkmc", + label: "数据库名称", + type: "input", + prop: "sjzcSjkmc", + }, + { + key: "sjzcSjklx", + label: "数据库类型", + type: "select", + prop: "sjzcSjklx", + dict: "database_type" + }, + { + key: "sjzcDk", + label: "端口", + type: "input", + prop: "sjzcDk", + }, + { + key: "sjzcSjkbb", + label: "数据库版本", + type: "input", + prop: "sjzcSjkbb", + }, + { + key: "sjzcSjkIp", + label: "数据库所在IP", + type: "input", + prop: "sjzcSjkIp", + }, + { + key: "sjzcGxsx", + label: "共享属性", + type: "select", + prop: "sjzcGxsx", + dict: "sjzc_gxsx" + }, + { + key: "sjzcKfsx", + label: "开放属性", + type: "select", + prop: "sjzcKfsx", + dict: "sjzc_kfsx" + }, + { + key: "sjzcSjly", + label: "数据领域", + type: "select", + prop: "sjzcSjly", + dict: "sjzc_sjly" + }, + { + key: "sjzcGxzq", + label: "更新周期", + type: "select", + prop: "sjzcGxzq", + dict: "sjzc_gxzq" + }, + { + key: "sjzcSjlx", + label: "数据类型", + type: "input", + prop: "sjzcSjlx", + }, + { + key: "sjzcSjl", + label: "数据量", + type: "input", + prop: "sjzcSjl", + }, + { + key: "sjzcSmsj", + label: "是否涉密数据", + type: "select", + prop: "sjzcSmsj", + dict: "is_no" + }, + { + key: "sjzcCj", + label: "数据是否出境", + type: "select", + prop: "sjzcCj", + dict: "is_no" + }, + { + key: "sjzcSjfjfl", + label: "数据分级分类", + type: "select", + prop: "sjzcSjfjfl", + dict: "sjzc_sjfjfl" + }, + { + key: "sjzcSjzycd", + label: "数据重要程度", + type: "select", + prop: "sjzcSjzycd", + dict: "zc_xtzyx" + }, + { + key: "sjzcSjms", + label: "数据描述", + type: "textarea", + prop: "sjzcSjms", + }, + { + key: "ywxttpwj", + label: "业务系统拓扑图文件", + type: "upload", + prop: "ywxttpwj", + }, + { + key: "ywxttpt", + label: "业务系统拓扑图图片", + type: "upload", + prop: "ywxttpt", + }, + { + key: "bfyy", + label: "关停原因", + type: "display", + prop: "bfyy", + condition: "ruleForm.bfyy" + } + +]; +const listRules = { + xtmc: [{ required: true, message: "请填写", trigger: "blur" }], + dwmc: [{ required: true, message: "请填写", trigger: "blur" }], + hlwkfyt: [{ required: true, message: "请填写", trigger: "change" }], + ipAddress: [{ required: true, message: "请填写", trigger: "blur" }], + ipPort: [{ required: true, message: "请填写", trigger: "blur" }], + isZjhlwip: [{ required: true, message: "请填写", trigger: "change" }], + ymtxrLxfs: [{ + pattern: /^1[3|4|5|6|7|8|9][0-9]\d{8}$/, + message: '请输入正确的手机号码', + trigger: 'blur' + }], + gjxt: [{ required: true, message: "请填写", trigger: "change" }], + xtlx: [{ required: true, message: "请填写", trigger: "change" }], + jfxx: [{ required: true, message: "请填写", trigger: "blur" }], + sysj: [{ required: true, message: "请填写", trigger: "change" }], + hlwxt: [{ required: true, message: "请填写", trigger: "change" }], + xtzt: [{ required: true, message: "请填写", trigger: "change" }], + yhgm: [{ required: true, message: "请填写", trigger: "change" }], + hlwjryys: [{ required: true, message: "请填写", trigger: "blur" }], + zcwljrdz: [{ required: true, message: "请填写", trigger: "blur" }], + bsypt: [{ required: true, message: "请填写", trigger: "change" }], + yfwsmc: [{ required: true, message: "请填写", trigger: "blur" }], + wzfwxy: [{ required: true, message: "请填写", trigger: "blur" }], + xtbsfs: [{ required: true, message: "请填写", trigger: "change" }], + dgzkf: [{ required: true, message: "请填写", trigger: "change" }], + xgywYwms: [{ required: true, message: "请填写", trigger: "blur" }], + fgfzrxm: [{ required: true, message: "请填写", trigger: "blur" }], + fgfzrlxfs: [{ required: true, message: "请填写", trigger: "blur" }, + { + pattern: /^1[3|4|5|6|7|8|9][0-9]\d{8}$/, + message: '请输入正确的手机号码', + trigger: 'blur' + } + ], + fgfzryx: [{ + type: 'email', + message: '请输入正确的邮箱地址', + trigger: ['blur', 'change'] + }], + bmfzrxm: [{ required: true, message: "请填写", trigger: "blur" }], + bmfzrlxfs: [{ required: true, message: "请填写", trigger: "blur" }, + { + pattern: /^1[3|4|5|6|7|8|9][0-9]\d{8}$/, + message: '请输入正确的手机号码', + trigger: 'blur' + } + ], + bmfzryx: [{ + type: 'email', + message: '请输入正确的邮箱地址', + trigger: ['blur', 'change'] + }], + dylxrxm: [{ required: true, message: "请填写", trigger: "blur" }], + dylxrlxfs: [{ required: true, message: "请填写", trigger: "blur" }, + { + pattern: /^1[3|4|5|6|7|8|9][0-9]\d{8}$/, + message: '请输入正确的手机号码', + trigger: 'blur' + } + ], + dylxryx: [{ + type: 'email', + message: '请输入正确的邮箱地址', + trigger: ['blur', 'change'] + }], + qtlxrlxfs: [ + { + pattern: /^1[3|4|5|6|7|8|9][0-9]\d{8}$/, + message: '请输入正确的手机号码', + trigger: 'blur' + } + ], + qtlxryx: [{ + type: 'email', + message: '请输入正确的邮箱地址', + trigger: ['blur', 'change'] + }], + ipcBayxx: [{ required: true, message: "请填写", trigger: "change" }], + ipcIpcbabh: [{ required: true, message: "请填写", trigger: "blur" }], + ipcBaym: [{ required: true, message: "请填写", trigger: "blur" }], + ipcBalxrdh: [ + { + pattern: /^1[3|4|5|6|7|8|9][0-9]\d{8}$/, + message: '请输入正确的手机号码', + trigger: 'blur' + } + ], + gajgSfba: [{ required: true, message: "请填写", trigger: "change" }], + gajgBah: [{ required: true, message: "请填写", trigger: "blur" }], + xtjgKfs: [{ required: true, message: "请填写", trigger: "blur" }], + xtjgXtbb: [{ required: true, message: "请填写", trigger: "blur" }], + xtjgJsjg: [{ required: true, message: "请填写", trigger: "blur" }], + xtjgFwzj: [{ required: true, message: "请填写", trigger: "blur" }], + xtjgWebMc: [{ required: true, message: "请填写", trigger: "blur" }], + xtjgWebBb: [{ required: true, message: "请填写", trigger: "blur" }], + xtjgGcxt: [{ required: true, message: "请填写", trigger: "change" }], + xtjgGcsb: [{ required: true, message: "请填写", trigger: "change" }], + dbxxSfdbxt: [{ required: true, message: "请填写", trigger: "change" }], + dbxxDbcpbah: [{ required: true, message: "请填写", trigger: "blur" }], + dbxxDbdj: [{ required: true, message: "请填写", trigger: "change" }], + dbxxDjsj: [{ required: true, message: "请填写", trigger: "change" }], + dbxxCpdf: [{ required: true, message: "请填写", trigger: "blur" }], + dbxxSfydsfcp: [{ required: true, message: "请填写", trigger: "change" }], + sfCpjglxrdh: [{ + pattern: /^1[3|4|5|6|7|8|9][0-9]\d{8}$/, + message: '请输入正确的手机号码', + trigger: 'blur' + }], + sfCpslxrdh: [ + { + pattern: /^1[3|4|5|6|7|8|9][0-9]\d{8}$/, + message: '请输入正确的手机号码', + trigger: 'blur' + } + ], + sfCpsdh: [ + { + pattern: /^1[3|4|5|6|7|8|9][0-9]\d{8}$/, + message: '请输入正确的手机号码', + trigger: 'blur' + } + ], + //供应链的必填信息和rule + chepingUnit: [{ + pattern: /^[a-zA-Z0-9]{18}$/, + message: '请输入正确格式的18位统一社会信用代码', + trigger: 'blur' + }], + jfywUnit: [{ + pattern: /^1[3|4|5|6|7|8|9][0-9]\d{8}$/, + message: '请输入正确的手机号码', + trigger: 'blur' + }], + yjgysUnit: [{ + pattern: /^[a-zA-Z0-9]{18}$/, + message: '请输入正确格式的18位统一社会信用代码', + trigger: 'blur' + }], + // + sblx: [{ required: true, message: "请填写", trigger: "blur" }], + pp: [{ required: true, message: "请填写", trigger: "blur" }], + ipType: [{ required: true, message: "请填写", trigger: "change" }], + sbIp: [{ required: true, message: "请填写", trigger: "blur" }], + czxt: [{ required: true, message: "请填写", trigger: "change" }], + czxtbb: [{ required: true, message: "请填写", trigger: "blur" }], + yjxh: [{ required: true, message: "请填写", trigger: "blur" }], + yjyt: [{ required: true, message: "请填写", trigger: "blur" }], + yjbsxx: [{ required: true, message: "请填写", trigger: "blur" }], + xjgywxt_yptJflxrdh: [{ + pattern: /^1[3|4|5|6|7|8|9][0-9]\d{8}$/, + message: '请输入正确的手机号码', + trigger: 'blur' + }], + xjgywxt_dsjJflxrdh: [{ + pattern: /^1[3|4|5|6|7|8|9][0-9]\d{8}$/, + message: '请输入正确的手机号码', + trigger: 'blur' + }], + xjgywxt_wlwsbLxrdh: [{ + pattern: /^1[3|4|5|6|7|8|9][0-9]\d{8}$/, + message: '请输入正确的手机号码', + trigger: 'blur' + }], + xjgywxt_appLxrdh: [{ + pattern: /^1[3|4|5|6|7|8|9][0-9]\d{8}$/, + message: '请输入正确的手机号码', + trigger: 'blur' + }], + xjgywxt_gykzLxrdh: [{ + pattern: /^1[3|4|5|6|7|8|9][0-9]\d{8}$/, + message: '请输入正确的手机号码', + trigger: 'blur' + }], + xjgywxt_cdnLxrdh: [{ + pattern: /^1[3|4|5|6|7|8|9][0-9]\d{8}$/, + message: '请输入正确的手机号码', + trigger: 'blur' + }], + whoisZcyx: [ + { + type: 'email', + message: '请输入正确的邮箱地址', + trigger: ['blur', 'change'] + } + ], + sjzcSjkmc: [{ required: true, message: "请填写", trigger: "blur" }], + database_type: [{ required: true, message: "请填写", trigger: "change" }], + sjzcDk: [{ required: true, message: "请填写", trigger: "blur" }], + sjzcSjkbb: [{ required: true, message: "请填写", trigger: "blur" }], + sjzcSjkIp: [{ required: true, message: "请填写", trigger: "blur" }], + sjzcGxsx: [{ required: true, message: "请填写", trigger: "change" }], + sjzcKfsx: [{ required: true, message: "请填写", trigger: "change" }], + sjzcSjly: [{ required: true, message: "请填写", trigger: "change" }], + sjzcGxzq: [{ required: true, message: "请填写", trigger: "change" }], + sjzcSjlx: [{ required: true, message: "请填写", trigger: "blur" }], + sjzcSjl: [{ required: true, message: "请填写", trigger: "blur" }], + sjzcSmsj: [{ required: true, message: "请填写", trigger: "change" }], + sjzcCj: [{ required: true, message: "请填写", trigger: "change" }], + sjzcSjfjfl: [{ required: true, message: "请填写", trigger: "change" }], + sjzcSjzycd: [{ required: true, message: "请填写", trigger: "change" }], +}; console.log(list); -export default list; +export { list, listRules }; diff --git a/src/views/auditPages/components/assetsManagement/index.vue b/src/views/auditPages/components/assetsManagement/index.vue index 82ca021..4e42169 100644 --- a/src/views/auditPages/components/assetsManagement/index.vue +++ b/src/views/auditPages/components/assetsManagement/index.vue @@ -14,8 +14,73 @@ label-position="right" :disabled="disabled" > + +
+ + + + + + + + + + + + + + + + + +
- 返 回 From 5c5db9bbd8ffe3517d53a9bf9a9618a32b00747a Mon Sep 17 00:00:00 2001 From: yanfeiyong <2060201549@qq.com> Date: Wed, 26 Feb 2025 19:52:21 +0800 Subject: [PATCH 2/3] =?UTF-8?q?web=E8=B5=84=E4=BA=A7=E5=BC=B9=E7=AA=97?= =?UTF-8?q?=E7=9A=84=E7=BB=84=E4=BB=B6=E6=B8=B2=E6=9F=93=E6=95=B4=E7=90=86?= =?UTF-8?q?=E5=AE=8C=E5=96=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/assetsManagement/index.js | 831 ++++----- .../components/assetsManagement/index.vue | 1606 ++++++++++++++++- 2 files changed, 1970 insertions(+), 467 deletions(-) diff --git a/src/views/auditPages/components/assetsManagement/index.js b/src/views/auditPages/components/assetsManagement/index.js index 6ca2238..13f1797 100644 --- a/src/views/auditPages/components/assetsManagement/index.js +++ b/src/views/auditPages/components/assetsManagement/index.js @@ -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,259 +701,223 @@ const list = [ { key: "mpMpdf", label: "密评得分", - type: "input", + type: "number", prop: "mpMpdf", + }]; +//供应链信息 +const list13 = [ + { + key: "name", + label: "测评单位名称", + type: "input", + prop: "name" }, - // 供应链 { - key: "chepingUnit", - label: "测评单位", - type: "array", - items: [ - { - key: "name", - label: "测评单位名称", - type: "input", - prop: "name" - }, - { - key: "tyshxydm", - label: "统一社会信用代码", - type: "input", - prop: "tyshxydm" - }, - { - key: "lxr", - label: "联系人", - type: "input", - prop: "lxr" - }, - { - key: "lxdh", - label: "联系电话", - type: "input", - prop: "lxdh" - } - ] + key: "tyshxydm", + label: "统一社会信用代码", + type: "input", + prop: "tyshxydm" }, { - key: "yjgysUnit", - label: "硬件供应商单位", - type: "array", - items: [ - { - key: "name", - label: "硬件供应商单位名称", - type: "input", - prop: "name" - }, - { - key: "tyshxydm", - label: "统一社会信用代码", - type: "input", - prop: "tyshxydm" - }, - { - key: "lxr", - label: "联系人", - type: "input", - prop: "lxr" - }, - { - key: "lxdh", - label: "联系电话", - type: "input", - prop: "lxdh" - } - ] + key: "lxr", + label: "联系人", + type: "input", + prop: "lxr" }, { - key: "jfywUnit", - label: "机房运维单位", - type: "array", - items: [ - { - key: "name", - label: "机房运维单位名称", - type: "input", - prop: "name" - }, - { - key: "tyshxydm", - label: "统一社会信用代码", - type: "input", - prop: "tyshxydm" - }, - { - key: "lxr", - label: "联系人", - type: "input", - prop: "lxr" - }, - { - key: "lxdh", - label: "联系电话", - type: "input", - prop: "lxdh" - } - ] + key: "lxdh", + label: "联系电话", + type: "input", + prop: "lxdh" + } +]; +const list1301 = [ + { + key: "name2", + label: "硬件供应商单位名称", + type: "input", + prop: "name2" }, { - key: "xtsjUnit", - label: "系统设计单位", - type: "array", - items: [ - { - key: "name", - label: "系统设计单位名称", - type: "input", - prop: "name" - }, - { - key: "tyshxydm", - label: "统一社会信用代码", - type: "input", - prop: "tyshxydm" - }, - { - key: "lxr", - label: "联系人", - type: "input", - prop: "lxr" - }, - { - key: "lxdh", - label: "联系电话", - type: "input", - prop: "lxdh" - } - ] + key: "tyshxydm", + label: "统一社会信用代码", + type: "input", + prop: "tyshxydm" }, { - key: "xtjsUnit", - label: "系统建设单位", - type: "array", - items: [ - { - key: "name", - label: "系统建设单位名称", - type: "input", - prop: "name", - }, - { - key: "tyshxydm", - label: "统一社会信用代码", - type: "input", - prop: "tyshxydm", + key: "lxr", + label: "联系人", + type: "input", + prop: "lxr" + }, + { + key: "lxdh", + label: "联系电话", + type: "input", + prop: "lxdh" + } +]; +const list1302 = [ + { + key: "name3", + label: "机房运维单位名称", + type: "input", + prop: "name3" + }, + { + key: "tyshxydm", + label: "统一社会信用代码", + type: "input", + prop: "tyshxydm" + }, + { + key: "lxr", + label: "联系人", + type: "input", + prop: "lxr" + }, + { + key: "lxdh", + label: "联系电话", + type: "input", + prop: "lxdh" + } +]; +const list1303 = [ + { - }, - { - key: "lxr", - label: "联系人", - type: "input", - prop: "lxr", - }, - { - key: "lxdh", - label: "联系电话", - type: "input", - prop: "lxdh" - }, - { - key: "gyszcdz", - label: "供应商注册地址", - type: "input", - prop: "gyszcdz", - }, - { - key: "sfwtc", - label: "注册地是否为太仓", - type: "select", - prop: "sfwtc", - dict: "is_no" - } - ] + key: "name3", + label: "系统设计单位名称", + type: "input", + prop: "name3" }, { - key: "xtyyUnit", - label: "系统运营单位", - type: "array", - items: [ - { - key: "name", - label: "系统运营单位名称", - type: "input", - prop: "name", - }, - { - key: "tyshxydm", - label: "统一社会信用代码", - type: "input", - prop: "tyshxydm" - }, - { - key: "lxr", - label: "联系人", - type: "input", - prop: "lxr", - }, - { - key: "lxdh", - label: "联系电话", - type: "input", - prop: "lxdh", - }, - { - key: "gyszcdz", - label: "供应商注册地址", - type: "input", - prop: "gyszcdz", - }, - { - key: "sfwtc", - label: "注册地是否为太仓", - type: "select", - prop: "sfwtc", - dict: "is_no" - } - ] + key: "tyshxydm", + label: "统一社会信用代码", + type: "input", + prop: "tyshxydm" + }, + { + key: "lxr", + label: "联系人", + type: "input", + prop: "lxr" + }, + { + key: "lxdh", + label: "联系电话", + type: "input", + prop: "lxdh" + } +]; +const list1304 = [ + { + + key: "name", + label: "系统建设单位名称", + type: "input", + prop: "name", + }, + { + key: "tyshxydm", + label: "统一社会信用代码", + type: "input", + prop: "tyshxydm", + + }, + { + key: "lxr", + label: "联系人", + type: "input", + prop: "lxr", + }, + { + key: "lxdh", + label: "联系电话", + type: "input", + prop: "lxdh" + }, + { + key: "gyszcdz", + label: "供应商注册地址", + type: "input", + prop: "gyszcdz", + }, + { + key: "sfwtc", + label: "注册地是否为太仓", + type: "select", + prop: "sfwtc", + dict: "is_no" + } +]; +const list1305 = [ + { + key: "name", + label: "系统运营单位名称", + type: "input", + prop: "name", + }, + { + key: "tyshxydm", + label: "统一社会信用代码", + type: "input", + prop: "tyshxydm" + }, + { + key: "lxr", + label: "联系人", + type: "input", + prop: "lxr", + }, + { + key: "lxdh", + label: "联系电话", + type: "input", + prop: "lxdh", + }, + { + key: "gyszcdz", + label: "供应商注册地址", + type: "input", + prop: "gyszcdz", }, { - key: "aqfwUnit", + key: "sfwtc", + label: "注册地是否为太仓", + type: "select", + prop: "sfwtc", + dict: "is_no" + } +] +const list1306 = [ + { + key: "name4", label: "安全服务单位", - type: "array", - items: [ - { - key: "name", - label: "安全服务单位", - type: "input", - prop: "name" - }, - { - key: "tyshxydm", - label: "统一社会信用代码", - type: "input", - prop: "tyshxydm" - }, - { - key: "lxr", - label: "联系人", - type: "input", - prop: "lxr" - }, - { - key: "lxdh", - label: "联系电话", - type: "input", - prop: "lxdh" - } - ] + type: "input", + prop: "name4" }, { - key: "fwqxx", - label: "服务器信息", - type: "array", - items: [ + key: "tyshxydm", + label: "统一社会信用代码", + type: "input", + prop: "tyshxydm" + }, + { + key: "lxr", + label: "联系人", + type: "input", + prop: "lxr" + }, + { + key: "lxdh", + label: "联系电话", + type: "input", + prop: "lxdh" + } +]; +// 基础网络里的 服务器信息 +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,72 +1102,66 @@ const list = [ type: "input", prop: "yjbsxx", } - ] - }, - { - key: "xjgywxt", - label: "新监管业务形态", - type: "radio", - prop: "xjgywxt.remark", - options: [ - { label: "云平台", value: "1" }, - { label: "大数据", value: "2" }, - { label: "物联网", value: "3" }, - { label: "移动APP", value: "4" }, - { 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 list17 = [ + { + key: "xjgywxt.remark", + type: "radio", + prop: "xjgywxt.remark", + options: [ + { label: "云平台", value: "1" }, + { label: "大数据", value: "2" }, + { label: "物联网", value: "3" }, + { label: "移动APP", value: "4" }, + { label: "工业控制", value: "5" }, + { label: "CDN", value: "6" } + ], + } + ]; +// 上面 -(云平台) +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", - }, - { - key: "ywxttpwj", - label: "业务系统拓扑图文件", - type: "upload", - prop: "ywxttpwj", - }, - { - key: "ywxttpt", - label: "业务系统拓扑图图片", - type: "upload", - prop: "ywxttpt", - }, - { - key: "bfyy", - label: "关停原因", - type: "display", - prop: "bfyy", - condition: "ruleForm.bfyy" } ]; +const list26 = [ + { + key: "ywxttpwj", + 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: "image", + prop: "ywxttpt", + 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 }; diff --git a/src/views/auditPages/components/assetsManagement/index.vue b/src/views/auditPages/components/assetsManagement/index.vue index 4e42169..ab3dbc1 100644 --- a/src/views/auditPages/components/assetsManagement/index.vue +++ b/src/views/auditPages/components/assetsManagement/index.vue @@ -14,6 +14,7 @@ label-position="right" :disabled="disabled" > +
+ + + + + + + + + + +
说明:请仔细填写访问地址,确保网站地址能被访问
+ +
+
+
+ + + + + + + + + + + + + + + + + + + + + : + + + + + + + + + +
+ + +
+ +
+ + + + + + + +
+ +
+ + + + + + + + + + + + + + + + +
+ + + + + {{ isMore ? '收起' : '更多' }} + + + + +
+ + +
+ + +
+ + + +
+ + + + + + + + + + + +
+ + + +
+ +
+
+ + +
+
+
+
+ + + +
+ + + + + + +
+ +
+ + + + + + + + + + + +
+ + + +
+ + + + + + +
+
+ + + + + + + + + + + +
+ + + +
+ + + + + + + + + + + + + +
+ + + +
+ + + + + + +
+ +
+ +
+ + + + + + + + + + + +
+
+ +
+ +
+ + + + + + + + + + + + + +
+
+ + +
+ + + + + + + + +
+ + + + +
+ + + + + + + + +
+ +
+ + + + + + + + +
+ +
+ + + + + + + + +
+ +
+ + + + + + + + +
+ +
+ + + + + + + + +
+ +
+ + + + + + + + +
+ +
+ + + + + + + + +
+ + + + + 服务器信息 + +
+ + + + + + + + +
+ + + 网络设备 + +
+ + + + + + + + +
+ + + 安全设备 + +
+ + + + + + + + +
+ + + +
+ + + + + {{ option.label }} + + + +
+ + + +
+ + 云平台 + +
+ + + + + + + + + + + + + +
+
+ +
+ + 大数据 + +
+ + + + + + + + + + + + + +
+
+ +
+ + 物联网 + +
+ + + + + + + + + + + + + +
+
+ +
+ + 移动APP + +
+ + + + + + + + + + + + + +
+
+ +
+ + 工业控制 + +
+ + + + + + + + + + + + + +
+
+ +
+ + CDN + +
+ + + + + + + + + + + + + +
+
+ + +
+ + + + + + + + + + + + + + {{ option.label }} + + + +
+ + + +
+ + + + + + + + + + + +
- + + +
+ + + + +
+ + {{ item.description }} +
+
+ + +
+ + {{ item.description }} +
+
+ + +
+
+ + +
+ 返 回