|
@@ -48,7 +48,7 @@
|
|
|
<!-- 方块 -->
|
|
|
<el-card class="box-card" style="margin-right: 20px;">
|
|
|
<table class="blokTable" border="0" cellspacing="0" cellpadding="0">
|
|
|
- <tr v-for="(item, index) in sideList0" :key="index">
|
|
|
+ <tr v-for="(item, index) in sideList1" :key="index">
|
|
|
<td v-for="obj in item" :key="obj.no" :class="obj.haveGoods == '1' ? 'selectTd' : ''">
|
|
|
<div :class="obj.lockStatus == '0' ? 'lockStatusCls' : ''">{{ obj.name }}</div>
|
|
|
</td>
|
|
@@ -280,7 +280,7 @@
|
|
|
<!-- 方块 -->
|
|
|
<el-card class="box-card" style="margin: 0 20px;">
|
|
|
<table class="blokTable" border="0" cellspacing="0" cellpadding="0">
|
|
|
- <tr v-for="(item, index) in sideList" :key="index">
|
|
|
+ <tr v-for="(item, index) in sideList2" :key="index">
|
|
|
<td v-for="obj in item" :key="obj.no" :class="obj.haveGoods == '1' ? 'selectTd' : ''">
|
|
|
<div :class="obj.lockStatus == '0' ? 'lockStatusCls' : ''">{{ obj.name }}</div>
|
|
|
</td>
|
|
@@ -292,7 +292,7 @@
|
|
|
<!-- 方块 -->
|
|
|
<el-card class="box-card" style="margin: 0 20px;">
|
|
|
<table class="blokTable" border="0" cellspacing="0" cellpadding="0">
|
|
|
- <tr v-for="(item, index) in sideList" :key="index">
|
|
|
+ <tr v-for="(item, index) in sideList3" :key="index">
|
|
|
<td v-for="obj in item" :key="obj.no" :class="obj.haveGoods == '1' ? 'selectTd' : ''">
|
|
|
<div :class="obj.lockStatus == '0' ? 'lockStatusCls' : ''">{{ obj.name }}</div>
|
|
|
</td>
|
|
@@ -799,8 +799,9 @@
|
|
|
tabDownData: { // 下部分-数据
|
|
|
list: []
|
|
|
},
|
|
|
- sideList0: [], // 边线库-上
|
|
|
- sideList: {}, // 边线库
|
|
|
+ sideList1: [], // 边线库-上
|
|
|
+ sideList2: {}, // 边线库-框体缓存库
|
|
|
+ sideList3: {}, // 边线库-舱体缓存库
|
|
|
isFullSreen: false, // 默认不全屏
|
|
|
queryParams: initQueryParams({}),
|
|
|
moduleList: [], // 模块信息
|
|
@@ -821,8 +822,12 @@
|
|
|
created() {
|
|
|
// 加载生产资源
|
|
|
this.getTabList();
|
|
|
- // 边线库
|
|
|
- this.getQualitySide();
|
|
|
+ // 边线库-上
|
|
|
+ this.getQualitySide("1");
|
|
|
+ // 边线库-框体缓存库
|
|
|
+ this.getQualitySide("2");
|
|
|
+ // 边线库-舱体缓存库
|
|
|
+ this.getQualitySide("3");
|
|
|
// 加载-模块信息
|
|
|
this.demoLineResource();
|
|
|
},
|
|
@@ -1048,8 +1053,8 @@
|
|
|
},
|
|
|
|
|
|
// 边线库
|
|
|
- getQualitySide() {
|
|
|
- for(let i = 1; i <= 10; i++){
|
|
|
+ getQualitySide(type) {
|
|
|
+ /*for(let i = 1; i <= 10; i++){
|
|
|
let arr = [];
|
|
|
for(let j = 1; j <= 30; j++){
|
|
|
arr.push({
|
|
@@ -1077,14 +1082,22 @@
|
|
|
{no: '23', haveGoods: '0', lockStatus: '1', name: '10'},
|
|
|
{no: '24', haveGoods: '0', lockStatus: '0', name: '11'}
|
|
|
]
|
|
|
- ];
|
|
|
- /*LargeScreenAPI.getIntellect({}).then(res => {
|
|
|
+ ];*/
|
|
|
+ LargeScreenAPI.baozhangCard({ type }).then(res => {
|
|
|
res = res.data
|
|
|
console.log("【边线库】5:", res)
|
|
|
if(res.isSuccess){
|
|
|
- this.sideList = res.data;
|
|
|
+ if(type == "1") {
|
|
|
+ this.sideList1 = res.data;
|
|
|
+ }
|
|
|
+ if(type == "2") {
|
|
|
+ this.sideList2 = res.data;
|
|
|
+ }
|
|
|
+ if(type == "3") {
|
|
|
+ this.sideList3 = res.data;
|
|
|
+ }
|
|
|
}
|
|
|
- })*/
|
|
|
+ })
|
|
|
}
|
|
|
}
|
|
|
}
|