|
@@ -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'>
|
|
@@ -159,17 +159,23 @@
|
|
|
size='small'
|
|
|
prefix-icon='el-icon-search'
|
|
|
v-model='gdbhInput4'
|
|
|
- style='width:200px;'
|
|
|
+ style='width:200px;margin-right:12px'
|
|
|
></el-input>
|
|
|
- </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>
|
|
|
+ <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
|
|
@@ -182,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
|
|
@@ -197,6 +211,7 @@
|
|
|
end-placeholder
|
|
|
></el-date-picker>
|
|
|
</p>
|
|
|
+
|
|
|
<!-- <p class='input-dialog-p'>工单编号</p>
|
|
|
<p class='input-dialog-p2'>
|
|
|
<el-input
|
|
@@ -223,7 +238,7 @@
|
|
|
:page='page3'
|
|
|
:total='total3'
|
|
|
:size='size3'
|
|
|
- @Index3='Index3'
|
|
|
+ @Index3Emit='Index3Emit'
|
|
|
></room-table4>
|
|
|
</el-tab-pane>
|
|
|
<el-tab-pane label='维保记录' name='5'>
|
|
@@ -363,7 +378,7 @@
|
|
|
:page='page4'
|
|
|
:total='total4'
|
|
|
:size='size4'
|
|
|
- @Index4='Index4'
|
|
|
+ @Index4Emit='Index4Emit'
|
|
|
></room-table5>
|
|
|
</el-tab-pane>
|
|
|
</el-tabs>
|
|
@@ -509,7 +524,7 @@ export default {
|
|
|
// 明细表
|
|
|
Index1() {
|
|
|
let getParams = {
|
|
|
- location: '1198',
|
|
|
+ location: '1890',
|
|
|
plazaId: this.$store.state.plazaId,
|
|
|
page: this.page1,
|
|
|
size: this.size1
|
|
@@ -558,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
|
|
@@ -594,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,
|
|
@@ -664,7 +691,7 @@ export default {
|
|
|
Index4() {
|
|
|
let postParams = {}
|
|
|
let data = {
|
|
|
- location: '28160',
|
|
|
+ location: '1890',
|
|
|
plazaId: this.$store.state.plazaId,
|
|
|
page: this.page4,
|
|
|
size: this.size4,
|
|
@@ -823,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;
|
|
@@ -997,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>
|