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] =?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" > + +
+ + + + + + + + + + + + + + + + + +
- 返 回