|
|
|
|
1186
|
this.monitors = response.data.data.monitors
|
1186
|
this.monitors = response.data.data.monitors
|
1187
|
this.summary = response.data.data.summary
|
1187
|
this.summary = response.data.data.summary
|
1188
|
this.org_template_info = response.data.data.org_template_info
|
1188
|
this.org_template_info = response.data.data.org_template_info
|
1189
|
- if (this.monitors.length < 10) {
|
|
|
1190
|
- var nl = 10 - this.monitors.length
|
|
|
|
|
1189
|
+ if (this.monitors.length < 8) {
|
|
|
1190
|
+ var nl = 8 - this.monitors.length
|
1191
|
for (let index = 0; index < nl; index++) {
|
1191
|
for (let index = 0; index < nl; index++) {
|
1192
|
if( this.monitors[index] == undefined || this.monitors[index].length <= 0){
|
1192
|
if( this.monitors[index] == undefined || this.monitors[index].length <= 0){
|
1193
|
this.monitors.push([])
|
1193
|
this.monitors.push([])
|
|
|
|
|
1197
|
}
|
1197
|
}
|
1198
|
}
|
1198
|
}
|
1199
|
|
1199
|
|
1200
|
- if(this.monitors.length > 17){
|
|
|
|
|
1200
|
+ if(this.monitors.length > 15){
|
1201
|
const tempMonitors = []
|
1201
|
const tempMonitors = []
|
1202
|
const tempMonitors2 = []
|
1202
|
const tempMonitors2 = []
|
1203
|
for (let index = 0;index < this.monitors.length;index++){
|
1203
|
for (let index = 0;index < this.monitors.length;index++){
|
1204
|
- if(index < 17) {
|
|
|
|
|
1204
|
+ if(index < 15) {
|
1205
|
tempMonitors.push(this.monitors[index])
|
1205
|
tempMonitors.push(this.monitors[index])
|
1206
|
} else {
|
1206
|
} else {
|
1207
|
tempMonitors2.push(this.monitors[index])
|
1207
|
tempMonitors2.push(this.monitors[index])
|