[测评系统]--前端(用户答题页面)
人格、智力、工作、职业兴趣问卷增加提交提示功能,选完最后一题弹出提示窗口。
9个文件已修改
270 ■■■■■ 已修改文件
.gitignore 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/lang/en.js 97 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/lang/th.js 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/lang/zh.js 100 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/styles/index.scss 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/exam/paper/career_interests.vue 14 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/exam/paper/intelligence.vue 14 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/exam/paper/job.vue 15 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/exam/paper/personality.vue 19 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
.gitignore
@@ -19,3 +19,5 @@
*.njsproj
*.sln
*.sw?
dist-*.zip
src/lang/en.js
@@ -68,52 +68,53 @@
  finishViewReportInfo: 'You can click on the button below to view your result report.',
  langWelcomeThai: 'ยินดีตอนรับสู่เว็บไซย์สำหรับทำแบบทดสอบของ',
  langOptionThai: 'กรุณาเลือกภาษา และคลิก “ดำเนินการต่อ.',
    values_finishValuesInfo:'Thank you! Your responses have been submitted. You can close this page now.',
    values_nextStepTips_del_unnecessary:'The number of pictures you selected reached the limit. If you want to make changes, please remove a selected picture before selecting a new picture.',
    values_nextStepTips_add_enough:'Please add enough choices',
    values_nextStepTips_choices_all:'Please make all choices',
    values_title:'Part 1: Pre-selected images',
    values_title_description:'This is the pre-sorting section of the test. <br/>During this section, you will evaluate if each picture is like you or not like you. <br/>All of these pictures will be shown again in later sections for the final sorting process.',
    values_title_description_1:'If you think the main character is like you, click ',
    values_title_description_1_2:' .',
    values_title_description_2:'If you think the main character is not like you, click ',
    values_title_description_2_2:' .',
    values_title_description_3:'If you are not sure, click ',
    values_title_description_3_2:' .',
    values_title_description_4:'Click ',
    values_title_description_4_2:' to zoom in the picture.',
  values_title_description_5:'Note: In this section, you only need to conduct a preliminary assessment of the images. You do not have to be entirely precise, and there is always the option to make adjustments at a later time.',
    values_title_description_6: ' pictures left',
    next:'Next',
    pre:'Back',
    commit:'Submit',
    values_cur_step:'Current step',
    values_step_0_title:'Instructions',
    values_step_0_content:'&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;In this assessment, you need to assess to what extent the main character in each picture is like you. When evaluating how the main character is like you, consider both the image and the caption together. The picture illustrates/visualizes a concept, while the caption summarizes a concept in a general way. Your task is to assess the extent to which the combination of the picture and caption accurately reflects how the main character is like you.<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Also, there is no right or wrong or good or bad choice, so please make your choice based on your own situation.<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;In the first step of the quiz, you need to pre-select the images and categorize them into "like me", "not like me" and "not sure".<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;In the second step of the quiz, you need to make further selections of images.<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;At the end of the quiz, you will see all the choices you have made and will be able to organize and modify them.',
    values_step_2_title:'Part 2: Detailed Sorting',
    values_step_2_content:'In the next step, you will categorize the images into nine separate categories. The number of images allowed in each category is fixed. All images must be categorized, and you will have the opportunity to go back and make changes to the categories if you feel you placed an image somewhere that you would like to change. Importantly, the order in which the chosen images in each category are arranged from left to right does not matter. Additionally, please pay attention to the prompts themselves; you will be asked about pictures that are like you and are unlike you.',
    values_step_names:'Most like,Most unlike,Very like,Very unlike,Like,Unlike,Somewhat like,Somewhat unlike,Neutral',
    values_step_names_unit_pre:'',
    values_step_names_unit:'you',
  values_step_tips_for_0:'Here are the remaining 11 pictures. For now, they will be assigned to the "NEUTRAL" category. ',
    values_step_tips_for_1:'In this section, you need to carefully examine all the pictures you have previously selected. You will have the opportunity to go back and make changes to the categories if you feel you placed an image somewhere that you would like to change. ',
    values_step_tips_for_2:'Select %N pictures in which the main character is %C you。',
    values_step_tips_for_3:'Please click the ',
    values_step_tips_for_3_1:' to select.',
    values_step_tips_for_4:'Click on the',
    values_step_tips_for_4_1:'to cancel the selected image.',
    values_step_tips_for_5:'To enlarge the image, please click the',
    values_step_tips_for_5_1:'.',
    values_step_tips:'The order of the images you place in this category from left to right does not matter. ',
    values_select_tips_like:'Like me',
    values_select_tips_neutral:'Neutral',
    values_select_tips_unlike:'Not like me',
  values_select:'Select',
    values_select_exchange:'exchange',
    values_mostLikeMe:'Most like me ',
    values_mostUnLikeMe:'Most unlike me',
    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_finishValuesInfo: 'Thank you! Your responses have been submitted. You can close this page now.',
  values_nextStepTips_del_unnecessary: 'The number of pictures you selected reached the limit. If you want to make changes, please remove a selected picture before selecting a new picture.',
  values_nextStepTips_add_enough: 'Please add enough choices',
  values_nextStepTips_choices_all: 'Please make all choices',
  values_title: 'Part 1: Pre-selected images',
  values_title_description: 'This is the pre-sorting section of the test. <br/>During this section, you will evaluate if each picture is like you or not like you. <br/>All of these pictures will be shown again in later sections for the final sorting process.',
  values_title_description_1: 'If you think the main character is like you, click ',
  values_title_description_1_2: ' .',
  values_title_description_2: 'If you think the main character is not like you, click ',
  values_title_description_2_2: ' .',
  values_title_description_3: 'If you are not sure, click ',
  values_title_description_3_2: ' .',
  values_title_description_4: 'Click ',
  values_title_description_4_2: ' to zoom in the picture.',
  values_title_description_5: 'Note: In this section, you only need to conduct a preliminary assessment of the images. You do not have to be entirely precise, and there is always the option to make adjustments at a later time.',
  values_title_description_6: ' pictures left',
  next: 'Next',
  pre: 'Back',
  commit: 'Submit',
  values_cur_step: 'Current step',
  values_step_0_title: 'Instructions',
  values_step_0_content: '&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;In this assessment, you need to assess to what extent the main character in each picture is like you. When evaluating how the main character is like you, consider both the image and the caption together. The picture illustrates/visualizes a concept, while the caption summarizes a concept in a general way. Your task is to assess the extent to which the combination of the picture and caption accurately reflects how the main character is like you.<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Also, there is no right or wrong or good or bad choice, so please make your choice based on your own situation.<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;In the first step of the quiz, you need to pre-select the images and categorize them into "like me", "not like me" and "not sure".<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;In the second step of the quiz, you need to make further selections of images.<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;At the end of the quiz, you will see all the choices you have made and will be able to organize and modify them.',
  values_step_2_title: 'Part 2: Detailed Sorting',
  values_step_2_content: 'In the next step, you will categorize the images into nine separate categories. The number of images allowed in each category is fixed. All images must be categorized, and you will have the opportunity to go back and make changes to the categories if you feel you placed an image somewhere that you would like to change. Importantly, the order in which the chosen images in each category are arranged from left to right does not matter. Additionally, please pay attention to the prompts themselves; you will be asked about pictures that are like you and are unlike you.',
  values_step_names: 'Most like,Most unlike,Very like,Very unlike,Like,Unlike,Somewhat like,Somewhat unlike,Neutral',
  values_step_names_unit_pre: '',
  values_step_names_unit: 'you',
  values_step_tips_for_0: 'Here are the remaining 11 pictures. For now, they will be assigned to the "NEUTRAL" category. ',
  values_step_tips_for_1: 'In this section, you need to carefully examine all the pictures you have previously selected. You will have the opportunity to go back and make changes to the categories if you feel you placed an image somewhere that you would like to change. ',
  values_step_tips_for_2: 'Select %N pictures in which the main character is %C you。',
  values_step_tips_for_3: 'Please click the ',
  values_step_tips_for_3_1: ' to select.',
  values_step_tips_for_4: 'Click on the',
  values_step_tips_for_4_1: 'to cancel the selected image.',
  values_step_tips_for_5: 'To enlarge the image, please click the',
  values_step_tips_for_5_1: '.',
  values_step_tips: 'The order of the images you place in this category from left to right does not matter. ',
  values_select_tips_like: 'Like me',
  values_select_tips_neutral: 'Neutral',
  values_select_tips_unlike: 'Not like me',
  values_select: 'Select',
  values_select_exchange: 'exchange',
  values_mostLikeMe: 'Most like me ',
  values_mostUnLikeMe: 'Most unlike me',
  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.',
  submit_tip: 'You have completed all the questions. Please close this window and click the Submit button below to submit the questionnaire.'
}
src/lang/th.js
@@ -67,5 +67,6 @@
  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: 'คุณได้ตอบคำถามทั้งหมดเรียบร้อยแล้ว กรุณาปิดหน้าต่างนี้ แล้วคลิกที่ปุ่มส่งด้านล่างเพื่อส่งแบบสอบถามค่ะ'
}
src/lang/zh.js
@@ -69,54 +69,54 @@
  finishViewReportInfo: '您可以点击下面按钮查看您的结果报告。',
  langWelcomeThai: 'ยินดีตอนรับสู่เว็บไซย์สำหรับทำแบบทดสอบของ',
  langOptionThai: 'กรุณาเลือกภาษา และคลิก “ดำเนินการต่อ.',
    values_finishValuesInfo: '测试结束!您的所有选项数据已经上传至服务器,并已保存好。您可以关闭浏览器,退出答题界面。',
    values_nextStepTips_del_unnecessary:'请不要多选图片。如果需要更换图片,请先移除一张已选图片,再重新进行选择。',
    values_nextStepTips_add_enough:'请选够图片',
    values_nextStepTips_choices_all:'请对所有图片做出选择',
    values_title:'第一步:预选图片',
    values_title_description:'在这一步,你要对图片进行预选。针对每张图片,',
    values_title_description_1:'如果你认为这位主角与你相似,请点击 ',
    values_title_description_1_2:' 。',
    values_title_description_2:'如果你认为这位主角与你不相似,请点击 ',
    values_title_description_2_2:' 。',
    values_title_description_3:'如果你不确定这位主角是否与你相似,请点击 ',
    values_title_description_3_2:' 。',
    values_title_description_4:'若需放大图片,请点击 ',
    values_title_description_4_2:' 。',
  values_title_description_5:' 注意:这一步中只是对图片进行粗略的筛选。你不需要做到完全准确,后面可以随时修改。',
    values_title_description_6: ' 张图片待选',
  next:'下一步',
    pre:'返回',
    commit:'提交',
    values_cur_step:'当前步骤',
    values_step_0_title:'说明',
    values_step_0_content:'在本测验中,你需要评估每张图片中的主角在多大程度上与你相似。每张图片中主角都在做一种活动,你可能实际上并没有做过图中的活动。但在进行评估的时候,请注意,图中的活动代表了与之相似的一类活动。即使你没有做过图中的活动,只要你在某种程度上感到主角与你相似,就可以选择那张图片。<br/>另外,选择没有对错和好坏之分,请根据自己的实际情况做出选择。<br/>在测验的第一步,你需要对这些图片进行预选,把所有图片归类为“与你相似”,“与你不相似”,“不确定”这三类。<br/>在测验的第二步,你需要对图片进行更细致的选择。<br/>在测验的最后,你将会看到自己进行的所有选择,并且能够进行整理和修改。',
    values_step_2_title:'第二步:对你选的图片进行更细致的分类',
    values_step_2_content:'在这一步,你需要把这些图片分为9个类别,最终每个类别中的图片数量是事先就固定的。每张图片都必须被归在某个类别中。但是,如果你想修改之前已经放到某一类别的图片,你可以点击“返回”进行修改。请注意,每个类别内部图片从左到右的顺序是无关紧要的,所以你不需要对每个类别内的图片进行排序。另外,请注意,这个环节是让你根据图片中的主角是否与你相似而做出选择。',
    values_step_names:'最相似,最不相似,很相似,很不相似,相似,不相似,有点相似,有点不相似,不确定是否相似',
    values_step_names_unit_pre:'与你',
    values_step_names_unit:'',
    values_step_tips_for_0:'这是剩下的11张图片。它们现在暂时被自动选入了“不确定是否与你相似”这一类别',
    values_step_tips_for_1:'在这个部分,你需要对刚才的所有图片进行筛选。',
    values_step_tips_for_2:'请在下面的图片中选出%N张与你%C的图片。',
    values_step_tips_for_3:'请点击',
    values_step_tips_for_3_1:'进行选择。',
    values_step_tips_for_4:'点击',
    values_step_tips_for_4_1:'可取消选择的图片。',
    values_step_tips_for_5:'若需放大图片,请点击',
    values_step_tips_for_5_1:'。',
    values_step_tips:'注意:这%N图片不需要分先后顺序。 ',
    values_select_tips:'从以下图片中做出选择',
    values_select_tips_like:'与我相似',
    values_select_tips_neutral:'不确定',
    values_select_tips_unlike:'与我不相似',
    values_select:'选中',
    values_select_exchange:'对调',
    values_mostLikeMe:'最像我',
    values_mostUnLikeMe:'最不像我',
    values_no_select:'无可选图片',
    values_pic_tmpArea:'图片整理区',
    values_pic_tmpArea_desc:'现在你可以对你刚才对图片做出的分类进行修改。<br/>再次提醒一下,每个类别内部图片从左到右的顺序是无关紧要的。<br/>如果你想更改某些图片的类别,你需要先把这些图片拖拽放入“图片整理区”,然后再拖入新的类别。<br/>如果你想更换两张图片的类别,那么你需要把这两张图片都拖入“图片整理区”。<br/>在你确定自己选好了之后,请点击“提交”。',
    values_nextStepTips_tips:'请通过将图像分为九类来细化图像的排序和排名。请注意,您可以在每个类别中放置的图像数量是固定的。'
  values_finishValuesInfo: '测试结束!您的所有选项数据已经上传至服务器,并已保存好。您可以关闭浏览器,退出答题界面。',
  values_nextStepTips_del_unnecessary: '请不要多选图片。如果需要更换图片,请先移除一张已选图片,再重新进行选择。',
  values_nextStepTips_add_enough: '请选够图片',
  values_nextStepTips_choices_all: '请对所有图片做出选择',
  values_title: '第一步:预选图片',
  values_title_description: '在这一步,你要对图片进行预选。针对每张图片,',
  values_title_description_1: '如果你认为这位主角与你相似,请点击 ',
  values_title_description_1_2: ' 。',
  values_title_description_2: '如果你认为这位主角与你不相似,请点击 ',
  values_title_description_2_2: ' 。',
  values_title_description_3: '如果你不确定这位主角是否与你相似,请点击 ',
  values_title_description_3_2: ' 。',
  values_title_description_4: '若需放大图片,请点击 ',
  values_title_description_4_2: ' 。',
  values_title_description_5: ' 注意:这一步中只是对图片进行粗略的筛选。你不需要做到完全准确,后面可以随时修改。',
  values_title_description_6: ' 张图片待选',
  next: '下一步',
  pre: '返回',
  commit: '提交',
  values_cur_step: '当前步骤',
  values_step_0_title: '说明',
  values_step_0_content: '在本测验中,你需要评估每张图片中的主角在多大程度上与你相似。每张图片中主角都在做一种活动,你可能实际上并没有做过图中的活动。但在进行评估的时候,请注意,图中的活动代表了与之相似的一类活动。即使你没有做过图中的活动,只要你在某种程度上感到主角与你相似,就可以选择那张图片。<br/>另外,选择没有对错和好坏之分,请根据自己的实际情况做出选择。<br/>在测验的第一步,你需要对这些图片进行预选,把所有图片归类为“与你相似”,“与你不相似”,“不确定”这三类。<br/>在测验的第二步,你需要对图片进行更细致的选择。<br/>在测验的最后,你将会看到自己进行的所有选择,并且能够进行整理和修改。',
  values_step_2_title: '第二步:对你选的图片进行更细致的分类',
  values_step_2_content: '在这一步,你需要把这些图片分为9个类别,最终每个类别中的图片数量是事先就固定的。每张图片都必须被归在某个类别中。但是,如果你想修改之前已经放到某一类别的图片,你可以点击“返回”进行修改。请注意,每个类别内部图片从左到右的顺序是无关紧要的,所以你不需要对每个类别内的图片进行排序。另外,请注意,这个环节是让你根据图片中的主角是否与你相似而做出选择。',
  values_step_names: '最相似,最不相似,很相似,很不相似,相似,不相似,有点相似,有点不相似,不确定是否相似',
  values_step_names_unit_pre: '与你',
  values_step_names_unit: '',
  values_step_tips_for_0: '这是剩下的11张图片。它们现在暂时被自动选入了“不确定是否与你相似”这一类别',
  values_step_tips_for_1: '在这个部分,你需要对刚才的所有图片进行筛选。',
  values_step_tips_for_2: '请在下面的图片中选出%N张与你%C的图片。',
  values_step_tips_for_3: '请点击',
  values_step_tips_for_3_1: '进行选择。',
  values_step_tips_for_4: '点击',
  values_step_tips_for_4_1: '可取消选择的图片。',
  values_step_tips_for_5: '若需放大图片,请点击',
  values_step_tips_for_5_1: '。',
  values_step_tips: '注意:这%N图片不需要分先后顺序。 ',
  values_select_tips: '从以下图片中做出选择',
  values_select_tips_like: '与我相似',
  values_select_tips_neutral: '不确定',
  values_select_tips_unlike: '与我不相似',
  values_select: '选中',
  values_select_exchange: '对调',
  values_mostLikeMe: '最像我',
  values_mostUnLikeMe: '最不像我',
  values_no_select: '无可选图片',
  values_pic_tmpArea: '图片整理区',
  values_pic_tmpArea_desc: '现在你可以对你刚才对图片做出的分类进行修改。<br/>再次提醒一下,每个类别内部图片从左到右的顺序是无关紧要的。<br/>如果你想更改某些图片的类别,你需要先把这些图片拖拽放入“图片整理区”,然后再拖入新的类别。<br/>如果你想更换两张图片的类别,那么你需要把这两张图片都拖入“图片整理区”。<br/>在你确定自己选好了之后,请点击“提交”。',
  values_nextStepTips_tips: '请通过将图像分为九类来细化图像的排序和排名。请注意,您可以在每个类别中放置的图像数量是固定的。',
  submit_tip: '您已经答完了所有题目,请关闭当前窗口后点击下方提交按钮提交问卷。'
}
src/styles/index.scss
@@ -326,3 +326,9 @@
  max-width: 100%;
  max-height: 100%;
}
@media (max-width: 767px)  {
  .submit-tip-dialog {
      width: 100% !important;
  }
}
src/views/exam/paper/career_interests.vue
@@ -100,7 +100,8 @@
      memberName: '',
      itemSize: '', // 题目长度
      startDoDisable: true,
      ismobile: false
      ismobile: false,
      hasShownSubmitTip: false // 标志是否已经显示过提交提示
    }
  },
  created: function () {
@@ -393,6 +394,17 @@
          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)
      // 已经答到了最后一题了,不用自动跳到下一题
