Kaynağa Gözat

修改维修维保事项参数,添加专维参数及bug

shaun-sheep 4 yıl önce
ebeveyn
işleme
a3332edd7a

+ 4 - 1
src/views/equipment/eqDialog.vue

@@ -165,7 +165,10 @@ export default {
         initImage(typecode) {
             let getParams = {
                 plazaId: this.$store.state.plazaId,
-                system: this.systemName.slice(0, 2)
+                system: this.systemName.slice(0, 2),
+                siteid: '1000423',
+                module: '1002',
+                neTypename: '位置布置图'
             }
             queryPic({ getParams }).then(res => {
                 this.rotationImg = res.data || []

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

@@ -45,7 +45,7 @@
             <el-table-column prop='sbxh' label='型号' show-overflow-tooltip resizable>
                 <template slot-scope='{row}'>{{row.sbxh || '--'}}</template>
             </el-table-column>
-            <el-table-column prop='floor' label='楼层' width='100'>
+            <el-table-column prop='floorcode' label='楼层' width='100'>
                 <template slot-scope='{row}'>{{row.floor || '--'}}</template>
             </el-table-column>
             <el-table-column prop='wzjc' label='安装位置' show-overflow-tooltip resizable>

+ 3 - 1
src/views/equipment/table/inputDIalog.vue

@@ -91,7 +91,6 @@ export default {
             this.dialogFormVisible = !this.dialogFormVisible
         },
         confirm() {
-            this.dialogFormVisible = false
             if (this.type == 1) {
                 this.$emit('confirm', this.inputForm.fws, this.inputForm.manufacturer)
             } else if (this.type == 2) {
@@ -101,6 +100,9 @@ export default {
             } else if (this.type == 4) {
                 this.$emit('confirm', this.inputForm.status, this.inputForm.yssjwcsj)
             }
+            this.dialogFormVisible = false
+            this.inputForm.status = ''
+            this.inputForm.yssjwcsj = ''
         }
     },
     mounted() {}

+ 5 - 4
src/views/equipment/table/wbTable.vue

@@ -144,11 +144,11 @@ export default {
             number_format,
             changeOption: [
                 {
-                    id: '',
+                    id: '1',
                     name: '是'
                 },
                 {
-                    id: ' ',
+                    id: ' 0',
                     name: '否'
                 }
             ],
@@ -185,7 +185,8 @@ export default {
             }
             //下拉
             if (this.ischange) {
-                getParams.data.ischangepj = this.ischange
+                // getParams.data.ischangepj = this.ischange
+                getParams.data.ismodel = this.ischange
             }
             if (this.sjjssj) {
                 getParams.data.sjjssjStartDate = this.sjjssj[0] + '000000'
@@ -237,7 +238,7 @@ export default {
         },
         tabLabel(newV, oldV) {
             if (newV !== oldV) {
-                this.tabFind()
+                // this.tabFind()
                 this.getList()
             }
         }

+ 4 - 3
src/views/equipment/table/wxTable.vue

@@ -155,11 +155,11 @@ export default {
             imgUrl: [],
             changeOption: [
                 {
-                    id: '',
+                    id: '1',
                     name: '是'
                 },
                 {
-                    id: '',
+                    id: '0',
                     name: '否'
                 }
             ],
@@ -193,7 +193,8 @@ export default {
             }
             //下拉
             if (this.ischange) {
-                getParams.data.ischangepj = this.ischange
+                getParams.data.ismodel = this.ischange
+                // getParams.data.ischangepj = this.ischange
             }
             if (this.sjjssj) {
                 getParams.data.sjjssjStartDate = this.sjjssj[0] + '000000'

+ 4 - 0
src/views/equipment/table/zwTable.vue

@@ -152,6 +152,7 @@ export default {
         confirm(status, yssjwcsj) {
             this.yssjwcsj = yssjwcsj
             this.status = status
+
             this.getList()
         },
         pageChanged(page) {
@@ -258,6 +259,9 @@ export default {
                 getParams.data.lxsjwcsjStartDate = this.lxsjwcsj[0] + '000000'
                 getParams.data.lxsjwcsjEndDate = this.reportdate[1] + '000000'
             }
+            if (this.status) {
+                getParams.data.status = this.status
+            }
 
             //input
             getParams.data.keyword = ''