当前位置:网站首页>Show the mathematical formula in El table
Show the mathematical formula in El table
2022-07-07 13:28:00 【Bud, I'll fly first】
<el-table-column prop="sup_score" label=' Test scores ' align="center">
<template slot-scope="scope">
<div v-html="scope.row.sup_score"></div>
</template>
</el-table-column>
<el-table :data="tableData2323" height="500" :header-cell-style="{ color: '#333333' }" row-key="id" fit highlight-current-row style="margin-top: 10px;">
<el-table-column prop='no' label=" Number " width="70" align="center"></el-table-column>
<el-table-column prop='name' label=' name ' align="center"></el-table-column>
<el-table-column prop="score" label=' Usual score ' align="center">
<template slot-scope="scope">
<div v-html="scope.row.score"></div>
</template>
</el-table-column>
<el-table-column prop="sup_score" label=' Test scores ' align="center">
<template slot-scope="scope">
<div v-html="scope.row.sup_score"></div>
</template>
</el-table-column>
</el-table>
tableData2323: [
{
"no": "",
"score": "87.22",
"sup_score": "87.22",
"name": " Total score "
},
{
"no": "1",
"score": "97.03",
"sup_score": "97.03",
"name": " Physics "
},
{
"no": "2",
"score": "97.03",
"sup_score": "97.03",
"name": " chemical "
},
{
"no": "3",
"score": "20.00",
"sup_score": "20.00",
"name": " biological "
},
{
"no": "4",
"score": "70.00",
"sup_score": "70.00",
"name": " mathematics "
},
{
"no": "",
"score": "<div style=\"display: flex;align-items: center;justify-content: center;\">(1. Physics ×30%...+3. biological ×40%)+<div style=\"margin-left: 1px;\"><div >∑(4. mathematics )</div><div style=\"border-bottom: 1px solid #000000;margin-top: -1px;\" ></div><div>1</div></div>×(1-70%)</div>",
"sup_score": "<div style=\"display: flex;align-items: center;justify-content: center;\">(1. Physics ×30%...+3. biological ×40%)+<div style=\"margin-left: 1px;\"><div >∑(4. mathematics )</div><div style=\"border-bottom: 1px solid #000000;margin-top: -1px;\" ></div><div>1</div></div>×(1-70%)</div>",
"name": " Total score calculation formula "
}
],
边栏推荐
- [learning notes] zkw segment tree
- Some principles of mongodb optimization
- About how appium closes apps (resolved)
- MongoDB 遇见 spark(进行整合)
- Differences between MySQL storage engine MyISAM and InnoDB
- 单片机原理期末复习笔记
- [Presto profile series] timeline use
- Storage principle inside mongodb
- 【等保】云计算安全扩展要求关注的安全目标和实现方式区分原则有哪些?
- 详细介绍六种开源协议(程序员须知)
猜你喜欢
随机推荐
Read PG in data warehouse in one article_ stat
Introduction and basic use of stored procedures
【学习笔记】线段树选做
[untitled]
提升树莓派性能的方法
飞桨EasyDL实操范例:工业零件划痕自动识别
Mongodb command summary
Introduce six open source protocols in detail (instructions for programmers)
clion mingw64中文乱码
MongoDB命令汇总
Cmake learning and use notes (1)
为租客提供帮助
Analysis of DHCP dynamic host setting protocol
1、深拷贝 2、call apply bind 3、for of for in 区别
Vscade editor esp32 header file wavy line does not jump completely solved
PACP学习笔记三:PCAP方法说明
Scripy tutorial classic practice [New Concept English]
线程池拒绝策略最佳实践
Isprs2021/ remote sensing image cloud detection: a geographic information driven method and a new large-scale remote sensing cloud / snow detection data set
如何让electorn打开的新窗口在window任务栏上面