|  |  | @ -83,14 +83,14 @@ | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |       <template v-else-if="searchData.deviceType == '12'"> | 
			
		
	
		
			
				
					|  |  |  |         <!-- 行车诱导 --> | 
			
		
	
		
			
				
					|  |  |  |         <el-form-item label="工作状态"> | 
			
		
	
		
			
				
					|  |  |  |           <el-select v-model="editData.type12.mode" placeholder="请选择"> | 
			
		
	
		
			
				
					|  |  |  |             <el-option v-for="value, key in gzztMap" :key="key" :label="value" :value="key" /> | 
			
		
	
		
			
				
					|  |  |  |         <el-form-item label="工作模式"> | 
			
		
	
		
			
				
					|  |  |  |           <el-select v-model="editData.type12.SETMD" placeholder="请选择"> | 
			
		
	
		
			
				
					|  |  |  |             <el-option v-for="value, key in gzmsMap" :key="key" :label="value" :value="key" /> | 
			
		
	
		
			
				
					|  |  |  |           </el-select> | 
			
		
	
		
			
				
					|  |  |  |         </el-form-item> | 
			
		
	
		
			
				
					|  |  |  |         <el-form-item label="工作时长"> | 
			
		
	
		
			
				
					|  |  |  |           <el-col :span="8"> | 
			
		
	
		
			
				
					|  |  |  |             <el-input-number v-model="editData.type12.timeLength" :min="1" :max="600" label="描述文字" /> | 
			
		
	
		
			
				
					|  |  |  |             <el-input-number v-model="editData.type12.SETTM" :min="0" :max="100000" /> | 
			
		
	
		
			
				
					|  |  |  |           </el-col> | 
			
		
	
		
			
				
					|  |  |  |           <!-- <el-col :span="4" style="margin-left: 10px;">分钟</el-col> --> | 
			
		
	
		
			
				
					|  |  |  |         </el-form-item> | 
			
		
	
	
		
			
				
					|  |  | @ -98,13 +98,20 @@ | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |       <template v-else-if="searchData.deviceType == '13'"> | 
			
		
	
		
			
				
					|  |  |  |         <!-- 智能设备箱 --> | 
			
		
	
		
			
				
					|  |  |  |         <el-form-item label="开启"> | 
			
		
	
		
			
				
					|  |  |  |           <el-switch v-model="editData.type13.switch"> | 
			
		
	
		
			
				
					|  |  |  |             <!-- active-color="#13ce66" inactive-color="#ff4949" --> | 
			
		
	
		
			
				
					|  |  |  |           </el-switch> | 
			
		
	
		
			
				
					|  |  |  |         <el-form-item label="工作模式"> | 
			
		
	
		
			
				
					|  |  |  |           <el-select v-model="editData.type13.SETMD" placeholder="请选择"> | 
			
		
	
		
			
				
					|  |  |  |             <el-option v-for="value, key in gzmsMap" :key="key" :label="value" :value="key" /> | 
			
		
	
		
			
				
					|  |  |  |           </el-select> | 
			
		
	
		
			
				
					|  |  |  |         </el-form-item> | 
			
		
	
		
			
				
					|  |  |  |         <el-form-item label="工作时长"> | 
			
		
	
		
			
				
					|  |  |  |           <el-col :span="8"> | 
			
		
	
		
			
				
					|  |  |  |             <el-input-number v-model="editData.type13.SETTM" :min="0" :max="100000" /> | 
			
		
	
		
			
				
					|  |  |  |           </el-col> | 
			
		
	
		
			
				
					|  |  |  |           <!-- <el-col :span="4" style="margin-left: 10px;">分钟</el-col> --> | 
			
		
	
		
			
				
					|  |  |  |         </el-form-item> | 
			
		
	
		
			
				
					|  |  |  |       </template> | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |       <el-form-item> | 
			
		
	
		
			
				
					|  |  |  |         <el-button size="mini" type="primary" @click="onSubmit">保存</el-button> | 
			
		
	
		
			
				
					|  |  |  |       </el-form-item> | 
			
		
	
	
		
			
				
					|  |  | @ -206,7 +213,7 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |         // { "STAY": 90, "ACTION": "1", "SPEED": "0", "COLOR": "ffff00", "FONT": "3", "FONT_SIZE": "24", "CONTENT": "长清收费站\\\\n出入口封闭", "width": "160", "height": "80", "formatStyle": "2" } | 
			
		
	
		
			
				
					|  |  |  |         if (this.propData.deviceType == "2"){ | 
			
		
	
		
			
				
					|  |  |  |           this.editData.type2 = BoardUtils.contentToDeviceItem(this.propData.params); | 
			
		
	
		
			
				
					|  |  |  |         } else if (this.propData.deviceType == "5" || this.propData.deviceType == "10"){ | 
			
		
	
		
			
				
					|  |  |  |         } else if (["5","10","12","13"].includes(this.propData.deviceType)){ | 
			
		
	
		
			
				
					|  |  |  |           this.editData["type" + this.propData.deviceType] = { ...this.propData.params}; | 
			
		
	
		
			
				
					|  |  |  |         } | 
			
		
	
		
			
				
					|  |  |  |       }else{ | 
			
		
	
	
		
			
				
					|  |  | @ -309,11 +316,13 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |         } | 
			
		
	
		
			
				
					|  |  |  |       } else if (this.searchData.deviceType == "12") { | 
			
		
	
		
			
				
					|  |  |  |         return { | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |           SETMD: this.editData.type12.SETMD, | 
			
		
	
		
			
				
					|  |  |  |           SETTM: this.editData.type12.SETTM | 
			
		
	
		
			
				
					|  |  |  |         } | 
			
		
	
		
			
				
					|  |  |  |       } else if (this.searchData.deviceType == "13") { | 
			
		
	
		
			
				
					|  |  |  |         return { | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |           SETMD: this.editData.type13.SETMD, | 
			
		
	
		
			
				
					|  |  |  |           SETTM: this.editData.type13.SETTM | 
			
		
	
		
			
				
					|  |  |  |         } | 
			
		
	
		
			
				
					|  |  |  |       } | 
			
		
	
		
			
				
					|  |  |  |     }, | 
			
		
	
	
		
			
				
					|  |  | 
 |