4.12视频检测接口调试成功
This commit is contained in:
		
							parent
							
								
									d4762dee5c
								
							
						
					
					
						commit
						03ca605c8c
					
				| @ -88,7 +88,7 @@ | ||||
| 				<!-- 背景图 --> | ||||
| 				<!-- fits: ['fill', 'contain', 'cover', 'none', 'scale-down'], --> | ||||
| 				<div style="width: 100%;display: flex;justify-content: center;background-color: #333;height:600px;"> | ||||
| 					<el-image style="width: 100%;" :src="require('./test.png')" :preview-src-list="[require('./test.png')]"fit="contain"> | ||||
| 					<el-image style="width: 100%;" :src="faceBgUrltest"  :preview-src-list="[faceBgUrltest]"  fit="contain"> | ||||
| 						<div slot="error" class="image-slot" style="text-align: center;margin-top:270px ;"> | ||||
| 							<i style="color: #666;font-size: 60px;" class="el-icon-picture-outline"></i> | ||||
| 						</div> | ||||
| @ -192,6 +192,7 @@ | ||||
| 					label: 'label' | ||||
| 				}, | ||||
| 				// 图片信息 | ||||
|         faceBgUrltest: "http://192.168.1.133:9000/middleware/103/1028345463.jpg", | ||||
| 				faceBgUrl: "", | ||||
| 				faces: [], | ||||
| 				currentFaces: [], | ||||
| @ -205,17 +206,20 @@ | ||||
| 		}, | ||||
| 		mounted() { | ||||
| 			//this.timer = setInterval(this.get, 1000); | ||||
|       this.get() | ||||
| 		}, | ||||
| 		beforeDestroy() {}, | ||||
| 		created() { | ||||
| 			// 初始化选择默认卡口 | ||||
| 			this.initGetCameraId() | ||||
| 			// 初始化获取4条预警信息 | ||||
| 			this.initGetWarningPicture() | ||||
| 			// this.initGetWarningPicture() | ||||
| 		}, | ||||
| 
 | ||||
| 		methods: { | ||||
| 			get(){ | ||||
|         this.warningList = []; | ||||
|         // console.log("this waringlist"+this.warningList); | ||||
| 				this.$http.get("/faces/list").then(res => { | ||||
| 					this.warningList  = res.data; | ||||
| 				}) | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user