|  | @@ -20,54 +20,25 @@
 | 
	
		
			
				|  |  |          </div>
 | 
	
		
			
				|  |  |          <template v-if="tidx===1">
 | 
	
		
			
				|  |  |              <div class="list">
 | 
	
		
			
				|  |  | -                <div class="l_item adfacjb" v-for="(item, index) in teamList" :key="index">
 | 
	
		
			
				|  |  | -                    <div class="li_l adfac">
 | 
	
		
			
				|  |  | -                        <div class="li_pre">
 | 
	
		
			
				|  |  | -                            <p class="lit_text">{{item.title}}</p>
 | 
	
		
			
				|  |  | -                            <p class="lit_tip">产品研发 · 创新科技</p>
 | 
	
		
			
				|  |  | -                        </div>
 | 
	
		
			
				|  |  | -                        <div class="li_pre">
 | 
	
		
			
				|  |  | -                            <p class="lit_text">{{item.time}}</p>
 | 
	
		
			
				|  |  | -                            <p class="lit_tip">报告时间</p>
 | 
	
		
			
				|  |  | -                        </div>
 | 
	
		
			
				|  |  | -                        <div class="li_pre">
 | 
	
		
			
				|  |  | -                            <p class="lit_text">{{item.persons}}/{{ item.sum }}</p>
 | 
	
		
			
				|  |  | -                            <p class="lit_tip">答卷人数</p>
 | 
	
		
			
				|  |  | -                        </div>
 | 
	
		
			
				|  |  | -                    </div>
 | 
	
		
			
				|  |  | -                    <div class="li_r">
 | 
	
		
			
				|  |  | -                        <el-button type="primary">查看报告</el-button>
 | 
	
		
			
				|  |  | -                    </div>
 | 
	
		
			
				|  |  | -                </div>
 | 
	
		
			
				|  |  | +                <reportList :item="item" :reportList="item.reportList" :showMore="item.showMore"
 | 
	
		
			
				|  |  | +                    v-for="(item, index) in teamList" :key="index"
 | 
	
		
			
				|  |  | +                    @toggleReport="e=>toggleReportTeam(e,index)">
 | 
	
		
			
				|  |  | +                </reportList>
 | 
	
		
			
				|  |  |              </div>
 | 
	
		
			
				|  |  |          </template>
 | 
	
		
			
				|  |  |          <template v-else-if="tidx===2">
 | 
	
		
			
				|  |  |              <div class="list">
 | 
	
		
			
				|  |  | -                <div class="l_item adfacjb" v-for="(item, index) in personList" :key="index">
 | 
	
		
			
				|  |  | -                    <div class="li_l adfac">
 | 
	
		
			
				|  |  | -                        <div class="li_pre">
 | 
	
		
			
				|  |  | -                            <p class="lit_text">{{item.title}}</p>
 | 
	
		
			
				|  |  | -                            <p class="lit_tip">产品研发 · 创新科技</p>
 | 
	
		
			
				|  |  | -                        </div>
 | 
	
		
			
				|  |  | -                        <div class="li_pre">
 | 
	
		
			
				|  |  | -                            <p class="lit_text">{{item.time}}</p>
 | 
	
		
			
				|  |  | -                            <p class="lit_tip">报告时间</p>
 | 
	
		
			
				|  |  | -                        </div>
 | 
	
		
			
				|  |  | -                        <div class="li_pre">
 | 
	
		
			
				|  |  | -                            <p class="lit_text">{{item.name}}</p>
 | 
	
		
			
				|  |  | -                            <p class="lit_tip">用户名</p>
 | 
	
		
			
				|  |  | -                        </div>
 | 
	
		
			
				|  |  | -                    </div>
 | 
	
		
			
				|  |  | -                    <div class="li_r">
 | 
	
		
			
				|  |  | -                        <el-button type="primary">查看报告</el-button>
 | 
	
		
			
				|  |  | -                    </div>
 | 
	
		
			
				|  |  | -                </div>
 | 
	
		
			
				|  |  | +                <reportList :item="item" :reportList="item.reportList" :showMore="item.showMore" :isTeam="false"
 | 
	
		
			
				|  |  | +                    v-for="(item, index) in personList" :key="index"
 | 
	
		
			
				|  |  | +                    @toggleReport="e=>toggleReportPerson(e,index)">
 | 
	
		
			
				|  |  | +                </reportList>
 | 
	
		
			
				|  |  |              </div>
 | 
	
		
			
				|  |  |          </template>
 | 
	
		
			
				|  |  |      </div>
 | 
	
		
			
				|  |  |  </template>
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  <script setup name="">
 | 
	
		
			
				|  |  | +    import reportList from '@/components/reportList/index.vue'
 | 
	
		
			
				|  |  |      import { ref, getCurrentInstance } from 'vue'
 | 
	
		
			
				|  |  |      const { proxy } = getCurrentInstance();
 | 
	
		
			
				|  |  |      
 | 
	
	
		
			
				|  | @@ -78,21 +49,94 @@
 | 
	
		
			
				|  |  |          sort: ''
 | 
	
		
			
				|  |  |      })
 | 
	
		
			
				|  |  |      const teamList = ref([
 | 
	
		
			
				|  |  | -        {title:'TechCorp 领导团队评估',time:'2023-05-18 12:00:30',sum:20,persons:20},
 | 
	
		
			
				|  |  | -        {title:'TechCorp 领导团队评估',time:'2023-05-18 12:00:30',sum:20,persons:20},
 | 
	
		
			
				|  |  | -        {title:'TechCorp 领导团队评估',time:'2023-05-18 12:00:30',sum:20,persons:20}
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | +        {
 | 
	
		
			
				|  |  | +            companyName:'甜梦巧克力工厂',
 | 
	
		
			
				|  |  | +            wjName:'问卷名称问卷名称问卷名称问卷名称问卷名称',
 | 
	
		
			
				|  |  | +            teamType:'市场部',
 | 
	
		
			
				|  |  | +            jzDatetime:'2025-06-18 12:00:30',
 | 
	
		
			
				|  |  | +            zdPersons:20,
 | 
	
		
			
				|  |  | +            tdPersons:99,
 | 
	
		
			
				|  |  | +            showMore:false,
 | 
	
		
			
				|  |  | +            reportList:[]
 | 
	
		
			
				|  |  | +        },
 | 
	
		
			
				|  |  | +        {
 | 
	
		
			
				|  |  | +            companyName:'甜梦巧克力工厂',
 | 
	
		
			
				|  |  | +            wjName:'问卷名称问卷名称问卷名称问卷名称问卷名称',
 | 
	
		
			
				|  |  | +            teamType:'市场部',
 | 
	
		
			
				|  |  | +            jzDatetime:'2025-06-18 12:00:30',
 | 
	
		
			
				|  |  | +            zdPersons:20,
 | 
	
		
			
				|  |  | +            tdPersons:99,
 | 
	
		
			
				|  |  | +            showMore:false,
 | 
	
		
			
				|  |  | +            reportList:[]
 | 
	
		
			
				|  |  | +        },
 | 
	
		
			
				|  |  | +        {
 | 
	
		
			
				|  |  | +            companyName:'甜梦巧克力工厂',
 | 
	
		
			
				|  |  | +            wjName:'问卷名称问卷名称问卷名称问卷名称问卷名称',
 | 
	
		
			
				|  |  | +            teamType:'市场部',
 | 
	
		
			
				|  |  | +            jzDatetime:'2025-06-18 12:00:30',
 | 
	
		
			
				|  |  | +            zdPersons:20,
 | 
	
		
			
				|  |  | +            tdPersons:99,
 | 
	
		
			
				|  |  | +            showMore:false,
 | 
	
		
			
				|  |  | +            reportList:[]
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  |      ])
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      const personList = ref([
 | 
	
		
			
				|  |  | -        {title:'TechCorp 领导团队评估',time:'2023-05-18 12:00:30',name:'张三'},
 | 
	
		
			
				|  |  | -        {title:'TechCorp 领导团队评估',time:'2023-05-18 12:00:30',name:'张三'},
 | 
	
		
			
				|  |  | -        {title:'TechCorp 领导团队评估',time:'2023-05-18 12:00:30',name:'张三'}
 | 
	
		
			
				|  |  | +        {
 | 
	
		
			
				|  |  | +            companyName:'甜梦巧克力工厂',
 | 
	
		
			
				|  |  | +            wjName:'问卷名称问卷名称问卷名称问卷名称问卷名称',
 | 
	
		
			
				|  |  | +            userName:'刘俊',
 | 
	
		
			
				|  |  | +            teamType:'市场部',
 | 
	
		
			
				|  |  | +            jzDatetime:'2025-06-18 12:00:30',
 | 
	
		
			
				|  |  | +            showMore:false,
 | 
	
		
			
				|  |  | +            reportList:[]
 | 
	
		
			
				|  |  | +        },
 | 
	
		
			
				|  |  | +        {
 | 
	
		
			
				|  |  | +            companyName:'甜梦巧克力工厂',
 | 
	
		
			
				|  |  | +            wjName:'问卷名称问卷名称问卷名称问卷名称问卷名称',
 | 
	
		
			
				|  |  | +            userName:'刘俊',
 | 
	
		
			
				|  |  | +            teamType:'市场部',
 | 
	
		
			
				|  |  | +            jzDatetime:'2025-06-18 12:00:30',
 | 
	
		
			
				|  |  | +            showMore:false,
 | 
	
		
			
				|  |  | +            reportList:[]
 | 
	
		
			
				|  |  | +        },
 | 
	
		
			
				|  |  | +        {
 | 
	
		
			
				|  |  | +            companyName:'甜梦巧克力工厂',
 | 
	
		
			
				|  |  | +            wjName:'问卷名称问卷名称问卷名称问卷名称问卷名称',
 | 
	
		
			
				|  |  | +            userName:'刘俊',
 | 
	
		
			
				|  |  | +            teamType:'市场部',
 | 
	
		
			
				|  |  | +            jzDatetime:'2025-06-18 12:00:30',
 | 
	
		
			
				|  |  | +            showMore:false,
 | 
	
		
			
				|  |  | +            reportList:[]
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  |      ])
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      const handleChangeTab = (idx) => {
 | 
	
		
			
				|  |  |          tidx.value = idx
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +    const toggleReportTeam = (e,idx) => {
 | 
	
		
			
				|  |  | +        teamList.value[idx].showMore = !teamList.value[idx].showMore;
 | 
	
		
			
				|  |  | +        if(teamList.value[idx].showMore){
 | 
	
		
			
				|  |  | +            teamList.value[idx].reportList = [
 | 
	
		
			
				|  |  | +                {reportName:'报告名称报告名称报告名称报告名称',reprtTime:'2025-06-18 12:00:30',status:1},
 | 
	
		
			
				|  |  | +                {reportName:'报告名称报告名称报告名称报告名称',reprtTime:'2025-06-18 12:00:30',status:3},
 | 
	
		
			
				|  |  | +                {reportName:'报告名称报告名称报告名称报告名称',reprtTime:'2025-06-18 12:00:30',status:0},
 | 
	
		
			
				|  |  | +                {reportName:'报告名称报告名称报告名称报告名称',reprtTime:'2025-06-18 12:00:30',status:2}
 | 
	
		
			
				|  |  | +            ];
 | 
	
		
			
				|  |  | +        }else teamList.value[idx].reportList = [];
 | 
	
		
			
				|  |  | +    }
 | 
	
		
			
				|  |  | +    const toggleReportPerson = (e,idx) => {
 | 
	
		
			
				|  |  | +        personList.value[idx].showMore = !personList.value[idx].showMore;
 | 
	
		
			
				|  |  | +        if(personList.value[idx].showMore){
 | 
	
		
			
				|  |  | +            personList.value[idx].reportList = [
 | 
	
		
			
				|  |  | +                {reportName:'报告名称报告名称报告名称报告名称',reprtTime:'2025-06-18 12:00:30',status:1},
 | 
	
		
			
				|  |  | +                {reportName:'报告名称报告名称报告名称报告名称',reprtTime:'2025-06-18 12:00:30',status:3},
 | 
	
		
			
				|  |  | +                {reportName:'报告名称报告名称报告名称报告名称',reprtTime:'2025-06-18 12:00:30',status:0},
 | 
	
		
			
				|  |  | +                {reportName:'报告名称报告名称报告名称报告名称',reprtTime:'2025-06-18 12:00:30',status:2}
 | 
	
		
			
				|  |  | +            ];
 | 
	
		
			
				|  |  | +        }else personList.value[idx].reportList = [];
 | 
	
		
			
				|  |  | +    }
 | 
	
		
			
				|  |  |  </script>
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  <style scoped lang="scss">
 |