| | |
| | | partRemailTime: 'Remaining Time:', |
| | | finishIntelligenceInfo: 'You have completed the cognitive ability test questionnaire, the data has been successfully uploaded to the server, and has been saved. Thank you.', |
| | | finishPersonalityInfo: 'You have completed the personality quetionnaire, and the data has been successfully uploaded to the server and saved. ', |
| | | finishCareerInterestsInfo: 'You have completed the Career Interests quetionnaire, and the data has been successfully uploaded to the server and saved. ', |
| | | finishPersonalityDownInfo: 'You may click the red button below to download your test report.', |
| | | langWelcomeThai: 'ยินดีตอนรับสู่เว็บไซย์สำหรับทำแบบทดสอบของ', |
| | | langOptionThai: 'กรุณาเลือกภาษา และคลิก “ดำเนินการต่อ.', |
| | |
| | | partRemailTime: 'Remaining Time:', |
| | | finishIntelligenceInfo: 'You have completed the cognitive ability test questionnaire, the data has been successfully uploaded to the server, and has been saved. Thank you.', |
| | | finishPersonalityInfo: 'You have completed the personality quetionnaire, and the data has been successfully uploaded to the server and saved. ', |
| | | finishCareerInterestsInfo: 'You have completed the Career Interests quetionnaire, and the data has been successfully uploaded to the server and saved. ', |
| | | finishPersonalityDownInfo: 'You may click the red button below to download your test report.', |
| | | langWelcomeThai: 'ยินดีตอนรับสู่เว็บไซย์สำหรับทำแบบทดสอบของ', |
| | | langOptionThai: 'กรุณาเลือกภาษา และคลิก “ดำเนินการต่อ.' |
| | |
| | | partRemailTime: '剩余时间:', |
| | | finishIntelligenceInfo: '您已经完成了认知能力测试问卷,数据已经成功的上传至服务器,并已经保存好。谢谢。', |
| | | finishPersonalityInfo: '您已经完成了人格测试问卷,数据已经成功的上传至服务器,并已经保存好。', |
| | | finishCareerInterestsInfo: '您已经完成了职业兴趣问卷,数据已经成功的上传至服务器,并已经保存好。', |
| | | finishPersonalityDownInfo: '您可以点击下面红色按钮下载您的结果报告。', |
| | | langWelcomeThai: 'ยินดีตอนรับสู่เว็บไซย์สำหรับทำแบบทดสอบของ', |
| | | langOptionThai: 'กรุณาเลือกภาษา และคลิก “ดำเนินการต่อ.', |
| | |
| | | import examPaperApi from '@/api/examPaper' |
| | | import examPaperAnswerApi from '@/api/examPaperAnswer' |
| | | import demographyApi from '@/api/demography' |
| | | |
| | | export default { |
| | | name: 'personality', |
| | | components: { QuestionEdit }, |
| | |
| | | guideTitle: '', |
| | | guideDescirption: '', |
| | | isCallTain: '', |
| | | isSignalObject: '', |
| | | memberName: '', |
| | | itemSize: '', // 题目长度 |
| | | startDoDisable: true, |
| | |
| | | catThaiSubmit: function (answerSubmit) { |
| | | answerSubmit.isCallTain = 'CallThai' |
| | | }, |
| | | setSignalObject: function (answerSubmit) { |
| | | answerSubmit.isSignalObject = 'CIAQ' |
| | | }, |
| | | getEmptySubjct: function (order) { |
| | | let _this = this |
| | | _this.itemOrder = _this.form.titleItems[0].questionItems[order].itemOrder |
| | |
| | | } |
| | | this.answer.answerItems[_this.order].readOnly = true |
| | | let answerSubmit = _this.getSubmitAnswerValue(nowPartOrder) |
| | | console.log(answerSubmit) |
| | | // 已经答到了最后一题了,不用自动跳到下一题 |
| | | if (this.order + 1 > this.problemLength) { |
| | | this.submitDisable = false |
| | | return |
| | | } |
| | | // 如果是最后一题就上面提交了,不会走到这里 |
| | | if (this.isNextShowGuide(nowPartOrder)) { |
| | | this.setSignalObject(answerSubmit) |
| | | } |
| | | examPaperAnswerApi.answerSubmit(answerSubmit, _this.memberToken).then(re => { |
| | | if (re.code !== 1) { |
| | |
| | | }) |
| | | answerSubmit.langType = _this.langType |
| | | answerSubmit.isCallTain = _this.isCallTain |
| | | answerSubmit.isSignalObject = _this.isSignalObject |
| | | answerSubmit.partOrder = nowPartOrder |
| | | answerSubmit.itemOrder = _this.itemOrder |
| | | return answerSubmit |
| | |
| | | } else { |
| | | _this.answer.verifyStatus = 1 |
| | | _this.answer.finish = 1 |
| | | _this.submitAnswer(_this.$t('finishPersonalityInfo')) |
| | | _this.submitAnswer(_this.$t('finishCareerInterestsInfo')) |
| | | } |
| | | }, |
| | | startDo: function () { |
| | | let _this = this |
| | | _this.guide = false |
| | | _this.isCallTain = '' |
| | | _this.isSignalObject = '' |
| | | }, |
| | | submitAnswer: function (mess) { |
| | | let _this = this |