yunxing 4 years ago
parent
commit
84c5f4a450
1 changed files with 4 additions and 17 deletions
  1. 4 17
      src/views/equipmentFacilities/MainEquipmentDetail.vue

+ 4 - 17
src/views/equipmentFacilities/MainEquipmentDetail.vue

@@ -144,28 +144,15 @@ export default {
         //  manufacturer, 生产厂商  如果没有传递‘--’
         //  manufacturer, 生产厂商  如果没有传递‘--’
         // sbxh,    设备类型  如果没有传递‘--’
         // sbxh,    设备类型  如果没有传递‘--’
         // type_code    自定义分类内码
         // type_code    自定义分类内码
-        /*  classqc: "供配电系统/高压配电柜/进线柜"
-        classstructureid: "1511"
-        floorcode: "B2"
-        importance: 1
-        is_detecting: false
-        is_exception: false
-        manufacturer: "上海中发电气(集团)股份有限公司"
-        sbxh: "GCS"
-        sl: 4
-        type_code: "gd011"
-        type_name: "高压进线柜" */
         // TODO: 参数修改
         // TODO: 参数修改
         console.log(this.$route)
         console.log(this.$route)
         let { type_name, sl, type_code, brand, classstructureid, manufacturer, sbxh } = this.$route.params
         let { type_name, sl, type_code, brand, classstructureid, manufacturer, sbxh } = this.$route.params
-        type_name = type_name || '高压进线柜'
-        sl = sl || (Math.random() * 100).toFixed(0)
         this.title = `${type_name}(${sl})`
         this.title = `${type_name}(${sl})`
-        this.type_code = type_code || 'nt011'
+        this.type_code = type_code
         this.brand = brand || '--'
         this.brand = brand || '--'
-        this.classstructureid = classstructureid || '1700'
-        this.manufacturer = manufacturer || '开利空调销售服务(上海)有限公司'
-        this.sbxh = sbxh || '19XR-50514QELCH52'
+        this.classstructureid = classstructureid
+        this.manufacturer = manufacturer || '--'
+        this.sbxh = sbxh || '--'
 
 
         // 设置 筛选抽屉中的 楼层
         // 设置 筛选抽屉中的 楼层
         let floorList = [{ code: '全部', gcname: '全部', gcode: '全部', gname: '全部', seq: null, active: 'active' }]
         let floorList = [{ code: '全部', gcname: '全部', gcode: '全部', gname: '全部', seq: null, active: 'active' }]