|
|
@ -1,216 +1,137 @@ |
|
|
|
<template> |
|
|
|
<template> |
|
|
|
<div class="wrap"> |
|
|
|
<div class="wrap"> |
|
|
|
<el-card shadow="hover" |
|
|
|
<el-card shadow="hover" class="m-b-20"> |
|
|
|
class="m-b-20"> |
|
|
|
<el-page-header @back="$router.back()" content="查看报告"></el-page-header> |
|
|
|
<el-page-header @back="$router.back()" |
|
|
|
|
|
|
|
content="查看报告"></el-page-header> |
|
|
|
|
|
|
|
</el-card> |
|
|
|
</el-card> |
|
|
|
|
|
|
|
|
|
|
|
<div class="content" |
|
|
|
<div class="content" v-loading="loading"> |
|
|
|
v-loading="loading"> |
|
|
|
|
|
|
|
<div class="text-right"> |
|
|
|
<div class="text-right"> |
|
|
|
<el-button type="primary" |
|
|
|
<el-button type="primary" @click="exportPage">导出报告</el-button> |
|
|
|
@click="exportPage">导出报告</el-button> |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<h6 class="r-title">标准实验报告</h6> |
|
|
|
<h6 class="r-title">标准实验报告</h6> |
|
|
|
<div class="info"> |
|
|
|
<div class="info"> |
|
|
|
<h6 class="l-title"> |
|
|
|
<h6 class="l-title"> |
|
|
|
<img src="@/assets/img/info1.png" |
|
|
|
<img src="@/assets/img/info1.png" alt=""> |
|
|
|
alt=""> |
|
|
|
|
|
|
|
基本信息 |
|
|
|
基本信息 |
|
|
|
</h6> |
|
|
|
</h6> |
|
|
|
<ul :class="['info-list', {edit: editing}]"> |
|
|
|
<ul :class="['info-list', { edit: editing }]"> |
|
|
|
<li> |
|
|
|
<li> |
|
|
|
<label>学生姓名:</label> |
|
|
|
<label>学生姓名:</label> |
|
|
|
<el-input v-if="editing" |
|
|
|
<el-input v-if="editing" v-model="infoData.userName" disabled></el-input> |
|
|
|
v-model="infoData.userName" |
|
|
|
|
|
|
|
disabled></el-input> |
|
|
|
|
|
|
|
<span v-else>{{ infoData.userName }}</span> |
|
|
|
<span v-else>{{ infoData.userName }}</span> |
|
|
|
</li> |
|
|
|
</li> |
|
|
|
<li> |
|
|
|
<li> |
|
|
|
<label>学生学号:</label> |
|
|
|
<label>学生学号:</label> |
|
|
|
<el-input v-if="editing" |
|
|
|
<el-input v-if="editing" v-model="infoData.workNumber" disabled></el-input> |
|
|
|
v-model="infoData.workNumber" |
|
|
|
|
|
|
|
disabled></el-input> |
|
|
|
|
|
|
|
<span v-else>{{ infoData.workNumber }}</span> |
|
|
|
<span v-else>{{ infoData.workNumber }}</span> |
|
|
|
</li> |
|
|
|
</li> |
|
|
|
<li> |
|
|
|
<li> |
|
|
|
<label>实验时间:</label> |
|
|
|
<label>实验时间:</label> |
|
|
|
<el-input v-if="editing" |
|
|
|
<el-input v-if="editing" v-model="infoData.submitTime" disabled></el-input> |
|
|
|
v-model="infoData.submitTime" |
|
|
|
|
|
|
|
disabled></el-input> |
|
|
|
|
|
|
|
<span v-else>{{ infoData.submitTime }}</span> |
|
|
|
<span v-else>{{ infoData.submitTime }}</span> |
|
|
|
</li> |
|
|
|
</li> |
|
|
|
<li> |
|
|
|
<li> |
|
|
|
<label>实验成绩:</label> |
|
|
|
<label>实验成绩:</label> |
|
|
|
<el-input v-if="editing" |
|
|
|
<el-input v-if="editing" v-model="infoData.score" disabled></el-input> |
|
|
|
v-model="infoData.score" |
|
|
|
<div v-else class="score-wrap"> |
|
|
|
disabled></el-input> |
|
|
|
|
|
|
|
<div v-else |
|
|
|
|
|
|
|
class="score-wrap"> |
|
|
|
|
|
|
|
<em>{{ infoData.score }}</em> |
|
|
|
<em>{{ infoData.score }}</em> |
|
|
|
<img src="@/assets/img/point.png" |
|
|
|
<img src="@/assets/img/point.png" alt=""> |
|
|
|
alt=""> |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</li> |
|
|
|
</li> |
|
|
|
<li> |
|
|
|
<li> |
|
|
|
<label>学生班级:</label> |
|
|
|
<label>学生班级:</label> |
|
|
|
<el-input v-if="editing" |
|
|
|
<el-input v-if="editing" v-model="infoData.className"></el-input> |
|
|
|
v-model="infoData.className"></el-input> |
|
|
|
|
|
|
|
<span v-else>{{ infoData.className }}</span> |
|
|
|
<span v-else>{{ infoData.className }}</span> |
|
|
|
</li> |
|
|
|
</li> |
|
|
|
<li> |
|
|
|
<li> |
|
|
|
<label>指导老师:</label> |
|
|
|
<label>指导老师:</label> |
|
|
|
<el-input v-if="editing" |
|
|
|
<el-input v-if="editing" v-model="infoData.instructor"></el-input> |
|
|
|
v-model="infoData.instructor"></el-input> |
|
|
|
|
|
|
|
<span v-else>{{ infoData.instructor }}</span> |
|
|
|
<span v-else>{{ infoData.instructor }}</span> |
|
|
|
</li> |
|
|
|
</li> |
|
|
|
<li> |
|
|
|
<li> |
|
|
|
<label>实验学时:</label> |
|
|
|
<label>实验学时:</label> |
|
|
|
<el-input v-if="editing" |
|
|
|
<el-input v-if="editing" v-model="infoData.period"></el-input> |
|
|
|
v-model="infoData.period"></el-input> |
|
|
|
|
|
|
|
<span v-else>{{ infoData.period }}</span> |
|
|
|
<span v-else>{{ infoData.period }}</span> |
|
|
|
</li> |
|
|
|
</li> |
|
|
|
</ul> |
|
|
|
</ul> |
|
|
|
<div class="m-b-20"> |
|
|
|
<div class="m-b-20"> |
|
|
|
<h6 class="l-title"> |
|
|
|
<h6 class="l-title"> |
|
|
|
<img src="@/assets/img/report2.png" |
|
|
|
<img src="@/assets/img/report2.png" alt=""> |
|
|
|
alt=""> |
|
|
|
|
|
|
|
实验项目名称 |
|
|
|
实验项目名称 |
|
|
|
</h6> |
|
|
|
</h6> |
|
|
|
<el-input v-if="editing" |
|
|
|
<el-input v-if="editing" v-model="form.projectName" type="textarea"></el-input> |
|
|
|
v-model="form.projectName" |
|
|
|
<div v-else class="pre-wrap" v-html="form.projectName"></div> |
|
|
|
type="textarea"></el-input> |
|
|
|
|
|
|
|
<div v-else |
|
|
|
|
|
|
|
class="pre-wrap" |
|
|
|
|
|
|
|
v-html="form.projectName"></div> |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="m-b-20"> |
|
|
|
<div class="m-b-20"> |
|
|
|
<h6 class="l-title"> |
|
|
|
<h6 class="l-title"> |
|
|
|
<img src="@/assets/img/report3.png" |
|
|
|
<img src="@/assets/img/report3.png" alt=""> |
|
|
|
alt=""> |
|
|
|
|
|
|
|
实验目的 |
|
|
|
实验目的 |
|
|
|
</h6> |
|
|
|
</h6> |
|
|
|
<div :class="['pre-wrap', {edit: editing}]" |
|
|
|
<div :class="['pre-wrap', { edit: editing }]" v-html="form.purpose"></div> |
|
|
|
v-html="form.purpose"></div> |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="m-b-20"> |
|
|
|
<div class="m-b-20"> |
|
|
|
<h6 class="l-title"> |
|
|
|
<h6 class="l-title"> |
|
|
|
<img src="@/assets/img/report4.png" |
|
|
|
<img src="@/assets/img/report4.png" alt=""> |
|
|
|
alt=""> |
|
|
|
|
|
|
|
实验数据 |
|
|
|
实验数据 |
|
|
|
</h6> |
|
|
|
</h6> |
|
|
|
<el-table :data="expData" |
|
|
|
<el-table :data="expData" class="table" border stripe header-align="center"> |
|
|
|
class="table" |
|
|
|
<el-table-column type="index" label="序号" align="center" width="60"> |
|
|
|
border |
|
|
|
|
|
|
|
stripe |
|
|
|
|
|
|
|
header-align="center"> |
|
|
|
|
|
|
|
<el-table-column type="index" |
|
|
|
|
|
|
|
label="序号" |
|
|
|
|
|
|
|
align="center" |
|
|
|
|
|
|
|
width="60"> |
|
|
|
|
|
|
|
<template slot-scope="scope"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
{{ scope.$index + 1 }} |
|
|
|
{{ scope.$index + 1 }} |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="judgmentName" |
|
|
|
<el-table-column prop="judgmentName" label="判分点" :key="1" width="270" align="center"></el-table-column> |
|
|
|
label="判分点" |
|
|
|
<el-table-column v-if="isLc" prop="judgmentName" label="考核点" :key="2" align="center" width="150"> |
|
|
|
:key="1" |
|
|
|
|
|
|
|
width="270" |
|
|
|
|
|
|
|
align="center"></el-table-column> |
|
|
|
|
|
|
|
<el-table-column v-if='project' |
|
|
|
|
|
|
|
prop="judgmentName" |
|
|
|
|
|
|
|
label="考核点" |
|
|
|
|
|
|
|
:key="2" |
|
|
|
|
|
|
|
align="center" |
|
|
|
|
|
|
|
width="150"> |
|
|
|
|
|
|
|
<template slot-scope="scope"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<div v-for="(item, index) in scope.row.lcRuleRecords" |
|
|
|
<div v-for="(item, i) in scope.row.lcRuleRecords" :key="i" class="rule-line"> |
|
|
|
:key="index"> |
|
|
|
<span>{{ item.index }}. </span>{{ item.name }} |
|
|
|
<span> |
|
|
|
<p v-if="item.ruleOperation === '或'" class="m-t-5 m-b-5"> |
|
|
|
<span>{{index+1}}. </span>{{item.name}} |
|
|
|
{{ item.ruleOperation === '或' ? '或' : '' }}</p> |
|
|
|
</span> |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="ruleAnswer" |
|
|
|
<el-table-column prop="ruleAnswer" label="参考答案" :key="3" style="word-wrap: break-word"> |
|
|
|
label="参考答案" |
|
|
|
|
|
|
|
:key="3" |
|
|
|
|
|
|
|
style='word-wrap: break-word'> |
|
|
|
|
|
|
|
<template slot-scope="scope"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<div v-if='scope.row.lcRuleRecords'> |
|
|
|
<div v-if="scope.row.lcRuleRecords"> |
|
|
|
<div v-for="(item, index) in scope.row.lcRuleRecords" |
|
|
|
<div v-for="(item, i) in scope.row.lcRuleRecords" :key="i" class="rule-line"> |
|
|
|
:key="index"> |
|
|
|
<span>{{ item.index }}. </span>{{ item.ruleAnswer }} |
|
|
|
<span> |
|
|
|
<p v-if="item.ruleOperation === '或'" class="p-l-10 m-t-5 m-b-5"> |
|
|
|
<span>{{index+1}}. </span>{{item.ruleAnswer}} |
|
|
|
{{ item.ruleOperation === '或' ? '或' : '' }}</p> |
|
|
|
</span> |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div v-else |
|
|
|
<div v-else v-html="scope.row.referenceAnswer"></div> |
|
|
|
v-html="scope.row.referenceAnswer"></div> |
|
|
|
|
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="userAnswer" |
|
|
|
<el-table-column prop="userAnswer" :key="4" label="学生答案"> |
|
|
|
:key="4" |
|
|
|
|
|
|
|
label="学生答案"> |
|
|
|
|
|
|
|
<template slot-scope="scope"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<div v-if='scope.row.lcRuleRecords'> |
|
|
|
<div v-if="scope.row.lcStudentAnswer"> |
|
|
|
<div v-for="(item, index) in scope.row.lcRuleRecords" |
|
|
|
<div v-for="(item, i) in scope.row.lcStudentAnswer" :key="i" class="rule-line"> |
|
|
|
:key="index"> |
|
|
|
{{ i + 1 }}. {{ item.userAnswer || '未填写' }} |
|
|
|
{{index+1}}. {{item.userAnswer || '未填写'}} |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div v-else |
|
|
|
<div v-else v-html="scope.row.answer" style="white-space: pre-wrap"></div> |
|
|
|
v-html='scope.row.answer' |
|
|
|
|
|
|
|
style='white-space: pre-wrap'></div> |
|
|
|
|
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column v-if="!project" |
|
|
|
<el-table-column v-if="!isLc" prop="runResult" label="学生运行结果" :key="5" align="center"> |
|
|
|
prop="runResult" |
|
|
|
|
|
|
|
label="学生运行结果" |
|
|
|
|
|
|
|
:key="5" |
|
|
|
|
|
|
|
align="center"> |
|
|
|
|
|
|
|
<template slot-scope="scope"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<div class="m-b-20" |
|
|
|
<div class="m-b-20" v-html="scope.row.runResult" style="white-space: pre-wrap"></div> |
|
|
|
v-html='scope.row.runResult' |
|
|
|
|
|
|
|
style='white-space: pre-wrap'></div> |
|
|
|
|
|
|
|
<template v-if="scope.row.runThePictureList"> |
|
|
|
<template v-if="scope.row.runThePictureList"> |
|
|
|
<img v-for="(img, i) in scope.row.runThePictureList" |
|
|
|
<img v-for="(img, i) in scope.row.runThePictureList" :key="i" width="200" class="result-pic" |
|
|
|
:key="i" |
|
|
|
:src="img" alt=""> |
|
|
|
width="200" |
|
|
|
|
|
|
|
class="result-pic" |
|
|
|
|
|
|
|
:src="img" |
|
|
|
|
|
|
|
alt=""> |
|
|
|
|
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="quesScore" |
|
|
|
<el-table-column prop="quesScore" label="分值" :key="6" width="80" align="center"></el-table-column> |
|
|
|
label="分值" |
|
|
|
<el-table-column prop="score" label="得分" :key="7" width="80" align="center"></el-table-column> |
|
|
|
:key="6" |
|
|
|
|
|
|
|
width="80" |
|
|
|
|
|
|
|
align="center"></el-table-column> |
|
|
|
|
|
|
|
<el-table-column prop="score" |
|
|
|
|
|
|
|
label="得分" |
|
|
|
|
|
|
|
:key="7" |
|
|
|
|
|
|
|
width="80" |
|
|
|
|
|
|
|
align="center"></el-table-column> |
|
|
|
|
|
|
|
</el-table> |
|
|
|
</el-table> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="m-b-20"> |
|
|
|
<div class="m-b-20"> |
|
|
|
<h6 class="l-title"> |
|
|
|
<h6 class="l-title"> |
|
|
|
<img src="@/assets/img/report5.png" |
|
|
|
<img src="@/assets/img/report5.png" alt=""> |
|
|
|
alt=""> |
|
|
|
|
|
|
|
实验总结与体会 |
|
|
|
实验总结与体会 |
|
|
|
</h6> |
|
|
|
</h6> |
|
|
|
<quill v-if="editing" |
|
|
|
<quill v-if="editing" :border="true" v-model="form.summarize" :minHeight="150" :height="150" :index="1" /> |
|
|
|
:border="true" |
|
|
|
<div v-else class="pre-wrap" v-html="form.summarize"></div> |
|
|
|
v-model="form.summarize" |
|
|
|
|
|
|
|
:minHeight="150" |
|
|
|
|
|
|
|
:height="150" |
|
|
|
|
|
|
|
:index="1" /> |
|
|
|
|
|
|
|
<div v-else |
|
|
|
|
|
|
|
class="pre-wrap" |
|
|
|
|
|
|
|
v-html="form.summarize"></div> |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -236,7 +157,7 @@ export default { |
|
|
|
editing: false, |
|
|
|
editing: false, |
|
|
|
loadIns: null, |
|
|
|
loadIns: null, |
|
|
|
loading: false, |
|
|
|
loading: false, |
|
|
|
project: false, |
|
|
|
isLc: false, |
|
|
|
userScores: [] |
|
|
|
userScores: [] |
|
|
|
}; |
|
|
|
}; |
|
|
|
}, |
|
|
|
}, |
|
|
@ -249,7 +170,7 @@ export default { |
|
|
|
const { report, userScores } = await this.$get(`${this.api.reportDetail}?reportId=${this.reportId}`) |
|
|
|
const { report, userScores } = await this.$get(`${this.api.reportDetail}?reportId=${this.reportId}`) |
|
|
|
this.form = report |
|
|
|
this.form = report |
|
|
|
this.expData = userScores |
|
|
|
this.expData = userScores |
|
|
|
this.project = this.expData.find(e => e.lcRuleRecords) // 银行系统才有lcRuleRecords |
|
|
|
this.isLc = this.expData.find(e => e.lcRuleRecords) // 流程系统才有lcRuleRecords |
|
|
|
let form = this.form; |
|
|
|
let form = this.form; |
|
|
|
this.infoData = { |
|
|
|
this.infoData = { |
|
|
|
workNumber: form.workNumber, |
|
|
|
workNumber: form.workNumber, |
|
|
@ -277,17 +198,28 @@ export default { |
|
|
|
}, |
|
|
|
}, |
|
|
|
// 处理实验数据 |
|
|
|
// 处理实验数据 |
|
|
|
handleList (list) { |
|
|
|
handleList (list) { |
|
|
|
this.project = list.find(e => e.lcRuleRecords) // 银行系统才有lcRuleRecords |
|
|
|
this.isLc = list.find(e => e.lcRuleRecords) // 流程系统才有lcRuleRecords |
|
|
|
if (this.project) { |
|
|
|
if (this.isLc) { |
|
|
|
list.map(e => { |
|
|
|
list.map(e => { |
|
|
|
e.assessmentPoint = '' |
|
|
|
e.assessmentPoint = '' |
|
|
|
e.referenceAnswer = '' |
|
|
|
e.referenceAnswer = '' |
|
|
|
e.answer = '' |
|
|
|
e.answer = '' |
|
|
|
|
|
|
|
let index = 1 |
|
|
|
e.lcRuleRecords.map((n, i) => { |
|
|
|
e.lcRuleRecords.map((n, i) => { |
|
|
|
e.assessmentPoint += `${i + 1}.${n.name}` |
|
|
|
n.index = index |
|
|
|
e.referenceAnswer += `${i + 1}.${n.ruleAnswer}` |
|
|
|
// 下面几行是导出的时候后端需要的字段 |
|
|
|
|
|
|
|
e.assessmentPoint += `${index}.${n.name};${n.ruleOperation === '或' ? '\n或\n' : ''}` |
|
|
|
|
|
|
|
e.referenceAnswer += `${index}.${n.ruleAnswer};${n.ruleOperation === '或' ? '\n或\n' : ''}` |
|
|
|
if (!n.userAnswer) n.userAnswer = '未填写' |
|
|
|
if (!n.userAnswer) n.userAnswer = '未填写' |
|
|
|
e.answer += `${i + 1}.${n.userAnswer}` |
|
|
|
|
|
|
|
|
|
|
|
if (n.ruleOperation === '或') { |
|
|
|
|
|
|
|
index = 1 |
|
|
|
|
|
|
|
} else { |
|
|
|
|
|
|
|
index++ |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
e.lcStudentAnswer.map((n, i) => { |
|
|
|
|
|
|
|
e.answer += `${i + 1}.${n.userAnswer};` |
|
|
|
}) |
|
|
|
}) |
|
|
|
}) |
|
|
|
}) |
|
|
|
} else { // python系统显示图片(从userScores里取) |
|
|
|
} else { // python系统显示图片(从userScores里取) |
|
|
@ -317,7 +249,7 @@ export default { |
|
|
|
if (form[i] && typeof form[i] === 'string') form[i] = form[i].replace(/<[^>]+>/g, '') |
|
|
|
if (form[i] && typeof form[i] === 'string') form[i] = form[i].replace(/<[^>]+>/g, '') |
|
|
|
} |
|
|
|
} |
|
|
|
form.purpose = form.purpose.replace(/<[^>]+>/g, '') |
|
|
|
form.purpose = form.purpose.replace(/<[^>]+>/g, '') |
|
|
|
this.$post(this.project ? this.api.exportBankExperimentReport : this.api.exportLabReport, { |
|
|
|
this.$post(this.isLc ? this.api.exportBankExperimentReport : this.api.exportLabReport, { |
|
|
|
...form, |
|
|
|
...form, |
|
|
|
experimentalData: list |
|
|
|
experimentalData: list |
|
|
|
}).then(res => { |
|
|
|
}).then(res => { |
|
|
@ -331,9 +263,11 @@ export default { |
|
|
|
|
|
|
|
|
|
|
|
<style lang="scss" scoped> |
|
|
|
<style lang="scss" scoped> |
|
|
|
@import '/styles/css/editor.css'; |
|
|
|
@import '/styles/css/editor.css'; |
|
|
|
|
|
|
|
|
|
|
|
.wrap { |
|
|
|
.wrap { |
|
|
|
padding: 12px 300px 20px; |
|
|
|
padding: 12px 300px 20px; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
code, |
|
|
|
code, |
|
|
|
kbd, |
|
|
|
kbd, |
|
|
|
samp { |
|
|
|
samp { |
|
|
@ -341,34 +275,45 @@ samp { |
|
|
|
word-wrap: break-word; |
|
|
|
word-wrap: break-word; |
|
|
|
white-space: pre-wrap; |
|
|
|
white-space: pre-wrap; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/deep/ pre { |
|
|
|
/deep/ pre { |
|
|
|
white-space: pre-wrap; /* css-3 */ |
|
|
|
white-space: pre-wrap; |
|
|
|
white-space: -moz-pre-wrap; /* Mozilla, since 1999 */ |
|
|
|
/* css-3 */ |
|
|
|
white-space: pre-wrap; /* Opera 4-6 */ |
|
|
|
white-space: -moz-pre-wrap; |
|
|
|
white-space: -o-pre-wrap; /* Opera 7 */ |
|
|
|
/* Mozilla, since 1999 */ |
|
|
|
word-wrap: break-word; /* Internet Explorer 5.5+ */ |
|
|
|
white-space: pre-wrap; |
|
|
|
|
|
|
|
/* Opera 4-6 */ |
|
|
|
|
|
|
|
white-space: -o-pre-wrap; |
|
|
|
|
|
|
|
/* Opera 7 */ |
|
|
|
|
|
|
|
word-wrap: break-word; |
|
|
|
|
|
|
|
/* Internet Explorer 5.5+ */ |
|
|
|
word-break: break-all; |
|
|
|
word-break: break-all; |
|
|
|
overflow: hidden; |
|
|
|
overflow: hidden; |
|
|
|
font-size: 12px; |
|
|
|
font-size: 12px; |
|
|
|
font-weight: 400; |
|
|
|
font-weight: 400; |
|
|
|
font-family: 'PingFang SC', 'Helvetica Neue', Helvetica, 'microsoft yahei', arial, STHeiTi, sans-serif; |
|
|
|
font-family: 'PingFang SC', 'Helvetica Neue', Helvetica, 'microsoft yahei', arial, STHeiTi, sans-serif; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.content { |
|
|
|
.content { |
|
|
|
padding: 16px 40px; |
|
|
|
padding: 16px 40px; |
|
|
|
background: #fff; |
|
|
|
background: #fff; |
|
|
|
|
|
|
|
|
|
|
|
&.loading { |
|
|
|
&.loading { |
|
|
|
padding-top: 30px; |
|
|
|
padding-top: 30px; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.r-title { |
|
|
|
.r-title { |
|
|
|
margin-bottom: 40px; |
|
|
|
margin-bottom: 40px; |
|
|
|
font-size: 24px; |
|
|
|
font-size: 24px; |
|
|
|
text-align: center; |
|
|
|
text-align: center; |
|
|
|
color: #333; |
|
|
|
color: #333; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.info { |
|
|
|
.info { |
|
|
|
padding: 20px 16px; |
|
|
|
padding: 20px 16px; |
|
|
|
border: 1px solid #e1e6f2; |
|
|
|
border: 1px solid #e1e6f2; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.l-title { |
|
|
|
.l-title { |
|
|
|
display: flex; |
|
|
|
display: flex; |
|
|
|
align-items: center; |
|
|
|
align-items: center; |
|
|
@ -378,39 +323,47 @@ samp { |
|
|
|
color: #333; |
|
|
|
color: #333; |
|
|
|
background-color: #f7f5ff; |
|
|
|
background-color: #f7f5ff; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.info-list { |
|
|
|
.info-list { |
|
|
|
display: flex; |
|
|
|
display: flex; |
|
|
|
flex-wrap: wrap; |
|
|
|
flex-wrap: wrap; |
|
|
|
padding: 10px 0 0 20px; |
|
|
|
padding: 10px 0 0 20px; |
|
|
|
|
|
|
|
|
|
|
|
li { |
|
|
|
li { |
|
|
|
display: inline-flex; |
|
|
|
display: inline-flex; |
|
|
|
width: 25%; |
|
|
|
width: 25%; |
|
|
|
padding: 0 10px; |
|
|
|
padding: 0 10px; |
|
|
|
margin-bottom: 34px; |
|
|
|
margin-bottom: 34px; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
&.edit { |
|
|
|
&.edit { |
|
|
|
li { |
|
|
|
li { |
|
|
|
align-items: center; |
|
|
|
align-items: center; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
label { |
|
|
|
label { |
|
|
|
font-size: 14px; |
|
|
|
font-size: 14px; |
|
|
|
color: #333; |
|
|
|
color: #333; |
|
|
|
white-space: nowrap; |
|
|
|
white-space: nowrap; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
span { |
|
|
|
span { |
|
|
|
min-width: 150px; |
|
|
|
min-width: 150px; |
|
|
|
padding: 0 10px 3px; |
|
|
|
padding: 0 10px 3px; |
|
|
|
border-bottom: 1px solid #e1e6f2; |
|
|
|
border-bottom: 1px solid #e1e6f2; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/deep/.el-input { |
|
|
|
/deep/.el-input { |
|
|
|
width: 174px; |
|
|
|
width: 174px; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.score-wrap { |
|
|
|
.score-wrap { |
|
|
|
position: relative; |
|
|
|
position: relative; |
|
|
|
min-width: 150px; |
|
|
|
min-width: 150px; |
|
|
|
border-bottom: 1px solid #e1e6f2; |
|
|
|
border-bottom: 1px solid #e1e6f2; |
|
|
|
|
|
|
|
|
|
|
|
em { |
|
|
|
em { |
|
|
|
position: absolute; |
|
|
|
position: absolute; |
|
|
|
top: -12px; |
|
|
|
top: -12px; |
|
|
@ -420,18 +373,21 @@ samp { |
|
|
|
font-weight: 600; |
|
|
|
font-weight: 600; |
|
|
|
color: #0b1d30; |
|
|
|
color: #0b1d30; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
img { |
|
|
|
img { |
|
|
|
position: absolute; |
|
|
|
position: absolute; |
|
|
|
bottom: -15px; |
|
|
|
bottom: -15px; |
|
|
|
left: 0; |
|
|
|
left: 0; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/deep/.el-textarea .el-textarea__inner, |
|
|
|
/deep/.el-textarea .el-textarea__inner, |
|
|
|
.pre-wrap { |
|
|
|
.pre-wrap { |
|
|
|
min-height: 72px; |
|
|
|
min-height: 72px; |
|
|
|
padding: 10px 16px; |
|
|
|
padding: 10px 16px; |
|
|
|
font-size: 14px; |
|
|
|
font-size: 14px; |
|
|
|
color: #333; |
|
|
|
color: #333; |
|
|
|
|
|
|
|
|
|
|
|
&.edit { |
|
|
|
&.edit { |
|
|
|
color: #abb3c6; |
|
|
|
color: #abb3c6; |
|
|
|
border: 1px solid #cacfdb; |
|
|
|
border: 1px solid #cacfdb; |
|
|
@ -439,22 +395,31 @@ samp { |
|
|
|
background-color: #f6f7f9; |
|
|
|
background-color: #f6f7f9; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/deep/ .table th { |
|
|
|
/deep/ .table th { |
|
|
|
background-color: #e5dfff !important; |
|
|
|
background-color: #e5dfff !important; |
|
|
|
|
|
|
|
|
|
|
|
.cell { |
|
|
|
.cell { |
|
|
|
line-height: 35px; |
|
|
|
line-height: 35px; |
|
|
|
color: #555555; |
|
|
|
color: #555555; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.rule-line { |
|
|
|
|
|
|
|
line-height: 1.8; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.result-pic { |
|
|
|
.result-pic { |
|
|
|
margin: 10px 0; |
|
|
|
margin: 10px 0; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@media (max-width: 1650px) { |
|
|
|
@media (max-width: 1650px) { |
|
|
|
.wrap { |
|
|
|
.wrap { |
|
|
|
padding: 12px 200px 20px; |
|
|
|
padding: 12px 200px 20px; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@media (max-width: 1430px) { |
|
|
|
@media (max-width: 1430px) { |
|
|
|
.wrap { |
|
|
|
.wrap { |
|
|
|
padding: 12px 100px 20px; |
|
|
|
padding: 12px 100px 20px; |
|
|
|