<!--
|
* @Author: 李喆(开发组) lzhe@yxqiche.com
|
* @Date: 2025-08-11 09:25:36
|
* @LastEditors: 李喆(开发组) lzhe@yxqiche.com
|
* @LastEditTime: 2025-08-19 16:23:04
|
* @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 {
|
name: 'WelIndex',
|
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>
|