|
@@ -237,8 +237,8 @@
|
|
|
</div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column prop="two_content">
|
|
|
- <template slot="header">
|
|
|
+ <el-table-column prop="two_content" label="问题内容">
|
|
|
+ <template slot="header" slot-scope="scope">
|
|
|
<div class="custom_table_header">问题内容</div>
|
|
|
</template>
|
|
|
<template slot-scope="scope">
|
|
@@ -268,8 +268,9 @@
|
|
|
prop="two_factor"
|
|
|
width="60px"
|
|
|
v-if="tableResultType === 1"
|
|
|
+ label="系数"
|
|
|
>
|
|
|
- <template slot="header">
|
|
|
+ <template slot="header" slot-scope="scope">
|
|
|
<div class="custom_table_header">系数</div>
|
|
|
</template>
|
|
|
<template slot-scope="scope">
|
|
@@ -304,8 +305,9 @@
|
|
|
prop="two_constant"
|
|
|
width="60px"
|
|
|
v-if="tableResultType === 1"
|
|
|
+ label="常数"
|
|
|
>
|
|
|
- <template slot="header">
|
|
|
+ <template slot="header" slot-scope="scope">
|
|
|
<div class="custom_table_header">常数</div>
|
|
|
</template>
|
|
|
<template slot-scope="scope">
|
|
@@ -387,8 +389,9 @@
|
|
|
<el-table-column
|
|
|
prop="content"
|
|
|
:width="tableResultType === 1 ? '200px' : ''"
|
|
|
+ label="选项内容"
|
|
|
>
|
|
|
- <template slot="header">
|
|
|
+ <template slot="header" slot-scope="scope">
|
|
|
<div class="custom_table_header">选项内容</div>
|
|
|
</template>
|
|
|
<template slot-scope="scope">
|
|
@@ -442,8 +445,9 @@
|
|
|
prop="content"
|
|
|
width="90px"
|
|
|
v-if="tableResultType === 1"
|
|
|
+ label="分值"
|
|
|
>
|
|
|
- <template slot="header">
|
|
|
+ <template slot="header" slot-scope="scope">
|
|
|
<div class="custom_table_header">分值</div>
|
|
|
</template>
|
|
|
<template slot-scope="scope">
|
|
@@ -467,8 +471,9 @@
|
|
|
prop="result"
|
|
|
width="200px"
|
|
|
v-if="tableResultType === 2"
|
|
|
+ label="结果"
|
|
|
>
|
|
|
- <template slot="header">
|
|
|
+ <template slot="header" slot-scope="scope">
|
|
|
<div class="custom_table_header">结果</div>
|
|
|
</template>
|
|
|
<template slot-scope="scope">
|