|
@@ -11,7 +11,7 @@
|
|
<div class='compute-tab'>
|
|
<div class='compute-tab'>
|
|
<el-tabs v-model='activeName' @tab-click='handleClick'>
|
|
<el-tabs v-model='activeName' @tab-click='handleClick'>
|
|
<el-tab-pane label='机房布置图' name='1'>
|
|
<el-tab-pane label='机房布置图' name='1'>
|
|
- <room-table1></room-table1>
|
|
|
|
|
|
+ <room-table1 v-if='tableImg.length>=0' :tableImg='tableImg'></room-table1>
|
|
</el-tab-pane>
|
|
</el-tab-pane>
|
|
<el-tab-pane label='配电室低压柜及出线明细表' name='2'>
|
|
<el-tab-pane label='配电室低压柜及出线明细表' name='2'>
|
|
<div class='compute-center'>
|
|
<div class='compute-center'>
|
|
@@ -402,7 +402,7 @@ export default {
|
|
page: 1,
|
|
page: 1,
|
|
size: 10,
|
|
size: 10,
|
|
picFloor: '',
|
|
picFloor: '',
|
|
- tableImg: '',
|
|
|
|
|
|
+ tableImg: [],
|
|
//
|
|
//
|
|
total1: 0,
|
|
total1: 0,
|
|
page1: 1,
|
|
page1: 1,
|
|
@@ -492,10 +492,12 @@ export default {
|
|
Index() {
|
|
Index() {
|
|
this.picFloor = this.$cookie.get('floorNow')
|
|
this.picFloor = this.$cookie.get('floorNow')
|
|
let getParams = {
|
|
let getParams = {
|
|
- data: { tyepcode: 3, location: '1198', floor: this.picFloor, plazaId: this.$store.state.plazaId },
|
|
|
|
- params: {}
|
|
|
|
|
|
+ typename: '位置布置图',
|
|
|
|
+ location: '1198',
|
|
|
|
+ floor: this.picFloor,
|
|
|
|
+ plazaId: this.$store.state.plazaId
|
|
}
|
|
}
|
|
- queryPic(getParams).then(res => {
|
|
|
|
|
|
+ queryPic({ getParams }).then(res => {
|
|
console.log('机房布置图', res)
|
|
console.log('机房布置图', res)
|
|
this.tableImg = res.data ? res.data : []
|
|
this.tableImg = res.data ? res.data : []
|
|
})
|
|
})
|
|
@@ -595,9 +597,9 @@ export default {
|
|
// 维修
|
|
// 维修
|
|
Index3() {
|
|
Index3() {
|
|
let getParams = {
|
|
let getParams = {
|
|
- location: '1175',
|
|
|
|
- // plazaId: '1000388',
|
|
|
|
- plazaId: this.$store.state.plazaId,
|
|
|
|
|
|
+ location: '1961',
|
|
|
|
+ plazaId: '1001145',
|
|
|
|
+ // plazaId: this.$store.state.plazaId,
|
|
page: this.page3,
|
|
page: this.page3,
|
|
size: this.size3,
|
|
size: this.size3,
|
|
orderBy: 'sjjssj,0;location,1'
|
|
orderBy: 'sjjssj,0;location,1'
|