yujialong 2 months ago
parent 1b50a851b9
commit 58fc15212f
  1. 55
      src/pages/allocationReview/list/index.vue
  2. 5
      src/pages/allocationReview/list/setup.vue
  3. 22
      src/pages/allocationReview/records/index.vue
  4. 41
      src/pages/myReview/list/index.vue
  5. 26
      src/pages/myReview/records/index.vue
  6. 79
      src/pages/myReview/theoryReview/index.vue

@ -5,13 +5,13 @@
<ul class="filter"> <ul class="filter">
<li> <li>
<label>评阅时间</label> <label>评阅时间</label>
<el-radio-group v-model="filter.month"> <el-radio-group v-model="month" @change="monthChange">
<el-radio v-for="(item, index) in dateList" :key="index" :label="item.id" border>{{ item.name <el-radio v-for="(item, index) in dateList" :key="index" :label="item.id" border>{{ item.name
}}</el-radio> }}</el-radio>
</el-radio-group> </el-radio-group>
<el-date-picker class="m-l-10" v-model="date" align="right" unlink-panels type="daterange" <el-date-picker class="m-l-10" v-model="date" align="right" unlink-panels type="daterange"
start-placeholder="开始日期" end-placeholder="结束日期" format="yyyy-MM-dd" value-format="yyyy-MM-dd" start-placeholder="开始日期" end-placeholder="结束日期" format="yyyy-MM-dd" value-format="yyyy-MM-dd" clearable
clearable></el-date-picker> @change="dateChange"></el-date-picker>
</li> </li>
<li> <li>
<label>评阅阶段</label> <label>评阅阶段</label>
@ -80,7 +80,6 @@ import Setup from './setup'
import Progress from './progress' import Progress from './progress'
import Util from '@/libs/util' import Util from '@/libs/util'
import Setting from '@/setting' import Setting from '@/setting'
import Const from '@/const/ques'
import Qs from 'qs' import Qs from 'qs'
import dayjs from 'dayjs' import dayjs from 'dayjs'
export default { export default {
@ -145,8 +144,8 @@ export default {
}, },
], ],
date: [], date: [],
filter: {
month: '', month: '',
filter: {
startTime: '', startTime: '',
endTime: '', endTime: '',
reviewStage: '', reviewStage: '',
@ -168,24 +167,6 @@ export default {
}; };
}, },
watch: { watch: {
'filter.month': function (val) {
if (val) {
let unit = 24 * 60 * 60 * 1000
this.date = [dayjs(new Date(Date.now() - unit * 30 * val)).format('YYYY-MM-DD'), dayjs(new Date(Date.now() + unit)).format('YYYY-MM-DD')]
} else {
this.date = []
}
},
date: function (val) {
if (val) {
this.filter.startTime = val[0]
this.filter.endTime = val[1]
} else {
this.filter.startTime = ''
this.filter.endTime = ''
}
this.initData()
},
'filter.keyWord': function () { 'filter.keyWord': function () {
clearTimeout(this.searchTimer) clearTimeout(this.searchTimer)
this.searchTimer = setTimeout(this.initData, 500) this.searchTimer = setTimeout(this.initData, 500)
@ -200,12 +181,12 @@ export default {
if (query.page) { if (query.page) {
const { month, startTime, endTime, reviewStage, reviewStatus, taskAllocationStatus, keyWord } = query const { month, startTime, endTime, reviewStage, reviewStatus, taskAllocationStatus, keyWord } = query
this.filter = { this.filter = {
month: !startTime && month ? +month : '',
reviewStage: reviewStage ? +reviewStage : '', reviewStage: reviewStage ? +reviewStage : '',
reviewStatus: reviewStatus ? +reviewStatus : '', reviewStatus: reviewStatus ? +reviewStatus : '',
taskAllocationStatus: taskAllocationStatus ? +taskAllocationStatus : '', taskAllocationStatus: taskAllocationStatus ? +taskAllocationStatus : '',
keyWord: keyWord || '', keyWord: keyWord || '',
} }
this.month = !startTime && month !== '' ? +month : ''
if (startTime) this.date = [startTime, endTime] if (startTime) this.date = [startTime, endTime]
this.$router.push(`/allocationReview`).catch(() => { }) this.$router.push(`/allocationReview`).catch(() => { })
@ -219,6 +200,7 @@ export default {
this.loading = true this.loading = true
const { pageList } = await this.$post(this.api.reviewSettingsList, { const { pageList } = await this.$post(this.api.reviewSettingsList, {
...this.filter, ...this.filter,
isTimed: this.month === 0 ? 1 : 0,
pageNum: this.page, pageNum: this.page,
pageSize: this.pageSize, pageSize: this.pageSize,
platformSource: 0, platformSource: 0,
@ -280,12 +262,35 @@ export default {
}, },
// //
async getNow () { async getNow () {
if (!this.now) {
this.now = await Util.getNow() this.now = await Util.getNow()
clearInterval(this.timer) clearInterval(this.timer)
this.timer = setInterval(() => { this.timer = setInterval(() => {
this.now = new Date(this.now.setSeconds(this.now.getSeconds() + 1)) this.now = new Date(this.now.setSeconds(this.now.getSeconds() + 1))
this.handleStage() this.handleStage()
}, 1000) }, 1000)
}
},
//
monthChange (val) {
if (val) {
const unit = 24 * 60 * 60 * 1000
this.date = [dayjs(new Date(Date.now() - unit * 30 * val)).format('YYYY-MM-DD'), dayjs(new Date(Date.now() + unit)).format('YYYY-MM-DD')]
} else {
this.date = []
}
this.dateChange(this.date)
},
//
dateChange (val) {
if (val && val.length) {
this.filter.startTime = val[0]
this.filter.endTime = val[1]
} else {
this.filter.startTime = ''
this.filter.endTime = ''
}
this.initData()
}, },
// //
@ -301,7 +306,7 @@ export default {
toTask (row) { toTask (row) {
this.$store.commit('user/setReferrer', { this.$store.commit('user/setReferrer', {
i: 1, i: 1,
url: `${this.$route.path}?${Qs.stringify(this.filter)}&page=${this.page}&pageSize=${this.pageSize}` url: `${this.$route.path}?${Qs.stringify(this.filter)}&month=${this.month}&page=${this.page}&pageSize=${this.pageSize}`
}) })
localStorage.setItem('reviewRow', JSON.stringify(row)) localStorage.setItem('reviewRow', JSON.stringify(row))
this.$router.push(`records?competitionId=${row.id}&stageId=${row.stageId}`) this.$router.push(`records?competitionId=${row.id}&stageId=${row.stageId}`)

@ -156,12 +156,13 @@ export default {
async init () { async init () {
this.form = _.cloneDeep(this.originForm) this.form = _.cloneDeep(this.originForm)
this.timed = [] this.timed = []
const { row } = this
// //
if (!this.row.resultsDetails && this.row.hasManualScoreType) { if (!row.resultsDetails && row.hasManualScoreType) {
const now = await Util.getNow() const now = await Util.getNow()
this.timed = [dayjs(now).format('YYYY-MM-DD HH:mm:ss'), ''] this.timed = [dayjs(now).format('YYYY-MM-DD HH:mm:ss'), '']
} }
this.form.isTimed = this.row.resultsDetails ? 0 : 1 // this.form.isTimed = row.resultsDetails ? 0 : 1 //
this.getDetail() this.getDetail()
}, },

@ -7,7 +7,7 @@
<li> <li>
<label>省份</label> <label>省份</label>
<el-select v-model="filter.provinceId" clearable placeholder="请选择省份" @change="provinceChange" <el-select v-model="filter.provinceId" clearable placeholder="请选择省份" @change="provinceChange"
@clear="clearprovince"> @clear="clearProvince">
<el-option v-for="(item, i) in provinces" :key="i" :label="item.provinceName" <el-option v-for="(item, i) in provinces" :key="i" :label="item.provinceName"
:value="item.provinceId"></el-option> :value="item.provinceId"></el-option>
</el-select> </el-select>
@ -15,7 +15,7 @@
<li> <li>
<label>城市</label> <label>城市</label>
<el-select v-model="filter.cityId" clearable placeholder="请选择城市" :disabled="!filter.provinceId" <el-select v-model="filter.cityId" clearable placeholder="请选择城市" :disabled="!filter.provinceId"
@clear="clearcity" @change="cityChange"> @clear="clearCity" @change="cityChange">
<el-option v-for="(item, i) in cities" :key="i" :label="item.cityName" :value="item.cityId"></el-option> <el-option v-for="(item, i) in cities" :key="i" :label="item.cityName" :value="item.cityId"></el-option>
</el-select> </el-select>
</li> </li>
@ -237,25 +237,28 @@ export default {
this.provinces = list this.provinces = list
}, },
// //
clearprovince () { clearProvince () {
this.filter.cityId = '' this.filter.cityId = ''
this.filter.realSchoolId = '' this.filter.realSchoolId = ''
}, },
// //
provinceChange () { provinceChange () {
this.clearprovince() this.clearProvince()
this.getCity() this.getCity()
this.initData() this.initData()
}, },
// //
async getCity () { async getCity () {
const id = this.filter.provinceId
if (id) {
const { list } = await this.$get(this.api.queryCity, { const { list } = await this.$get(this.api.queryCity, {
provinceId: this.filter.provinceId provinceId: id
}) })
this.cities = list this.cities = list
}
}, },
// //
clearcity () { clearCity () {
this.filter.realSchoolId = '' this.filter.realSchoolId = ''
}, },
// //
@ -266,11 +269,14 @@ export default {
}, },
// //
async getSchool () { async getSchool () {
const { provinceId, cityId } = this.filter
if (cityId) {
const { list } = await this.$get(this.api.querySchoolByReadAndAppraise, { const { list } = await this.$get(this.api.querySchoolByReadAndAppraise, {
provinceId: this.filter.provinceId, provinceId,
cityId: this.filter.cityId, cityId,
}) })
this.schools = list this.schools = list
}
}, },

@ -10,8 +10,8 @@
}}</el-radio> }}</el-radio>
</el-radio-group> </el-radio-group>
<el-date-picker class="m-l-10" v-model="date" align="right" unlink-panels type="daterange" <el-date-picker class="m-l-10" v-model="date" align="right" unlink-panels type="daterange"
start-placeholder="开始日期" end-placeholder="结束日期" format="yyyy-MM-dd" value-format="yyyy-MM-dd" start-placeholder="开始日期" end-placeholder="结束日期" format="yyyy-MM-dd" value-format="yyyy-MM-dd" clearable
clearable></el-date-picker> @change="dateChange"></el-date-picker>
</li> </li>
<li> <li>
<label>评阅阶段</label> <label>评阅阶段</label>
@ -124,7 +124,7 @@ export default {
endTime: '', endTime: '',
evaluationResult: '', evaluationResult: '',
evaluationStatus: '', evaluationStatus: '',
keyWord: '', keyword: '',
}, },
now: '', now: '',
timer: null, timer: null,
@ -135,17 +135,7 @@ export default {
}; };
}, },
watch: { watch: {
date: function (val) { 'filter.keyword': function () {
if (val) {
this.filter.startTime = val[0]
this.filter.endTime = val[1]
} else {
this.filter.startTime = ''
this.filter.endTime = ''
}
this.initData()
},
'filter.keyWord': function () {
clearTimeout(this.searchTimer) clearTimeout(this.searchTimer)
this.searchTimer = setTimeout(this.initData, 500) this.searchTimer = setTimeout(this.initData, 500)
}, },
@ -157,13 +147,13 @@ export default {
const { query } = this.$route const { query } = this.$route
if (query.page) { if (query.page) {
const { month, startTime, endTime, evaluationResult, evaluationStatus, keyWord } = query const { month, startTime, endTime, evaluationResult, evaluationStatus, keyword } = query
this.filter = { this.filter = {
evaluationResult: evaluationResult ? +evaluationResult : '', evaluationResult: evaluationResult ? +evaluationResult : '',
evaluationStatus: evaluationStatus ? +evaluationStatus : '', evaluationStatus: evaluationStatus ? +evaluationStatus : '',
keyWord: keyWord || '', keyword: keyword || '',
} }
this.month = !startTime && month ? +month : '' this.month = !startTime && month !== '' ? +month : ''
if (startTime) this.date = [startTime, endTime] if (startTime) this.date = [startTime, endTime]
this.$router.push(`/myReview`).catch(() => { }) this.$router.push(`/myReview`).catch(() => { })
@ -235,12 +225,14 @@ export default {
}, },
// //
async getNow () { async getNow () {
if (!this.now) {
this.now = await Util.getNow() this.now = await Util.getNow()
clearInterval(this.timer) clearInterval(this.timer)
this.timer = setInterval(() => { this.timer = setInterval(() => {
this.now = new Date(this.now.setSeconds(this.now.getSeconds() + 1)) this.now = new Date(this.now.setSeconds(this.now.getSeconds() + 1))
this.handleStage() this.handleStage()
}, 1000) }, 1000)
}
}, },
// //
monthChange (val) { monthChange (val) {
@ -249,15 +241,26 @@ export default {
this.date = [dayjs(new Date(Date.now() - unit * 30 * val)).format('YYYY-MM-DD'), dayjs(new Date(Date.now() + unit)).format('YYYY-MM-DD')] this.date = [dayjs(new Date(Date.now() - unit * 30 * val)).format('YYYY-MM-DD'), dayjs(new Date(Date.now() + unit)).format('YYYY-MM-DD')]
} else { } else {
this.date = [] this.date = []
// this.initData()
} }
this.dateChange(this.date)
},
//
dateChange (val) {
if (val && val.length) {
this.filter.startTime = val[0]
this.filter.endTime = val[1]
} else {
this.filter.startTime = ''
this.filter.endTime = ''
}
this.initData()
}, },
// //
toReview (row) { toReview (row) {
this.$store.commit('user/setReferrer', { this.$store.commit('user/setReferrer', {
i: 1, i: 1,
url: `${this.$route.path}?${Qs.stringify(this.filter)}&page=${this.page}&pageSize=${this.pageSize}` url: `${this.$route.path}?${Qs.stringify(this.filter)}&month=${this.month}&page=${this.page}&pageSize=${this.pageSize}`
}) })
this.$router.push(`records?competitionId=${row.competitionId}&stageId=${row.stageId}`) this.$router.push(`records?competitionId=${row.competitionId}&stageId=${row.stageId}`)
}, },

@ -8,7 +8,7 @@
<li> <li>
<label>省份</label> <label>省份</label>
<el-select v-model="filter.provinceId" clearable placeholder="请选择省份" @change="provinceChange" <el-select v-model="filter.provinceId" clearable placeholder="请选择省份" @change="provinceChange"
@clear="clearprovince"> @clear="clearProvince">
<el-option v-for="(item, i) in provinces" :key="i" :label="item.provinceName" <el-option v-for="(item, i) in provinces" :key="i" :label="item.provinceName"
:value="item.provinceId"></el-option> :value="item.provinceId"></el-option>
</el-select> </el-select>
@ -16,7 +16,7 @@
<li> <li>
<label>城市</label> <label>城市</label>
<el-select v-model="filter.cityId" clearable placeholder="请选择城市" :disabled="!filter.provinceId" <el-select v-model="filter.cityId" clearable placeholder="请选择城市" :disabled="!filter.provinceId"
@clear="clearcity" @change="cityChange"> @clear="clearCity" @change="cityChange">
<el-option v-for="(item, i) in cities" :key="i" :label="item.cityName" :value="item.cityId"></el-option> <el-option v-for="(item, i) in cities" :key="i" :label="item.cityName" :value="item.cityId"></el-option>
</el-select> </el-select>
</li> </li>
@ -228,40 +228,46 @@ export default {
this.provinces = list this.provinces = list
}, },
// //
clearprovince () { clearProvince () {
this.filter.cityId = '' this.filter.cityId = ''
this.filter.realSchoolId = '' this.filter.realSchoolId = ''
}, },
// //
provinceChange () { provinceChange () {
this.clearprovince() this.clearProvince()
this.getCity() this.getCity()
this.initData() this.initData()
}, },
// //
async getCity () { async getCity () {
const id = this.filter.provinceId
if (id) {
const { list } = await this.$get(this.api.queryCity, { const { list } = await this.$get(this.api.queryCity, {
provinceId: this.filter.provinceId provinceId: id
}) })
this.cities = list this.cities = list
}
}, },
// //
clearcity () { clearCity () {
this.filter.schoolId = '' this.filter.realSchoolId = ''
}, },
// //
cityChange () { cityChange () {
this.filter.schoolId = '' this.filter.realSchoolId = ''
this.getSchool() this.getSchool()
this.initData() this.initData()
}, },
// //
async getSchool () { async getSchool () {
const { provinceId, cityId } = this.filter
if (cityId) {
const { list } = await this.$get(this.api.querySchoolByReadAndAppraise, { const { list } = await this.$get(this.api.querySchoolByReadAndAppraise, {
provinceId: this.filter.provinceId, provinceId,
cityId: this.filter.cityId, cityId,
}) })
this.schools = list this.schools = list
}
}, },
// //

@ -30,7 +30,8 @@
<template v-for="(ques, j) in item.userAnswerList"> <template v-for="(ques, j) in item.userAnswerList">
<li v-if="!sheetStatus || sheetStatus === ques.isCorrect" :key="j" :class="'status' + ques.isCorrect" <li v-if="!sheetStatus || sheetStatus === ques.isCorrect" :key="j" :class="'status' + ques.isCorrect"
@click="scrollToQues(ques, item)"> @click="scrollToQues(ques, item)">
<p :class="['serial', { answered: ques.answered, partAnswer: ques.partAnswer }]">{{ j + 1 }}</p> <p :class="['serial', { answered: ques.answered, partAnswer: ques.partAnswer }]">{{
ques.serialNumber }}</p>
<p class="score">{{ ques.originUserScore }}</p> <p class="score">{{ ques.originUserScore }}</p>
</li> </li>
</template> </template>
@ -56,7 +57,7 @@
<div v-for="(ques, j) in item.userAnswerList" :key="j" class="item" :id="'ques' + ques.id"> <div v-for="(ques, j) in item.userAnswerList" :key="j" class="item" :id="'ques' + ques.id">
<div class="stem-wrap"> <div class="stem-wrap">
<div class="labels"> <div class="labels">
<span class="label">{{ j + 1 }} / {{ item.questionNum }}</span> <span class="label">{{ ques.serialNumber }} / {{ item.questionNum }}</span>
<span class="label">{{ item.questionTypeName }}</span> <span class="label">{{ item.questionTypeName }}</span>
</div> </div>
<el-tag class="m-r-5" :type="ques.difficultTheme">{{ ques.difficult }}</el-tag> <el-tag class="m-r-5" :type="ques.difficultTheme">{{ ques.difficult }}</el-tag>
@ -103,7 +104,7 @@
<div v-else>暂无解析</div> <div v-else>暂无解析</div>
</div> </div>
<div :class="['ques-info', { essay: item.questionType === 'essay' }]"> <div :class="['ques-info', { essay: item.questionType === 'essay' && ques.reviewScore === '' }]">
<template v-if="item.questionType === 'essay'"> <template v-if="item.questionType === 'essay'">
<div class="line"> <div class="line">
<span class="line-label">参考答案</span> <span class="line-label">参考答案</span>
@ -273,10 +274,11 @@ export default {
}; };
}, },
mounted () { mounted () {
this.getData() this.switchRecord(0, 1)
this.getData(1)
}, },
methods: { methods: {
async getData () { async getData (init) {
this.loading = true this.loading = true
try { try {
const { userAnswers: outline, report } = await this.$get(`${this.api.reviewTheDetailsReport}?reportId=${this.reportId}&status=${this.curReview}`) const { userAnswers: outline, report } = await this.$get(`${this.api.reviewTheDetailsReport}?reportId=${this.reportId}&status=${this.curReview}`)
@ -351,8 +353,8 @@ export default {
n.isCorrect = n.userScore && n.questionScore === n.userScore ? 1 : (rightLen ? 3 : 2) n.isCorrect = n.userScore && n.questionScore === n.userScore ? 1 : (rightLen ? 3 : 2)
} else if (type === 'essay') { // } else if (type === 'essay') { //
if (!n.userScore) n.userScore = '' if (!n.userScore) n.userScore = ''
if (!n.reviewScore) n.reviewScore = '' if (isNaN(n.reviewScore)) n.reviewScore = ''
n.isCorrect = 4 // this.handleEssayScore(n)
} }
n.originUserScore = n.reviewScore n.originUserScore = n.reviewScore
n.newComments = n.comments || '' n.newComments = n.comments || ''
@ -360,7 +362,12 @@ export default {
paper.push(e) paper.push(e)
} }
}) })
//
if (!paper.length && init) {
this.curReview = 1
this.getData()
return false
}
this.paper = paper this.paper = paper
this.loading = false this.loading = false
@ -368,13 +375,17 @@ export default {
this.loading = false this.loading = false
} }
}, },
//
handleEssayScore (n) {
n.isCorrect = n.reviewScore === '' ? 4 : (n.reviewScore === n.questionScore ? 1 : n.reviewScore ? 3 : 2) // reviewScore 0
},
scrollToSmooth (position, duration) { scrollToSmooth (position, duration) {
let startTime = Date.now() let startTime = Date.now()
function scroll () { function scroll () {
let now = Date.now() let now = Date.now()
let progress = Math.min(1, (now - startTime) / duration) let progress = Math.min(1, (now - startTime) / duration)
document.querySelector('#right').scrollTo(0, position * progress) document.querySelector('#quesWrap').scrollTo(0, position * progress)
if (progress < 1) { if (progress < 1) {
window.requestAnimationFrame(scroll) window.requestAnimationFrame(scroll)
@ -388,7 +399,7 @@ export default {
item.shrink = false item.shrink = false
const el = document.querySelector('#ques' + e.id) const el = document.querySelector('#ques' + e.id)
this.$nextTick(() => { this.$nextTick(() => {
el && this.scrollToSmooth(el.offsetTop - document.querySelector('#right').offsetTop, 200) el && this.scrollToSmooth(el.offsetTop - document.querySelector('#quesWrap').offsetTop, 200)
}) })
}, },
// //
@ -427,6 +438,7 @@ export default {
reviewScore: ques.reviewScore, reviewScore: ques.reviewScore,
}]) }])
ques.originUserScore = ques.reviewScore ques.originUserScore = ques.reviewScore
this.handleEssayScore(ques)
Util.successMsg('保存成功') Util.successMsg('保存成功')
}, },
// //
@ -466,21 +478,53 @@ export default {
Util.successMsg('删除成功') Util.successMsg('删除成功')
}, },
//
async handleLeave (cb) {
const { paper } = this
let invalid = 0
for (const e of paper) {
if (e.userAnswerList.some(n => n.originUserScore !== n.reviewScore)) {
invalid = 1
break
}
}
if (invalid) {
try {
await this.$confirm('还有未保存的分数,是否保存并继续?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning',
closeOnClickModal: false,
})
await this.saveAll()
cb()
} catch (e) { }
} else {
cb()
}
},
// //
async switchRecord (isNext) { async switchRecord (isNext, init) {
this.handleLeave(async () => {
const res = await this.$post(this.api.getTheLabReportIdUpAndDown, { const res = await this.$post(this.api.getTheLabReportIdUpAndDown, {
competitionId: this.competitionId, competitionId: this.competitionId,
stageId: this.stageId, stageId: this.stageId,
currentReportId: this.reportId currentReportId: this.reportId
}) })
this.showNext = !init && !isNext && res.previousReportId ? true : (init ? !!res.nextReportId : !!res.nextNextReportId)
this.showPrev = !init && isNext && res.nextReportId ? true : (init ? !!res.previousReportId : !!res.previousPreviousReportId)
if (!init) {
const id = res[isNext ? 'nextReportId' : 'previousReportId'] const id = res[isNext ? 'nextReportId' : 'previousReportId']
this.showNext = !!res.nextReportId
this.showPrev = !!res.previousReportId
if (id) { if (id) {
this.reportId = id this.reportId = id
this.$router.push(`/theoryReview?id=${id}&u=${this.showUserInfo}&c=${this.competitionId}&s=${this.stageId}`) this.$router.push(`/theoryReview?id=${id}&u=${this.showUserInfo}&m=${this.hasManualScoreType}&c=${this.competitionId}&s=${this.stageId}`)
this.getData() this.getData()
} }
}
})
}, },
// //
async saveAll () { async saveAll () {
@ -495,6 +539,8 @@ export default {
assignmentDetailId: n.assignmentDetailId, assignmentDetailId: n.assignmentDetailId,
reviewScore: n.reviewScore, reviewScore: n.reviewScore,
}) })
n.originUserScore = n.reviewScore
this.handleEssayScore(n)
}) })
}) })
if (params.length) await this.$post(this.api.reviewPaper, params) if (params.length) await this.$post(this.api.reviewPaper, params)
@ -504,7 +550,7 @@ export default {
} }
}, },
close () { close () {
window.close() this.handleLeave(window.close)
}, },
} }
}; };
@ -833,7 +879,7 @@ export default {
} }
.stem { .stem {
max-width: calc(100% - 207px); max-width: calc(100% - 216px);
} }
.ques-info { .ques-info {
@ -853,6 +899,7 @@ export default {
color: #fff; color: #fff;
background-color: #fe9f0a; background-color: #fe9f0a;
transform: rotate(45deg); transform: rotate(45deg);
opacity: .7;
} }
} }
} }

Loading…
Cancel
Save