From bfe48569a40ef871b14dd40cfab5be16a0f84562 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=AE=B8=E5=AE=8F=E6=9D=B0?= <1943105267@qq.com> Date: Wed, 20 Sep 2023 16:08:16 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=89=E5=85=A8=E9=9A=90=E6=82=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 2 +- .../zongzhi/netSecurity/SafetyYhTj/index.js | 53 +++ src/views/netSecurity/SafetyYhTj/index.vue | 377 ++++++++++++++++++ 3 files changed, 431 insertions(+), 1 deletion(-) create mode 100644 src/api/zongzhi/netSecurity/SafetyYhTj/index.js create mode 100644 src/views/netSecurity/SafetyYhTj/index.vue diff --git a/.env.development b/.env.development index 8e69558..694a79c 100644 --- a/.env.development +++ b/.env.development @@ -11,7 +11,7 @@ ENV = 'development' # VUE_APP_BASE_API = 'http://39.101.188.84:9027' #局域网 -VUE_APP_BASE_API = 'http://192.168.0.109:9027' +VUE_APP_BASE_API = 'http://39.101.188.84:9027' # 路由懒加载 VUE_CLI_BABEL_TRANSPILE_MODULES = true diff --git a/src/api/zongzhi/netSecurity/SafetyYhTj/index.js b/src/api/zongzhi/netSecurity/SafetyYhTj/index.js new file mode 100644 index 0000000..ffefff5 --- /dev/null +++ b/src/api/zongzhi/netSecurity/SafetyYhTj/index.js @@ -0,0 +1,53 @@ +import request from "@/utils/request"; + +// 查询安全隐患统计列表 +export function listCounty(query) { + return request({ + url: "/zongzhi/county/list", + method: "get", + params: query, + }); +} + +// 查询安全隐患统计详细 +export function getCounty(id) { + return request({ + url: "/zongzhi/county/" + id, + method: "get", + }); +} + +// 新增安全隐患统计 +export function addCounty(data) { + return request({ + url: "/zongzhi/county", + method: "post", + data: data, + }); +} + +// 修改安全隐患统计 +export function updateCounty(data) { + return request({ + url: "/zongzhi/county", + method: "put", + data: data, + }); +} + +// 删除安全隐患统计 +export function delCounty(id) { + return request({ + url: "/zongzhi/county/" + id, + method: "delete", + }); +} + +// 导出安全隐患统计 +export function exportCounty(data) { + return request({ + url: "/zongzhi/county/export", + method: "post", + data, + }); +} diff --git a/src/views/netSecurity/SafetyYhTj/index.vue b/src/views/netSecurity/SafetyYhTj/index.vue new file mode 100644 index 0000000..4021d06 --- /dev/null +++ b/src/views/netSecurity/SafetyYhTj/index.vue @@ -0,0 +1,377 @@ + + +