网络拓扑图修改
This commit is contained in:
parent
f6e4039b5d
commit
57077308df
@ -281,8 +281,11 @@ const init = () => {
|
|||||||
createLableObj(mesh_dkcj, t('messages.ControllerRoom'), { x: 0, y: 60, z: 0 })
|
createLableObj(mesh_dkcj, t('messages.ControllerRoom'), { x: 0, y: 60, z: 0 })
|
||||||
|
|
||||||
//服装军团
|
//服装军团
|
||||||
const mesh_fzjt = createFloor(t('messages.FuZhuangLegion'), 192, 236.5, { x: -133, y: 0, z: -138 })
|
const mesh_fzjt = createFloor(t('messages.FuZhuangLegion'), 192, 175, { x: -133, y: 0, z: -107.25 })
|
||||||
createLableObj(mesh_fzjt, t('messages.FuZhuangLegion'), { x: 0, y: 60, z: 0 })
|
createLableObj(mesh_fzjt, t('messages.FuZhuangLegion'), { x: 0, y: 60, z: 0 })
|
||||||
|
//微工厂
|
||||||
|
const mesh_wgc = createFloor(t('messages.微工厂'), 192, 61.5, { x: -133, y: 0, z: -225.5 })
|
||||||
|
createLableObj(mesh_wgc, t('messages.微工厂'), { x: 0, y: 60, z: 0 })
|
||||||
//配套车间
|
//配套车间
|
||||||
const mesh_ptcj = createFloor(t('messages.BigPeiTao'), 110, 236.5, { x: 18.5, y: 0, z: -138 })
|
const mesh_ptcj = createFloor(t('messages.BigPeiTao'), 110, 236.5, { x: 18.5, y: 0, z: -138 })
|
||||||
createLableObj(mesh_ptcj, t('messages.BigPeiTao'), { x: 0, y: 60, z: 0 })
|
createLableObj(mesh_ptcj, t('messages.BigPeiTao'), { x: 0, y: 60, z: 0 })
|
||||||
|
@ -94,7 +94,7 @@ onMounted(()=>{
|
|||||||
// calcRate()
|
// calcRate()
|
||||||
let contentBox = Acontent.value;
|
let contentBox = Acontent.value;
|
||||||
// let Timedombox=Timedom.value
|
// let Timedombox=Timedom.value
|
||||||
window.document.title = "传感器分布图";
|
window.document.title = "数字化工厂物联拓扑图";
|
||||||
WH(contentBox);
|
WH(contentBox);
|
||||||
window.addEventListener("resize", () => {
|
window.addEventListener("resize", () => {
|
||||||
if (timer) {
|
if (timer) {
|
||||||
|
@ -95,7 +95,6 @@ watch(
|
|||||||
(newVal, oldVal) => {
|
(newVal, oldVal) => {
|
||||||
//监听父组件宽高变化,随时重置本组件尺寸
|
//监听父组件宽高变化,随时重置本组件尺寸
|
||||||
reset(newVal);
|
reset(newVal);
|
||||||
console.log(newVal);
|
|
||||||
|
|
||||||
},
|
},
|
||||||
{ immediate: true, deep: true, flush: "post" }
|
{ immediate: true, deep: true, flush: "post" }
|
||||||
|
@ -59,7 +59,7 @@ const requires = {
|
|||||||
'door': require("@/assets/img/Factory/door.jpg"),
|
'door': require("@/assets/img/Factory/door.jpg"),
|
||||||
'sky': require("@/assets/img/Factory/sky.jpg"),
|
'sky': require("@/assets/img/Factory/sky.jpg"),
|
||||||
//数字化工厂物联3D图
|
//数字化工厂物联3D图
|
||||||
'titleFloor': require("@/assets/img/Factory/screen_title.png"),
|
'titleFloor': require("@/assets/img/Factory/screen_title_topo.png"),
|
||||||
'guangmao': require("@/assets/img/Factory/guangmao.jpg"),
|
'guangmao': require("@/assets/img/Factory/guangmao.jpg"),
|
||||||
'ac': require("@/assets/img/Factory/ac.jpg"),
|
'ac': require("@/assets/img/Factory/ac.jpg"),
|
||||||
'wifi': require("@/assets/img/Factory/wifi.jpg"),
|
'wifi': require("@/assets/img/Factory/wifi.jpg"),
|
||||||
@ -268,8 +268,11 @@ const init = () => {
|
|||||||
createLableObj(mesh_dkcj, t('messages.ControllerRoom'), { x: 0, y: 60, z: 0 })
|
createLableObj(mesh_dkcj, t('messages.ControllerRoom'), { x: 0, y: 60, z: 0 })
|
||||||
|
|
||||||
//服装军团
|
//服装军团
|
||||||
const mesh_fzjt = createFloor(t('messages.FuZhuangLegion'), 192, 236.5, { x: -133, y: 0, z: -138 })
|
const mesh_fzjt = createFloor(t('messages.FuZhuangLegion'), 192, 175, { x: -133, y: 0, z: -107.25 })
|
||||||
createLableObj(mesh_fzjt, t('messages.FuZhuangLegion'), { x: 0, y: 60, z: 0 })
|
createLableObj(mesh_fzjt, t('messages.FuZhuangLegion'), { x: 0, y: 60, z: 0 })
|
||||||
|
//微工厂
|
||||||
|
const mesh_wgc = createFloor(t('messages.微工厂'), 192, 61.5, { x: -133, y: 0, z: -225.5 })
|
||||||
|
createLableObj(mesh_wgc, t('messages.微工厂'), { x: 0, y: 60, z: 0 })
|
||||||
//配套车间
|
//配套车间
|
||||||
const mesh_ptcj = createFloor(t('messages.BigPeiTao'), 110, 236.5, { x: 18.5, y: 0, z: -138 })
|
const mesh_ptcj = createFloor(t('messages.BigPeiTao'), 110, 236.5, { x: 18.5, y: 0, z: -138 })
|
||||||
createLableObj(mesh_ptcj, t('messages.BigPeiTao'), { x: 0, y: 60, z: 0 })
|
createLableObj(mesh_ptcj, t('messages.BigPeiTao'), { x: 0, y: 60, z: 0 })
|
||||||
|
Loading…
Reference in New Issue
Block a user