当前位置:网站首页>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 "
}
],
边栏推荐
猜你喜欢
数字ic设计——SPI
LIS longest ascending subsequence problem (dynamic programming, greed + dichotomy)
高端了8年,雅迪如今怎么样?
About the problem of APP flash back after appium starts the app - (solved)
QQ medicine, Tencent ticket
JS缓动动画原理教学(超细节)
ESP32构解工程添加组件
提升树莓派性能的方法
Storage principle inside mongodb
Japanese government and enterprise employees got drunk and lost 460000 information USB flash drives. They publicly apologized and disclosed password rules
随机推荐
【等保】云计算安全扩展要求关注的安全目标和实现方式区分原则有哪些?
Isprs2021/ remote sensing image cloud detection: a geographic information driven method and a new large-scale remote sensing cloud / snow detection data set
MongoDB内部的存储原理
Common text processing tools
提升树莓派性能的方法
服务器到服务器 (S2S) 事件 (Adjust)
1. Deep copy 2. Call apply bind 3. For of in differences
Cookie and session comparison
Final review notes of single chip microcomputer principle
regular expression
DHCP 动态主机设置协议 分析
User management summary of mongodb
Esp32 construction engineering add components
[Presto profile series] timeline use
Read PG in data warehouse in one article_ stat
Japanese government and enterprise employees got drunk and lost 460000 information USB flash drives. They publicly apologized and disclosed password rules
High end for 8 years, how is Yadi now?
Read PG in data warehouse in one article_ stat
MongoDB复制(副本集)总结
[untitled]