Browse Source

提交 维保维修.专维

yunxing 4 years ago
parent
commit
6f42cec3a8

+ 2 - 2
src/views/equipment/table/eqDetaileDialog.vue

@@ -288,6 +288,8 @@ export default {
             let data = {
                 major: major,
                 plazaId: this.$store.state.plazaId,
+                page: 1,
+                size: this.row.sl,
             }
             //区分主要设备
             if (this.major != '土建') {
@@ -320,8 +322,6 @@ export default {
                 manufacturer: this.row.manufacturer || '--',
                 sbxh: this.row.sbxh || '--',
                 brand: this.row.brand || '--',
-                page: 1,
-                size: this.row.sl,
             }
             //下拉筛选
             if (this.floor && this.floor != 1) {

+ 1 - 1
src/views/equipment/table/recordDialog.vue

@@ -89,7 +89,7 @@ export default {
             wznw !== '0' && wznw !== '-1' && wznw && (getParams.wznw = wznw) //专维及其它,不上传该字段
             // 处理给排水
             if (difference) {
-                apply !== '专维及其它' && (getParams.difference = difference) //维修维保上传 difference
+                getParams.difference = difference
                 delete getParams.wznw //不上传内外
             }
             queryRecord({ getParams }).then((res) => {