src/views/demography/login.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/views/exam/paper/guide.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/views/exam/paper/personality.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/views/demography/login.vue
@@ -38,8 +38,6 @@ } else { // _this.doUrl = re.response.doUrl _this.reportTemplateType = re.response.productType console.log("response") console.log(re.response) _this.setMemberTocken(_this.paraMemberToken) _this.setDoUrl(re.response.doUrl) _this.setReportTemplateId(re.response.reportTemplateId) @@ -63,10 +61,8 @@ return } console.log("产品") // APIFan做特殊处理 只有中文 if (_this.reportTemplateType === 'APIFan') { if (_this.reportTemplateType === 'API_Fan') { _this.$i18n.locale = 'zh' _this.setLangType('Chinese') _this.$router.push({ path: '/demography/fill/logo', query: { demographyMenber: _this.memberToken, isStart: false } }) src/views/exam/paper/guide.vue
@@ -7,9 +7,9 @@ <el-main style="padding-top:0%"> <div v-html="formDo.guide"></div> <el-row class="do-align-center"> <el-button v-if="formDo.productType !== 'APIFan'" @click="doExam" type="primary" round>{{$t('startDo')}}</el-button> <el-button v-if="formDo.productType !== 'API_Fan'" @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.productType === 'APIFan'" @click="openExercise" type="primary" round>继续</el-button> <el-button v-if="formDo.productType === 'API_Fan'" @click="openExercise" type="primary" round>继续</el-button> </el-row> </el-main> </el-container> @@ -29,7 +29,7 @@ }, mounted () { // 替换APIFan指导语中的变量 if (this.formDo.productType === 'APIFan') { if (this.formDo.productType === 'API_Fan') { let guide = this.formDo.guide guide = guide.replace('%%fullName%%', this.formDo.memberName) guide = guide.replace('%%company%%', this.formDo.reportCompany) src/views/exam/paper/personality.vue
@@ -198,7 +198,7 @@ if (newVal) { if (this.form) { let productType = this.form.productType if (productType === 'APIFan') { if (productType === 'API_Fan') { newVal = newVal.replace('%%company%%', this.form.reportCompany) this.guideDescirption = newVal } @@ -464,7 +464,7 @@ _this.answer.finish = 1 if (this.form) { let productType = this.form.productType if (productType === 'APIFan') { if (productType === 'API_Fan') { _this.submitAnswer(_this.$t('finishPersonalityInfo_apifan')) } else { _this.submitAnswer(_this.$t('finishPersonalityInfo'))