소스 검색

fix:图片列表页码和识别结果图片展示

yf_elsa.cui 4 일 전
부모
커밋
2f9f04b297
2개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      pages/cb/cbd/equip-set/imgpage.vue
  2. 2 0
      pages/cb/cbd/equip-set/results.vue

+ 1 - 1
pages/cb/cbd/equip-set/imgpage.vue

@@ -126,7 +126,7 @@
 						device_id: this.device_id,
 						device_id: this.device_id,
 						page: this.page,
 						page: this.page,
 						status: "no",
 						status: "no",
-						page_number: 12,
+						page_size: 12,
 						identify_model: this.modelList[this.identify_model].value,
 						identify_model: this.modelList[this.identify_model].value,
 						time_begin: time_begin, //开始时间
 						time_begin: time_begin, //开始时间
 						time_end: time_end, //结束时间
 						time_end: time_end, //结束时间

+ 2 - 0
pages/cb/cbd/equip-set/results.vue

@@ -62,8 +62,10 @@
 				})
 				})
 				console.log(res)
 				console.log(res)
 				if (res) {
 				if (res) {
+					res.image = this.addr//由于识别结果图片不存了,改为先原图展示,后续再处理
 					if (ret == "see") {
 					if (ret == "see") {
 						this.resuils = res
 						this.resuils = res
+						
 					} else if (ret == "again") {
 					} else if (ret == "again") {
 						// this.resuils.result
 						// this.resuils.result
 						// console.log(insect_dict)
 						// console.log(insect_dict)