|
@@ -1,26 +1,35 @@
|
|
|
<template>
|
|
|
<div class="home-wrapper">
|
|
|
- <SearchBar :tabArr="tabArr" :menuArr="menuArr" :activeTab="activeTab"></SearchBar>
|
|
|
+ <SearchBar :tabArr="tabArr" :menuArr="menuArr"></SearchBar>
|
|
|
<div class="home-page container">
|
|
|
<el-row>
|
|
|
<el-col :span="19" class="test-type-wrapper">
|
|
|
- <TestMenu :testTypeList="homeData.testTypeList"></TestMenu>
|
|
|
- <TestCard :applicationTypeList="homeData.applicationTypeList"></TestCard>
|
|
|
+ <TestMenu :testTypeList="getHomeData.testTypeList"></TestMenu>
|
|
|
+
|
|
|
+<!-- <vue-waterfall-easy :imgsArr="homeData.applicationTypeList">-->
|
|
|
+<!--<!– <div class="img-info" slot-scope="props">–>-->
|
|
|
+<!--<!– <p class="some-info">第{{props.index+1}}张图片</p>–>-->
|
|
|
+<!--<!– <p class="some-info">{{props.value.info}}</p>–>-->
|
|
|
+<!--<!– </div>–>-->
|
|
|
+<!--<!– <TestCard :application="props" slot-scope="props" class="img-info"></TestCard>–>-->
|
|
|
+<!-- </vue-waterfall-easy>-->
|
|
|
+ <TestCard></TestCard>
|
|
|
+
|
|
|
</el-col>
|
|
|
<el-col :span="5" class="homepage-right-modules">
|
|
|
<LoginCard/>
|
|
|
- <HotCrowd :applicationTypeRank="homeData.applicationTypeRank"/>
|
|
|
- <HotAgency :agencyRank="homeData.agencyRank"/>
|
|
|
- <HotUser :userRank="homeData.userRank"/>
|
|
|
- <HotContest :competitionList="homeData.competitionList"/>
|
|
|
+ <HotCrowd :applicationTypeRank="getHomeData.applicationTypeRank"/>
|
|
|
+ <HotAgency :agencyRank="getHomeData.agencyRank"/>
|
|
|
+ <HotUser :userRank="getHomeData.userRank"/>
|
|
|
+ <HotContest :competitionList="getHomeData.competitionList"/>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
<el-row :gutter="15">
|
|
|
<el-col :span="12">
|
|
|
- <ResourceAndTool :resourceList="homeData.resourceList"></ResourceAndTool>
|
|
|
+ <ResourceAndTool :resourceList="getHomeData.resourceList"></ResourceAndTool>
|
|
|
</el-col>
|
|
|
<el-col :span="12">
|
|
|
- <BrandCard :residentAgencyList = homeData.residentAgencyList></BrandCard>
|
|
|
+ <BrandCard :residentAgencyList = getHomeData.residentAgencyList></BrandCard>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
<InstitutionCard></InstitutionCard>
|
|
@@ -42,7 +51,10 @@
|
|
|
import HotContest from './HotContest'
|
|
|
import PopularProject from '../Square/PopularProject'
|
|
|
import Http from '@/js/http.js'
|
|
|
-
|
|
|
+ import {mapActions,mapGetters} from 'vuex'
|
|
|
+ // import vueWaterfallEasy from 'vue-waterfall-easy'
|
|
|
+ import Waterfall from 'vue-waterfall/lib/waterfall'
|
|
|
+ import WaterfallSlot from 'vue-waterfall/lib/waterfall-slot'
|
|
|
export default {
|
|
|
name: 'Homepage',
|
|
|
components: {
|
|
@@ -57,11 +69,13 @@
|
|
|
LoginCard,
|
|
|
TestCard,
|
|
|
BrandCard,
|
|
|
- ResourceAndTool
|
|
|
+ ResourceAndTool,
|
|
|
+ Waterfall,
|
|
|
+ WaterfallSlot
|
|
|
+ // vueWaterfallEasy
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
- activeTab:'homepage',
|
|
|
tabArr: [
|
|
|
{label: "项目", name: "project"},
|
|
|
{label: "工具", name: "tool"},
|
|
@@ -90,17 +104,781 @@
|
|
|
{label: "更多", name: "findMore"},
|
|
|
],
|
|
|
},
|
|
|
- homeData:{}
|
|
|
+ homeData:{
|
|
|
+ "testTypeList": [
|
|
|
+ {
|
|
|
+ "code": "JKCS",
|
|
|
+ "name": "接口测试"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "JRXCE",
|
|
|
+ "name": "兼容性测试"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "KKXCS",
|
|
|
+ "name": "可靠性测试"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "WDXCS",
|
|
|
+ "name": "稳定性测试"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "GNCS",
|
|
|
+ "name": "功能测试"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "XNCS",
|
|
|
+ "name": "性能测试"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "AQCS",
|
|
|
+ "name": "安全测试"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "YYXCS",
|
|
|
+ "name": "易用性测试"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "YYGGZD",
|
|
|
+ "name": "应用故障诊断"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "YYLDSM",
|
|
|
+ "name": "应用漏洞扫描"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "DMAQSJ",
|
|
|
+ "name": "代码安全审计"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "FXPG",
|
|
|
+ "name": "风险评估"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "DBCP",
|
|
|
+ "name": "等保测评"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "PGPJ",
|
|
|
+ "name": "评估评价"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "DZCS",
|
|
|
+ "name": "定制测试"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "applicationTypeList": [
|
|
|
+ {
|
|
|
+ "code": "ANDROID",
|
|
|
+ "name": "Android APP",
|
|
|
+ "count": null,
|
|
|
+ "image": "http://mooctest-crowd-service.oss-cn-hangzhou.aliyuncs.com/ApplicationType/%E5%AE%89%E5%8D%93.png",
|
|
|
+ "testTypeList": [
|
|
|
+ {
|
|
|
+ "code": "GNCS",
|
|
|
+ "name": "功能测试"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "XNCS",
|
|
|
+ "name": "性能测试"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "AQCS",
|
|
|
+ "name": "安全测试"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "YYXCS",
|
|
|
+ "name": "易用性测试"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "YYGGZD",
|
|
|
+ "name": "应用故障诊断"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "YYLDSM",
|
|
|
+ "name": "应用漏洞扫描"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "DMAQSJ",
|
|
|
+ "name": "代码安全审计"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "FXPG",
|
|
|
+ "name": "风险评估"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "DBCP",
|
|
|
+ "name": "等保测评"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "PGPJ",
|
|
|
+ "name": "评估评价"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "DZCS",
|
|
|
+ "name": "定制测试"
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "ANDROIDaa",
|
|
|
+ "name": "Androidaa APP",
|
|
|
+ "count": null,
|
|
|
+ "image": "http://mooctest-crowd-service.oss-cn-hangzhou.aliyuncs.com/ApplicationType/%E5%AE%89%E5%8D%93.png",
|
|
|
+ "testTypeList": [
|
|
|
+ {
|
|
|
+ "code": "GNCS",
|
|
|
+ "name": "功能测试"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "XNCS",
|
|
|
+ "name": "性能测试"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "AQCS",
|
|
|
+ "name": "安全测试"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "YYXCS",
|
|
|
+ "name": "易用性测试"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "YYGGZD",
|
|
|
+ "name": "应用故障诊断"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "YYLDSM",
|
|
|
+ "name": "应用漏洞扫描"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "DMAQSJ",
|
|
|
+ "name": "代码安全审计"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "FXPG",
|
|
|
+ "name": "风险评估"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "DBCP",
|
|
|
+ "name": "等保测评"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "PGPJ",
|
|
|
+ "name": "评估评价"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "DZCS",
|
|
|
+ "name": "定制测试"
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "IOS",
|
|
|
+ "name": "IOS APP",
|
|
|
+ "count": null,
|
|
|
+ "image": "http://mooctest-crowd-service.oss-cn-hangzhou.aliyuncs.com/ApplicationType/ios.png",
|
|
|
+ "testTypeList": [
|
|
|
+ {
|
|
|
+ "code": "JKCS",
|
|
|
+ "name": "接口测试"
|
|
|
+ },
|
|
|
+
|
|
|
+ {
|
|
|
+ "code": "KKXCS",
|
|
|
+ "name": "可靠性测试"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "WDXCS",
|
|
|
+ "name": "稳定性测试"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "FXPG",
|
|
|
+ "name": "风险评估"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "DBCP",
|
|
|
+ "name": "等保测评"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "PGPJ",
|
|
|
+ "name": "评估评价"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "DZCS",
|
|
|
+ "name": "定制测试"
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "WEB",
|
|
|
+ "name": "Web应用",
|
|
|
+ "count": null,
|
|
|
+ "image": "http://mooctest-crowd-service.oss-cn-hangzhou.aliyuncs.com/ApplicationType/WEB%E5%BA%94%E7%94%A8.png",
|
|
|
+ "testTypeList": [
|
|
|
+ {
|
|
|
+ "code": "JKCS",
|
|
|
+ "name": "接口测试"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "PGPJ",
|
|
|
+ "name": "评估评价"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "DZCS",
|
|
|
+ "name": "定制测试"
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "C/S",
|
|
|
+ "name": "C/S应用软件",
|
|
|
+ "count": null,
|
|
|
+ "image": null,
|
|
|
+ "testTypeList": [
|
|
|
+ {
|
|
|
+ "code": "JKCS",
|
|
|
+ "name": "接口测试"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "JRXCE",
|
|
|
+ "name": "兼容性测试"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "KKXCS",
|
|
|
+ "name": "可靠性测试"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "GNCS",
|
|
|
+ "name": "功能测试"
|
|
|
+ },{
|
|
|
+ "code": "GNCS",
|
|
|
+ "name": "功能测试"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "GNCS",
|
|
|
+ "name": "功能测试"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "XNCS",
|
|
|
+ "name": "性能测试"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "AQCS",
|
|
|
+ "name": "安全测试"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "YYXCS",
|
|
|
+ "name": "易用性测试"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "YYGGZD",
|
|
|
+ "name": "应用故障诊断"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "YYLDSM",
|
|
|
+ "name": "应用漏洞扫描"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "DMAQSJ",
|
|
|
+ "name": "代码安全审计"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "FXPG",
|
|
|
+ "name": "风险评估"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "DBCP",
|
|
|
+ "name": "等保测评"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "PGPJ",
|
|
|
+ "name": "评估评价"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "DZCS",
|
|
|
+ "name": "定制测试"
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "FLUSHBONAD",
|
|
|
+ "name": "嵌入式软件",
|
|
|
+ "count": null,
|
|
|
+ "image": null,
|
|
|
+ "testTypeList": [
|
|
|
+
|
|
|
+ {
|
|
|
+ "code": "WDXCS",
|
|
|
+ "name": "稳定性测试"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "GNCS",
|
|
|
+ "name": "功能测试"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "XNCS",
|
|
|
+ "name": "性能测试"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "AQCS",
|
|
|
+ "name": "安全测试"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "YYXCS",
|
|
|
+ "name": "易用性测试"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "YYGGZD",
|
|
|
+ "name": "应用故障诊断"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "FXPG",
|
|
|
+ "name": "风险评估"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "DBCP",
|
|
|
+ "name": "等保测评"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "PGPJ",
|
|
|
+ "name": "评估评价"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "DZCS",
|
|
|
+ "name": "定制测试"
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "INDUSTRY",
|
|
|
+ "name": "工业控制软件",
|
|
|
+ "count": null,
|
|
|
+ "image": null,
|
|
|
+ "testTypeList": [
|
|
|
+ {
|
|
|
+ "code": "JKCS",
|
|
|
+ "name": "接口测试"
|
|
|
+ },
|
|
|
+
|
|
|
+ {
|
|
|
+ "code": "GNCS",
|
|
|
+ "name": "功能测试"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "XNCS",
|
|
|
+ "name": "性能测试"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "AQCS",
|
|
|
+ "name": "安全测试"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "YYXCS",
|
|
|
+ "name": "易用性测试"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "YYGGZD",
|
|
|
+ "name": "应用故障诊断"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "YYLDSM",
|
|
|
+ "name": "应用漏洞扫描"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "DMAQSJ",
|
|
|
+ "name": "代码安全审计"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "FXPG",
|
|
|
+ "name": "风险评估"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "DBCP",
|
|
|
+ "name": "等保测评"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "PGPJ",
|
|
|
+ "name": "评估评价"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "DZCS",
|
|
|
+ "name": "定制测试"
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "TECHNOLOGY",
|
|
|
+ "name": "信息技术产品",
|
|
|
+ "count": null,
|
|
|
+ "image": null,
|
|
|
+ "testTypeList": [
|
|
|
+ {
|
|
|
+ "code": "JKCS",
|
|
|
+ "name": "接口测试"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "JRXCE",
|
|
|
+ "name": "兼容性测试"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "KKXCS",
|
|
|
+ "name": "可靠性测试"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "WDXCS",
|
|
|
+ "name": "稳定性测试"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "GNCS",
|
|
|
+ "name": "功能测试"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "XNCS",
|
|
|
+ "name": "性能测试"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "AQCS",
|
|
|
+ "name": "安全测试"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "YYXCS",
|
|
|
+ "name": "易用性测试"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "YYGGZD",
|
|
|
+ "name": "应用故障诊断"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "KKXCS",
|
|
|
+ "name": "可靠性测试"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "WDXCS",
|
|
|
+ "name": "稳定性测试"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "GNCS",
|
|
|
+ "name": "功能测试"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "YYLDSM",
|
|
|
+ "name": "应用漏洞扫描"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "DMAQSJ",
|
|
|
+ "name": "代码安全审计"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "FXPG",
|
|
|
+ "name": "风险评估"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "DBCP",
|
|
|
+ "name": "等保测评"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "PGPJ",
|
|
|
+ "name": "评估评价"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "DZCS",
|
|
|
+ "name": "定制测试"
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "OTHER",
|
|
|
+ "name": "其他",
|
|
|
+ "count": null,
|
|
|
+ "image": null,
|
|
|
+ "testTypeList": [
|
|
|
+ {
|
|
|
+ "code": "JKCS",
|
|
|
+ "name": "接口测试"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "JKCS",
|
|
|
+ "name": "接口测试"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "JKCS",
|
|
|
+ "name": "接口测试"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "JRXCE",
|
|
|
+ "name": "兼容性测试"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "KKXCS",
|
|
|
+ "name": "可靠性测试"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "WDXCS",
|
|
|
+ "name": "稳定性测试"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "GNCS",
|
|
|
+ "name": "功能测试"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "XNCS",
|
|
|
+ "name": "性能测试"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "AQCS",
|
|
|
+ "name": "安全测试"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "YYXCS",
|
|
|
+ "name": "易用性测试"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "YYGGZD",
|
|
|
+ "name": "应用故障诊断"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "YYLDSM",
|
|
|
+ "name": "应用漏洞扫描"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "DMAQSJ",
|
|
|
+ "name": "代码安全审计"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "FXPG",
|
|
|
+ "name": "风险评估"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "DBCP",
|
|
|
+ "name": "等保测评"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "PGPJ",
|
|
|
+ "name": "评估评价"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "DZCS",
|
|
|
+ "name": "定制测试"
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "applicationTypeRank": [
|
|
|
+ {
|
|
|
+ "code": "ANDROID",
|
|
|
+ "name": "Android APP",
|
|
|
+ "count": 9,
|
|
|
+ "image": "http://mooctest-crowd-service.oss-cn-hangzhou.aliyuncs.com/ApplicationType/%E5%AE%89%E5%8D%93.png",
|
|
|
+ "testTypeList": null
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "IOS",
|
|
|
+ "name": "IOS APP",
|
|
|
+ "count": 5,
|
|
|
+ "image": "http://mooctest-crowd-service.oss-cn-hangzhou.aliyuncs.com/ApplicationType/ios.png",
|
|
|
+ "testTypeList": null
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "WEB",
|
|
|
+ "name": "Web应用",
|
|
|
+ "count": 3,
|
|
|
+ "image": "http://mooctest-crowd-service.oss-cn-hangzhou.aliyuncs.com/ApplicationType/WEB%E5%BA%94%E7%94%A8.png",
|
|
|
+ "testTypeList": null
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "agencyRank": [
|
|
|
+ {
|
|
|
+ "id": 1,
|
|
|
+ "userId": 12,
|
|
|
+ "logo": "http://mooctest-crowd-service.oss-cn-hangzhou.aliyuncs.com/Image/logo_20471_1566375776184.png",
|
|
|
+ "name": "测评机构",
|
|
|
+ "allTaskPrice": null,
|
|
|
+ "taskCount": 4
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "userRank": [
|
|
|
+ {
|
|
|
+ "id": 20471,
|
|
|
+ "name": "郭超",
|
|
|
+ "userName": "郭超",
|
|
|
+ "gender": null,
|
|
|
+ "email": "dazao.yi@gmail.com",
|
|
|
+ "mobile": null,
|
|
|
+ "password": "********",
|
|
|
+ "province": null,
|
|
|
+ "city": null,
|
|
|
+ "photoUrl": "http://mooctest-crowd-service.oss-cn-hangzhou.aliyuncs.com/Image/WechatIMG3_99232_1566382744769.jpeg",
|
|
|
+ "allProjectPrice": null,
|
|
|
+ "authType": "agency",
|
|
|
+ "taskCount": 5,
|
|
|
+ "birthday": null,
|
|
|
+ "detailedAddress": null,
|
|
|
+ "personalCompetence": null,
|
|
|
+ "unit": null,
|
|
|
+ "county": null
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": 99236,
|
|
|
+ "name": "huangyong",
|
|
|
+ "userName": "huangyong",
|
|
|
+ "gender": null,
|
|
|
+ "email": "huangyong@mooctest.com",
|
|
|
+ "mobile": "18861906033",
|
|
|
+ "password": "********",
|
|
|
+ "province": null,
|
|
|
+ "city": null,
|
|
|
+ "photoUrl": "http://mooctest-crowd-service.oss-cn-hangzhou.aliyuncs.com/Image/WechatIMG3_99232_1566382744769.jpeg",
|
|
|
+ "allProjectPrice": null,
|
|
|
+ "authType": "agency",
|
|
|
+ "taskCount": 4,
|
|
|
+ "birthday": null,
|
|
|
+ "detailedAddress": null,
|
|
|
+ "personalCompetence": null,
|
|
|
+ "unit": null,
|
|
|
+ "county": null
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": 99179,
|
|
|
+ "name": "申玉强_教师",
|
|
|
+ "userName": "申玉强_教师",
|
|
|
+ "gender": null,
|
|
|
+ "email": "951775089@qq.com",
|
|
|
+ "mobile": null,
|
|
|
+ "password": "********",
|
|
|
+ "province": null,
|
|
|
+ "city": null,
|
|
|
+ "photoUrl": "https://mooctest-crowd-service.oss-cn-hangzhou.aliyuncs.com/Image/timg.jpg",
|
|
|
+ "allProjectPrice": null,
|
|
|
+ "authType": "agency",
|
|
|
+ "taskCount": 3,
|
|
|
+ "birthday": null,
|
|
|
+ "detailedAddress": null,
|
|
|
+ "personalCompetence": null,
|
|
|
+ "unit": null,
|
|
|
+ "county": null
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "fieldList": [
|
|
|
+ {
|
|
|
+ "code": "KJFW",
|
|
|
+ "name": "科技服务"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "HLWFW",
|
|
|
+ "name": "互联网服务"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "JCDL",
|
|
|
+ "name": "集成电路"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "GYKZ",
|
|
|
+ "name": "工业控制"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "BDYY",
|
|
|
+ "name": "北斗应用"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "OTHER",
|
|
|
+ "name": "其他"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "competitionList": [
|
|
|
+ {
|
|
|
+ "id": 2,
|
|
|
+ "name": "2020全国大学生软件测试大赛",
|
|
|
+ "linkUrl": "http://www.mooctest.org/#/NoticeDetail/61",
|
|
|
+ "startTime": "2020-06-28T02:13:15.000+0000",
|
|
|
+ "image": "http://mooctest-crowd-service.oss-cn-hangzhou.aliyuncs.com/Partner/mooctest.png",
|
|
|
+ "isDeleted": 0
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": 1,
|
|
|
+ "name": "5月份移动众测月度赛",
|
|
|
+ "linkUrl": "http://www.mooctest.org/#/NoticeDetail/69",
|
|
|
+ "startTime": "2020-06-23T02:12:58.000+0000",
|
|
|
+ "image": "http://mooctest-crowd-service.oss-cn-hangzhou.aliyuncs.com/Partner/mooctest.png",
|
|
|
+ "isDeleted": 0
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": 3,
|
|
|
+ "name": "鲲鹏生态的表达能力评测系统众测比赛",
|
|
|
+ "linkUrl": "http://www.mooctest.org/#/NoticeDetail/71",
|
|
|
+ "startTime": "2020-06-22T02:13:55.000+0000",
|
|
|
+ "image": "http://mooctest-crowd-service.oss-cn-hangzhou.aliyuncs.com/Partner/mooctest.png",
|
|
|
+ "isDeleted": 0
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "resourceList": [
|
|
|
+ {
|
|
|
+ "code": "ANDROID",
|
|
|
+ "name": "Android自动化测试工具"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "WEB",
|
|
|
+ "name": "WEB自动化测试工具"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "DEVELOPE",
|
|
|
+ "name": "开发者测试工具"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code": "REPORT",
|
|
|
+ "name": "报告服务"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "residentAgencyList": [
|
|
|
+ {
|
|
|
+ "id": 60,
|
|
|
+ "userId": 99237,
|
|
|
+ "logo": "http://mooctest-crowd-service.oss-cn-hangzhou.aliyuncs.com/Image/7f5497ce69ba414589dc52750e9ed5c9!400x400_99222_1567075603729.jpeg",
|
|
|
+ "name": "慕测科技",
|
|
|
+ "allTaskPrice": null,
|
|
|
+ "taskCount": null
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": 51,
|
|
|
+ "userId": 99233,
|
|
|
+ "logo": "http://mooctest-crowd-service.oss-cn-hangzhou.aliyuncs.com/Image/logo_99222_1566377628139.png",
|
|
|
+ "name": "百度众测公司",
|
|
|
+ "allTaskPrice": null,
|
|
|
+ "taskCount": null
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "partnerList": [
|
|
|
+ {
|
|
|
+ "id": 1,
|
|
|
+ "name": "南京大学",
|
|
|
+ "imageUrl": "http://mooctest-crowd-service.oss-cn-hangzhou.aliyuncs.com/Partner/NJULogo%20%E7%B4%AB.png"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": 2,
|
|
|
+ "name": "慕测科技",
|
|
|
+ "imageUrl": "http://mooctest-crowd-service.oss-cn-hangzhou.aliyuncs.com/Partner/mooctest.png"
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ }
|
|
|
}
|
|
|
},
|
|
|
methods:{
|
|
|
+ ...mapActions(['setActiveTab','setHomeData']),
|
|
|
loadData(){
|
|
|
- Http.get('/api/common/index/info').then((res)=>{
|
|
|
- this.homeData = res.data;
|
|
|
+ this.homeData.applicationTypeList.map((item)=>{
|
|
|
+ item.height = (item.testTypeList.length / 2) * 24 + 100;
|
|
|
+ return item;
|
|
|
})
|
|
|
+ this.setHomeData(this.homeData);
|
|
|
+ // Http.get('/api/common/index/info').then((res)=>{
|
|
|
+ // this.setHomeData(res.data);
|
|
|
+ // })
|
|
|
}
|
|
|
},
|
|
|
+ computed:{
|
|
|
+ ...mapGetters(['getHomeData']),
|
|
|
+ },
|
|
|
mounted() {
|
|
|
+ this.setActiveTab('homepage');
|
|
|
this.loadData();
|
|
|
}
|
|
|
}
|