From 281332a6616a3da7e2aa6bc94ed7cc9549d8e8ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=AE=B8=E5=AE=8F=E6=9D=B0?= <1943105267@qq.com> Date: Fri, 11 Aug 2023 13:16:34 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=BF=E5=BA=9C=E5=8D=95=E4=BD=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../supervise/GovernmentWeb/index.js | 53 +++ src/views/netSecurity/DataSource/index.vue | 8 +- src/views/netSecurity/SecurityCheck/index.vue | 2 +- .../netSecurity/supervise/DbSteam/index.vue | 2 +- .../netSecurity/supervise/DbUnit/index.vue | 8 +- .../supervise/GovernmentWeb/index.vue | 361 ++++++++++++++++-- 6 files changed, 408 insertions(+), 26 deletions(-) diff --git a/src/api/zongzhi/netSecurity/supervise/GovernmentWeb/index.js b/src/api/zongzhi/netSecurity/supervise/GovernmentWeb/index.js index e69de29..397d946 100644 --- a/src/api/zongzhi/netSecurity/supervise/GovernmentWeb/index.js +++ b/src/api/zongzhi/netSecurity/supervise/GovernmentWeb/index.js @@ -0,0 +1,53 @@ +import request from "@/utils/request"; + +// 查询政府网站列表 +export function listWeb(query) { + return request({ + url: "/zongzhi/web/list", + method: "get", + params: query, + }); +} + +// 查询政府网站详细 +export function getWeb(id) { + return request({ + url: "/zongzhi/web/" + id, + method: "get", + }); +} + +// 新增政府网站 +export function addWeb(data) { + return request({ + url: "/zongzhi/web", + method: "post", + data: data, + }); +} + +// 修改政府网站 +export function updateWeb(data) { + return request({ + url: "/zongzhi/web", + method: "put", + data: data, + }); +} + +// 删除政府网站 +export function delWeb(id) { + return request({ + url: "/zongzhi/web/" + id, + method: "delete", + }); +} + +// 导出政府网站 +export function exportWeb(data) { + return request({ + url: "/zongzhi/web/export", + method: "post", + data, + }); +} diff --git a/src/views/netSecurity/DataSource/index.vue b/src/views/netSecurity/DataSource/index.vue index 9345d65..debe6af 100644 --- a/src/views/netSecurity/DataSource/index.vue +++ b/src/views/netSecurity/DataSource/index.vue @@ -202,7 +202,13 @@ custom-class="dialog-box" >
{{ title }}
- +
{{ title }}
- +
- - > - + + + + + + + + + 搜索 - 重置 + 重置
-
- 新增 + 修改 + 删除 导出
- + + + + + + + + + + + /> - + + + + + + + + + + + + + + + + + - +
{{ infoTitle }}
+ + {{ + $filterTown(form.areaId) + }} + + {{ form.url }} + + {{ + form.assetName + }} + + + +
- -