From d9e74666ce84b0f32c5cd6f9799d61bd0b009f10 Mon Sep 17 00:00:00 2001 From: yj <2077506045@qq.com> Date: 星期四, 04 七月 2024 09:28:27 +0800 Subject: [PATCH] 1.修复填写人口学变量页面刷新后变为英文的问题 2.更新JAQ文字,打开岗位说明 -> 问卷作答说明 --- src/views/exam/paper/values.vue | 710 ++++++++++++++++++++++++++++++++++++---------------------- 1 files changed, 443 insertions(+), 267 deletions(-) diff --git a/src/views/exam/paper/values.vue b/src/views/exam/paper/values.vue index fcfa5c4..f0667b2 100644 --- a/src/views/exam/paper/values.vue +++ b/src/views/exam/paper/values.vue @@ -1,24 +1,44 @@ <template> <div> + <el-container class="app-item-contain step1" v-if="step === 'step0'"> + <el-header class=""> + <h1>{{$t('values_step_0_title')}}</h1> + </el-header> + <el-main class=""> + <div class="text-line" v-html="$t('values_step_0_content')"></div> + <el-row class="do-align-center"> + <el-button @click="step0_next" type="primary" round>{{$t('startDo')}}</el-button> + </el-row> + </el-main> + </el-container> <el-container class="app-item-contain step1" v-if="step === 'step1'"> <el-header class=""> <h1>{{$t('values_title')}}</h1> </el-header> - <el-main class="" style="padding-top: 3%;"> + <el-main class=""> <div> - {{$t('values_title_description')}} + <div class="text-line" v-html="$t('values_title_description')"></div> + <div class="text-line">{{$t('values_title_description_1')}}<img class="tools-button" src="@/assets/exam-paper/good.png" style="width: 15px;position: absolute;margin-top: 6px"/><span style="margin-left: 20px;">{{$t('values_title_description_1_2')}}</span></div> + <div class="text-line">{{$t('values_title_description_2')}}<img class="tools-button" src="@/assets/exam-paper/nogood.png" style="width: 15px;position: absolute;margin-top: 6px"/><span style="margin-left: 20px;">{{$t('values_title_description_2_2')}}</span></div> + <div class="text-line">{{$t('values_title_description_3')}}<img class="tools-button" src="@/assets/exam-paper/question.png" style="width: 15px;position: absolute;margin-top: 6px"/><span style="margin-left: 20px;">{{$t('values_title_description_3_2')}}</span></div> + <div class="text-line">{{$t('values_title_description_4')}}<img class="tools-button" src="@/assets/exam-paper/scale.png" style="width: 15px;height: 15px;position: absolute;margin-top: 6px"/><span style="margin-left: 20px;">{{$t('values_title_description_4_2')}}</span></div> + <div class="text-line">{{$t('values_title_description_5')}}</div> </div> + <div style="display: flex;justify-content: flex-start;padding: 10px 0;"> - <el-button @click="step1_start" type="primary" round v-if="!step1Start">{{$t('start')}}</el-button> + <el-button style="margin-top: 12px;" @click="step1_start" type="primary" round v-if="!step1Start">{{$t('start')}}</el-button> <el-button style="margin-top: 12px;" type="primary" round @click="step1_next" v-if="(step1Start && itemSize>0)"> {{$t('next')}} </el-button> </div> + <div class="selectCount"> + {{ questionItems.filter(obj=>obj.content===null).length + $t('values_title_description_6') }} + </div> <div class="mullinediv" v-if="step1Start"> <div v-for="(question,index1) in questionItems" class="mullinediv-item" v-if="isNull(question.content)"> - <div style="display: flex; justify-content: flex-end;margin-right: -20px;"> + <div style="display: flex; justify-content: flex-end;margin-right: -20px;margin-top: -10px;"> <el-image class="tools-button" :src="require('@/assets/exam-paper/scale.png')" @click="previewImg('qImg'+question.id,question.id)"></el-image> </div> @@ -36,30 +56,62 @@ </div> </el-main> </el-container> + <el-container class="app-item-contain step1" v-if="step === 'step2-0'"> + <el-header class=""> + <h1>{{$t('values_step_2_title')}}</h1> + </el-header> + <el-main class=""> + <div v-html="$t('values_step_2_content')"></div> + <el-row class="do-align-center"> + <el-button @click="step2_0_next" type="primary" round>{{$t('startDo')}}</el-button> + </el-row> + </el-main> + </el-container> <el-container class="app-item-contain step2" v-if="step === 'step2'"> + <el-header class=""> + <h1>{{$t('values_step_2_title')}}</h1> + </el-header> <el-main class=""> <div> - <div class="tag-group"> + <!-- <div class="tag-group" style="display: flex;"> <span class="tag-group__title" - style="padding-right: 20px;font-size: 26px;">{{$t('values_cur_step')}}锛坽{step2SubStep}} / + style="padding-right: 10px;font-size: 26px;margin: auto 0px;">{{$t('values_cur_step')}}锛坽{step2SubStep}} / {{step2ScoreRanges.length}})</span> - <el-tag v-for="item in step2ScoreRanges" :key="item.itemOrder" - :type="getStep2StepTagType(item.step)" style="margin: 0 2px;font-size: 26px;" size="large" - effect="light"> - {{ item.quantity }} - </el-tag> - </div> + <div> + <div style="display: flex;padding: 5px 0;"> + <div v-for="item in step2ScoreRanges" :key="item.itemOrder" style="margin: 0 2px;font-size: 12px;width: 100px;text-align: center;" size="large"> + {{ item.stepName }} + </div> + </div> + <div> + <el-tag v-for="item in step2ScoreRanges" :key="item.itemOrder" + :type="getStep2StepTagType(item.step)" style="margin: 0 2px;font-size: 26px;width: 100px;text-align: center;" size="large" + effect="light"> + {{ item.quantity }} + </el-tag> + </div> + </div> + </div> --> <div style="display: flex;justify-content: space-between;"> - <div style="line-height: 50px;text-indent: 2em;"> - <span + <div class="text-line" style="text-indent: 2em;"> + <div v-if="step2SubStep == 1"> + {{ $t('values_step_tips_for_1') }} + </div> + <div v-if="(step2SubStep == step2ScoreRanges.length) && (step2ScoreRanges.length % 2 == 1)"> - {{$t('values_step_tips_for_3').replace('%N',getStep2StepItem(step2SubStep).quantity)}} - </span> - <span v-else> - {{(step2SubStep % 2 == 1)?$t('values_step_tips_for_1').replace('%N',getStep2StepItem(step2SubStep).quantity):$t('values_step_tips_for_2').replace('%N',getStep2StepItem(step2SubStep).quantity)}} - </span> + {{$t('values_step_tips_for_0').replace('%N',getStep2StepItem(step2SubStep).quantity).replace('%C',getStep2StepItem(step2SubStep).stepName.toUpperCase())}} + </div> + <div v-else> + {{$t('values_step_tips_for_2').replace('%N',getStep2StepItem(step2SubStep).quantity).replace('%C',getStep2StepItem(step2SubStep).stepName.toLowerCase())}} + </div> + <div class="text-line">{{$t('values_step_tips_for_3')}}<img class="tools-button" src="@/assets/exam-paper/yes.png" style="width: 15px;position: absolute;margin-top: 6px;margin-left: 5px;"/><span style="margin-left: 22px;">{{$t('values_step_tips_for_3_1')}}</span></div> + <div class="text-line">{{$t('values_step_tips_for_4')}}<img class="tools-button" src="@/assets/exam-paper/no.png" style="width: 15px;position: absolute;margin-top: 6px;margin-left: 5px;"/><span style="margin-left: 22px;">{{$t('values_step_tips_for_4_1')}}</span></div> + <div class="text-line">{{$t('values_step_tips_for_5')}}<img class="tools-button" src="@/assets/exam-paper/scale.png" style="width: 15px;position: absolute;margin-top: 6px;margin-left: 5px;"/><span style="margin-left: 22px;">{{$t('values_step_tips_for_5_1')}}</span></div> + <div style="color: red;"> + {{$t('values_step_tips').replace('%N',getStep2StepItem(step2SubStep).quantity)}} + </div> </div> - <div style="display: flex;justify-content: flex-end;"> + <div style="margin-top: auto;"> <el-button type="primary" round @click="step2_pre" v-if="step2SubStep>1">{{$t('pre')}} </el-button> <el-button type="primary" round @click="step2_next">{{$t('next')}}</el-button> @@ -85,7 +137,151 @@ </div> </div> </div> - <el-divider content-position="left">{{$t('values_select_tips')}}</el-divider> + + + + + <!-- 閫夋嫨鐩镐技鐨勫浘鐗� --> + <div v-if="step2SubStep % 2 >= 1"> + <!-- 涓庢垜鐩镐技 --> + <el-divider content-position="left">{{$t('values_select_tips_like')}}</el-divider> + <div style="height: auto;overflow: auto;"> + <div class="mullinediv" style="" v-if="questionItems && questionItems.filter(obj=>Number(obj.content)===0).length>0"> + <div v-for="(question,index3) in questionItems.filter(obj=>Number(obj.content)===0)" class="mullinediv-item" + v-if="isNull(question.subjectId)"> + <el-image :ref="'q2Img'+question.id" :src="question.imgUrl" lazy + :preview-src-list="[question.imgUrl]"></el-image> + <div style="display: flex; justify-content: space-between;"> + <el-image class="tools-button" :src="require('@/assets/exam-paper/yes.png')" + @click="step2Add(question.id,getStep2StepItem(step2SubStep).itemOrder)"> + </el-image> + <el-image class="tools-button" :src="require('@/assets/exam-paper/scale.png')" + @click="previewImg('q2Img'+question.id)"></el-image> + </div> + </div> + </div> + <div class="noSelect" style="" v-if="questionItems.filter(obj=>Number(obj.content)===0 && obj.subjectId===null).length==0"> + {{$t('values_no_select')}} + </div> + </div> + + <!-- 涓嶇‘瀹� --> + <el-divider content-position="left">{{$t('values_select_tips_neutral')}}</el-divider> + <div style="height: auto;overflow: auto;"> + <div class="mullinediv" style="" v-if="questionItems && questionItems.filter(obj=>Number(obj.content)===1).length>0"> + <div v-for="(question,index3) in questionItems.filter(obj=>Number(obj.content)===1)" class="mullinediv-item" + v-if="isNull(question.subjectId)"> + <el-image :ref="'q2Img'+question.id" :src="question.imgUrl" lazy + :preview-src-list="[question.imgUrl]"></el-image> + <div style="display: flex; justify-content: space-between;"> + <el-image class="tools-button" :src="require('@/assets/exam-paper/yes.png')" + @click="step2Add(question.id,getStep2StepItem(step2SubStep).itemOrder)"> + </el-image> + <el-image class="tools-button" :src="require('@/assets/exam-paper/scale.png')" + @click="previewImg('q2Img'+question.id)"></el-image> + </div> + </div> + </div> + <div class="noSelect" style="" v-if="questionItems.filter(obj=>Number(obj.content)===1 && obj.subjectId===null).length==0"> + {{$t('values_no_select')}} + </div> + </div> + + <!-- 涓庢垜涓嶇浉浼� --> + <el-divider content-position="left">{{$t('values_select_tips_unlike')}}</el-divider> + <div style="height: auto;overflow: auto;"> + <div class="mullinediv" style="" v-if="questionItems && questionItems.filter(obj=>obj.content===2).length>0"> + <div v-for="(question,index3) in questionItems.filter(obj=>obj.content===2)" class="mullinediv-item" + v-if="isNull(question.subjectId)"> + <el-image :ref="'q2Img'+question.id" :src="question.imgUrl" lazy + :preview-src-list="[question.imgUrl]"></el-image> + <div style="display: flex; justify-content: space-between;"> + <el-image class="tools-button" :src="require('@/assets/exam-paper/yes.png')" + @click="step2Add(question.id,getStep2StepItem(step2SubStep).itemOrder)"> + </el-image> + <el-image class="tools-button" :src="require('@/assets/exam-paper/scale.png')" + @click="previewImg('q2Img'+question.id)"></el-image> + </div> + </div> + </div> + <!-- <div class="mullinediv" style="" v-if="sumStep2UnSelectedNum()<=0"> + {{$t('values_no_select')}} + </div> --> + <div class="noSelect" style="" v-if="questionItems.filter(obj=>Number(obj.content)===2 && obj.subjectId===null).length==0"> + {{$t('values_no_select')}} + </div> + </div> + </div> + + <!-- 閫夋嫨涓嶇浉浼肩殑鍥剧墖 --> + <div v-if="step2SubStep % 2 == 0"> + <!-- 涓庢垜涓嶇浉浼� --> + <el-divider content-position="left">{{$t('values_select_tips_unlike')}}</el-divider> + <div style="height: auto;overflow: auto;"> + <div class="mullinediv" style="" v-if="questionItems && questionItems.filter(obj=>Number(obj.content)===2).length>0"> + <div v-for="(question,index3) in questionItems.filter(obj=>Number(obj.content)===2)" class="mullinediv-item" + v-if="isNull(question.subjectId)"> + <el-image :ref="'q2Img'+question.id" :src="question.imgUrl" lazy + :preview-src-list="[question.imgUrl]"></el-image> + <div style="display: flex; justify-content: space-between;"> + <el-image class="tools-button" :src="require('@/assets/exam-paper/yes.png')" + @click="step2Add(question.id,getStep2StepItem(step2SubStep).itemOrder)"> + </el-image> + <el-image class="tools-button" :src="require('@/assets/exam-paper/scale.png')" + @click="previewImg('q2Img'+question.id)"></el-image> + </div> + </div> + </div> + <div class="noSelect" style="" v-if="questionItems.filter(obj=>Number(obj.content)===2 && obj.subjectId===null).length==0"> + {{$t('values_no_select')}} + </div> + </div> + + <!-- 涓嶇‘瀹� --> + <el-divider content-position="left">{{$t('values_select_tips_neutral')}}</el-divider> + <div style="height: auto;overflow: auto;"> + <div class="mullinediv" style="" v-if="questionItems && questionItems.filter(obj=>Number(obj.content)===1).length>0"> + <div v-for="(question,index3) in questionItems.filter(obj=>Number(obj.content)===1)" class="mullinediv-item" + v-if="isNull(question.subjectId)"> + <el-image :ref="'q2Img'+question.id" :src="question.imgUrl" lazy + :preview-src-list="[question.imgUrl]"></el-image> + <div style="display: flex; justify-content: space-between;"> + <el-image class="tools-button" :src="require('@/assets/exam-paper/yes.png')" + @click="step2Add(question.id,getStep2StepItem(step2SubStep).itemOrder)"> + </el-image> + <el-image class="tools-button" :src="require('@/assets/exam-paper/scale.png')" + @click="previewImg('q2Img'+question.id)"></el-image> + </div> + </div> + </div> + <div class="noSelect" style="" v-if="questionItems.filter(obj=>Number(obj.content)===1 && obj.subjectId===null).length==0"> + {{$t('values_no_select')}} + </div> + </div> + + <!-- 涓庢垜鐩镐技 --> + <el-divider content-position="left">{{$t('values_select_tips_like')}}</el-divider> + <div style="height: auto;overflow: auto;"> + <div class="mullinediv" style="" v-if="questionItems && questionItems.filter(obj=>Number(obj.content)===0).length>0"> + <div v-for="(question,index3) in questionItems.filter(obj=>Number(obj.content)===0)" class="mullinediv-item" + v-if="isNull(question.subjectId)"> + <el-image :ref="'q2Img'+question.id" :src="question.imgUrl" lazy + :preview-src-list="[question.imgUrl]"></el-image> + <div style="display: flex; justify-content: space-between;"> + <el-image class="tools-button" :src="require('@/assets/exam-paper/yes.png')" + @click="step2Add(question.id,getStep2StepItem(step2SubStep).itemOrder)"> + </el-image> + <el-image class="tools-button" :src="require('@/assets/exam-paper/scale.png')" + @click="previewImg('q2Img'+question.id)"></el-image> + </div> + </div> + </div> + <div class="noSelect" style="" v-if="questionItems.filter(obj=>Number(obj.content)===0 && obj.subjectId===null).length==0"> + {{$t('values_no_select')}} + </div> + </div> + </div> + <!-- <el-divider content-position="left">{{$t('values_select_tips')}}</el-divider> <div style="height: auto;overflow: auto;"> <div class="mullinediv" style="" v-if="questionItems && questionItems.length>0"> <div v-for="(question,index3) in questionItems" class="mullinediv-item" @@ -104,18 +300,29 @@ <div class="mullinediv" style="" v-if="sumStep2UnSelectedNum()<=0"> {{$t('values_no_select')}} </div> - </div> + </div> --> </div> </el-main> </el-container> <el-container class="app-item-contain step3" v-if="step === 'step3'"> <el-main class=""> - <div style="position: fixed;z-index: 999; width:90%; top: 56px;"> - <div style="display: flex;justify-content: flex-end;"> - <div style="padding: 0 10px;">{{$t('values_pic_tmpArea')}}</div> + <div style="position: fixed;z-index: 999; width:90%; top: 50px;"> + <div style="display: flex;justify-content: flex-end;padding: 10px;background-color: #f5f7fa;"> + <div class="text-line" style="padding-right: 20px;width:50%;"> + <div v-html="$t('values_pic_tmpArea_desc')"> + + </div> + <el-button type="primary" round style="height: fit-content;margin-top:5px" + @click="step3_commit" :disabled="submitDisable"> + {{$t('commit')}} + </el-button> + </div> + <div style="padding: 0 10px;width:80px;"> + {{$t('values_pic_tmpArea')}} + </div> <draggable animation="300" class="pic-tmparea-div" - style="background-color: #f5f7fa;border: 1px solid gray;padding: 10px;width: 50%;" - :list="step3EWEIArea[0]" :options="{group:{name:'EWEIArea',pull:'clone'}}" + style="border: 1px solid gray;padding: 10px;width: 45%;" + :list="step3EWEIArea[0]" :options="{group:{name:'EWEIArea',pull:'clone'}}" @start="ev=>step3TmpAreaStart(ev,0)" @end="step3TmpAreaMoveEnd"> <div v-for="q in step3EWEIArea[0]" :key="q.id" class="mullinediv-item2" @@ -123,20 +330,37 @@ <el-image :src="q.imgUrl" :preview-src-list="[q.imgUrl]" fit="fill"></el-image> </div> </draggable> - <el-button type="primary" round style="height: fit-content;margin: 0 10px;" + <!-- <el-button type="primary" round style="height: fit-content;margin: 0 10px;" @click="step3_commit" :disabled="submitDisable"> {{$t('commit')}} - </el-button> + </el-button> --> </div> </div> - <div style="display:flex;margin-top: 160px;"> - <div style="display: inline-block;min-width: 150px;text-align: right;"> + <div style="display:flex;margin-top: 200px;"> + <div style="display: inline-block;min-width: 160px;text-align: right;padding-right: 5px;"> <div class="mul-inlinediv-row mul-inlinediv-lineheight" v-for="(item,index) in step2ScoreRanges"> - {{(index == 0)?$t('values_mostLikeMe'):''}}{{(index == (step2ScoreRanges.length-1))?$t('values_mostUnLikeMe'):''}} - {{item.deviate}} + <span v-if="item.stepName=='涓嶇‘瀹氭槸鍚︾浉浼�'"> + 涓嶇‘瀹氭槸鍚︿笌浣犵浉浼� <span v-if="item.step<step2ScoreRanges.length">{{$t('values_step_names_unit')}}</span> + </span> + <span v-else> + {{$t('values_step_names_unit_pre')}}{{item.stepName}} <span v-if="item.step<step2ScoreRanges.length">{{$t('values_step_names_unit')}}</span> + </span> </div> </div> + <div style="display: inline-block;width: 20px;margin-top: 4px;"> + <div class="mul-inlinediv-row mul-inlinediv-lineheight mul-inlinediv-down" + v-for="(item,index) in step2ScoreRanges"> + </div> + </div> + <!-- + <div style="display: inline-block;min-width: 20px;text-align: right;"> + <div class="mul-inlinediv-row mul-inlinediv-lineheight" + v-for="(item,index) in step2ScoreRanges"> + {{$t('values_step_names_unit')}} + </div> + </div> + --> <div class="mul-inlinediv-box"> <div class="mul-inlinediv" v-for="item in step2ScoreRanges"> @@ -187,6 +411,7 @@ import examPaperAnswerApi from '@/api/examPaperAnswer' import demographyApi from '@/api/demography' import draggable from 'vuedraggable' + import seedrandom from 'seedrandom' export default { name: 'values', @@ -195,7 +420,7 @@ }, data() { return { - step: 'step1', + step: 'step0', step1Start: false, step1SelectedNum: 0, step2ScoreRanges: [ @@ -214,6 +439,7 @@ "completed": false, "questionReports": null, "step": 0, + "stepName":'', "selected": 0 }], step2SubStep: 1, @@ -222,210 +448,7 @@ "subjectId": null, }, step3EWEIArea: [1], - form: { - "id": 92, - "level": 1, - "subjectId": null, - "paperType": 1, - "name": "VAQ", - "suggestTime": null, - "limitDateTime": null, - "titleItems": [{ - "guide": "", - "name": "", - "description": "", - "permanentId": null, - "questionOrder": 0, - "questionReport": null, - "questionItems": [{ - "id": 786, - "questionType": 1, - "subjectId": null, - "title": "楹诲皢妗�", - "gradeLevel": null, - "items": [{ - "prefix": "1", - "content": "0", - "score": "0" - }], - "analyze": null, - "correctArray": null, - "correct": null, - "score": "0", - "difficult": null, - "itemOrder": 1, - "questionOrder": 0, - "permanentId": "VAQ00001", - "questionReport": null, - "startTime": null, - "endTime": null, - "partOrder": 1, - "parentQuestionId": null, - "template": null, - "questionNumber": null, - "content": null, - "imgUrl": "http://127.0.0.1:8090/profile/images/2022/12/26/b698d623e7c9a55d9017ffa08477b121.jpg" - }, - { - "id": 787, - "questionType": 1, - "subjectId": null, - "title": "楹诲皢妗�2", - "gradeLevel": null, - "items": [{ - "prefix": "1", - "content": "0", - "score": "0" - }], - "analyze": null, - "correctArray": null, - "correct": null, - "score": "0", - "difficult": null, - "itemOrder": 2, - "questionOrder": 1, - "permanentId": "VAQ00002", - "questionReport": null, - "startTime": null, - "endTime": null, - "partOrder": 2, - "parentQuestionId": null, - "template": null, - "questionNumber": null, - "content": null, - "imgUrl": "http://127.0.0.1:8090/profile/images/2022/12/26/123f79ad0cc38507368c22b8a7ec9b09.jpg" - }, - { - "id": 788, - "questionType": 1, - "subjectId": null, - "title": "娴嬭瘯1", - "gradeLevel": null, - "items": [{ - "prefix": "1", - "content": "0", - "score": "0" - }], - "analyze": null, - "correctArray": null, - "correct": null, - "score": "0", - "difficult": null, - "itemOrder": 3, - "questionOrder": 2, - "permanentId": "VAQ00003", - "questionReport": null, - "startTime": null, - "endTime": null, - "partOrder": 3, - "parentQuestionId": null, - "template": null, - "questionNumber": null, - "content": null, - "imgUrl": "http://127.0.0.1:8090/profile/images/2023/01/09/6b80baab47a9eba6ceeec5a723397109.jpg" - }, - { - "id": 789, - "questionType": 1, - "subjectId": null, - "title": "娴嬭瘯2", - "gradeLevel": null, - "items": [{ - "prefix": "1", - "content": "0", - "score": "0" - }], - "analyze": null, - "correctArray": null, - "correct": null, - "score": "0", - "difficult": null, - "itemOrder": 4, - "questionOrder": 3, - "permanentId": "VAQ00004", - "questionReport": null, - "startTime": null, - "endTime": null, - "partOrder": 4, - "parentQuestionId": null, - "template": null, - "questionNumber": null, - "content": null, - "imgUrl": "http://127.0.0.1:8090/profile/images/2023/01/09/3f8e18280f1d47362c69b18e80ddf1a3.jpg" - }, - { - "id": 790, - "questionType": 1, - "subjectId": null, - "title": "娴嬭瘯3", - "gradeLevel": null, - "items": [{ - "prefix": "1", - "content": "0", - "score": "0" - }], - "analyze": null, - "correctArray": null, - "correct": null, - "score": "0", - "difficult": null, - "itemOrder": 5, - "questionOrder": 4, - "permanentId": "VAQ00005", - "questionReport": null, - "startTime": null, - "endTime": null, - "partOrder": 5, - "parentQuestionId": null, - "template": null, - "questionNumber": null, - "content": null, - "imgUrl": "http://127.0.0.1:8090/profile/images/2023/01/09/447616cb14745241f0ac700b56d0770b.jpg" - } - ], - "startTime": null, - "endTime": null, - "parts": [], - "scoreRanges": [{ - "itemOrder": 1, - "quantity": 2, - "score": 5, - "completed": false, - "questionReports": null - }, - { - "itemOrder": 2, - "quantity": 1, - "score": 10, - "completed": false, - "questionReports": null - }, - { - "itemOrder": 3, - "quantity": 2, - "score": 5, - "completed": false, - "questionReports": null - } - ] - }], - "score": null, - "guide": "VAQ", - "questionOrder": [ - 0, - 1, - 2, - 3, - 4 - ], - "parts": [], - "questionTemplateId": "values", - "reportTemplateId": "61", - "memberName": "test4", - "optionOrder": null, - "timeOut": null, - "jobDescriptionFile": null - }, + form:{}, formLoading: false, answer: { questionId: null, @@ -461,7 +484,9 @@ } }, - created: function() { + //created: function() { + mounted: function() { + console.log(".....................mounted start......................") //console.log(".....................Test. config start......................") //if(this.memberToken == '' || this.memberToken == undefined) this.setMemberTocken("4bdcf437-185c-4f4e-9528-382c99509ea6") //console.log(".....................Test. config ednd.......................") @@ -477,6 +502,10 @@ _this.titleItems.push(_this.form.titleItems[0]) _this.questionItem = _this.form.titleItems[0].questionItems[0] _this.questionItems = _this.form.titleItems[0].questionItems + + // 浣跨敤token鐢熸垚闅忔満鏁版帓搴忔暟缁� + _this.tokenSort(_this.questionItems) + _this.partOrder = _this.questionItem.partOrder _this.itemOrder = _this.form.titleItems[0].questionItems[0].itemOrder _this.itemSize = _this.form.titleItems[0].questionItems.length @@ -487,12 +516,14 @@ _this.initStep2ScoreRanges(_this.form.titleItems[0].scoreRanges) } else { + console.log(".....................mounted 鍒锋柊......................") _this.formLoading = true // 闃叉鍒锋柊鎴愪簡涓嶅悓鐨勮瑷� demographyApi.queryDemographyParamInfo(_this.memberToken).then( re => { if (re.response[0].langType !== null || re.response[0].langType.trim() !== '') { _this.setLangType(re.response[0].langType) + console.log("lang type",re.response[0].langType,_this.langType) } // 鍔犺浇棰樼洰 examPaperApi.select(_this.memberToken, _this.langType).then(re => { @@ -505,6 +536,10 @@ _this.itemSize = _this.form.titleItems[0].questionItems.length _this.questionItem = _this.form.titleItems[0].questionItems[_this.order] _this.questionItems = _this.form.titleItems[0].questionItems + + // 浣跨敤token鐢熸垚闅忔満鏁版帓搴忔暟缁� + _this.tokenSort(_this.questionItems) + _this.partOrder = _this.questionItem.partOrder _this.initAnswer() _this.formLoading = false @@ -567,32 +602,49 @@ } ).catch(e => {}) } - }, - mounted() { - //console.log("mounted......") + document.body.ondrop = function(event) { event.preventDefault(); event.stopPropagation(); } }, + // mounted() { + // //console.log("mounted......") + // document.body.ondrop = function(event) { + // event.preventDefault(); + // event.stopPropagation(); + // } + // }, beforeDestroy() { window.clearInterval(this.timer) }, methods: { + // 鏍规嵁token鐢熸垚闅忔満鏁板苟鏍规嵁闅忔満鏁版帓搴弎uestionItems + tokenSort(array) { + // 浣跨敤token鍒涘缓闅忔満鏁扮敓鎴愬櫒 + let rng = seedrandom(this.memberToken) + if (array) { + array.sort((a,b)=>{ + return rng() - 0.5 + }) + } + console.log("list:", this.questionItems) + }, + step0_next(){ + this.step = "step1" + }, step1_start() { this.step = "step1" this.step1Start = true - this.questionItems.sort(function(i2, i1) { - return (i2.id - i1.id) - }) + // this.questionItems.sort(function(i2, i1) { + // return (i2.id - i1.id) + // }) //test //this.initTestData() //鍥炴樉锛屾病鏈夊彲閫夌殑鏃跺�欙紝杩涘叆涓嬩竴姝� let c = this.sumStep1UnSelectedNum() if (c <= 0 && this.itemSize > 0) { - this.step = "step2" - this.sortQuestions() - this.caculateScoreRangeSelectedById(this.getStep2StepItem(this.step2SubStep).itemOrder) + this.step1_next() } }, step1_next() { @@ -602,9 +654,26 @@ this.$message.error(_this.$t('values_nextStepTips_choices_all')) return } - this.step = "step2" - this.sortQuestions() - this.caculateScoreRangeSelectedById(this.getStep2StepItem(this.step2SubStep).itemOrder) + /* + this.$confirm(_this.$t('values_nextStepTips_tips'), _this.$t('prompt'), { + confirmButtonText: _this.$t('determine'), + cancelButtonText: _this.$t('cancel'), + type: 'warning' + }).then(() => { + _this.step = "step2" + _this.sortQuestions() + _this.caculateScoreRangeSelectedById(this.getStep2StepItem(this.step2SubStep).itemOrder) + }).catch(() => { + + }); + */ + this.step2_0_next() + }, + step2_0_next(){ + let _this = this + _this.step = "step2" + _this.sortQuestions() + _this.caculateScoreRangeSelectedById(this.getStep2StepItem(this.step2SubStep).itemOrder) }, step2_pre() { if (this.step2SubStep > 1) { @@ -614,6 +683,7 @@ step2_next() { let _this = this let stepItem = this.getStep2StepItem(this.step2SubStep) + console.log("questionItems.filter(obj=>Number(obj.content)===0)", this.questionItems.filter(obj=>Number(obj.content)===0)) if (stepItem.selected == stepItem.quantity || this.sumStep2UnSelectedNum() == 0) { _this.answer.verifyStatus = 2 _this.submitSubAnswer() @@ -644,6 +714,11 @@ this.caculateScoreRangeSelectedById(sid, -1) }, step2Add(qid, sid) { + let stepItem = this.getStep2StepItem(this.step2SubStep) + if (stepItem.selected == stepItem.quantity || this.sumStep2UnSelectedNum() == 0) { + this.$message.error(this.$t('values_nextStepTips_del_unnecessary')) + return; + } //console.log("step2Add....",value,qid,sid) this.resetQuestionItemsSubjectIdById(qid, sid) //鍊熺敤subjectId锛屽瓨鍌� this.caculateScoreRangeSelectedById(sid, 1) @@ -827,9 +902,9 @@ sortQuestions() { let type = this.getLikeType(this.step2SubStep) switch (type) { - case 0: //0:鏈�鍍忔垜 - this.questionItems.sort(function(i2, i1) { - return (i2.content == 0) ? -1 : 1 + case 0: //0:鏈�鍍忔垜 鏁板瓧鎺掑簭锛堟暟瀛楀拰鍗囧簭锛� + this.questionItems.sort(function(a, b) { + return a.content - b.content }) break case 1: //1:鏈夌枒闂� @@ -837,9 +912,9 @@ return (i2.content == 1) ? -1 : 1 }) break - case 2: //2:鏈�涓嶅儚鎴� - this.questionItems.sort(function(i2, i1) { - return (i2.content == 2) ? -1 : 1 + case 2: //2:鏈�涓嶅儚鎴� 鏁板瓧鎺掑簭锛堟暟瀛楀拰闄嶅簭锛� + this.questionItems.sort(function(a, b) { + return b.content - a.content }) break } @@ -880,8 +955,19 @@ resetQuestionItemsSubjectIdById(id, value) { for (let item of this.questionItems) { if (item.id == id) { - item["subjectId"] = value - item['content'] = this.getLikeTypeByScoreRangeItemOrder(value) + // 濡傛灉涓簄ull锛屽氨鏄粠閫夋嫨涓彇娑� + if (value == null) { + item["subjectId"] = value + item['content'] = item['tempContent'] + } else { + if (item['content'] != null && item['content'] != undefined) { + item['tempContent'] = item['content'] + } + item["subjectId"] = value + item['content'] = this.getLikeTypeByScoreRangeItemOrder(value) + } + + console.log("鏇存敼content:", item) } } //console.log('resetQuestionItems...', id, value, this.questionItems) @@ -892,6 +978,9 @@ if (this.isNull(item[key])) { item[key] = value if ("subjectId" == key) { + if (item['content'] != null && item['content'] != undefined) { + item['tempContent'] = item['content'] + } item['content'] = this.getLikeTypeByScoreRangeItemOrder(value) } } @@ -962,6 +1051,10 @@ } console.log('initTestData...e', this.questionItems) }, + /** + * 璁剧疆step2ScoreRanges瀛愰」鐨勬楠ら『搴忓強姝h礋璺濈鍊� + * @param {Object} arr + */ initStep2ScoreRanges(arr) { //console.log('initStep2ScoreRanges...s', arr) let _this = this @@ -1007,8 +1100,36 @@ //璁剧疆姣忛」宸查�夋嫨鐨勬暟閲� _this.step2ScoreRanges[i]['selected'] = 0 } - console.log('initStep2ScoreRanges...e', this.step2ScoreRanges) + //console.log('initStep2ScoreRanges...e', this.step2ScoreRanges) + _this.initStep2ScoreRangesStepName() _this.initQuestionItems() + }, + initStep2ScoreRangesStepName(){ + let _this = this + let max = _this.step2ScoreRanges.length + let splitChar = "," + if(_this.$t('values_step_names').indexOf("锛�")>=0){ + splitChar = "锛�" + } + //console.log('lang type',_this.langType) + let names = _this.$t('values_step_names').split(splitChar) + console.log('initStep2ScoreRangesStepName',names) + for (let i = 0; i < _this.step2ScoreRanges.length; i++) { + if(_this.step2ScoreRanges[i]['step'] > names.length){ + _this.step2ScoreRanges[i]['stepName'] = names[names.length-1] + } else { + _this.step2ScoreRanges[i]['stepName'] = names[_this.step2ScoreRanges[i]['step']-1] + } + //璁剧疆鏈�鍚庣殑Step鐨凷tepName涓哄浐瀹氬�� + if(_this.step2ScoreRanges[i]['step'] >= max){ + if(max % 2 == 0){//鍋舵暟 + + } else {//濂囨暟 + _this.step2ScoreRanges[i]['stepName'] = names[names.length-1] + } + } + } + console.log('initStep2ScoreRangesStepName',_this.step2ScoreRanges) }, initQuestionItems(){ let _this = this @@ -1022,6 +1143,15 @@ console.log('initQuestionItems...e', this.questionItems) }, getStep2StepTagType(step) { + if (this.step2SubStep > step) { + return '' + } else if (this.step2SubStep == step) { + return 'success' + } else { + return 'info' + } + }, + getStep2StepTagTypeName(step) { if (this.step2SubStep > step) { return '' } else if (this.step2SubStep == step) { @@ -1177,7 +1307,7 @@ answerItem.startTime = '' } answerItem.completed = true - answerItem.content = this.getContentByQuestionId(answerItem.questionId) + answerItem.content = this.getContentByQuestionId(answerItem.questionId) //this.getLikeTypeByScoreRangeItemOrder(answerItem.subjectId) answerItem.questionReport = { questionOrder: answerItem.questionId, @@ -1220,7 +1350,7 @@ langType: question.langType, //绛旈璇█ partOrder: question.partOrder, //鍒嗙墖 imgUrl: question.imgUrl, //鍥剧墖鍦板潃 - answer: question.content //棰樼洰绛旀 + answer: question.content //棰樼洰绛旀 }) } } @@ -1366,6 +1496,10 @@ margin-top: 45px; } + .text-line { + line-height: 1.5em; + } + .footer { position: absolute; position: fixed; @@ -1377,6 +1511,7 @@ overflow: auto; display: block; -webkit-box-flex: 1; + margin-left: 10px; } .mul-inlinediv { @@ -1400,12 +1535,13 @@ .mul-inlinediv-row { min-height: 100px; - margin: 0 10px; + //margin: 0 10px; } .mul-inlinediv-lineheight { - line-height: 100px; - margin: 3px 0 4px 0; + line-height: 106px; + //margin: 3px 0 4px 0; + //margin: 2px 0; } .mul-inlinediv-item { @@ -1450,14 +1586,21 @@ .mullinediv { display: contents; + width:100%; + } + .noSelect { + width: 100%; + text-align: center; + color: #9f9f9f; + font-size: 14px; } .mullinediv-item { display: flex; display: inline-block; width: 360px; - margin: 5px 4px; - padding: 10px 30px; + margin: 5px 20px 20px 5px; + padding: 30px 30px 10px 30px; box-shadow: 1px 1px 1px grey, 0 0 5px grey, 0 0 10px grey; .tools-button { @@ -1502,4 +1645,37 @@ justify-content: center; width: 100%; } + + .mul-inlinediv-down { + min-width: 16px; + //line-height: 106px; + height: 106px; + background-size: 80% 100%; +background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAABoCAYAAAAAYos6AAAACXBIWXMAABnWAAAZ1gEY0crtAAAGsGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDggNzkuMTY0MDM2LCAyMDE5LzA4LzEzLTAxOjA2OjU3ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgMjEuMCAoV2luZG93cykiIHhtcDpDcmVhdGVEYXRlPSIyMDIzLTAzLTIxVDIxOjM3OjQzKz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V2luZG93cykiIHN0RXZ0OmNoYW5nZWQ9Ii8iLz4gPHJkZjpsaSBzdEV2dDphY3Rpb249InNhdmVkIiBzdEV2dDppbnN0YW5jZUlEPSJ4bXAuaWlkOjA2N2M4NjBlLWJmNmQtM2M0NS1hOWViLWNlNzE5MTEwZGZmMyIgc3RFdnQ6d2hlbj0iMjAyMy0wMy0yMVQyMzowNDowMiswODowMCIgc3RFdnQ6c29mdHdhcmVBZ2VudD0iQWRvYmUgUGhvdG9zaG9wIDIxLjAgKFdpbmRvd3MpIiBzdEV2dDpjaGFuZ2VkPSIvIi8+IDwvcmRmOlNlcT4gPC94bXBNTTpIaXN0b3J5PiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Ph/lkloAAAEzSURBVGiB7ZlBDoMwDASdXuBNPI+P8pTtpb3R2FUWaw1ZiUuFmBJ7HZsYAItc+77DzE6vbdsQecbLCGqthe6jwKIKwY7jWADkwFjSgzGWMAxjAaNvtg6TojBPdX1mlhuzYVAYxgLqxQzAkgZjSS9mHqi2qdNgAOZOzYHJpD4V5qmuz+6b+t8pJAXG0sNhAFaZmJU2dR6MBdRbxlRYekc8d+rLYVFJxkwjG1truTGjwqRSnwrr7dTRJQzDPE1TD2djus+i0ksQmZEp3WdpMHo23ncY9LIxzdS1q/4zR6baVV+mSb0E9kuX1EYPSINFgFQYQ8OnubVro5lIk0qH9YC1a6Mnekc89G/+gX2Ap7/TfTYPWCmwXpNavzYypPdmvZHpvpMnHSZzpFX7SypLtb4WyNbGN9sG+pv7TY3OAAAAAElFTkSuQmCC); + } + .mul-inlinediv-down:first-child { + margin-top: 44px; + height: 62px; + min-height: 62px; + background-size: 80% 100%; + background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAABoCAYAAAAAYos6AAAACXBIWXMAABnWAAAZ1gEY0crtAAAGsGlUWHRYTUw6Y29tLmFkb2JlLnhtcA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FdpbmRvd3MpIiBzdEV2dDpjaGFuZ2VkPSIvIi8+IDwvcmRmOlNlcT4gPC94bXBNTTpIaXN0b3J5PiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Ph/lkloAAAEzSURBVGiB7ZlBDoMwDASdXuBNPI+P8pTtpb3R2FUWaw1ZiUuFmBJ7HZsYAItc+77DzE6vbdsQecbLCGqthe6jwKIKwY7jWADkwFjSgzGWMAxjAaNvtg6TojBPdX1mlhuzYVAYxgLqxQzAkgZjSS9mHqi2qdNgAOZOzYHJpD4V5qmuz+6b+t8pJAXG0sNhAFaZmJU2dR6MBdRbxlRYekc8d+rLYVFJxkwjG1truTGjwqRSnwrr7dTRJQzDPE1TD2djus+i0ksQmZEp3WdpMHo23ncY9LIxzdS1q/4zR6baVV+mSb0E9kuX1EYPSINFgFQYQ8OnubVro5lIk0qH9YC1a6Mnekc89G/+gX2Ap7/TfTYPWCmwXpNavzYypPdmvZHpvpMnHSZzpFX7SypLtb4WyNbGN9sG+pv7TY3OAAAAAElFTkSuQmCC); + } + .mul-inlinediv-down:last-child { + background-size: 82% 60%; + background-repeat: no-repeat; + background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAA4CAYAAAAM7IPNAAAACXBIWXMAABnWAAAZ1gEY0crtAAAGrWlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDggNzkuMTY0MDM2LCAyMDE5LzA4LzEzLTAxOjA2OjU3ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRm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n/VFK4d3b27ui0+myhrtGo0Fut/uvcDhcKUsBX1tb6yMIIqutqqoKOI6b53k+++t6RZJgoihO1dfXZz0PjuOgubk5ZwQWDPN4PD6r1TqP4zgUFV0OwTAM1Go11NbWPhUEYUY2GAAARVGLLMuCRqMBAIDi4mKgKAosFovPbDbLW3mazeZgV1fXk4qKCgAAwHEcOjo6Zmia9kudQ1I0vmk+n88miiIqKipCVVVVaHZ21lPIeKXkVQGAw+EIMwwTymQygl6vf0lR1GIh4wuCAVzemY8ePRJKS0unGIZ5+Z/CmpubnzEM41Or1QWBAAAwucohKfr/lbnvYe9h7x7sHwGftes0162GAAAAAElFTkSuQmCC); + } + + .selectCount { + width: 100%; + height: 40px; + line-height: 40px; + background: #3c8dbc; + border-radius: 5px; + text-align: center; + font-size: 18px; + color: #fff; + font-weight: bold; + margin-bottom: 20px; + } </style> -- Gitblit v1.9.1