Browse Source

站点搜索‘全部’

wkyy 2 years ago
parent
commit
82e426afd3
1 changed files with 3 additions and 2 deletions
  1. 3 2
      pages/searchPile/searchPile.vue

+ 3 - 2
pages/searchPile/searchPile.vue

@@ -328,7 +328,7 @@ export default {
 			showRadius:false,
 			showRadius:false,
 			cities: [ '荆州市'], 			
 			cities: [ '荆州市'], 			
 			radiuses:['1公里','2公里','5公里','10公里','20公里','50公里','100公里','200公里'],
 			radiuses:['1公里','2公里','5公里','10公里','20公里','50公里','100公里','200公里'],
-			types:['交流快充','直流慢充'],			
+			types:['全部','交流快充','直流慢充'],			
 			area: '荆州市',
 			area: '荆州市',
 			raidus:'',
 			raidus:'',
 			type:'',
 			type:'',
@@ -380,7 +380,7 @@ export default {
 					{ distance: 100, text: '100公里' },
 					{ distance: 100, text: '100公里' },
 					{ distance: 200, text: '200公里' }
 					{ distance: 200, text: '200公里' }
 				],
 				],
-				obc_type: [{ value: 0, text: '直流快充' }, { value: 1, text: '交流慢充' }],
+				obc_type: [{ value: '', text: '全部' }, { value: 0, text: '直流快充' }, { value: 1, text: '交流慢充' }],
 				obc_status: [{ value: 0, text: '对外开放' }, { value: 1, text: '不对外开放' }],
 				obc_status: [{ value: 0, text: '对外开放' }, { value: 1, text: '不对外开放' }],
 				obc_voltage: [{ value: 0, text: '低于700V' }, { value: 1, text: '700V及以上' }],
 				obc_voltage: [{ value: 0, text: '低于700V' }, { value: 1, text: '700V及以上' }],
 				obc_power: { minValue: 0, maxValue: 1000 }
 				obc_power: { minValue: 0, maxValue: 1000 }
@@ -442,6 +442,7 @@ export default {
 		 for(let i = 0;i< this.info.obc_type.length;i++){
 		 for(let i = 0;i< this.info.obc_type.length;i++){
 			 this.types.push(this.info.obc_type[i].text);
 			 this.types.push(this.info.obc_type[i].text);
 		 }
 		 }
+		 console.log(this.types)
 		 this.radiuses = [];
 		 this.radiuses = [];
 		 for(let i = 0;i< this.info.miles_type.length;i++){
 		 for(let i = 0;i< this.info.miles_type.length;i++){
 			 this.radiuses.push(this.info.miles_type[i].text);
 			 this.radiuses.push(this.info.miles_type[i].text);