|  | @@ -3,7 +3,7 @@
 | 
	
		
			
				|  |  |   * @Author: wangcc
 | 
	
		
			
				|  |  |   * @Date: 2022-07-06 15:56:45
 | 
	
		
			
				|  |  |   * @LastEditors: wangcc
 | 
	
		
			
				|  |  | - * @LastEditTime: 2022-10-26 15:26:35
 | 
	
		
			
				|  |  | + * @LastEditTime: 2022-10-28 10:26:47
 | 
	
		
			
				|  |  |   * @FilePath: \castgroup_bigscreen\src\views\index.vue
 | 
	
		
			
				|  |  |   * @Copyright: Copyright (c) 2016~2022 by wangcc, All Rights Reserved. 
 | 
	
		
			
				|  |  |  -->
 | 
	
	
		
			
				|  | @@ -241,7 +241,8 @@ import {
 | 
	
		
			
				|  |  |    smallInfo,
 | 
	
		
			
				|  |  |    eventDetail,
 | 
	
		
			
				|  |  |    financeBaseDetail,
 | 
	
		
			
				|  |  | -  projectList
 | 
	
		
			
				|  |  | +  projectList,
 | 
	
		
			
				|  |  | +  projectSmallClass
 | 
	
		
			
				|  |  |  } from '../service/index';
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  import scrollBoardSchema from '../dataSchema/scrollBoardSchema';
 | 
	
	
		
			
				|  | @@ -418,7 +419,8 @@ export default {
 | 
	
		
			
				|  |  |        'changeBaseDetail',
 | 
	
		
			
				|  |  |        'changeSelectCity',
 | 
	
		
			
				|  |  |        'changeSelectDistrict',
 | 
	
		
			
				|  |  | -      'changeSelectStreet'
 | 
	
		
			
				|  |  | +      'changeSelectStreet',
 | 
	
		
			
				|  |  | +      'getProjectSmallClassMap'
 | 
	
		
			
				|  |  |      ]),
 | 
	
		
			
				|  |  |      addrChange(value) {
 | 
	
		
			
				|  |  |        console.log('addrChange', value);
 | 
	
	
		
			
				|  | @@ -1178,28 +1180,40 @@ export default {
 | 
	
		
			
				|  |  |          this.changeSearchSmallClass(res.data);
 | 
	
		
			
				|  |  |          console.log(res.data);
 | 
	
		
			
				|  |  |          this.alarData = res.data;
 | 
	
		
			
				|  |  | -        console.log(this.$store.state.addr.mapLevel);
 | 
	
		
			
				|  |  | -        if (this.$store.state.addr.mapLevel == 'city') {
 | 
	
		
			
				|  |  | -          this.jumpDistrict();
 | 
	
		
			
				|  |  | -        } else {
 | 
	
		
			
				|  |  | -          this.vuexCityList.forEach((element) => {
 | 
	
		
			
				|  |  | -            if (res.data.cityId === element.areaId) {
 | 
	
		
			
				|  |  | -              this.changeSelectCity({
 | 
	
		
			
				|  |  | -                value: element.areaCode,
 | 
	
		
			
				|  |  | -                label: res.data.cityName,
 | 
	
		
			
				|  |  | -                areaId: element.areaId
 | 
	
		
			
				|  |  | -              });
 | 
	
		
			
				|  |  | -              this.$store.dispatch('searchArea', {
 | 
	
		
			
				|  |  | -                parentId: element.areaCode.substring(0, 6),
 | 
	
		
			
				|  |  | -                name: res.data.cityName,
 | 
	
		
			
				|  |  | -                mapLevel: 'city'
 | 
	
		
			
				|  |  | -              });
 | 
	
		
			
				|  |  | -            }
 | 
	
		
			
				|  |  | -          });
 | 
	
		
			
				|  |  | +        // if (this.$store.state.addr.mapLevel == 'city') {
 | 
	
		
			
				|  |  | +        //   this.jumpDistrict();
 | 
	
		
			
				|  |  | +        // } else {
 | 
	
		
			
				|  |  | +        //   this.vuexCityList.forEach((element) => {
 | 
	
		
			
				|  |  | +        //     if (res.data.cityId === element.areaId) {
 | 
	
		
			
				|  |  | +        //       this.changeSelectCity({
 | 
	
		
			
				|  |  | +        //         value: element.areaCode,
 | 
	
		
			
				|  |  | +        //         label: res.data.cityName,
 | 
	
		
			
				|  |  | +        //         areaId: element.areaId
 | 
	
		
			
				|  |  | +        //       });
 | 
	
		
			
				|  |  | +        //       this.$store.dispatch('searchArea', {
 | 
	
		
			
				|  |  | +        //         parentId: element.areaCode.substring(0, 6),
 | 
	
		
			
				|  |  | +        //         name: res.data.cityName,
 | 
	
		
			
				|  |  | +        //         mapLevel: 'city'
 | 
	
		
			
				|  |  | +        //       });
 | 
	
		
			
				|  |  | +        //     }
 | 
	
		
			
				|  |  | +        //   });
 | 
	
		
			
				|  |  | +        // }
 | 
	
		
			
				|  |  | +      });
 | 
	
		
			
				|  |  | +    },
 | 
	
		
			
				|  |  | +    scrollProjectClick(e) {
 | 
	
		
			
				|  |  | +      console.log(e.row[4]);
 | 
	
		
			
				|  |  | +      let rowId = e.row[4]
 | 
	
		
			
				|  |  | +      let param = {
 | 
	
		
			
				|  |  | +        courseId: rowId,
 | 
	
		
			
				|  |  | +        pageNum: 1,
 | 
	
		
			
				|  |  | +        pageSize: 20
 | 
	
		
			
				|  |  | +      };
 | 
	
		
			
				|  |  | +      projectSmallClass(param).then((res) => {
 | 
	
		
			
				|  |  | +        if (res.code == 200) {
 | 
	
		
			
				|  |  | +          this.getProjectSmallClassMap(res.rows)
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |        });
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  | -    scrollProjectClick() {},
 | 
	
		
			
				|  |  |      jumpDistrict() {
 | 
	
		
			
				|  |  |        if (this.vuexDistrictList) {
 | 
	
		
			
				|  |  |          this.vuexDistrictList.forEach((element) => {
 |