|
@@ -69,7 +69,7 @@
|
|
|
:page='page1'
|
|
|
:total='total1'
|
|
|
:size='size1'
|
|
|
- @Index1='Index1'
|
|
|
+ @Index1Emit='Index1Emit'
|
|
|
></room-table2>
|
|
|
</el-tab-pane>
|
|
|
<el-tab-pane label='机房内核心设备' name='3'>
|
|
@@ -142,7 +142,6 @@
|
|
|
v-model='zysxInput4'
|
|
|
style='width:200px;margin-right:12px'
|
|
|
></el-input>
|
|
|
-
|
|
|
<Select
|
|
|
@change='Index3'
|
|
|
width='200'
|
|
@@ -153,15 +152,30 @@
|
|
|
:placeholder='"请选择"'
|
|
|
style='margin-right:12px'
|
|
|
></Select>
|
|
|
- </div>
|
|
|
- <div class='dialog-none'>
|
|
|
- <div class='input-dialog'>
|
|
|
- <div class='input-dialog-top' @click='show'>
|
|
|
- <img src='@/assets/imgs/select.png' />
|
|
|
- 筛选
|
|
|
- </div>
|
|
|
- <div class='input-dialog-form' v-if='dialogFormVisible'>
|
|
|
- <p class='input-dialog-p'>填报日期</p>
|
|
|
+ <el-input
|
|
|
+ clearable
|
|
|
+ @change='Index3'
|
|
|
+ placeholder='搜索工单编号'
|
|
|
+ size='small'
|
|
|
+ prefix-icon='el-icon-search'
|
|
|
+ v-model='gdbhInput4'
|
|
|
+ style='width:200px;margin-right:12px'
|
|
|
+ ></el-input>
|
|
|
+ <div class='picker-box'>
|
|
|
+ <span class='picker-span'>填报日期:</span>
|
|
|
+ <el-date-picker
|
|
|
+ style='width:190px'
|
|
|
+ v-model='tbsjDate'
|
|
|
+ value-format='yyyyMMdd'
|
|
|
+ type='daterange'
|
|
|
+ @change='Index3'
|
|
|
+ size='mini'
|
|
|
+ range-separator='-'
|
|
|
+ start-placeholder
|
|
|
+ end-placeholder
|
|
|
+ ></el-date-picker>
|
|
|
+ </div>
|
|
|
+ <!-- <p class='input-dialog-p'>填报日期</p>
|
|
|
<p class='input-dialog-p2'>
|
|
|
<el-date-picker
|
|
|
clearable
|
|
@@ -174,7 +188,15 @@
|
|
|
start-placeholder
|
|
|
end-placeholder
|
|
|
></el-date-picker>
|
|
|
- </p>
|
|
|
+ </p>-->
|
|
|
+ </div>
|
|
|
+ <div class='dialog-none'>
|
|
|
+ <div class='input-dialog'>
|
|
|
+ <div class='input-dialog-top' @click='show'>
|
|
|
+ <img src='@/assets/imgs/select.png' />
|
|
|
+ 筛选
|
|
|
+ </div>
|
|
|
+ <div class='input-dialog-form' v-if='dialogFormVisible'>
|
|
|
<p class='input-dialog-p'>验收日期</p>
|
|
|
<p class='input-dialog-p2'>
|
|
|
<el-date-picker
|
|
@@ -189,7 +211,8 @@
|
|
|
end-placeholder
|
|
|
></el-date-picker>
|
|
|
</p>
|
|
|
- <p class='input-dialog-p'>工单编号</p>
|
|
|
+
|
|
|
+ <!-- <p class='input-dialog-p'>工单编号</p>
|
|
|
<p class='input-dialog-p2'>
|
|
|
<el-input
|
|
|
clearable
|
|
@@ -199,7 +222,7 @@
|
|
|
prefix-icon='el-icon-search'
|
|
|
v-model='gdbhInput4'
|
|
|
></el-input>
|
|
|
- </p>
|
|
|
+ </p>-->
|
|
|
<p class='input-dialog-foot'>
|
|
|
<el-button @click='dialogFormVisible = false' size='mini'>取 消</el-button>
|
|
|
<el-button type='primary' @click='confirm
|
|
@@ -215,7 +238,7 @@
|
|
|
:page='page3'
|
|
|
:total='total3'
|
|
|
:size='size3'
|
|
|
- @Index3='Index3'
|
|
|
+ @Index3Emit='Index3Emit'
|
|
|
></room-table4>
|
|
|
</el-tab-pane>
|
|
|
<el-tab-pane label='维保记录' name='5'>
|
|
@@ -257,6 +280,25 @@
|
|
|
:placeholder='"请选择"'
|
|
|
style='margin-right:12px'
|
|
|
></Select>
|
|
|
+ <Select
|
|
|
+ width='220'
|
|
|
+ tipPlace='top'
|
|
|
+ v-model='iszcSelect5'
|
|
|
+ caption='是否正常:'
|
|
|
+ v-if='zt.length>0'
|
|
|
+ :selectdata='zt'
|
|
|
+ :placeholder='"请选择"'
|
|
|
+ style='margin-right:12px'
|
|
|
+ ></Select>
|
|
|
+ <el-input
|
|
|
+ @change='Index4'
|
|
|
+ clearable
|
|
|
+ placeholder='异常工单编号'
|
|
|
+ size='small'
|
|
|
+ prefix-icon='el-icon-search'
|
|
|
+ v-model='ycgdbhInput5'
|
|
|
+ style='margin-right:12px;width:220px;'
|
|
|
+ ></el-input>
|
|
|
</div>
|
|
|
<div class='dialog-none'>
|
|
|
<div class='input-dialog'>
|
|
@@ -294,31 +336,6 @@
|
|
|
end-placeholder
|
|
|
></el-date-picker>
|
|
|
</p>
|
|
|
-
|
|
|
- <p class='input-dialog-p'>维保结果</p>
|
|
|
- <p class='input-dialog-p2'>
|
|
|
- <Select
|
|
|
- width='200'
|
|
|
- tipPlace='top'
|
|
|
- caption='是否正常:'
|
|
|
- v-if='zt.length>0'
|
|
|
- :selectdata='zt'
|
|
|
- v-model='iszcSelect5'
|
|
|
- :placeholder='"请选择"'
|
|
|
- style='margin-right:12px'
|
|
|
- ></Select>
|
|
|
- </p>
|
|
|
- <p class='input-dialog-p'>异常工单编号</p>
|
|
|
- <p class='input-dialog-p2'>
|
|
|
- <el-input
|
|
|
- clearable
|
|
|
- placeholder
|
|
|
- style='width:200px;'
|
|
|
- size='mini'
|
|
|
- prefix-icon='el-icon-search'
|
|
|
- v-model='ycgdbhInput5'
|
|
|
- ></el-input>
|
|
|
- </p>
|
|
|
<p class='input-dialog-p'>异常工单填报日期</p>
|
|
|
<p class='input-dialog-p2'>
|
|
|
<el-date-picker
|
|
@@ -361,7 +378,7 @@
|
|
|
:page='page4'
|
|
|
:total='total4'
|
|
|
:size='size4'
|
|
|
- @Index4='Index4'
|
|
|
+ @Index4Emit='Index4Emit'
|
|
|
></room-table5>
|
|
|
</el-tab-pane>
|
|
|
</el-tabs>
|
|
@@ -371,7 +388,7 @@
|
|
|
</template>
|
|
|
<script>
|
|
|
import { queryEquipmentList } from '@/api/equipmentList.js'
|
|
|
-import { queryDygjcxline, queryHxsb, queryWxjf, queryWb } from '@/api/room.js'
|
|
|
+import { queryDygjcxline, queryHxsb, queryWxjf, queryWb, querySystem } from '@/api/room.js'
|
|
|
import roomTable1 from './room1'
|
|
|
import roomTable2 from './room2'
|
|
|
import roomTable3 from './room3'
|
|
@@ -493,10 +510,10 @@ export default {
|
|
|
this.picFloor = this.$cookie.get('floorNow')
|
|
|
let getParams = {
|
|
|
typename: '位置布置图',
|
|
|
- location: '1198',
|
|
|
+ location: '1809',
|
|
|
module: '1002',
|
|
|
- system: '1001',
|
|
|
- floor: this.picFloor,
|
|
|
+ system: '1002',
|
|
|
+ // floor: this.picFloor,
|
|
|
plazaId: this.$store.state.plazaId
|
|
|
}
|
|
|
queryPic({ getParams }).then(res => {
|
|
@@ -507,7 +524,7 @@ export default {
|
|
|
// 明细表
|
|
|
Index1() {
|
|
|
let getParams = {
|
|
|
- location: '1198',
|
|
|
+ location: '1890',
|
|
|
plazaId: this.$store.state.plazaId,
|
|
|
page: this.page1,
|
|
|
size: this.size1
|
|
@@ -556,7 +573,7 @@ export default {
|
|
|
Index2() {
|
|
|
let postParams = {}
|
|
|
let data = {
|
|
|
- location: '1198',
|
|
|
+ location: '1890',
|
|
|
plazaId: this.$store.state.plazaId,
|
|
|
page: this.page2,
|
|
|
size: this.size2
|
|
@@ -592,14 +609,26 @@ export default {
|
|
|
this.table3 = res.data.data ? res.data.data : []
|
|
|
})
|
|
|
},
|
|
|
+ Index1Emit(val) {
|
|
|
+ this.page1 = val
|
|
|
+ this.Index1()
|
|
|
+ },
|
|
|
Index2Emit(val) {
|
|
|
this.page2 = val
|
|
|
this.Index2()
|
|
|
},
|
|
|
+ Index3Emit(val) {
|
|
|
+ this.page3 = val
|
|
|
+ this.Index3()
|
|
|
+ },
|
|
|
+ Index4Emit(val) {
|
|
|
+ this.page4 = val
|
|
|
+ this.Index4()
|
|
|
+ },
|
|
|
// 维修
|
|
|
Index3() {
|
|
|
let getParams = {
|
|
|
- location: '1015',
|
|
|
+ location: '1890',
|
|
|
// plazaId: '1001145',
|
|
|
plazaId: this.$store.state.plazaId,
|
|
|
page: this.page3,
|
|
@@ -662,7 +691,7 @@ export default {
|
|
|
Index4() {
|
|
|
let postParams = {}
|
|
|
let data = {
|
|
|
- location: '1175',
|
|
|
+ location: '1890',
|
|
|
plazaId: this.$store.state.plazaId,
|
|
|
page: this.page4,
|
|
|
size: this.size4,
|
|
@@ -777,12 +806,24 @@ export default {
|
|
|
}
|
|
|
})
|
|
|
},
|
|
|
+ init() {
|
|
|
+ let params = {
|
|
|
+ getParams: {
|
|
|
+ locationid: '5209',
|
|
|
+ plazaId: this.$store.state.plazaId
|
|
|
+ }
|
|
|
+ }
|
|
|
+ querySystem(params).then(res => {
|
|
|
+ console.log('系统', res)
|
|
|
+ })
|
|
|
+ },
|
|
|
open(name) {
|
|
|
this.visible = true
|
|
|
this.systemName = name
|
|
|
}
|
|
|
},
|
|
|
mounted() {
|
|
|
+ this.init()
|
|
|
this.Index()
|
|
|
},
|
|
|
watch: {}
|
|
@@ -809,6 +850,21 @@ export default {
|
|
|
background: rgba(216, 216, 216, 1);
|
|
|
}
|
|
|
}
|
|
|
+ .picker-box {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ background: #fff;
|
|
|
+ padding: 0 6px;
|
|
|
+ border: 1px solid #dcdfe6;
|
|
|
+ border-radius: 4px;
|
|
|
+ height: 32px;
|
|
|
+ box-sizing: border-box;
|
|
|
+ margin-right: 12px;
|
|
|
+ .picker-span {
|
|
|
+ margin-right: 6px;
|
|
|
+ color: rgba(0, 0, 0, 0.65);
|
|
|
+ }
|
|
|
+ }
|
|
|
.compute-span {
|
|
|
width: 100%;
|
|
|
height: 1px;
|
|
@@ -838,7 +894,7 @@ export default {
|
|
|
background: rgba(255, 255, 255, 1);
|
|
|
border-radius: 4px;
|
|
|
border: 1px solid rgba(195, 199, 203, 1);
|
|
|
- z-index: 9999;
|
|
|
+ z-index: 99999;
|
|
|
position: absolute;
|
|
|
top: -20px;
|
|
|
right: 0px;
|
|
@@ -915,6 +971,10 @@ export default {
|
|
|
color: rgba(31, 36, 41, 1);
|
|
|
border: 1px solid rgba(195, 199, 203, 1);
|
|
|
}
|
|
|
+ .el-tabs,
|
|
|
+ .el-tabs__content {
|
|
|
+ height: 800px;
|
|
|
+ }
|
|
|
.el-tabs__active-bar {
|
|
|
background-color: transparent !important;
|
|
|
}
|
|
@@ -979,5 +1039,25 @@ export default {
|
|
|
transform: scale3d(0.5, 0.5, 1);
|
|
|
}
|
|
|
}
|
|
|
+ .picker-box {
|
|
|
+ .el-input__inner {
|
|
|
+ border: none;
|
|
|
+ }
|
|
|
+ .el-range-editor.el-input__inner {
|
|
|
+ padding: 3px 0px;
|
|
|
+ }
|
|
|
+ .el-icon-date {
|
|
|
+ display: none;
|
|
|
+ }
|
|
|
+ .el-range__close-icon {
|
|
|
+ position: absolute;
|
|
|
+ right: 0px;
|
|
|
+ top: 2px;
|
|
|
+ }
|
|
|
+ .el-range-editor--mini .el-range-input {
|
|
|
+ font-size: 14px;
|
|
|
+ color: rgb(31, 36, 41);
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
</style>
|