人格、智力、工作、职业兴趣问卷增加提交提示功能,选完最后一题弹出提示窗口。
| | |
| | | *.njsproj |
| | | *.sln |
| | | *.sw? |
| | | |
| | | dist-*.zip |
| | |
| | | values_no_select:'No picture left', |
| | | values_pic_tmpArea:'Picture Staging Area', |
| | | values_pic_tmpArea_desc:'This is your opportunity to review the categories in which you have created based on your picture selections.<br/>As a reminder, the order of the images you place in each category from left to right does not matter.<br/>If you feel that you would like to move pictures around, you must drag them to the staging area before placing them into a new category. In order to replace one picture in a category with another, both pictures must be dragged into the staging area.<br/>Once you are satisfied with your choices, click "Submit," and your choices will be finalized.', |
| | | values_nextStepTips_tips:'Please refine the sort and rank the images by selecting them into the nine categories. Please note that the number of images you can put in each of the categories is fixed.' |
| | | values_nextStepTips_tips: 'Please refine the sort and rank the images by selecting them into the nine categories. Please note that the number of images you can put in each of the categories is fixed.', |
| | | submit_tip: 'You have completed all the questions. Please close this window and click the Submit button below to submit the questionnaire.' |
| | | } |
| | |
| | | finishPersonalityDownInfo: 'You may click the button below to download your test report.', |
| | | finishViewReportInfo: 'You can click on the button below to view your result report.', |
| | | langWelcomeThai: 'ยินดีตอนรับสู่เว็บไซย์สำหรับทำแบบทดสอบของ', |
| | | langOptionThai: 'กรุณาเลือกภาษา และคลิก “ดำเนินการต่อ.' |
| | | langOptionThai: 'กรุณาเลือกภาษา และคลิก “ดำเนินการต่อ.', |
| | | submit_tip: 'คุณได้ตอบคำถามทั้งหมดเรียบร้อยแล้ว กรุณาปิดหน้าต่างนี้ แล้วคลิกที่ปุ่มส่งด้านล่างเพื่อส่งแบบสอบถามค่ะ' |
| | | } |
| | |
| | | values_no_select:'无可选图片', |
| | | values_pic_tmpArea:'图片整理区', |
| | | values_pic_tmpArea_desc:'现在你可以对你刚才对图片做出的分类进行修改。<br/>再次提醒一下,每个类别内部图片从左到右的顺序是无关紧要的。<br/>如果你想更改某些图片的类别,你需要先把这些图片拖拽放入“图片整理区”,然后再拖入新的类别。<br/>如果你想更换两张图片的类别,那么你需要把这两张图片都拖入“图片整理区”。<br/>在你确定自己选好了之后,请点击“提交”。', |
| | | values_nextStepTips_tips:'请通过将图像分为九类来细化图像的排序和排名。请注意,您可以在每个类别中放置的图像数量是固定的。' |
| | | |
| | | values_nextStepTips_tips: '请通过将图像分为九类来细化图像的排序和排名。请注意,您可以在每个类别中放置的图像数量是固定的。', |
| | | submit_tip: '您已经答完了所有题目,请关闭当前窗口后点击下方提交按钮提交问卷。' |
| | | } |
| | |
| | | max-width: 100%; |
| | | max-height: 100%; |
| | | } |
| | | |
| | | @media (max-width: 767px) { |
| | | .submit-tip-dialog { |
| | | width: 100% !important; |
| | | } |
| | | } |
| | |
| | | memberName: '', |
| | | itemSize: '', // 题目长度 |
| | | startDoDisable: true, |
| | | ismobile: false |
| | | ismobile: false, |
| | | hasShownSubmitTip: false // 标志是否已经显示过提交提示 |
| | | } |
| | | }, |
| | | created: function () { |
| | |
| | | return |
| | | } |
| | | } |
| | | |
| | | // 检查是否是最后一题且已答完,弹出提示框 |
| | | if (_this.order === _this.answer.answerItems.length - 1 && _this.isContentNotEmpty(_this.order)) { |
| | | if (!_this.hasShownSubmitTip) { |
| | | _this.hasShownSubmitTip = true |
| | | _this.$alert(_this.$t('submit_tip'), _this.$t('prompt'), { |
| | | confirmButtonText: _this.$t('determine'), |
| | | customClass: 'submit-tip-dialog' |
| | | }) |
| | | } |
| | | } |
| | | this.answer.answerItems[_this.order].readOnly = true |
| | | let answerSubmit = _this.getSubmitAnswerValue(nowPartOrder) |
| | | // 已经答到了最后一题了,不用自动跳到下一题 |
| | |
| | | isSubmitClick: false, |
| | | timeoutValue: 6, |
| | | downBtnFlag: false, |
| | | downBtnFlagInit: true |
| | | downBtnFlagInit: true, |
| | | hasShownSubmitTip: false // 标志是否已经显示过提交提示 |
| | | } |
| | | }, |
| | | created: function () { |
| | |
| | | _this.determineWhetherIntelligenceTitle() |
| | | }, |
| | | onChoice () { // 是否显示提交按钮 |
| | | let _this = this |
| | | if (this.isLastQuestionOrder()) { |
| | | // 检查是否是最后一题且已答完,弹出提示框 |
| | | if (_this.isContentNotEmpty(_this.order)) { |
| | | if (!_this.hasShownSubmitTip) { |
| | | _this.hasShownSubmitTip = true |
| | | _this.$alert(_this.$t('submit_tip'), _this.$t('prompt'), { |
| | | confirmButtonText: _this.$t('determine'), |
| | | customClass: 'submit-tip-dialog' |
| | | }) |
| | | } |
| | | } |
| | | return |
| | | } |
| | | this.isShowNextQuestionButton(this) |
| | |
| | | isCallTain: false, // 是否要调用泰国团队接口 |
| | | isLangKaiStyle: false, |
| | | totalTitleNum: 0, |
| | | selectedCount: 0 |
| | | selectedCount: 0, |
| | | hasShownSubmitTip: false // 标志是否已经显示过提交提示 |
| | | } |
| | | }, |
| | | created () { |
| | |
| | | }) |
| | | } |
| | | // JAQ报告最后大题完成 启用提交按钮 |
| | | let isCompleted1 = _this.answer.answerItems[_this.answer.answerItems.length - 2].completed; |
| | | let isCompleted2 = _this.answer.answerItems[_this.answer.answerItems.length - 1].completed; |
| | | let isCompleted1 = _this.answer.answerItems[_this.answer.answerItems.length - 2].completed |
| | | let isCompleted2 = _this.answer.answerItems[_this.answer.answerItems.length - 1].completed |
| | | if (isCompleted1 && isCompleted2) { |
| | | this.submitDisable = false |
| | | // 检查是否是最后一题且已答完,弹出提示框(只弹一次) |
| | | if (!_this.hasShownSubmitTip) { |
| | | _this.hasShownSubmitTip = true |
| | | _this.$alert(_this.$t('submit_tip'), _this.$t('prompt'), { |
| | | confirmButtonText: _this.$t('determine'), |
| | | customClass: 'submit-tip-dialog' |
| | | }) |
| | | } |
| | | } |
| | | |
| | | if (jumpNextFlag) { |
| | |
| | | memberName: '', |
| | | itemSize: '', // 题目长度 |
| | | startDoDisable: true, |
| | | ismobile: false |
| | | ismobile: false, |
| | | hasShownSubmitTip: false // 标志是否已经显示过提交提示 |
| | | } |
| | | }, |
| | | created: function () { |
| | |
| | | // 加载题目 |
| | | examPaperApi.select(_this.memberToken, _this.langType).then(re => { |
| | | _this.form = re.response |
| | | // // 测试模式:只保留前3道题 |
| | | // if (_this.form.titleItems[0].questionItems.length > 3) { |
| | | // _this.form.titleItems[0].questionItems = _this.form.titleItems[0].questionItems.slice(0, 3) |
| | | // } |
| | | _this.remainTime = re.response.suggestTime * 60 |
| | | _this.problemLength = _this.form.titleItems[0].questionItems.length - 1 |
| | | _this.titleItemsLength = _this.form.titleItems.length |
| | |
| | | if (i === _this.answer.answerItems.length - 1 && _this.order !== _this.answer.answerItems.length - 1) { |
| | | _this.submitForm() |
| | | return |
| | | } |
| | | } |
| | | |
| | | // 检查是否是最后一题且已答完,弹出提示框 |
| | | if (_this.order === _this.answer.answerItems.length - 1 && _this.isContentNotEmpty(_this.order)) { |
| | | if (!_this.hasShownSubmitTip) { |
| | | _this.hasShownSubmitTip = true |
| | | _this.$alert(_this.$t('submit_tip'), _this.$t('prompt'), { |
| | | confirmButtonText: _this.$t('determine'), |
| | | customClass: 'submit-tip-dialog' |
| | | }) |
| | | } |
| | | } |
| | | this.answer.answerItems[_this.order].readOnly = true |
| | |
| | | z-index: 1000; |
| | | bottom: 0px; |
| | | } |
| | | |
| | | </style> |