|
|
|
@ -1,141 +1,76 @@ |
|
|
|
|
<template> |
|
|
|
|
<div> |
|
|
|
|
<el-card shadow="hover" |
|
|
|
|
class="m-b-20 head-card"> |
|
|
|
|
<el-card shadow="hover" class="m-b-20 head-card"> |
|
|
|
|
<div class="flex-between m-b-20"> |
|
|
|
|
<el-page-header v-if="grades.length" |
|
|
|
|
@back="back" |
|
|
|
|
:content="grades[index].stageName + '/排名'"></el-page-header> |
|
|
|
|
<el-page-header v-if="grades.length" @back="back" :content="grades[index].stageName + '/排名'"></el-page-header> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
</el-card> |
|
|
|
|
|
|
|
|
|
<el-card shadow="hover" |
|
|
|
|
v-loading="loading" |
|
|
|
|
class="m-b-20"> |
|
|
|
|
<el-card shadow="hover" v-loading="loading" class="m-b-20"> |
|
|
|
|
<div class="tabs"> |
|
|
|
|
<template v-for="(item, i) in grades"> |
|
|
|
|
<a v-if="i === index || !item.stageId" |
|
|
|
|
:key="i" |
|
|
|
|
class="item" |
|
|
|
|
:class="{active: item.stageId == active}" |
|
|
|
|
@click="tabChange(item.stageId)">{{ item.stageName }}排名</a> |
|
|
|
|
<a v-if="i === index || !item.stageId" :key="i" class="item" :class="{ active: item.stageId == active }" |
|
|
|
|
@click="tabChange(item.stageId)">{{ item.stageName }}排名</a> |
|
|
|
|
</template> |
|
|
|
|
</div> |
|
|
|
|
<div class="flex-between" |
|
|
|
|
style="margin: 20px 0"> |
|
|
|
|
<div class="flex-between" style="margin: 20px 0"> |
|
|
|
|
<div style="display: inline-flex;align-items: center"> |
|
|
|
|
<el-radio v-model="type" |
|
|
|
|
:label="0" |
|
|
|
|
@change="typeChange">默认系统排序</el-radio> |
|
|
|
|
<el-radio v-model="type" |
|
|
|
|
:label="1" |
|
|
|
|
@change="typeChange">手动上传</el-radio> |
|
|
|
|
<el-button type="primary" |
|
|
|
|
:disabled="type === 0" |
|
|
|
|
class="ml20" |
|
|
|
|
@click="batchImport">上传文件</el-button> |
|
|
|
|
<el-radio v-model="type" :label="0" @change="typeChange">默认系统排序</el-radio> |
|
|
|
|
<el-radio v-model="type" :label="1" @change="typeChange">手动上传</el-radio> |
|
|
|
|
<el-button type="primary" :disabled="type === 0" class="ml20" @click="batchImport">上传文件</el-button> |
|
|
|
|
</div> |
|
|
|
|
<div style="display: inline-flex;align-items: center"> |
|
|
|
|
<el-input style="margin-right: 15px" |
|
|
|
|
:placeholder="'请输入' + (competitionType ? '团队名称/队长' : '学生姓名') + '/学校'" |
|
|
|
|
prefix-icon="el-icon-search" |
|
|
|
|
v-model="keyword" |
|
|
|
|
clearable></el-input> |
|
|
|
|
<el-button v-if="!published" |
|
|
|
|
type="primary" |
|
|
|
|
@click="cancelPublish(1)">发布排名</el-button> |
|
|
|
|
<el-input style="margin-right: 15px" :placeholder="'请输入' + (competitionType ? '团队名称/队长' : '学生姓名') + '/学校'" |
|
|
|
|
prefix-icon="el-icon-search" v-model="keyword" clearable></el-input> |
|
|
|
|
<el-button v-if="!published" type="primary" @click="cancelPublish(1)">发布排名</el-button> |
|
|
|
|
<template v-else> |
|
|
|
|
<span style="margin-right: 10px;white-space: nowrap;">{{ publishTime }}发布排名</span> |
|
|
|
|
<el-button type="primary" |
|
|
|
|
@click="cancelPublish(0)">取消发布</el-button> |
|
|
|
|
<el-button type="primary" @click="cancelPublish(0)">取消发布</el-button> |
|
|
|
|
</template> |
|
|
|
|
<el-button v-if="list.length" |
|
|
|
|
type="primary" |
|
|
|
|
:loading="exporting" |
|
|
|
|
@click="exportData">{{ exporting ? '正在导出' : '批量导出' }}</el-button> |
|
|
|
|
<el-button v-if="list.length" type="primary" :loading="exporting" @click="exportData">{{ exporting ? '正在导出' : |
|
|
|
|
'批量导出' |
|
|
|
|
}}</el-button> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<el-table :data="list" |
|
|
|
|
class="table" |
|
|
|
|
ref="table" |
|
|
|
|
stripe |
|
|
|
|
row-key="scoreId" |
|
|
|
|
@selection-change="handleSelectionChange" |
|
|
|
|
header-align="center"> |
|
|
|
|
<el-table-column type="selection" |
|
|
|
|
width="55" |
|
|
|
|
align="center" |
|
|
|
|
:reserve-selection="true"></el-table-column> |
|
|
|
|
<el-table-column type="index" |
|
|
|
|
width="60" |
|
|
|
|
label="排名" |
|
|
|
|
align="center"> |
|
|
|
|
<el-table :data="list" class="table" ref="table" stripe row-key="scoreId" |
|
|
|
|
@selection-change="handleSelectionChange" header-align="center"> |
|
|
|
|
<el-table-column type="selection" width="55" align="center" :reserve-selection="true"></el-table-column> |
|
|
|
|
<el-table-column type="index" width="60" label="排名" align="center"> |
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
{{ scope.$index + (page - 1) * pageSize + 1 }} |
|
|
|
|
</template> |
|
|
|
|
</el-table-column> |
|
|
|
|
<template v-if="competitionType == 1"> |
|
|
|
|
<el-table-column prop="teamName" |
|
|
|
|
label="团队名称" |
|
|
|
|
min-width="150" |
|
|
|
|
align="center"></el-table-column> |
|
|
|
|
<el-table-column prop="leaderName" |
|
|
|
|
label="队长" |
|
|
|
|
min-width="150" |
|
|
|
|
align="center"></el-table-column> |
|
|
|
|
<el-table-column prop="teamName" label="团队名称" min-width="150" align="center"></el-table-column> |
|
|
|
|
<el-table-column prop="leaderName" label="队长" min-width="150" align="center"></el-table-column> |
|
|
|
|
</template> |
|
|
|
|
<el-table-column v-else |
|
|
|
|
prop="userName" |
|
|
|
|
label="学生姓名" |
|
|
|
|
min-width="100" |
|
|
|
|
align="center"></el-table-column> |
|
|
|
|
<el-table-column prop="schoolName" |
|
|
|
|
label="学生账号归属" |
|
|
|
|
min-width="100" |
|
|
|
|
align="center"></el-table-column> |
|
|
|
|
<el-table-column prop="realSchool" |
|
|
|
|
label="学生所在院校" |
|
|
|
|
min-width="100" |
|
|
|
|
align="center"></el-table-column> |
|
|
|
|
<el-table-column prop="timeSum" |
|
|
|
|
label="用时" |
|
|
|
|
width="90" |
|
|
|
|
align="center"> |
|
|
|
|
<el-table-column v-else prop="userName" label="学生姓名" min-width="100" align="center"></el-table-column> |
|
|
|
|
<el-table-column prop="schoolName" label="学生账号归属" min-width="100" align="center"></el-table-column> |
|
|
|
|
<el-table-column prop="realSchool" label="学生所在院校" min-width="100" align="center"></el-table-column> |
|
|
|
|
<el-table-column prop="timeSum" label="用时" width="90" align="center"> |
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
{{ scope.row.timeSum + (scope.row.timeSum === '—' ? '' : 'min') }} |
|
|
|
|
</template> |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column prop="score" |
|
|
|
|
label="分数" |
|
|
|
|
width="90" |
|
|
|
|
align="center"></el-table-column> |
|
|
|
|
<el-table-column label="得分详情" |
|
|
|
|
align="center" |
|
|
|
|
width="160"> |
|
|
|
|
<el-table-column prop="score" label="分数" width="90" align="center"></el-table-column> |
|
|
|
|
<el-table-column label="得分详情" align="center" width="160"> |
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
<el-button v-if="(!competitionType && scope.row.reportId) || competitionType" |
|
|
|
|
type="text" |
|
|
|
|
@click="show(scope.row, scope.$index)">查看</el-button> |
|
|
|
|
<el-button v-if="(!competitionType && scope.row.reportId) || competitionType" type="text" |
|
|
|
|
@click="show(scope.row, scope.$index)">查看</el-button> |
|
|
|
|
</template> |
|
|
|
|
</el-table-column> |
|
|
|
|
</el-table> |
|
|
|
|
<div class="pagination"> |
|
|
|
|
<el-pagination background |
|
|
|
|
layout="total, prev, pager, next" |
|
|
|
|
:total="total" |
|
|
|
|
@current-change="handleCurrentChange" |
|
|
|
|
:current-page="page"> |
|
|
|
|
<el-pagination background layout="total, prev, pager, next" :total="total" @current-change="handleCurrentChange" |
|
|
|
|
:current-page="page"> |
|
|
|
|
</el-pagination> |
|
|
|
|
</div> |
|
|
|
|
</el-card> |
|
|
|
|
|
|
|
|
|
<el-dialog title="团队得分详情" |
|
|
|
|
:visible.sync="teamVisible" |
|
|
|
|
width="900px" |
|
|
|
|
:close-on-click-modal="false"> |
|
|
|
|
<h6 v-if="active" |
|
|
|
|
style="margin-bottom: 10px;font-size: 16px;">团队名称:{{ curRow.teamName }} 阶段名称:{{ stageName }}</h6> |
|
|
|
|
<el-dialog title="团队得分详情" :visible.sync="teamVisible" width="900px" :close-on-click-modal="false"> |
|
|
|
|
<h6 v-if="active" style="margin-bottom: 10px;font-size: 16px;">团队名称:{{ curRow.teamName }} 阶段名称:{{ stageName }} |
|
|
|
|
</h6> |
|
|
|
|
<table class="table tc"> |
|
|
|
|
<tr> |
|
|
|
|
<template v-if="!active"> |
|
|
|
@ -150,12 +85,10 @@ |
|
|
|
|
<th width="100">得分详情</th> |
|
|
|
|
</tr> |
|
|
|
|
<template v-if="teams.length"> |
|
|
|
|
<tr v-for="(item, i) in teams" |
|
|
|
|
:key="i"> |
|
|
|
|
<tr v-for="(item, i) in teams" :key="i"> |
|
|
|
|
<template v-if="!active && item.rowspan"> |
|
|
|
|
<td :rowspan="item.rowspan">{{ item.stageName }}</td> |
|
|
|
|
<td class="scores" |
|
|
|
|
:rowspan="item.rowspan"> |
|
|
|
|
<td class="scores" :rowspan="item.rowspan"> |
|
|
|
|
<p class="score">{{ item.teamScore }}</p> |
|
|
|
|
<p>{{ item.teamCalculationMethodName }}</p> |
|
|
|
|
<template v-if="isPointWeight"> |
|
|
|
@ -171,13 +104,10 @@ |
|
|
|
|
<td>{{ item.timeSum }}min</td> |
|
|
|
|
<td>{{ item.score }}</td> |
|
|
|
|
<td> |
|
|
|
|
<el-button v-if="item.reportId" |
|
|
|
|
type="text" |
|
|
|
|
@click="toReport(item)">查看</el-button> |
|
|
|
|
<el-button v-if="item.reportId" type="text" @click="toReport(item)">查看</el-button> |
|
|
|
|
</td> |
|
|
|
|
</template> |
|
|
|
|
<td v-else |
|
|
|
|
colspan="6"></td> |
|
|
|
|
<td v-else colspan="6"></td> |
|
|
|
|
</tr> |
|
|
|
|
</template> |
|
|
|
|
<tr v-else> |
|
|
|
@ -189,91 +119,59 @@ |
|
|
|
|
<td colspan="6">总排名:第{{ curRow.index }}名</td> |
|
|
|
|
</tr> |
|
|
|
|
</table> |
|
|
|
|
<span slot="footer" |
|
|
|
|
class="dialog-footer"> |
|
|
|
|
<el-button size="small" |
|
|
|
|
type="primary" |
|
|
|
|
@click="teamVisible = false">确定</el-button> |
|
|
|
|
<span slot="footer" class="dialog-footer"> |
|
|
|
|
<el-button size="small" type="primary" @click="teamVisible = false">确定</el-button> |
|
|
|
|
</span> |
|
|
|
|
</el-dialog> |
|
|
|
|
|
|
|
|
|
<el-dialog title="批量导入" |
|
|
|
|
:visible.sync="importVisible" |
|
|
|
|
width="24%" |
|
|
|
|
:close-on-click-modal="false" |
|
|
|
|
@close="cancelUpload"> |
|
|
|
|
<el-dialog title="批量导入" :visible.sync="importVisible" width="24%" :close-on-click-modal="false" |
|
|
|
|
@close="cancelUpload"> |
|
|
|
|
<div style="text-align: center"> |
|
|
|
|
<template v-if="!uploadFaild"> |
|
|
|
|
<div style="margin-bottom: 10px;"> |
|
|
|
|
<el-button type="primary" |
|
|
|
|
@click="download">模板下载<i class="el-icon-download el-icon--right"></i></el-button> |
|
|
|
|
<el-button type="primary" @click="download">模板下载<i class="el-icon-download el-icon--right"></i></el-button> |
|
|
|
|
</div> |
|
|
|
|
<el-upload ref="upload" |
|
|
|
|
name="file" |
|
|
|
|
accept=".xls,.xlsx" |
|
|
|
|
class="import-file" |
|
|
|
|
:before-upload="beforeUpload" |
|
|
|
|
:on-remove="handleRemove" |
|
|
|
|
:on-error="uploadError" |
|
|
|
|
:on-success="uploadSuccess" |
|
|
|
|
:before-remove="beforeRemove" |
|
|
|
|
:limit="1" |
|
|
|
|
:on-exceed="handleExceed" |
|
|
|
|
:action="this.api.batchImportRanking" |
|
|
|
|
:file-list="uploadList" |
|
|
|
|
:headers="headers" |
|
|
|
|
:disabled="uploading" |
|
|
|
|
:data="{ |
|
|
|
|
competitionId: this.id, |
|
|
|
|
stageId: this.stageId, |
|
|
|
|
isOverallRanking: active ? 0 : 1, |
|
|
|
|
schoolId: '' |
|
|
|
|
}"> |
|
|
|
|
<el-button type="primary" |
|
|
|
|
:loading="uploading" |
|
|
|
|
class="ml20">上传文件<i class="el-icon-upload2 el-icon--right"></i></el-button> |
|
|
|
|
<el-upload ref="upload" name="file" accept=".xls,.xlsx" class="import-file" :before-upload="beforeUpload" |
|
|
|
|
:on-remove="handleRemove" :on-error="uploadError" :on-success="uploadSuccess" :before-remove="beforeRemove" |
|
|
|
|
:limit="1" :on-exceed="handleExceed" :action="this.api.batchImportRanking" :file-list="uploadList" |
|
|
|
|
:headers="headers" :disabled="uploading" :data="{ |
|
|
|
|
competitionId: this.id, |
|
|
|
|
stageId: this.stageId, |
|
|
|
|
isOverallRanking: active ? 0 : 1, |
|
|
|
|
schoolId: '' |
|
|
|
|
}"> |
|
|
|
|
<el-button type="primary" :loading="uploading" class="ml20">上传文件<i |
|
|
|
|
class="el-icon-upload2 el-icon--right"></i></el-button> |
|
|
|
|
</el-upload> |
|
|
|
|
</template> |
|
|
|
|
<template v-else> |
|
|
|
|
<p style="margin: -10px 0 13px;font-size: 14px;color: #e90000;">{{ faildData.tip }}</p> |
|
|
|
|
<p type="primary" |
|
|
|
|
style="margin-bottom: 10px;font-size: 14px;color: #9076FF;text-decoration: underline;cursor: pointer;" |
|
|
|
|
@click="showFaild">部分数据导入失败,查看失败原因</p> |
|
|
|
|
style="margin-bottom: 10px;font-size: 14px;color: #9076FF;text-decoration: underline;cursor: pointer;" |
|
|
|
|
@click="showFaild">部分数据导入失败,查看失败原因</p> |
|
|
|
|
</template> |
|
|
|
|
</div> |
|
|
|
|
<span v-if="uploading" |
|
|
|
|
slot="footer" |
|
|
|
|
class="dialog-footer"> |
|
|
|
|
<span v-if="uploading" slot="footer" class="dialog-footer"> |
|
|
|
|
<el-button @click="cancelUpload">停止导入</el-button> |
|
|
|
|
</span> |
|
|
|
|
</el-dialog> |
|
|
|
|
|
|
|
|
|
<el-dialog title="请选择发布排名时间" |
|
|
|
|
:visible.sync="publishVisible" |
|
|
|
|
width="260px" |
|
|
|
|
:close-on-click-modal="false" |
|
|
|
|
custom-class="publish-dia"> |
|
|
|
|
<el-date-picker popper-class="no-atTheMoment" |
|
|
|
|
v-model="publishTime" |
|
|
|
|
placeholder="请选择结束时间" |
|
|
|
|
type="datetime" |
|
|
|
|
:picker-options="pickerOptions"> |
|
|
|
|
<el-dialog title="请选择发布排名时间" :visible.sync="publishVisible" width="260px" :close-on-click-modal="false" |
|
|
|
|
custom-class="publish-dia"> |
|
|
|
|
<el-date-picker popper-class="no-atTheMoment" v-model="publishTime" placeholder="请选择结束时间" type="datetime" |
|
|
|
|
:picker-options="pickerOptions"> |
|
|
|
|
</el-date-picker> |
|
|
|
|
<span slot="footer" |
|
|
|
|
class="dialog-footer"> |
|
|
|
|
<el-button size="small" |
|
|
|
|
@click="publishVisible = false">取 消</el-button> |
|
|
|
|
<el-button size="small" |
|
|
|
|
type="primary" |
|
|
|
|
@click="publishTimeSubmit">确 定</el-button> |
|
|
|
|
<span slot="footer" class="dialog-footer"> |
|
|
|
|
<el-button size="small" @click="publishVisible = false">取 消</el-button> |
|
|
|
|
<el-button size="small" type="primary" @click="publishTimeSubmit">确 定</el-button> |
|
|
|
|
</span> |
|
|
|
|
</el-dialog> |
|
|
|
|
</div> |
|
|
|
|
</template> |
|
|
|
|
|
|
|
|
|
<script> |
|
|
|
|
import util from "@/libs/util"; |
|
|
|
|
import axios from 'axios'; |
|
|
|
|
import Util from '@/libs/util' |
|
|
|
|
import axios from 'axios' |
|
|
|
|
export default { |
|
|
|
|
data () { |
|
|
|
|
return { |
|
|
|
@ -613,7 +511,7 @@ export default { |
|
|
|
|
headers: this.headers, |
|
|
|
|
responseType: 'blob' |
|
|
|
|
}).then((res) => { |
|
|
|
|
util.downloadFileDirect(`${this.grades.find(e => e.stageId == this.active).stageName}排名.xls`, new Blob([res.data])) |
|
|
|
|
Util.downloadFileDirect(`${this.grades.find(e => e.stageId == this.active).stageName}排名.xls`, new Blob([res.data])) |
|
|
|
|
this.exporting = false |
|
|
|
|
}).catch(res => { }) |
|
|
|
|
}, |
|
|
|
@ -623,7 +521,7 @@ export default { |
|
|
|
|
competitionId: this.id, |
|
|
|
|
isOverallRanking: this.active ? 0 : 1, |
|
|
|
|
publicationType: this.type, |
|
|
|
|
releaseTime: util.formatDate("yyyy-MM-dd hh:mm:ss", this.publishTime), |
|
|
|
|
releaseTime: Util.formatDate("yyyy-MM-dd hh:mm:ss", this.publishTime), |
|
|
|
|
stageId: this.active || this.stageId, |
|
|
|
|
}) |
|
|
|
|
this.uploadData = [] |
|
|
|
@ -662,7 +560,8 @@ export default { |
|
|
|
|
// 定时发布排名 |
|
|
|
|
async publishTimeSubmit () { |
|
|
|
|
const { startTime, endTime } = this.grades[this.index] |
|
|
|
|
if (Date.now() <= new Date(endTime)) return util.errorMsg('当前阶段还在进行中,请在本阶段结束后再发布!') |
|
|
|
|
const now = await Util.getNow() |
|
|
|
|
if (now <= new Date(endTime)) return Util.errorMsg('当前阶段还在进行中,请在本阶段结束后再发布!') |
|
|
|
|
|
|
|
|
|
this.publishSubmit() |
|
|
|
|
// await this.$post(this.api.addCompetitionStageRankingTime, { |
|
|
|
@ -670,10 +569,10 @@ export default { |
|
|
|
|
// isOverallRanking: this.active ? 0 : 1, |
|
|
|
|
// publicationType: this.type, |
|
|
|
|
// stageId: this.active || this.stageId, |
|
|
|
|
// releaseTime: util.formatDate("yyyy-MM-dd hh:mm:ss", this.publishTime) |
|
|
|
|
// releaseTime: Util.formatDate("yyyy-MM-dd hh:mm:ss", this.publishTime) |
|
|
|
|
// }) |
|
|
|
|
|
|
|
|
|
util.successMsg('发布成功') |
|
|
|
|
Util.successMsg('发布成功') |
|
|
|
|
this.getData() |
|
|
|
|
this.uploaded = 0 |
|
|
|
|
this.publishVisible = false |
|
|
|
@ -691,7 +590,7 @@ export default { |
|
|
|
|
if (publish) { |
|
|
|
|
// 如果是手动发布,并且没有上传排名,则提示 |
|
|
|
|
if (this.type && !this.uploaded && !this.list.length) { |
|
|
|
|
return util.errorMsg('请先上传数据!') |
|
|
|
|
return Util.errorMsg('请先上传数据!') |
|
|
|
|
} else { |
|
|
|
|
this.publishTime = new Date() |
|
|
|
|
this.publishVisible = true |
|
|
|
@ -707,7 +606,7 @@ export default { |
|
|
|
|
this.sourceType = '' |
|
|
|
|
this.type = 0 |
|
|
|
|
this.getData() |
|
|
|
|
util.successMsg('取消发布成功!') |
|
|
|
|
Util.successMsg('取消发布成功!') |
|
|
|
|
} catch (error) { } |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
@ -723,7 +622,7 @@ export default { |
|
|
|
|
}, |
|
|
|
|
// 上传文件 |
|
|
|
|
handleExceed (files, fileList) { |
|
|
|
|
util.warningMsg( |
|
|
|
|
Util.warningMsg( |
|
|
|
|
`当前限制选择 1 个文件,如需更换,请删除上一个文件再重新选择!` |
|
|
|
|
) |
|
|
|
|
}, |
|
|
|
@ -733,7 +632,7 @@ export default { |
|
|
|
|
headers: this.headers, |
|
|
|
|
responseType: 'blob' |
|
|
|
|
}).then((res) => { |
|
|
|
|
util.downloadFileDirect(`批量导入排名管理失败数据导出.xls`, new Blob([res.data])) |
|
|
|
|
Util.downloadFileDirect(`批量导入排名管理失败数据导出.xls`, new Blob([res.data])) |
|
|
|
|
}).catch(res => { }) |
|
|
|
|
}, |
|
|
|
|
uploadSuccess (res) { |
|
|
|
@ -749,11 +648,11 @@ export default { |
|
|
|
|
} else { |
|
|
|
|
this.uploaded = 1 |
|
|
|
|
this.importVisible = false |
|
|
|
|
util.successMsg(data.tip, 3000) |
|
|
|
|
// util.successMsg('请检查数据后,点击发布排名以发布数据!') |
|
|
|
|
Util.successMsg(data.tip, 3000) |
|
|
|
|
// Util.successMsg('请检查数据后,点击发布排名以发布数据!') |
|
|
|
|
} |
|
|
|
|
} else { |
|
|
|
|
util.errorMsg(res.message || "上传失败,请检查数据") |
|
|
|
|
Util.errorMsg(res.message || "上传失败,请检查数据") |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
uploadError (err, file, fileList) { |
|
|
|
@ -793,34 +692,40 @@ export default { |
|
|
|
|
|
|
|
|
|
<style lang="scss" scoped> |
|
|
|
|
.table { |
|
|
|
|
width: 100%; |
|
|
|
|
border-collapse: collapse; |
|
|
|
|
th, |
|
|
|
|
td { |
|
|
|
|
padding: 12px; |
|
|
|
|
border: 1px solid #ebeef5; |
|
|
|
|
} |
|
|
|
|
&.tc { |
|
|
|
|
text-align: center; |
|
|
|
|
} |
|
|
|
|
th { |
|
|
|
|
text-align: center; |
|
|
|
|
background-color: #f8faff; |
|
|
|
|
} |
|
|
|
|
.scores { |
|
|
|
|
line-height: 1.6; |
|
|
|
|
} |
|
|
|
|
.score { |
|
|
|
|
font-size: 16px; |
|
|
|
|
font-weight: 600; |
|
|
|
|
color: #9076ff; |
|
|
|
|
} |
|
|
|
|
width: 100%; |
|
|
|
|
border-collapse: collapse; |
|
|
|
|
|
|
|
|
|
th, |
|
|
|
|
td { |
|
|
|
|
padding: 12px; |
|
|
|
|
border: 1px solid #ebeef5; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
&.tc { |
|
|
|
|
text-align: center; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
th { |
|
|
|
|
text-align: center; |
|
|
|
|
background-color: #f8faff; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.scores { |
|
|
|
|
line-height: 1.6; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.score { |
|
|
|
|
font-size: 16px; |
|
|
|
|
font-weight: 600; |
|
|
|
|
color: #9076ff; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/deep/.import-file { |
|
|
|
|
.el-progress__text, |
|
|
|
|
.el-progress, |
|
|
|
|
.el-upload-list__item-status-label { |
|
|
|
|
display: none !important; |
|
|
|
|
} |
|
|
|
|
.el-progress__text, |
|
|
|
|
.el-progress, |
|
|
|
|
.el-upload-list__item-status-label { |
|
|
|
|
display: none !important; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
</style> |