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 @@ + + +