| 
					
				 | 
			
			
				@@ -90,7 +90,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <el-select v-model="dataform.deviceId" style="width:500px;" placeholder="请选择" @change="change_deviceId"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               <el-option v-for="item in viedoAccountList" :key="item.deviceId" :label="item.deviceId" :value="item.deviceId" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             </el-select> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          </el-form-item>  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          </el-form-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           <el-form-item label="是否保养工" prop="keeper"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <el-switch ref="keeper" v-model="dataform.keeper" active-color="#13ce66" inactive-color="#ff4949" :active-value="1" :inactive-value="0" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           </el-form-item> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -214,7 +214,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         { name: 'getEmpall', offset: 0, pagecount: 0, params: [] }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         { name: 'getMaintenanceTypeList', offset: 0, pagecount: 0, params: [] }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         { name: 'getMcsAccounts', offset: 0, pagecount: 0, params: [] }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-         
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       ], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       requestFilterParams: { returntype: 'Map', parammaps: {}}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       UpdateDataRelationParam: { name: '', dataname: '', datavalue: '', valuename: '', values: [] }, 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -392,17 +392,17 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                var pastureId = Cookies.get('pastureid')  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                var pastureId = Cookies.get('pastureid') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 console.log(pastureid) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                var deviceId = this.dataform.deviceId   
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                var deviceId = this.dataform.deviceId 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 var uId = this.dataform.uId 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 var pwd = this.dataform.pwd 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 console.log('pastureId', pastureId) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 var send_data = { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -439,7 +439,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                   ] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 console.log('记录仪保存发送参数===========', send_data) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 ExecDataByConfig(send_data).then(response => { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -454,8 +454,14 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                           'deviceId': this.dataform.deviceId 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                       } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                      MessageBox.confirm('该设备已经绑定,是否重新绑定?', { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                      let str1 = '启用' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                      if(this.dataform.enable == 1){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        str1 = '启用' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                      }else{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        str1 = '禁用' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                      } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                      let str = '是否'+ str1 +'该用户?' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                      MessageBox.confirm(str, { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         confirmButtonText: '确认', cancelButtonText: '取消', type: 'warning' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                       }).then(() => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         PostDataByName(send_data3).then(() => { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -550,7 +556,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             this.requestParam.params[4] = this.dataform.maintenancePerson 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-           
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           this.requestParam.params[5] = this.dataform.keeper 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -617,8 +623,15 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             'deviceId': this.dataform.deviceId 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                           } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        MessageBox.confirm('该设备已经绑定,是否重新绑定?', { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        let str1 = '启用' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        if(this.dataform.enable == 1){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                          str1 = '启用' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        }else{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                          str1 = '禁用' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        let str = '是否'+ str1 +'该用户?' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        MessageBox.confirm(str, { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        // MessageBox.confirm('该设备已经绑定,是否重新绑定?', { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                           confirmButtonText: '确认', cancelButtonText: '取消', type: 'warning' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         }).then(() => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                           PostDataByName(send_data3).then(() => { 
			 |