1
lzhe
2025-08-12 0f3bd1cd06db00775e29d181acaa0319ee58cfe6
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<!--
 * @Author: 李喆(开发组) lzhe@yxqiche.com
 * @Date: 2025-08-11 09:25:36
 * @LastEditors: 李喆(开发组) lzhe@yxqiche.com
 * @LastEditTime: 2025-08-12 17:45:42
 * @FilePath: /mdmweb/src/views/wel/index.vue
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<template>
  <!-- <shemi v-if="isSM"></shemi>
  <gongkong v-else></gongkong> -->
  <gongkong></gongkong>
</template>
<script>
import shemi from './shemi.vue'
import gongkong from './gongkong.vue'
export default {
  components: {shemi,gongkong},
  data() {
    return {
      nodeId: 0,
      isSM: false
    }
  },
  computed: {},
  watch: {
    
  },
  methods: {
    
  },
  mounted() {
    //判断版本  0:涉密网,1:工控网;
    axios({url: '/blade-mdm/system/param/getValue?paramKey=networkType',method: 'get'}).then(res => {
        if(res.data.data === "0") {
          this.isSM = true;
        }else {
          // this.getPre();
        }
      }
    );
  }
};
</script>
 
<style lang="scss">
 
</style>