1.修复填写人口学变量页面刷新后变为英文的问题
2.更新JAQ文字,打开岗位说明 -> 问卷作答说明
| | |
| | | finishSubmit: 'You have completed the work behavior questionnaire, and the data has been successfully uploaded to the server and saved. Thank you.', |
| | | selectData: 'Date', |
| | | startDo: 'Next', |
| | | openJobDesc: '问卷作答说明', |
| | | startDo_apifan: 'Start the Test', |
| | | second: ' second ', |
| | | min: ' minute ', |
| | |
| | | finishSubmit: 'You have completed the work behavior questionnaire, and the data has been successfully uploaded to the server and saved. Thank you.', |
| | | selectData: 'Date', |
| | | startDo: 'Start the Test', |
| | | openJobDesc: '问卷作答说明', |
| | | startDo_apifan: 'Start the Test', |
| | | second: ' second ', |
| | | min: ' minute ', |
| | |
| | | finishSubmit: '您已经完成了工作行为问卷,数据已经成功地上传至服务器,并已经保存好。谢谢。', |
| | | selectData: '选择日期', |
| | | startDo: '开始测试', |
| | | openJobDesc: '问卷作答说明', |
| | | startDo_apifan: '正式开始测试', |
| | | second: '秒', |
| | | min: '分', |
| | |
| | | partRemailTime: '剩余时间:', |
| | | finishIntelligenceInfo: '您已经完成了认知能力测试问卷,数据已经成功地上传至服务器,并已经保存好。谢谢。', |
| | | finishPersonalityInfo: '您已经完成了人格测试问卷,数据已经成功地上传至服务器,并已经保存好。现在您可以点击下面的“关闭”按钮关闭页面', |
| | | finishPersonalityInfo_apifan: '感谢您申请本公司的职位!您已经完成了人格测试问卷,数据已经成功地上传至服务器,已经保存好。现在您可以点击下面的“关闭”按钮关闭页面。', |
| | | finishPersonalityInfo_apifan: '您已经完成了人格测试问卷,数据已经成功地上传至服务器,已经保存好。现在您可以点击下面的“关闭”按钮关闭页面。', |
| | | finishCareerInterestsInfo: '您已经完成了职业兴趣问卷,数据已经成功地上传至服务器,并已经保存好。', |
| | | finishPersonalityDownInfo: '您可以点击下面按钮下载您的结果报告。', |
| | | finishViewReportInfo: '您可以点击下面按钮查看您的结果报告。', |
| | |
| | | } |
| | | }, |
| | | created () { |
| | | const langType = localStorage.getItem('langType') |
| | | if (langType) { |
| | | this.setLangType(langType) |
| | | } else { |
| | | localStorage.setItem('langType', this.langType) |
| | | } |
| | | }, |
| | | beforeDestroy () { |
| | | localStorage.removeItem('langType') |
| | | }, |
| | | beforeUpdate () { |
| | | }, |
| | | updated () { |
| | | }, |
| | | methods: { |
| | | submitDemography: function () { |
| | | let _this = this |
| | | _this.submitDisable = true |
| | | console.log( this.$refs.demographyMenber) |
| | | this.$refs.demographyMenber.validate(vaild => { |
| | | if (vaild) { |
| | | _this.parasInfos = [] |
| | |
| | | }) |
| | | }, |
| | | ...mapMutations('user', ['setMemberTocken']), |
| | | ...mapMutations('exam', ['setDoUrl']) |
| | | ...mapMutations('exam', ['setDoUrl']), |
| | | ...mapMutations('user', ['setLangType']) |
| | | }, |
| | | computed: { |
| | | ...mapState('user', { memberToken: state => state.memberToken }), |
| | |
| | | return { |
| | | langTypes: [], |
| | | langSelectValue: this.$route.query.langSelectValue, |
| | | fromDo: this.$route.query.fromDo, |
| | | langWelcome: this.$t('langWelcomeChinese'), |
| | | langOption: this.$t('langOptionChinese'), |
| | | timer: null, |
| | |
| | | } |
| | | }, |
| | | created: function () { |
| | | |
| | | let _this = this |
| | | window.clearInterval(this.timer) |
| | | _this.getLangType() |
| | |
| | | } |
| | | }, |
| | | created () { |
| | | // 清除本地存储的语言选项 |
| | | localStorage.removeItem('langType') |
| | | let _this = this |
| | | _this.getLangType() |
| | | // 记录登陆日志 |
| | |
| | | reParam => { |
| | | if (reParam.code !== 1) { |
| | | // 职业兴趣报告特殊化处理 只有中文 |
| | | if (_this.doUrl === 'career_interests') { |
| | | if (_this.doUrl === 'career_interests' || _this.doUrl === 'job') { |
| | | _this.$i18n.locale = 'zh' |
| | | _this.setLangType('Chinese') |
| | | _this.$router.push({ path: '/demography/fill/index', query: { demographyMenber: _this.memberToken, isStart: false } }) |
| | |
| | | } |
| | | |
| | | // 先选择密码 |
| | | _this.$router.push({ path: '/demography/fill/langOption', query: { langSelectValue: _this.langType } }) |
| | | _this.$router.push({ path: '/demography/fill/langOption', query: { langSelectValue: _this.langType, fromDo: _this.fromDo } }) |
| | | _this.setMemberTocken(_this.paraMemberToken) |
| | | return |
| | | } |
| | |
| | | <div v-html="formDo.guide"></div> |
| | | <el-row class="do-align-center"> |
| | | <el-button v-if="formDo.questionTemplateId !== 'personality'" @click="doExam" type="primary" round>{{$t('startDo')}}</el-button> |
| | | <el-button v-if="formDo.questionTemplateId === 'job'" @click="openExplain" type="danger" round>打开岗位说明</el-button> |
| | | <el-button v-if="formDo.questionTemplateId === 'job'" @click="openExplain" type="danger" round>{{$t('openJobDesc')}}</el-button> |
| | | <el-button v-if="formDo.questionTemplateId === 'personality'" @click="openExercise" type="primary" round>{{$t('exercise_start')}}</el-button> |
| | | </el-row> |
| | | </el-main> |