From 385ae1a1549d8d9648cd40fcb898214d2afdec0d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=AE=B8=E5=AE=8F=E6=9D=B0?= <1943105267@qq.com> Date: Mon, 24 Feb 2025 08:53:43 +0800 Subject: [PATCH] =?UTF-8?q?web=E8=B5=84=E4=BA=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/styles/element-ui.scss | 13 + src/views/auditPages/assetsManagement.vue | 16 +- .../components/assetsManagement/index.js | 199 ++++++++++++ .../components/assetsManagement/index.vue | 289 ++++++++++++++++++ .../components/unitNewAndEdit/index.vue | 5 - src/views/auditPages/unit.vue | 12 +- 6 files changed, 509 insertions(+), 25 deletions(-) create mode 100644 src/views/auditPages/components/assetsManagement/index.js create mode 100644 src/views/auditPages/components/assetsManagement/index.vue diff --git a/src/assets/styles/element-ui.scss b/src/assets/styles/element-ui.scss index feb26c6..d0a64f1 100644 --- a/src/assets/styles/element-ui.scss +++ b/src/assets/styles/element-ui.scss @@ -90,3 +90,16 @@ .el-submenu__icon-arrow { display: none; } +.search-form { + .el-form-item__content { + width: 280px; + .el-select, + .el-date-editor { + width: 100%; + } + } +} +.el-dialog.is-fullscreen { + margin-left: 260px; + width: calc(100% - 260px) !important; +} diff --git a/src/views/auditPages/assetsManagement.vue b/src/views/auditPages/assetsManagement.vue index 7b98d1c..b146423 100644 --- a/src/views/auditPages/assetsManagement.vue +++ b/src/views/auditPages/assetsManagement.vue @@ -43,6 +43,7 @@ size="small" :inline="true" label-width="88px" + class="search-form" > 取 消 + + + @@ -225,8 +229,10 @@ - + diff --git a/src/views/auditPages/components/assetsManagement/index.js b/src/views/auditPages/components/assetsManagement/index.js new file mode 100644 index 0000000..e4d2414 --- /dev/null +++ b/src/views/auditPages/components/assetsManagement/index.js @@ -0,0 +1,199 @@ +const list = [ + { key: "xtmc", label: "系统名称", type: "input", prop: "xtmc" }, + { key: "dwmc", label: "单位名称", type: "input", prop: "dwmc" }, + { key: "xtym", label: "系统域名", type: "input", prop: "xtym" }, + { + key: "fwwz", + label: "访问网址", + type: "input2", + prop: "nickName", + add: true, + }, + { + key: "jsyydw", + label: "建设(运营)单位", + type: "input", + prop: "jsyydw", + }, + { + key: "hlwkfyt", + label: "互联网开放用途", + type: "select", + prop: "hlwkfyt", + dict: "zc_hlwkfyt", + }, + { + key: "ipAddress", + key2: "ipPort", + label: "Ip/Port", + type: "input2", + prop: "nickName", + }, + { + key: "isZjhlwip", + label: "是否自建互联网专线IP", + type: "select", + prop: "isZjhlwip", + dict: "is_no", + }, + { + key: "glymList", + label: "关联域名", + type: "input", + prop: "glymList", + add: true, + }, + { key: "ymdqsj", label: "域名到期时间", type: "date", prop: "ymdqsj" }, + { key: "glIpList", label: "关联IP", type: "input3", prop: "glIpList" }, + { + key: "ymtxrXm", + key2: "ymtxrLxfs", + label: "到期提醒人", + type: "input2", + prop: "ymtxrXm", + }, + { + key: "xtzyx", + label: "系统重要性", + type: "select", + prop: "xtzyx", + dict: "zc_xtzyx", + }, + { + 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: "nickName", label: "地理位置", type: "select", prop: "nickName" }, + { key: "jd", label: "经度", type: "input", prop: "jd" }, + { key: "wd", label: "纬度", type: "input", prop: "wd" }, + { key: "nickName", label: "系统特征", type: "multiple", prop: "nickName" }, + { + key: "yhgm", + label: "用户规模", + type: "select", + 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", + }, +]; + +console.log(list); +export default list; diff --git a/src/views/auditPages/components/assetsManagement/index.vue b/src/views/auditPages/components/assetsManagement/index.vue new file mode 100644 index 0000000..35b5ccb --- /dev/null +++ b/src/views/auditPages/components/assetsManagement/index.vue @@ -0,0 +1,289 @@ + + + + + diff --git a/src/views/auditPages/components/unitNewAndEdit/index.vue b/src/views/auditPages/components/unitNewAndEdit/index.vue index a0d50f0..16220cc 100644 --- a/src/views/auditPages/components/unitNewAndEdit/index.vue +++ b/src/views/auditPages/components/unitNewAndEdit/index.vue @@ -12,7 +12,6 @@ :rules="rules" ref="ruleForm" label-width="170px" - class="demo-ruleForm" label-position="right" :disabled="disabled" > @@ -392,10 +391,6 @@ export default { +