diff --git a/src/api/zongzhi/st.js b/src/api/zongzhi/st.js index 7504902..3434769 100644 --- a/src/api/zongzhi/st.js +++ b/src/api/zongzhi/st.js @@ -142,3 +142,41 @@ export function listSource(query) { params: query }) } + +export function saftyscreenSupervise() { + return request({ + url: '/zongzhi/saftyscreen/supervise', + method: 'get' + }) +} + +// 受攻击IPTop5 +export function saftyscreenUnattack() { + return request({ + url: '/zongzhi/saftyscreen/unattack', + method: 'get' + }) +} +// 安全检测数据统计 +export function saftyscreenSafety() { + return request({ + url: '/zongzhi/saftyscreen/safety', + method: 'get' + }) +} +// 查询安全检测列表 +export function listDetection(query) { + return request({ + url: '/zongzhi/detection/list', + method: 'get', + params: query + }) +} + +// 查询安全检测详细 +export function getDetection(id) { + return request({ + url: '/zongzhi/detection/' + id, + method: 'get' + }) +} diff --git a/src/store/modules/dict.js b/src/store/modules/dict.js index c8aec86..6b2d2e6 100644 --- a/src/store/modules/dict.js +++ b/src/store/modules/dict.js @@ -17,7 +17,7 @@ const dict = { getDictType({ commit }) { return new Promise((resolve, reject) => { const query = { - list: 'sys_user_sex,tc_net_sx,tc_yq_media,tc_enter_type,tc_inlet_yewu,tc_item_type,tc_net_safety_level,tc_yes_no,tc_unit_type,tc_tmt_type,tc_net_safety_level,tc_db_steam_state' + list: 'sys_user_sex,tc_net_sx,tc_yq_media,tc_enter_type,tc_inlet_yewu,tc_item_type,tc_net_safety_level,tc_yes_no,tc_unit_type,tc_tmt_type,tc_net_safety_level,tc_db_steam_state,tc_attack_type' } getDictList(query) .then((res) => { diff --git a/src/views/privateOrder/security/components/attackSituation.vue b/src/views/privateOrder/security/components/attackSituation.vue index 6cfd65c..8ffc56e 100644 --- a/src/views/privateOrder/security/components/attackSituation.vue +++ b/src/views/privateOrder/security/components/attackSituation.vue @@ -66,6 +66,7 @@