src/views/exam/paper/intelligence.vue
@@ -108,7 +108,8 @@
      isSubmitClick: false,
      timeoutValue: 6,
      downBtnFlag: false,
      downBtnFlagInit: true
      downBtnFlagInit: true,
      hasShownSubmitTip: false // 标志是否已经显示过提交提示
    }
  },
  created: function () {
@@ -538,7 +539,18 @@
      _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)
src/views/exam/paper/job.vue
@@ -98,7 +98,8 @@
      isCallTain: false, // 是否要调用泰国团队接口
      isLangKaiStyle: false,
      totalTitleNum: 0,
      selectedCount: 0
      selectedCount: 0,
      hasShownSubmitTip: false // 标志是否已经显示过提交提示
    }
  },
  created () {
@@ -297,10 +298,18 @@
        })
      }
      // 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) {
src/views/exam/paper/personality.vue
@@ -99,7 +99,8 @@
      memberName: '',
      itemSize: '', // 题目长度
      startDoDisable: true,
      ismobile: false
      ismobile: false,
      hasShownSubmitTip: false // 标志是否已经显示过提交提示
    }
  },
  created: function () {
@@ -134,6 +135,10 @@
          // 加载题目
          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
@@ -357,6 +362,17 @@
        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
@@ -618,4 +634,5 @@
    z-index: 1000;
    bottom: 0px;
  }
</style>