From 77d1080bfcd7d307a57e455a29b2ad995657e1a8 Mon Sep 17 00:00:00 2001 From: xuhuajiao <13476289682@163.com> Date: Mon, 28 Aug 2023 10:40:38 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9B=9B=E6=80=A7=E6=A3=80=E6=B5=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/system/fourTests.js | 29 ++++++ .../system/fourCharacterDetection/data.json | 44 ++++----- .../system/fourCharacterDetection/index.vue | 97 ++++++++++++++----- .../fourCharacterDetection/module/form.vue | 79 ++++++++------- 4 files changed, 168 insertions(+), 81 deletions(-) create mode 100644 src/api/system/fourTests.js diff --git a/src/api/system/fourTests.js b/src/api/system/fourTests.js new file mode 100644 index 0000000..187debe --- /dev/null +++ b/src/api/system/fourTests.js @@ -0,0 +1,29 @@ +import request from '@/utils/request' + +export function add(data) { + return request({ + url: 'api/fourTests/editFourTests', + method: 'post', + data + }) +} + +export function edit(data) { + return request({ + url: 'api/fourTests/editFourTests', + method: 'post', + data + }) +} + +export function verifyMaintenance(code) { + const params = { + code + } + return request({ + url: 'api/dictionary/maintenanceVerification', + method: 'get', + params + }) +} +export default { add, edit, verifyMaintenance } diff --git a/src/views/system/fourCharacterDetection/data.json b/src/views/system/fourCharacterDetection/data.json index be0b5c6..a44f265 100644 --- a/src/views/system/fourCharacterDetection/data.json +++ b/src/views/system/fourCharacterDetection/data.json @@ -1,96 +1,96 @@ [ { - "id": 1, + "id": 0, "name": "四性检测", "children": [ { - "id": 2, + "id": 1, "name": "真实性检测", "children": [ { - "id": 6, + "id": 5, "name": "电子文件来源真实性" }, { - "id": 7, + "id": 6, "name": "电子文件元数据准确性" }, { - "id": 8, + "id": 7, "name": "电子文件内容真实性" }, { - "id": 9, + "id": 8, "name": "元数据与内容关联一致性" }, { - "id": 10, + "id": 9, "name": "归档信息包真实性" } ] }, { - "id": 3, + "id": 2, "name": "完整性检测", "children": [ { - "id": 11, + "id": 10, "name": "电子文件数据总量" }, { - "id": 12, + "id": 11, "name": "元数据完整性" }, { - "id": 13, + "id": 12, "name": "电子文件内容完整性" }, { - "id": 14, + "id": 13, "name": "归档信息包完整性" } ] }, { - "id": 4, + "id": 3, "name": "可用性检测", "children": [ { - "id": 15, + "id": 14, "name": "元数据可用性" }, { - "id": 16, + "id": 15, "name": "电子文件内容可用性" }, { - "id": 17, + "id": 16, "name": "电子文件软硬件环境" }, { - "id": 18, + "id": 17, "name": "归档信息包可用性" } ] }, { - "id": 5, + "id": 4, "name": "安全性检测", "children": [ { - "id": 19, + "id": 18, "name": "归档信息包病毒" }, { - "id": 20, + "id": 19, "name": "病毒感染检测" }, { - "id": 21, + "id": 20, "name": "归档载体安全性" }, { - "id": 22, + "id": 21, "name": "归档过程安全性" } ] diff --git a/src/views/system/fourCharacterDetection/index.vue b/src/views/system/fourCharacterDetection/index.vue index aefeeab..48cf5d7 100644 --- a/src/views/system/fourCharacterDetection/index.vue +++ b/src/views/system/fourCharacterDetection/index.vue @@ -6,7 +6,7 @@
- +
@@ -15,14 +15,21 @@
- + + +
隐藏状态栏
@@ -33,22 +40,22 @@ - - - - - - - - + + + + + + + + - +
@@ -75,8 +82,8 @@