diff --git a/.env.development b/.env.development index ba1a2b9..c4d1aa9 100644 --- a/.env.development +++ b/.env.development @@ -4,6 +4,6 @@ ENV = 'development' # base api VUE_APP_BASE_API = '/dashboard' -VUE_APP_BASE_API2 = 'http://192.168.0.106:9027' +VUE_APP_BASE_API2 = 'http://192.168.0.110:9027' BASE_API = 'http://10.10.3.35:9070' diff --git a/src/store/modules/dict.js b/src/store/modules/dict.js index d48f47a..b5b815b 100644 --- a/src/store/modules/dict.js +++ b/src/store/modules/dict.js @@ -25,8 +25,8 @@ 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_db_steam_state,tc_attack_type,tc_yh_level,tc_yh_source,tc_yq_type,tc_event_type,tc_cy_type,tc_yq_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_db_steam_state,tc_attack_type,tc_yh_level,tc_yh_source,tc_yq_type,tc_event_type,tc_cy_type,tc_yq_state,tc_steam_state", + }; getDictList(query) .then((res) => { // console.log(res) diff --git a/src/views/privateOrder/security/components/componentLeft copy.vue b/src/views/privateOrder/security/components/componentLeft copy.vue deleted file mode 100644 index ee512ec..0000000 --- a/src/views/privateOrder/security/components/componentLeft copy.vue +++ /dev/null @@ -1,1259 +0,0 @@ - - - - - - diff --git a/src/views/privateOrder/security/components/componentLeft.vue b/src/views/privateOrder/security/components/componentLeft.vue index 048ffda..d5c1bc3 100644 --- a/src/views/privateOrder/security/components/componentLeft.vue +++ b/src/views/privateOrder/security/components/componentLeft.vue @@ -104,25 +104,25 @@ 攻击源/IP 攻击类型 - -
+ - {{ item.attackTime }} - {{ item.attackedIp }} - {{ - $filterDict("tc_attack_type", item.attackType) - }} -
-
+
+ {{ item.attackTime }} + {{ item.attackedIp }} + {{ + $filterDict("tc_attack_type", item.attackType) + }} +
+ + @@ -637,7 +637,9 @@ export default { }); }); }, - async getAttackSource(id) { + async getAttackSource(e) { + let id = e.target.dataset.id; + if (!id) return; this.dialogWidth = "1000px"; getDetection(id).then((res) => { this.tableDataPop = res.data; diff --git a/src/views/privateOrder/security/components/componentRight.vue b/src/views/privateOrder/security/components/componentRight.vue index 6d67cd3..43b32b4 100644 --- a/src/views/privateOrder/security/components/componentRight.vue +++ b/src/views/privateOrder/security/components/componentRight.vue @@ -1,4 +1,3 @@ -