|
@@ -27,7 +27,7 @@
|
|
|
<span class="rebackLine" @click="rebackLine()">{{$t('largeScreen.common.returns')}}</span>
|
|
|
</div>
|
|
|
</el-row>
|
|
|
-
|
|
|
+
|
|
|
<!-- 区域模块 -->
|
|
|
<div class="areaDiv">
|
|
|
<!-- 搜索-部分 -->
|
|
@@ -58,7 +58,7 @@
|
|
|
</el-card>
|
|
|
</div>
|
|
|
</el-row>
|
|
|
-
|
|
|
+
|
|
|
<!-- 中-部分 -->
|
|
|
<el-row class="topRow">
|
|
|
<table border="0" cellspacing="0" cellpadding="0" style="width: 100%;margin: 30px auto;">
|
|
@@ -90,24 +90,24 @@
|
|
|
</table>
|
|
|
<!-- 状态 -->
|
|
|
<div class="statusDiv">
|
|
|
- <span class="linkLine" :style="setBackground(item.linkStatus.background)">{{item.linkStatus.text}}</span>
|
|
|
+ <!-- <span class="linkLine" :style="setBackground(item.linkStatus.background)">{{item.linkStatus.text}}</span>-->
|
|
|
<span class="jianguan" :style="setBackground(item.controlStatus.background)">{{item.controlStatus.text}}</span>
|
|
|
<span class="producting" :style="setBackground(item.productionStatus.background)">{{item.productionStatus.text}}</span>
|
|
|
</div>
|
|
|
</el-card>
|
|
|
- </template>
|
|
|
+ </template>
|
|
|
</td>
|
|
|
</tr>
|
|
|
</table>
|
|
|
-
|
|
|
-
|
|
|
+
|
|
|
+
|
|
|
</el-row>
|
|
|
-
|
|
|
+
|
|
|
<!-- 下-部分 -->
|
|
|
<el-row class="topRow" style="text-align: left;">
|
|
|
<div class="bottomDiv2">
|
|
|
<!-- AGV上下料站-1 -->
|
|
|
- <template v-for="item in moduleList">
|
|
|
+ <template v-for="item in moduleList">
|
|
|
<el-card v-if="item.code == 'BZ_361'" :key="item.id" class="box-card">
|
|
|
<!-- 内容区域(格式一) -->
|
|
|
<table style="width: 100%;" @click="boxCardClkCard(item.id)">
|
|
@@ -156,15 +156,15 @@
|
|
|
</table>
|
|
|
<!-- 状态 -->
|
|
|
<div class="statusDiv">
|
|
|
- <span class="linkLine" :style="setBackground(item.linkStatus.background)">{{item.linkStatus.text}}</span>
|
|
|
+ <!-- <span class="linkLine" :style="setBackground(item.linkStatus.background)">{{item.linkStatus.text}}</span>-->
|
|
|
<span class="jianguan" :style="setBackground(item.controlStatus.background)">{{item.controlStatus.text}}</span>
|
|
|
<span class="producting" :style="setBackground(item.productionStatus.background)">{{item.productionStatus.text}}</span>
|
|
|
</div>
|
|
|
</el-card>
|
|
|
- </template>
|
|
|
-
|
|
|
+ </template>
|
|
|
+
|
|
|
<!-- 清洗机 -->
|
|
|
- <template v-for="item in moduleList">
|
|
|
+ <template v-for="item in moduleList">
|
|
|
<el-card class="box-card" v-if="item.code == 'BZ_362'" :key="item.id">
|
|
|
<!-- 内容区域(格式一) -->
|
|
|
<table style="width: 100%;" @click="boxCardClkCard(item.id)">
|
|
@@ -213,15 +213,15 @@
|
|
|
</table>
|
|
|
<!-- 状态 -->
|
|
|
<div class="statusDiv">
|
|
|
- <span class="linkLine" :style="setBackground(item.linkStatus.background)">{{item.linkStatus.text}}</span>
|
|
|
+ <!-- <span class="linkLine" :style="setBackground(item.linkStatus.background)">{{item.linkStatus.text}}</span>-->
|
|
|
<span class="jianguan" :style="setBackground(item.controlStatus.background)">{{item.controlStatus.text}}</span>
|
|
|
<span class="producting" :style="setBackground(item.productionStatus.background)">{{item.productionStatus.text}}</span>
|
|
|
</div>
|
|
|
</el-card>
|
|
|
</template>
|
|
|
-
|
|
|
+
|
|
|
<!-- SMU50-4 -->
|
|
|
- <template v-for="item in moduleList">
|
|
|
+ <template v-for="item in moduleList">
|
|
|
<el-card v-if="item.code == 'BZ_363'" class="box-card">
|
|
|
<!-- 内容区域(格式一) -->
|
|
|
<table style="width: 100%;" @click="boxCardClkCard(item.id)">
|
|
@@ -270,13 +270,13 @@
|
|
|
</table>
|
|
|
<!-- 状态 -->
|
|
|
<div class="statusDiv">
|
|
|
- <span class="linkLine" :style="setBackground(item.linkStatus.background)">{{item.linkStatus.text}}</span>
|
|
|
+ <!-- <span class="linkLine" :style="setBackground(item.linkStatus.background)">{{item.linkStatus.text}}</span>-->
|
|
|
<span class="jianguan" :style="setBackground(item.controlStatus.background)">{{item.controlStatus.text}}</span>
|
|
|
<span class="producting" :style="setBackground(item.productionStatus.background)">{{item.productionStatus.text}}</span>
|
|
|
</div>
|
|
|
</el-card>
|
|
|
</template>
|
|
|
-
|
|
|
+
|
|
|
<!-- 方块 -->
|
|
|
<el-card class="box-card" style="margin: 0 20px;">
|
|
|
<table class="blokTable" border="0" cellspacing="0" cellpadding="0">
|
|
@@ -288,7 +288,7 @@
|
|
|
</table>
|
|
|
<div class="linTitle">框体缓存库</div>
|
|
|
</el-card>
|
|
|
-
|
|
|
+
|
|
|
<!-- 方块 -->
|
|
|
<el-card class="box-card" style="margin: 0 20px;">
|
|
|
<table class="blokTable" border="0" cellspacing="0" cellpadding="0">
|
|
@@ -300,9 +300,9 @@
|
|
|
</table>
|
|
|
<div class="linTitle">舱体缓存库</div>
|
|
|
</el-card>
|
|
|
-
|
|
|
+
|
|
|
<!-- 三坐标 -->
|
|
|
- <template v-for="item in moduleList">
|
|
|
+ <template v-for="item in moduleList">
|
|
|
<el-card v-if="item.code == 'BZ_szb'" :key="item.id" class="box-card">
|
|
|
<!-- 内容区域(格式一) -->
|
|
|
<table style="width: 100%;" @click="boxCardClkCard(item.id)">
|
|
@@ -351,15 +351,15 @@
|
|
|
</table>
|
|
|
<!-- 状态 -->
|
|
|
<div class="statusDiv">
|
|
|
- <span class="linkLine" :style="setBackground(item.linkStatus.background)">{{item.linkStatus.text}}</span>
|
|
|
+ <!-- <span class="linkLine" :style="setBackground(item.linkStatus.background)">{{item.linkStatus.text}}</span>-->
|
|
|
<span class="jianguan" :style="setBackground(item.controlStatus.background)">{{item.controlStatus.text}}</span>
|
|
|
<span class="producting" :style="setBackground(item.productionStatus.background)">{{item.productionStatus.text}}</span>
|
|
|
</div>
|
|
|
</el-card>
|
|
|
- </template>
|
|
|
-
|
|
|
+ </template>
|
|
|
+
|
|
|
<!-- 打标机 -->
|
|
|
- <template v-for="item in moduleList">
|
|
|
+ <template v-for="item in moduleList">
|
|
|
<el-card class="box-card" v-if="item.code == 'BZ_370'" :key="item.id">
|
|
|
<!-- 内容区域(格式一) -->
|
|
|
<table style="width: 100%;" @click="boxCardClkCard(item.id)">
|
|
@@ -408,15 +408,15 @@
|
|
|
</table>
|
|
|
<!-- 状态 -->
|
|
|
<div class="statusDiv">
|
|
|
- <span class="linkLine" :style="setBackground(item.linkStatus.background)">{{item.linkStatus.text}}</span>
|
|
|
+ <!-- <span class="linkLine" :style="setBackground(item.linkStatus.background)">{{item.linkStatus.text}}</span>-->
|
|
|
<span class="jianguan" :style="setBackground(item.controlStatus.background)">{{item.controlStatus.text}}</span>
|
|
|
<span class="producting" :style="setBackground(item.productionStatus.background)">{{item.productionStatus.text}}</span>
|
|
|
</div>
|
|
|
</el-card>
|
|
|
</template>
|
|
|
-
|
|
|
+
|
|
|
<!-- SMU50-4 -->
|
|
|
- <template v-for="item in moduleList">
|
|
|
+ <template v-for="item in moduleList">
|
|
|
<el-card v-if="item.code == 'BZ_364'" class="box-card">
|
|
|
<!-- 内容区域(格式一) -->
|
|
|
<table style="width: 100%;" @click="boxCardClkCard(item.id)">
|
|
@@ -465,15 +465,15 @@
|
|
|
</table>
|
|
|
<!-- 状态 -->
|
|
|
<div class="statusDiv">
|
|
|
- <span class="linkLine" :style="setBackground(item.linkStatus.background)">{{item.linkStatus.text}}</span>
|
|
|
+ <!-- <span class="linkLine" :style="setBackground(item.linkStatus.background)">{{item.linkStatus.text}}</span>-->
|
|
|
<span class="jianguan" :style="setBackground(item.controlStatus.background)">{{item.controlStatus.text}}</span>
|
|
|
<span class="producting" :style="setBackground(item.productionStatus.background)">{{item.productionStatus.text}}</span>
|
|
|
</div>
|
|
|
</el-card>
|
|
|
</template>
|
|
|
-
|
|
|
+
|
|
|
<!-- 打标机 -->
|
|
|
- <template v-for="item in moduleList">
|
|
|
+ <template v-for="item in moduleList">
|
|
|
<el-card v-if="item.code == 'BZ_365'" :key="item.id" class="box-card">
|
|
|
<!-- 内容区域(格式一) -->
|
|
|
<table style="width: 100%;" @click="boxCardClkCard(item.id)">
|
|
@@ -522,15 +522,15 @@
|
|
|
</table>
|
|
|
<!-- 状态 -->
|
|
|
<div class="statusDiv">
|
|
|
- <span class="linkLine" :style="setBackground(item.linkStatus.background)">{{item.linkStatus.text}}</span>
|
|
|
+ <!-- <span class="linkLine" :style="setBackground(item.linkStatus.background)">{{item.linkStatus.text}}</span>-->
|
|
|
<span class="jianguan" :style="setBackground(item.controlStatus.background)">{{item.controlStatus.text}}</span>
|
|
|
<span class="producting" :style="setBackground(item.productionStatus.background)">{{item.productionStatus.text}}</span>
|
|
|
</div>
|
|
|
</el-card>
|
|
|
- </template>
|
|
|
-
|
|
|
+ </template>
|
|
|
+
|
|
|
<!-- 清洗机 -->
|
|
|
- <template v-for="item in moduleList">
|
|
|
+ <template v-for="item in moduleList">
|
|
|
<el-card class="box-card" v-if="item.code == 'BZ_366'" :key="item.id">
|
|
|
<!-- 内容区域(格式一) -->
|
|
|
<table style="width: 100%;" @click="boxCardClkCard(item.id)">
|
|
@@ -579,15 +579,15 @@
|
|
|
</table>
|
|
|
<!-- 状态 -->
|
|
|
<div class="statusDiv">
|
|
|
- <span class="linkLine" :style="setBackground(item.linkStatus.background)">{{item.linkStatus.text}}</span>
|
|
|
+ <!-- <span class="linkLine" :style="setBackground(item.linkStatus.background)">{{item.linkStatus.text}}</span>-->
|
|
|
<span class="jianguan" :style="setBackground(item.controlStatus.background)">{{item.controlStatus.text}}</span>
|
|
|
<span class="producting" :style="setBackground(item.productionStatus.background)">{{item.productionStatus.text}}</span>
|
|
|
</div>
|
|
|
</el-card>
|
|
|
</template>
|
|
|
-
|
|
|
+
|
|
|
<!-- SMU50-4 -->
|
|
|
- <template v-for="item in moduleList">
|
|
|
+ <template v-for="item in moduleList">
|
|
|
<el-card v-if="item.code == 'BZ_367'" class="box-card">
|
|
|
<!-- 内容区域(格式一) -->
|
|
|
<table style="width: 100%;" @click="boxCardClkCard(item.id)">
|
|
@@ -636,15 +636,15 @@
|
|
|
</table>
|
|
|
<!-- 状态 -->
|
|
|
<div class="statusDiv">
|
|
|
- <span class="linkLine" :style="setBackground(item.linkStatus.background)">{{item.linkStatus.text}}</span>
|
|
|
+ <!-- <span class="linkLine" :style="setBackground(item.linkStatus.background)">{{item.linkStatus.text}}</span>-->
|
|
|
<span class="jianguan" :style="setBackground(item.controlStatus.background)">{{item.controlStatus.text}}</span>
|
|
|
<span class="producting" :style="setBackground(item.productionStatus.background)">{{item.productionStatus.text}}</span>
|
|
|
</div>
|
|
|
</el-card>
|
|
|
</template>
|
|
|
-
|
|
|
+
|
|
|
<!-- 打标机 -->
|
|
|
- <template v-for="item in moduleList">
|
|
|
+ <template v-for="item in moduleList">
|
|
|
<el-card v-if="item.code == 'BZ_368'" :key="item.id" class="box-card">
|
|
|
<!-- 内容区域(格式一) -->
|
|
|
<table style="width: 100%;" @click="boxCardClkCard(item.id)">
|
|
@@ -693,15 +693,15 @@
|
|
|
</table>
|
|
|
<!-- 状态 -->
|
|
|
<div class="statusDiv">
|
|
|
- <span class="linkLine" :style="setBackground(item.linkStatus.background)">{{item.linkStatus.text}}</span>
|
|
|
+ <!-- <span class="linkLine" :style="setBackground(item.linkStatus.background)">{{item.linkStatus.text}}</span>-->
|
|
|
<span class="jianguan" :style="setBackground(item.controlStatus.background)">{{item.controlStatus.text}}</span>
|
|
|
<span class="producting" :style="setBackground(item.productionStatus.background)">{{item.productionStatus.text}}</span>
|
|
|
</div>
|
|
|
</el-card>
|
|
|
- </template>
|
|
|
-
|
|
|
+ </template>
|
|
|
+
|
|
|
<!-- 清洗机 -->
|
|
|
- <template v-for="item in moduleList">
|
|
|
+ <template v-for="item in moduleList">
|
|
|
<el-card class="box-card" v-if="item.code == 'BZ_369'" :key="item.id">
|
|
|
<!-- 内容区域(格式一) -->
|
|
|
<table style="width: 100%;" @click="boxCardClkCard(item.id)">
|
|
@@ -750,16 +750,16 @@
|
|
|
</table>
|
|
|
<!-- 状态 -->
|
|
|
<div class="statusDiv">
|
|
|
- <span class="linkLine" :style="setBackground(item.linkStatus.background)">{{item.linkStatus.text}}</span>
|
|
|
+ <!-- <span class="linkLine" :style="setBackground(item.linkStatus.background)">{{item.linkStatus.text}}</span>-->
|
|
|
<span class="jianguan" :style="setBackground(item.controlStatus.background)">{{item.controlStatus.text}}</span>
|
|
|
<span class="producting" :style="setBackground(item.productionStatus.background)">{{item.productionStatus.text}}</span>
|
|
|
</div>
|
|
|
</el-card>
|
|
|
</template>
|
|
|
-
|
|
|
+
|
|
|
</div>
|
|
|
</el-row>
|
|
|
-
|
|
|
+
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -876,10 +876,10 @@
|
|
|
console.log("2D模式-模块信息123: ",res.data);
|
|
|
this.moduleList = res.data.list;
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
})
|
|
|
},
|
|
|
-
|
|
|
+
|
|
|
// [选择单元]的值变化-事件
|
|
|
selectChange(val){
|
|
|
console.log("[选择单元]的值变化: ", val);
|
|
@@ -897,7 +897,7 @@
|
|
|
this.toRouter(paths);
|
|
|
}
|
|
|
},
|
|
|
-
|
|
|
+
|
|
|
// 根据路由,跳转页面
|
|
|
toRouter(paths){
|
|
|
// 调用全局挂载的方法
|
|
@@ -905,7 +905,7 @@
|
|
|
this.$router.push({ path: paths, query: {resourceId: this.tabDownData.list.length > 0 ? this.tabDownData.list[0].id : '' }}) //带参跳转
|
|
|
})
|
|
|
},
|
|
|
-
|
|
|
+
|
|
|
// 是否设置大屏
|
|
|
setMaxScreen(){
|
|
|
let isCurrScreen = db.get("isCurrScreen");
|
|
@@ -961,7 +961,7 @@
|
|
|
//console.log(evt)
|
|
|
}
|
|
|
},
|
|
|
-
|
|
|
+
|
|
|
// 【SUM50】点击-事件
|
|
|
boxCardClk(){
|
|
|
let paths = "/largeScreen/twoDatasModel";
|
|
@@ -972,7 +972,7 @@
|
|
|
// this.$router.push('/runManageCenter/lineBoardDetail')
|
|
|
// console.log("弹出详情页面!", paths)
|
|
|
},
|
|
|
-
|
|
|
+
|
|
|
// 全屏
|
|
|
fullPing(){
|
|
|
this.$nextTick(() => {
|
|
@@ -997,12 +997,12 @@
|
|
|
exitFullScreen(document.getElementById('playerMap'))
|
|
|
})
|
|
|
},
|
|
|
-
|
|
|
+
|
|
|
// 【返回产线】按钮-事件
|
|
|
rebackLine(){
|
|
|
this.$router.go(-1);
|
|
|
},
|
|
|
-
|
|
|
+
|
|
|
// 【SUM50】点击-事件
|
|
|
boxCardClkCard(id){
|
|
|
let paths = "/runManageCenter/lineBoardDetail";
|
|
@@ -1011,12 +1011,12 @@
|
|
|
this.$router.push({ path: paths, query: { resourceId: id }}) //带参跳转
|
|
|
})
|
|
|
},
|
|
|
-
|
|
|
+
|
|
|
// 加载背景颜色
|
|
|
setBackground(color){
|
|
|
return "background: "+ color +";"
|
|
|
},
|
|
|
-
|
|
|
+
|
|
|
// 生产资源,计算返回class
|
|
|
reJisuanCls(obj, flag) {
|
|
|
let str = "contentView hebingDiv";
|
|
@@ -1031,16 +1031,16 @@
|
|
|
}
|
|
|
return str;
|
|
|
},
|
|
|
-
|
|
|
+
|
|
|
// 加载【本地图片】
|
|
|
resolveLogo(logo) {
|
|
|
return require(`@/assets/icon/${logo}`);
|
|
|
},
|
|
|
-
|
|
|
+
|
|
|
// 获取列表数据
|
|
|
getTabList(){
|
|
|
lineBoardAPI.getBigScreenList({}).then(res => {
|
|
|
- res = res.data
|
|
|
+ res = res.data
|
|
|
console.log("神抽狗资源:", res)
|
|
|
if(res.isSuccess){
|
|
|
this.tabDownData.list = res.data.list
|
|
@@ -1051,15 +1051,15 @@
|
|
|
}
|
|
|
})
|
|
|
},
|
|
|
-
|
|
|
+
|
|
|
// 边线库
|
|
|
getQualitySide(type) {
|
|
|
/*for(let i = 1; i <= 10; i++){
|
|
|
let arr = [];
|
|
|
for(let j = 1; j <= 30; j++){
|
|
|
arr.push({
|
|
|
- no: 'wks'+ Math.random(),
|
|
|
- haveGoods: randomFloor(1,10000) > 9000 ? '1' : '0',
|
|
|
+ no: 'wks'+ Math.random(),
|
|
|
+ haveGoods: randomFloor(1,10000) > 9000 ? '1' : '0',
|
|
|
lockStatus: randomFloor(1,10000) > 9000 ? '0' : '1',
|
|
|
name: (i-1)*30+j
|
|
|
});
|
|
@@ -1084,7 +1084,7 @@
|
|
|
]
|
|
|
];*/
|
|
|
LargeScreenAPI.baozhangCard({ type }).then(res => {
|
|
|
- res = res.data
|
|
|
+ res = res.data
|
|
|
console.log("【边线库】5:", res)
|
|
|
if(res.isSuccess){
|
|
|
if(type == "1") {
|
|
@@ -1394,7 +1394,7 @@
|
|
|
.statusDiv{
|
|
|
position: absolute;
|
|
|
top: 5px;
|
|
|
- right: 15px;
|
|
|
+ right: 55px;
|
|
|
text-align: right;
|
|
|
}
|
|
|
.statusDiv span{
|
|
@@ -1424,4 +1424,4 @@
|
|
|
.footerDiv a:hover{
|
|
|
opacity: 0.7;
|
|
|
}
|
|
|
-</style>
|
|
|
+</style>
|