反馈修改完成
parent
ef33419a8b
commit
410abe0f2b
|
@ -1416,6 +1416,9 @@ textarea::-webkit-input-placeholder{
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
-webkit-box-orient: vertical;
|
-webkit-box-orient: vertical;
|
||||||
}
|
}
|
||||||
|
.evaluation-txt>p span.other{
|
||||||
|
-webkit-line-clamp: 7;
|
||||||
|
}
|
||||||
.evaluation-txt>p em{
|
.evaluation-txt>p em{
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: flex-end;
|
justify-content: flex-end;
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 448 KiB After Width: | Height: | Size: 454 KiB |
|
@ -18,7 +18,6 @@ import ucenter from '../views/user/ucenter/index.vue' //我的
|
||||||
import information from '../views/user/information/index.vue' //完善考生信息
|
import information from '../views/user/information/index.vue' //完善考生信息
|
||||||
import feedback from '../views/user/feedback/index.vue' //意见与反馈
|
import feedback from '../views/user/feedback/index.vue' //意见与反馈
|
||||||
import info from '../views/user/info/index.vue' //个人信息
|
import info from '../views/user/info/index.vue' //个人信息
|
||||||
import bind from '../views/user/bind/index.vue' //手机绑定
|
|
||||||
import report from '../views/user/report/index.vue' //我的报告
|
import report from '../views/user/report/index.vue' //我的报告
|
||||||
|
|
||||||
import consultant from '../views/consultant/index.vue' //咨询师信息
|
import consultant from '../views/consultant/index.vue' //咨询师信息
|
||||||
|
@ -110,11 +109,6 @@ const routes = [
|
||||||
name: 'info',
|
name: 'info',
|
||||||
component: info
|
component: info
|
||||||
},
|
},
|
||||||
{
|
|
||||||
path: '/bind',
|
|
||||||
name: 'bind',
|
|
||||||
component: bind
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
path: '/report',
|
path: '/report',
|
||||||
name: 'report',
|
name: 'report',
|
||||||
|
|
|
@ -19,12 +19,8 @@
|
||||||
用第一感觉作答,勿做太多的思考!
|
用第一感觉作答,勿做太多的思考!
|
||||||
</div>
|
</div>
|
||||||
<div class="entrance-btns">
|
<div class="entrance-btns">
|
||||||
<span @click="goPage('/evaluation/question', 'student')"
|
<span @click="goPage('/evaluation/question', 'student')">考生本人测评入口</span>
|
||||||
>考生本人测评入口</span
|
<span @click="goPage('/evaluation/question', 'parents')">家长/亲属测评入口</span>
|
||||||
>
|
|
||||||
<span @click="goPage('/evaluation/question', 'parents')"
|
|
||||||
>家长/亲属测评入口</span
|
|
||||||
>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -40,10 +36,19 @@ export default {
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
|
|
||||||
this.isScroll = true;
|
this.isScroll = true;
|
||||||
window.addEventListener("scroll", this.eventScrollTop);
|
window.addEventListener("scroll", this.eventScrollTop);
|
||||||
|
if(this.$route.query.source !== ''){
|
||||||
|
localStorage.source = JSON.stringify(this.$route.query.source);
|
||||||
|
}
|
||||||
|
},
|
||||||
|
mounted() {
|
||||||
|
if(!localStorage.token){
|
||||||
|
this.$router.replace('/login');
|
||||||
|
return config
|
||||||
|
}
|
||||||
},
|
},
|
||||||
mounted() {},
|
|
||||||
computed: {},
|
computed: {},
|
||||||
methods: {
|
methods: {
|
||||||
// 页面跳转
|
// 页面跳转
|
||||||
|
|
|
@ -7,135 +7,30 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="evaluation pull-content">
|
<div class="evaluation pull-content">
|
||||||
<div class="evaluation-list">
|
<div class="evaluation-list">
|
||||||
<div class="evaluation-item">
|
<div class="evaluation-item" v-for="(item,index) in evaluationList" :key="index">
|
||||||
<h2>职业与专业定位整合测试(融合版)</h2>
|
<h2>{{item.title}}</h2>
|
||||||
<div class="evaluation-txt">
|
<div class="evaluation-txt">
|
||||||
<span><img src="../../../assets/images/home/evaluation/evaluation-01.png" alt=""></span>
|
<span><img :src="host + item.cover"></span>
|
||||||
<p>从“兴趣”、“性格”、“能力”、“学科强弱”、“职业倾向“五大维度充分认知自己,依据测评结果推荐适合孩子的专业。由霍兰德职业兴趣测评、职业锚、多元智能、MBTI性格等四大测评整合而成,相对于各测评的完整版,题量有所精简,目的是为了更快完成测评。</p>
|
|
||||||
</div>
|
|
||||||
<div class="evaluation-bottom">
|
|
||||||
<span>测评时间:<em>20分钟</em></span>
|
|
||||||
<span>测评人数:<em>134人</em></span>
|
|
||||||
<span @click="toEntrance()" class="cur">马上测试</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="evaluation-item">
|
|
||||||
<h2>MBTI职业性格测试(完整版)</h2>
|
|
||||||
<div class="evaluation-txt">
|
|
||||||
<span><img src="../../../assets/images/home/evaluation/evaluation-02.png" alt=""></span>
|
|
||||||
<p>
|
<p>
|
||||||
<span>MBTI被广泛运用于自我了解与发展、职业规划、专业选择、团队建设管理和领导培训、解决问题、人际关系辅导、教育及课程开发、多元化和多文化的培训等诸多领域。MBTI用四个维度构成了人们的整个心理活动过程。每个维度都有两个极端,在一个维度上到底是哪种取向这取决于个人的偏好</span>
|
<span :class="item.description?'':'other'">{{item.summary}}</span>
|
||||||
<em @click="openAll(1)">展开全部<img src="../../../assets/images/home/index/arrow-more.png"></em>
|
<em v-if="item.description" @click="openAll(index)">展开全部<img src="../../../assets/images/home/index/arrow-more.png"></em>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="evaluation-bottom">
|
<div class="evaluation-bottom">
|
||||||
<span>测评时间:<em>20分钟</em></span>
|
<span>测评时间:<em>{{item.expect_time}}</em></span>
|
||||||
<span>测评人数:<em>134人</em></span>
|
<span>测评人数:<em>{{item.usersCount}}人</em></span>
|
||||||
<span>马上测试</span>
|
<span @click="toEntrance(item.title,item.factor_all)" :class="item.factor_all==1?'cur':''">马上测试</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
<!-- 查看全部 -->
|
<!-- 查看全部 -->
|
||||||
<div class="my-confirm-bg" v-if="isOne" @click="isOne=!isOne"></div>
|
<div class="my-confirm-bg" v-if="showIndex==index" @click="showIndex=-1"></div>
|
||||||
<div class="all-text" v-if="isOne">
|
<div class="all-text" v-if="showIndex==index">
|
||||||
<p>MBTI被广泛运用于自我了解与发展、职业规划、专业选择、团队建设管理和领导培训、解决问题、人际关系辅导、教育及课程开发、多元化和多文化的培训等诸多领域。</p>
|
{{item.description}}
|
||||||
<p>MBTI用四个维度构成了人们的整个心理活动过程。每个维度都有两个极端,在一个维度上到底是哪种取向这取决于个人的偏好( preference),这样共8种性格偏好,每种用一个字母来表示。把这些字母组合起来,便代表16种完全不同的性格类型。每个人都可以在当中对号人座。</p>
|
|
||||||
<p>偏好是人的个性中能够表现出来的比较稳定的特征,是潜藏在人们内心的一种情感和倾向。荣格认为,偏好是天生的。当我们以自己的偏好行事时我们会处于最佳状态,会感到最能干、自然、充满干劲。就像有的人天生就是左撤子,他们用左手做事很自然,而硬让他们用右手则会感党别扭,效率低下。偏好有明显的个体差异,也呈现出群体特征。偏好及不同维度上偏好的组合形成了不同的性格类型,形成了人与人之间的性格差异。与此同时,偏好让人们进一步产生了兴趣、价值观及需要等心理现象。人们做自己偏好的活动、偏好的工作、偏好的职业就会很自然,充满干劲,效率很高。反之则不自然、事倍功半。可见性格对人的深远影响,也可见性格因素在人们职业选择中的重要地位。</p>
|
|
||||||
<p>性格就是人对现实稳定的态度和习惯化了的行为方式。它是一种个体内部的行为倾向,具有整体性、结构性、持久稳定性等特点,是个人特有的,可以对个人外显的行为、态度提供统一的、内在的解释。职业性格即职业及环境所需要的性格特性,是个人内部的动力,是确定个人在职业上的特征性行为的依据。</p>
|
|
||||||
<p>在职业规划中,有效地理解性格对人的影响是一项重要的基础工作。</p>
|
|
||||||
<p><strong>在职业规划过程中理解性格,主要是希望达到三个目的:</strong></p>
|
|
||||||
<p>1.了解自己的思考方式和行为倾向,以更好地发展自己;</p>
|
|
||||||
<p>2.了解人与人之间的性格差异,以在沟通和与人合作方面提出改进措施;</p>
|
|
||||||
<p>3.了解不同的性格人群在对职业的选择和适应上的倾向性,以帮助我们做好职业规划。</p>
|
|
||||||
<p>接下来就通过mbti职业性格测试来测试你下你的职业性格吧!</p>
|
|
||||||
</div>
|
|
||||||
<div class="evaluation-item">
|
|
||||||
<h2>霍兰德职业兴趣测评(完整版)</h2>
|
|
||||||
<div class="evaluation-txt">
|
|
||||||
<span><img src="../../../assets/images/home/evaluation/evaluation-03.png" alt=""></span>
|
|
||||||
<p>
|
|
||||||
<span>霍兰德提出一系列的职业兴趣理论:1.在当代文化中,大多数人都能被归为六种人格类型中的一种:现实型( RealisticType,简称R)、研究型( Investigative Type,简称I)、艺术型( Artistic Type,简称A)、社会型( Social Type,简称S)、事业型( Enterprising Type,简称E)和常规型( Conventional Type,简称C),这六种类型按照一个固定的顺序可排成一个六边形( RIASEC)。每一特定类型人格的人,便会对相应职业类型中的工作或学习感兴趣。因此,人的职业兴趣倾向就是其人格的反映。</span>
|
|
||||||
<em @click="openAll(2)">展开全部<img src="../../../assets/images/home/index/arrow-more.png"></em>
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
<div class="evaluation-bottom">
|
|
||||||
<span>测评时间:<em>20分钟</em></span>
|
|
||||||
<span>测评人数:<em>134人</em></span>
|
|
||||||
<span>马上测试</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<!-- 查看全部 -->
|
|
||||||
<div class="my-confirm-bg" v-if="isTwo" @click="isTwo=!isTwo"></div>
|
|
||||||
<div class="all-text" v-if="isTwo">
|
|
||||||
<p>霍兰德提出一系列的职业兴趣理论:</p>
|
|
||||||
<p>1.在当代文化中,大多数人都能被归为六种人格类型中的一种:现实型( RealisticType,简称R)、研究型( Investigative Type,简称I)、艺术型( Artistic Type,简称A)、社会型( Social Type,简称S)、事业型( Enterprising Type,简称E)和常规型( Conventional Type,简称C),这六种类型按照一个固定的顺序可排成一个六边形( RIASEC)。每一特定类型人格的人,便会对相应职业类型中的工作或学习感兴趣。因此,人的职业兴趣倾向就是其人格的反映。</p>
|
|
||||||
<p>2.在当代社会中,职业环境也和人格一样,能区分为六种类型:现实型、研究型、艺术型、社会型、事业型、常规型。</p>
|
|
||||||
<p>3.人总是寻找适合个人人格类型的环境,锻炼相应的技巧与能力,从而表现出各自的态度及价值观,扮演相似的角色。</p>
|
|
||||||
<p>4.个人的行为取决于人格与环境特征之间的相互作用。</p>
|
|
||||||
<p>在上述理论的基础上,霍兰徳提出了职业兴趣在线测试完整版,不同类型人格的人需要不同的生活或工作环境,例如现实型的人需要现实型的环境或职业,因为这种 环境或职业才能给予其所需的机会和奖励,这种情况即称为“和谐”。由于不同类型的人格决定了不同类型的职业兴趣,并且霍兰德对职业兴趣的类型划分与其对人格类型的划分是相同的,因此,通常就用霍兰德职业兴趣在线测试完整版来探索职业兴趣类型。</p>
|
|
||||||
<p>从霍兰德的职业兴趣六角形图上我们可以看到,各个类型之间的距离有长有短,这从一定程度上说明了类型之间关系的远近。一般说来,距离越近,说明两个类型之间的相关程度越高;反之相关系数就越低。此外,现实生活中往往表现为某个类型倾向,或是偏向于某个类型,或是置于某两个类型之间。职业环境也是如此。</p>
|
|
||||||
<p>霍兰德职业兴趣线测试完整版是我们进行职业选择的重要辅助工具。因为最理想的职业选择就是个体能找到与其人格类型重合的职业环境。一个人在与其人格类型相一致的环境中工作,容易获得乐趣和内在满足感,最可能充分发挥自己的才能。</p>
|
|
||||||
</div>
|
|
||||||
<div class="evaluation-item">
|
|
||||||
<h2>DISC性格测评</h2>
|
|
||||||
<div class="evaluation-txt">
|
|
||||||
<span><img src="../../../assets/images/home/evaluation/evaluation-04.png" alt=""></span>
|
|
||||||
<p>
|
|
||||||
<span>DISC性格测评工具研究的是你在某个特定情境下的反应,针对的不是“一个”情境,而是你所经历的“任何”情境。DISC所谓具体的情境,就是要包括这个情境人物、地点和时间,你所能想到的细节越多越好。然后把这个情境的关键词要素整理一下,写在一张纸上,文字尽量简练,便于自我提醒和反复回顾。否则,你的思维很容易漂离选定的情境。开始使用DISC性格测评工具之前,你需要先确定一个具体的情境。合格情境必须是真实的、已经发生或正在发生的情境,包括真实的时间、真实的地点、真实的人、真实的问题、真实的任务。只有这样,你将来才能把你学到的DiSC知识应用到真实环境中。</span>
|
|
||||||
<em @click="openAll(3)">展开全部<img src="../../../assets/images/home/index/arrow-more.png"></em>
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
<div class="evaluation-bottom">
|
|
||||||
<span>测评时间:<em>20分钟</em></span>
|
|
||||||
<span>测评人数:<em>134人</em></span>
|
|
||||||
<span>马上测试</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<!-- 查看全部 -->
|
|
||||||
<div class="my-confirm-bg" v-if="isThree" @click="isThree=!isThree"></div>
|
|
||||||
<div class="all-text" v-if="isThree">
|
|
||||||
<p>DISC性格测评工具研究的是你在某个特定情境下的反应,针对的不是“一个”情境,而是你所经历的“任何”情境。</p>
|
|
||||||
<p>DISC所谓具体的情境,就是要包括这个情境人物、地点和时间,你所能想到的细节越多越好。然后把这个情境的关键词要素整理一下,写在一张纸上,文字尽量简练,便于自我提醒和反复回顾。否则,你的思维很容易漂离选定的情境。</p>
|
|
||||||
<p>开始使用DISC性格测评工具之前,你需要先确定一个具体的情境。</p>
|
|
||||||
<p>合格情境必须是真实的、已经发生或正在发生的情境,包括真实的时间、真实的地点、真实的人、真实的问题、真实的任务。只有这样,你将来才能把你学到的DiSC知识应用到真实环境中。</p>
|
|
||||||
</div>
|
|
||||||
<div class="evaluation-item">
|
|
||||||
<h2>职业锚测评(完整版)</h2>
|
|
||||||
<div class="evaluation-txt">
|
|
||||||
<span><img src="../../../assets/images/home/evaluation/evaluation-05.png" alt=""></span>
|
|
||||||
<p>
|
|
||||||
<span>职业锚是指当一个人面临职业选择的时候,他无论如何都不会放弃的职业中至关重要的东西或价值观。研究表明职业锚是内心深处对自己的看法,它是自己的才干、价值观、动机经过自省后形成的,职业锚可以指导、约束、或稳定个人的职业生涯。 职业锚理论产生于美国麻省理工大学斯隆管理学院施恩教授领导的专门研究小组,是对该学院毕业生的职业生涯研究中演绎成的。斯隆管理学院的44名MBA毕业生,自愿形成一个小组接受施恩教授长达12年的职业生涯研究,包括面谈、跟踪调查、公司调查、人才测评、问卷等多种方式,最终分析总结出了职业锚(又称职业定位)理论 职业锚在职业生涯过程中非常重要,这是因为它是以人们实际的生活工作经历和他人的反馈为基础形成的。</span>
|
|
||||||
<em @click="openAll(4)">展开全部<img src="../../../assets/images/home/index/arrow-more.png"></em>
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
<div class="evaluation-bottom">
|
|
||||||
<span>测评时间:<em>20分钟</em></span>
|
|
||||||
<span>测评人数:<em>134人</em></span>
|
|
||||||
<span>马上测试</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<!-- 查看全部 -->
|
|
||||||
<div class="my-confirm-bg" v-if="isFour" @click="isFour=!isFour"></div>
|
|
||||||
<div class="all-text" v-if="isFour">
|
|
||||||
<p>职业锚是指当一个人面临职业选择的时候,他无论如何都不会放弃的职业中至关重要的东西或价值观。</p>
|
|
||||||
<p>研究表明职业锚是内心深处对自己的看法,它是自己的才干、价值观、动机经过自省后形成的,职业锚可以指导、约束、或稳定个人的职业生涯。 </p>
|
|
||||||
<p>职业锚理论产生于美国麻省理工大学斯隆管理学院施恩教授领导的专门研究小组,是对该学院毕业生的职业生涯研究中演绎成的。</p>
|
|
||||||
<p>斯隆管理学院的44名MBA毕业生,自愿形成一个小组接受施恩教授长达12年的职业生涯研究,包括面谈、跟踪调查、公司调查、人才测评、问卷等多种方式,最终分析总结出了职业锚(又称职业定位)理论.</p>
|
|
||||||
<p>职业锚在职业生涯过程中非常重要,这是因为它是以人们实际的生活工作经历和他人的反馈为基础形成的。即使面临非常困难的状况,职业锚在职业选择过程中也不会被放弃,所以它可以解释人们与公司之间是如何以及为什么相互影响、相互作用。这意味着人们不会放弃目前的工作,而转换到一份不能满足职业锚需要的其它工作。</p>
|
|
||||||
</div>
|
|
||||||
<div class="evaluation-item">
|
|
||||||
<h2>多元智能测试(完整版)</h2>
|
|
||||||
<div class="evaluation-txt">
|
|
||||||
<span><img src="../../../assets/images/home/evaluation/evaluation-06.png" alt=""></span>
|
|
||||||
<p>从“兴趣”、“性格”、“能力”、“学科强弱”、“职业倾向“五大维度充分认知自己,依据测评结果推荐适合孩子的专业。由霍兰德职业兴趣测评、职业锚、多元智能、MBTI性格等四大测评整合而成,相对于各测评的完整版,题量有所精简,目的是为了更快完成测评。</p>
|
|
||||||
</div>
|
|
||||||
<div class="evaluation-bottom">
|
|
||||||
<span>测评时间:<em>20分钟</em></span>
|
|
||||||
<span>测评人数:<em>134人</em></span>
|
|
||||||
<span>马上测试</span>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<!-- 提示 -->
|
||||||
<div class="addr-select-bg" v-show="isTips" @click="isTips=!isTips"></div>
|
<div class="addr-select-bg" v-show="isTips" @click="isTips=!isTips"></div>
|
||||||
<div class="evaluation-tips" v-show="isTips">
|
<div class="evaluation-tips" v-show="isTips">
|
||||||
<ul>
|
<ul>
|
||||||
|
@ -146,6 +41,7 @@
|
||||||
</ul>
|
</ul>
|
||||||
<div class="tips-btn" @click="noTips()">下次不再提醒</div>
|
<div class="tips-btn" @click="noTips()">下次不再提醒</div>
|
||||||
</div>
|
</div>
|
||||||
|
<!-- 尾部 -->
|
||||||
<tabbar :current="3"></tabbar>
|
<tabbar :current="3"></tabbar>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
@ -162,11 +58,8 @@
|
||||||
isScrollTop: false,
|
isScrollTop: false,
|
||||||
isTips: false,
|
isTips: false,
|
||||||
isFirst: true, //是否弹出提示框
|
isFirst: true, //是否弹出提示框
|
||||||
|
evaluationList: [], //测评列表数据
|
||||||
isOne:false, //是否显示全部
|
showIndex: -1,
|
||||||
isTwo:false,
|
|
||||||
isThree:false,
|
|
||||||
isFour:false,
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
|
@ -176,32 +69,51 @@
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
this.isFirst = (JSON.parse(localStorage.getItem("isFirst")));
|
this.isFirst = (JSON.parse(localStorage.getItem("isFirst")));
|
||||||
|
this.getEvaluation();
|
||||||
},
|
},
|
||||||
methods:{
|
methods:{
|
||||||
//显示全部
|
//显示全部
|
||||||
openAll(index){
|
openAll(index){
|
||||||
switch(index){
|
this.showIndex = index;
|
||||||
case 1:
|
},
|
||||||
this.isOne = !this.isOne;
|
//获取测试列表
|
||||||
break;
|
getEvaluation(){
|
||||||
case 2:
|
let that = this;
|
||||||
this.isTwo = !this.isTwo;
|
this.axios
|
||||||
break;
|
.post(this.HOME + "/api/evaluation/evaluation-categories", {})
|
||||||
case 3:
|
.then(function(res) {
|
||||||
this.isThree = !this.isThree;
|
let list = res.data.data;
|
||||||
break;
|
let newArray = [];
|
||||||
case 4:
|
list.forEach(item=>{
|
||||||
this.isFour = !this.isFour;
|
let obj = {
|
||||||
break;
|
id: item.id,
|
||||||
}
|
expect_time: item.expect_time,
|
||||||
|
factor_all: item.factor_all,
|
||||||
|
description: item.description,
|
||||||
|
summary: item.summary,
|
||||||
|
usersCount: item.usersCount,
|
||||||
|
cover: item.cover,
|
||||||
|
title: item.title
|
||||||
|
}
|
||||||
|
newArray.push(obj);
|
||||||
|
})
|
||||||
|
that.evaluationList = newArray;
|
||||||
|
console.log(that.evaluationList,'测评列表数据')
|
||||||
|
});
|
||||||
},
|
},
|
||||||
//测试入口
|
//测试入口
|
||||||
toEntrance(){
|
toEntrance(title,factor){
|
||||||
if(this.isFirst){
|
if(factor == 1){
|
||||||
this.isTips = !this.isTips;
|
localStorage.evaluationTitle = JSON.stringify(title);
|
||||||
|
if(this.isFirst){
|
||||||
|
this.isTips = !this.isTips;
|
||||||
|
}else{
|
||||||
|
this.$router.push('/evaluation/entrance');
|
||||||
|
}
|
||||||
}else{
|
}else{
|
||||||
this.$router.push('/evaluation/entrance');
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
//下次不再提醒
|
//下次不再提醒
|
||||||
noTips(){
|
noTips(){
|
||||||
|
@ -209,11 +121,6 @@
|
||||||
localStorage.isFirst = JSON.stringify(this.isFirst);
|
localStorage.isFirst = JSON.stringify(this.isFirst);
|
||||||
this.$router.push('/evaluation/entrance');
|
this.$router.push('/evaluation/entrance');
|
||||||
},
|
},
|
||||||
// 页面跳转
|
|
||||||
goPage(path){
|
|
||||||
this.isFirst == 1
|
|
||||||
this.$router.push(path);
|
|
||||||
},
|
|
||||||
// 滚动改变样式
|
// 滚动改变样式
|
||||||
eventScrollTop() {
|
eventScrollTop() {
|
||||||
let scrollTop = document.body.scrollTop || document.documentElement.scrollTop;
|
let scrollTop = document.body.scrollTop || document.documentElement.scrollTop;
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
<div class="back" @click="$router.go(-1)">
|
<div class="back" @click="$router.go(-1)">
|
||||||
<img src="../../../assets/images/home/expert/back.png" alt="" />
|
<img src="../../../assets/images/home/expert/back.png" alt="" />
|
||||||
</div>
|
</div>
|
||||||
<div class="header-title">XXX测评</div>
|
<div class="header-title">{{title}}</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="question pull-content list-section">
|
<div class="question pull-content list-section">
|
||||||
<div class="question-item">
|
<div class="question-item">
|
||||||
|
@ -42,16 +42,19 @@ export default {
|
||||||
stateBtn: true,
|
stateBtn: true,
|
||||||
num: 0,
|
num: 0,
|
||||||
optionsData: [],
|
optionsData: [],
|
||||||
|
title: '',
|
||||||
|
state:''
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
this.isScroll = true;
|
this.isScroll = true;
|
||||||
window.addEventListener("scroll", this.eventScrollTop);
|
window.addEventListener("scroll", this.eventScrollTop);
|
||||||
|
this.title = (JSON.parse(localStorage.getItem("evaluationTitle")));
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
this.getLastquestions();
|
this.getLastquestions();
|
||||||
this.getQuestionAnswerOptions();
|
this.getQuestionAnswerOptions();
|
||||||
this.state = this.$route.query.state;
|
this.state = this.$route.query.state;
|
||||||
},
|
},
|
||||||
computed: {},
|
computed: {},
|
||||||
methods: {
|
methods: {
|
||||||
|
@ -66,6 +69,7 @@ export default {
|
||||||
that.lastquestions = res.data.data;
|
that.lastquestions = res.data.data;
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
// 选项
|
||||||
getQuestionAnswerOptions() {
|
getQuestionAnswerOptions() {
|
||||||
let that = this;
|
let that = this;
|
||||||
this.axios
|
this.axios
|
||||||
|
|
|
@ -10,19 +10,27 @@
|
||||||
name: "start",
|
name: "start",
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
timeNumber: 3
|
timeNumber: 3,
|
||||||
|
isInFirst: false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
beforeCreate() {
|
beforeCreate() {
|
||||||
setTimeout(() => {
|
this.isInFirst = JSON.parse(localStorage.getItem("isInFirst"));
|
||||||
this.timeNumber = 2;
|
if(!this.isInFirst){
|
||||||
}, 1000);
|
setTimeout(() => {
|
||||||
setTimeout(() => {
|
this.timeNumber = 2;
|
||||||
this.timeNumber = 1;
|
}, 1000);
|
||||||
}, 2000);
|
setTimeout(() => {
|
||||||
setTimeout(() => {
|
this.timeNumber = 1;
|
||||||
|
}, 2000);
|
||||||
|
setTimeout(() => {
|
||||||
|
this.isInFirst = true;
|
||||||
|
localStorage.isInFirst = JSON.stringify(this.isInFirst);
|
||||||
|
this.$router.replace("/index");
|
||||||
|
}, 3000);
|
||||||
|
}else{
|
||||||
this.$router.replace("/index");
|
this.$router.replace("/index");
|
||||||
}, 3000);
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
|
|
||||||
|
|
|
@ -62,14 +62,15 @@
|
||||||
timer: null,
|
timer: null,
|
||||||
userType: 0,
|
userType: 0,
|
||||||
isToast:false,
|
isToast:false,
|
||||||
toastText:''
|
toastText:'',
|
||||||
|
source:''
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
beforeCreate() {},
|
beforeCreate() {},
|
||||||
created() {
|
created() {
|
||||||
this.isScroll = true;
|
this.isScroll = true;
|
||||||
window.addEventListener("scroll", this.eventScrollTop);
|
window.addEventListener("scroll", this.eventScrollTop);
|
||||||
|
this.source = JSON.parse(localStorage.getItem("source"));
|
||||||
this.phoneData = this.$route.query.phone
|
this.phoneData = this.$route.query.phone
|
||||||
const TIME_COUNT = 60;
|
const TIME_COUNT = 60;
|
||||||
if (!this.timer) {
|
if (!this.timer) {
|
||||||
|
@ -116,7 +117,11 @@
|
||||||
if(res.data.data.userType == 1){
|
if(res.data.data.userType == 1){
|
||||||
that.$router.push('/consultant');
|
that.$router.push('/consultant');
|
||||||
}else{
|
}else{
|
||||||
that.$router.push('/index');
|
if(that.source !== null){
|
||||||
|
that.$router.push('/evaluation/entrance');
|
||||||
|
}else{
|
||||||
|
that.$router.push('/index');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
that.toastText = '验证码错误!';
|
that.toastText = '验证码错误!';
|
||||||
|
|
|
@ -1,130 +0,0 @@
|
||||||
<template>
|
|
||||||
<div class="content bind-content">
|
|
||||||
<!-- 头部 -->
|
|
||||||
<div :class="{ header: true, 'scroll white': isScrollTop, white: true }">
|
|
||||||
<div class="back" @click="$router.go(-1)">
|
|
||||||
<img src="../../../assets/images/home/expert/back.png" alt="" />
|
|
||||||
</div>
|
|
||||||
<div v-if="centerUserData.mobile" class="header-title">修改号码</div>
|
|
||||||
<div v-else class="header-title">手机绑定</div>
|
|
||||||
</div>
|
|
||||||
<div class="feedback-bg pull-content">
|
|
||||||
<ul class="phone-bind">
|
|
||||||
<li>
|
|
||||||
<span>手机号</span
|
|
||||||
><input
|
|
||||||
type="text"
|
|
||||||
v-model="phoneNumber"
|
|
||||||
value=""
|
|
||||||
placeholder="请输入手机号"
|
|
||||||
/>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<span>验证码</span
|
|
||||||
><input type="text" value="" v-model="sms_code" placeholder="请输入验证码" /><em
|
|
||||||
@click="captcha()" >获取验证码</em
|
|
||||||
>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
<div class="bind-btn" @click="bindPhone()">确定</div>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
export default {
|
|
||||||
name: "bind",
|
|
||||||
data() {
|
|
||||||
return {
|
|
||||||
isScrollTop: false,
|
|
||||||
phoneNumber: "13608235524",
|
|
||||||
sms_code:"",
|
|
||||||
centerUserData: {
|
|
||||||
mobile: "",
|
|
||||||
|
|
||||||
},
|
|
||||||
};
|
|
||||||
},
|
|
||||||
|
|
||||||
created() {
|
|
||||||
this.isScroll = true;
|
|
||||||
window.addEventListener("scroll", this.eventScrollTop);
|
|
||||||
|
|
||||||
this.centerUserData = JSON.parse(location.centerUserData);
|
|
||||||
console.log(this.centerUserData);
|
|
||||||
},
|
|
||||||
mounted() {},
|
|
||||||
computed: {},
|
|
||||||
methods: {
|
|
||||||
bindPhone(){
|
|
||||||
this.axios
|
|
||||||
.post(this.HOME + "/api/user/bind-phone", {
|
|
||||||
phone: this.phoneNumber,
|
|
||||||
sms_code:this.sms_code
|
|
||||||
})
|
|
||||||
.then(function () {
|
|
||||||
|
|
||||||
})
|
|
||||||
.catch(function (error) {
|
|
||||||
console.log(error);
|
|
||||||
});
|
|
||||||
},
|
|
||||||
|
|
||||||
captcha() {
|
|
||||||
console.log(123)
|
|
||||||
var reg_tel =
|
|
||||||
/^(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|18[0-9]|19[0-35-9])\d{8}$/;
|
|
||||||
if (this.phoneNumber == "") {
|
|
||||||
alert("请填写您的手机号码!");
|
|
||||||
|
|
||||||
return false;
|
|
||||||
} else if (!reg_tel.test(this.phoneNumber)) {
|
|
||||||
alert("请正确填写您的手机号码!");
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
this.axios
|
|
||||||
.post(this.HOME + "/api/common/send-sms-captcha", {
|
|
||||||
phone: this.phoneNumber,
|
|
||||||
type: "bind",
|
|
||||||
})
|
|
||||||
.then(function () {
|
|
||||||
|
|
||||||
})
|
|
||||||
.catch(function (error) {
|
|
||||||
console.log(error);
|
|
||||||
});
|
|
||||||
},
|
|
||||||
// 滚动改变样式
|
|
||||||
eventScrollTop() {
|
|
||||||
let scrollTop =
|
|
||||||
document.body.scrollTop || document.documentElement.scrollTop;
|
|
||||||
if (scrollTop >= 5) {
|
|
||||||
if (this.isScroll) {
|
|
||||||
this.isScroll = false;
|
|
||||||
this.isScrollTop = true;
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
if (!this.isScroll) {
|
|
||||||
this.isScroll = true;
|
|
||||||
this.isScrollTop = false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
},
|
|
||||||
destroyed() {
|
|
||||||
window.removeEventListener("scroll", this.eventScrollTop);
|
|
||||||
},
|
|
||||||
//keep-alive进入时触发
|
|
||||||
activated() {
|
|
||||||
this.isScroll = true;
|
|
||||||
window.addEventListener("scroll", this.eventScrollTop);
|
|
||||||
},
|
|
||||||
//keep-alive离开时触发
|
|
||||||
deactivated() {
|
|
||||||
window.removeEventListener("scroll", this.eventScrollTop);
|
|
||||||
},
|
|
||||||
};
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<style scoped>
|
|
||||||
</style>
|
|
|
@ -18,24 +18,17 @@
|
||||||
<div class="receive-txt">
|
<div class="receive-txt">
|
||||||
<span class="use-btn" v-if="consult_amount == 1">立即使用</span>
|
<span class="use-btn" v-if="consult_amount == 1">立即使用</span>
|
||||||
<span class="receive-btn" v-if="consult_amount == 0">立即领取</span>
|
<span class="receive-btn" v-if="consult_amount == 0">立即领取</span>
|
||||||
<p v-if="consult_amount == 1&&startTime !== ''">有效期:{{startTime}}-{{endTime}}</p>
|
<p v-if="consult_amount == 1 && startTime">有效期:{{startTime}}-{{endTime}}</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="line" v-if="consult_amount == 1"></div>
|
<div class="line" v-if="consult_amount == 1"></div>
|
||||||
<ul class="student-information">
|
<ul class="student-information">
|
||||||
<li v-if="userData.mobile">
|
<li>
|
||||||
<span><img src="../../../assets/images/user/icon-phone.png" /></span>
|
<span><img src="../../../assets/images/user/icon-phone.png" /></span>
|
||||||
<p>
|
<p>
|
||||||
手机号<em>{{ userData.mobile }}</em>
|
手机号<em>{{ userData.mobile }}</em>
|
||||||
</p>
|
</p>
|
||||||
</li>
|
</li>
|
||||||
<li @click="goPage('/bind')" v-else>
|
|
||||||
<span><img src="../../../assets/images/user/icon-phone.png" /></span>
|
|
||||||
<p>
|
|
||||||
手机号<em></em>
|
|
||||||
</p>
|
|
||||||
<img src="../../../assets/images/home/expert/arrow-right.png" />
|
|
||||||
</li>
|
|
||||||
<li @click="goPage('/info')">
|
<li @click="goPage('/info')">
|
||||||
<span><img src="../../../assets/images/user/icon-student.png" /></span>
|
<span><img src="../../../assets/images/user/icon-student.png" /></span>
|
||||||
<p>考生信息</p>
|
<p>考生信息</p>
|
||||||
|
@ -187,7 +180,6 @@
|
||||||
outLogin(){
|
outLogin(){
|
||||||
localStorage.clear();
|
localStorage.clear();
|
||||||
this.$router.push('/login');
|
this.$router.push('/login');
|
||||||
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue