Browse Source

自定义设备增加不显示功能

vothin 3 years ago
parent
commit
c1cc44322a
1 changed files with 7 additions and 0 deletions
  1. 7 0
      src/views/ncs-orginazition/components/partInfoEdit.vue

+ 7 - 0
src/views/ncs-orginazition/components/partInfoEdit.vue

@@ -614,6 +614,9 @@ export default {
                 event_forward: 0,
                 nursing_color_rgb: '#000000',
                 two_color_door_light_valid: 0,
+                customize_hospital_call_first: 0,
+                customize_hospital_call_second: 0,
+                customize_hospital_call_third: 0,
               }
             }
           } else {
@@ -772,6 +775,10 @@ export default {
       const _this = this
       API_Device.getOtherHostDevice(part_id).then(r => {
         _this.otherHostDevice = r
+        _this.otherHostDevice.unshift({
+          id: 0,
+          name: '不显示'
+        })
       })
       this.otherHostDevice = _this.otherHostDevice
       console.log("this.otherHostDevice", this.otherHostDevice)