| 
						
						
							
								
							
						
						
					 | 
					 | 
					@ -47,8 +47,8 @@ | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      <el-table-column label="设备名" align="center" prop="name" /> | 
					 | 
					 | 
					 | 
					      <el-table-column label="设备名" align="center" prop="name" /> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      <el-table-column label="设备ip" align="center" prop="ip" /> | 
					 | 
					 | 
					 | 
					      <el-table-column label="设备ip" align="center" prop="ip" /> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      <el-table-column label="设备序列号" align="center" prop="devsn" /> | 
					 | 
					 | 
					 | 
					      <el-table-column label="设备序列号" align="center" prop="devsn" /> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      <el-table-column label="首次注册时间" align="center" prop="firstTime" /> | 
					 | 
					 | 
					 | 
					      <el-table-column label="首次注册时间" align="center" prop="firstTime"  width="220"/> | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      <el-table-column label="心跳时间" align="center" prop="updateTime" /> | 
					 | 
					 | 
					 | 
					      <el-table-column label="心跳时间" align="center" prop="updateTime"  width="220"/> | 
				
			
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      <el-table-column label="4G强度" align="center" prop="rssiLevel" /> | 
					 | 
					 | 
					 | 
					      <el-table-column label="4G强度" align="center" prop="rssiLevel" /> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      <el-table-column label="接入方式" align="center" prop="accessType"> | 
					 | 
					 | 
					 | 
					      <el-table-column label="接入方式" align="center" prop="accessType"> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        <template slot-scope="scope"> | 
					 | 
					 | 
					 | 
					        <template slot-scope="scope"> | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -106,6 +106,9 @@ | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            v-hasPermi="['web:camera:net']">播放视频</el-button> | 
					 | 
					 | 
					 | 
					            v-hasPermi="['web:camera:net']">播放视频</el-button> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					          <el-button size="mini" type="text" icon="el-icon-setting" @click="setConfig(scope.row)" | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            v-hasPermi="['web:camera:config']">参数</el-button> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					          <el-dropdown size="mini" @command="(command) => handleCommand(command, scope.row)" | 
					 | 
					 | 
					 | 
					          <el-dropdown size="mini" @command="(command) => handleCommand(command, scope.row)" | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            v-hasPermi="['web:camera:4g']"> | 
					 | 
					 | 
					 | 
					            v-hasPermi="['web:camera:4g']"> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            <span class="el-dropdown-link"> | 
					 | 
					 | 
					 | 
					            <span class="el-dropdown-link"> | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -397,6 +400,24 @@ | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      <div v-html="videoHtml"> | 
					 | 
					 | 
					 | 
					      <div v-html="videoHtml"> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      </div> | 
					 | 
					 | 
					 | 
					      </div> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    </el-dialog> | 
					 | 
					 | 
					 | 
					    </el-dialog> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					    <el-dialog  title="水尺参数" :visible.sync="configopen" width="600px" append-to-body> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					      <el-form ref="cform" :model="configform" label-width="100px"> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					        <el-form-item label="总长度" prop="tLen"> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					          <el-input type="number" v-model="configform.tlen" placeholder="某一时刻水位+水位上水尺长度(单位米)" /> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					        </el-form-item> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					        <el-form-item label="出水长度" prop="cLen"> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					          <el-input type="number" v-model="configform.clen" placeholder="某一时刻水面上水尺长度(单位米)" /> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					        </el-form-item> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					        <el-form-item label="出水长度" prop="cP"> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					          <el-input type="number" v-model="configform.cp" placeholder="水面上的水尺长度对应像素" /> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					        </el-form-item> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					      </el-form> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					      <div slot="footer" class="dialog-footer"> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					        <el-button type="primary" @click="configSubmit">确 定</el-button> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					      </div> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					    </el-dialog> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  </div> | 
					 | 
					 | 
					 | 
					  </div> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					</template> | 
					 | 
					 | 
					 | 
					</template> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -432,6 +453,7 @@ export default { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      title: "", | 
					 | 
					 | 
					 | 
					      title: "", | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      // 是否显示弹出层 | 
					 | 
					 | 
					 | 
					      // 是否显示弹出层 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      open: false, | 
					 | 
					 | 
					 | 
					      open: false, | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					      configopen: false, | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      videoData:{ | 
					 | 
					 | 
					 | 
					      videoData:{ | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        open: false, | 
					 | 
					 | 
					 | 
					        open: false, | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      }, | 
					 | 
					 | 
					 | 
					      }, | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -449,6 +471,7 @@ export default { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      }, | 
					 | 
					 | 
					 | 
					      }, | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      // 表单参数 | 
					 | 
					 | 
					 | 
					      // 表单参数 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      form: {}, | 
					 | 
					 | 
					 | 
					      form: {}, | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					      configform: {}, | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      // 表单校验 | 
					 | 
					 | 
					 | 
					      // 表单校验 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      rules: { | 
					 | 
					 | 
					 | 
					      rules: { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      }, | 
					 | 
					 | 
					 | 
					      }, | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -623,6 +646,16 @@ export default { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      }; | 
					 | 
					 | 
					 | 
					      }; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      this.resetForm("form"); | 
					 | 
					 | 
					 | 
					      this.resetForm("form"); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    }, | 
					 | 
					 | 
					 | 
					    }, | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					    configreset() { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					      this.configform = { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					        id: null, | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					        lstart: null, | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					        tlen: null, | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					        clen: null, | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					        cp: null | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					      }; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					      this.resetForm("configform"); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					    }, | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    // 表单重置 | 
					 | 
					 | 
					 | 
					    // 表单重置 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    ftpCfgReset() { | 
					 | 
					 | 
					 | 
					    ftpCfgReset() { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      this.ftp.form = { | 
					 | 
					 | 
					 | 
					      this.ftp.form = { | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -754,6 +787,12 @@ export default { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        this.title = "修改"; | 
					 | 
					 | 
					 | 
					        this.title = "修改"; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      } | 
					 | 
					 | 
					 | 
					      } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    }, | 
					 | 
					 | 
					 | 
					    }, | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					    setConfig(row){ | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					      this.configreset(); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					      this.configform = row.paramsObject; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					      this.configform.id = row.id; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					      this.configopen = true; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					    }, | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    async refreshRssi(row) { | 
					 | 
					 | 
					 | 
					    async refreshRssi(row) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      const id = row.id; | 
					 | 
					 | 
					 | 
					      const id = row.id; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      const status = row.status; | 
					 | 
					 | 
					 | 
					      const status = row.status; | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -996,6 +1035,13 @@ export default { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        } | 
					 | 
					 | 
					 | 
					        } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      }); | 
					 | 
					 | 
					 | 
					      }); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    }, | 
					 | 
					 | 
					 | 
					    }, | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					    async configSubmit() { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					      let res = await this.$axiosPost('/web/camera/setConfig', this.configform); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					      if (res.code === 0) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					        this.$modal.msgSuccess("设置成功"); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					        this.configopen = false; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					      } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					    }, | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    /** 删除按钮操作 */ | 
					 | 
					 | 
					 | 
					    /** 删除按钮操作 */ | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    async handleDelete(row) { | 
					 | 
					 | 
					 | 
					    async handleDelete(row) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      const ids = row.id || this.ids; | 
					 | 
					 | 
					 | 
					      const ids = row.id || this.ids; | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					 | 
					
  |