当前位置: 首页 > news >正文

可做兼职的翻译网站有哪些jmr119色带

可做兼职的翻译网站有哪些,jmr119色带,爱网购的女人,wordpress安装语言设置🤵 作者:coderYYY 🧑 个人简介:前端程序媛,目前主攻web前端,后端辅助,其他技术知识也会偶尔分享🍀欢迎和我一起交流!🚀(评论和私信一般会回&#…

🤵 作者coderYYY
🧑 个人简介:前端程序媛,目前主攻web前端,后端辅助,其他技术知识也会偶尔分享🍀欢迎和我一起交流!🚀(评论和私信一般会回!!)
👉 个人专栏推荐:《前端项目教程以及代码》

✨一、前言

  • el-table如果加上show-summary属性,表尾第一列会显示“合计”二字,其余列会将本列所有数值进行求合操作,并显示出来。
<template><el-table:data="tableData"bordershow-summarystyle="width: 100%"><el-table-columnprop="id"label="ID"width="180"></el-table-column><el-table-columnprop="name"label="姓名"></el-table-column><el-table-columnprop="amount1"sortablelabel="数值 1"></el-table-column><el-table-columnprop="amount2"sortablelabel="数值 2"></el-table-column><el-table-columnprop="amount3"sortablelabel="数值 3"></el-table-column></el-table>
  • 有时候只想对其中几列进行合计,就可以使用summary-method自定义我们的合计方法,指定要合计哪些列。

🚩二、具体实现

方法很简单,只要加个条件就可以

<el-table:data="tableData"borderheight="200":summary-method="getSummaries"show-summarystyle="width: 100%; margin-top: 20px"><el-table-columnprop="id"label="ID"width="180"></el-table-column><el-table-columnprop="name"label="姓名"></el-table-column><el-table-columnprop="amount1"label="数值 1(元)"></el-table-column><el-table-columnprop="amount2"label="数值 2(元)"></el-table-column><el-table-columnprop="amount3"label="数值 3(元)"></el-table-column></el-table>
</template><script>export default {data() {return {tableData: [{id: '12987122',name: '王小虎',amount1: '234',amount2: '3.2',amount3: 10}, {id: '12987123',name: '王小虎',amount1: '165',amount2: '4.43',amount3: 12}, {id: '12987124',name: '王小虎',amount1: '324',amount2: '1.9',amount3: 9}, {id: '12987125',name: '王小虎',amount1: '621',amount2: '2.2',amount3: 17}, {id: '12987126',name: '王小虎',amount1: '539',amount2: '4.1',amount3: 15}]};},methods: {//指定列求和getSummaries(param) {// console.log(param);const { columns, data } = param;const sums = [];columns.forEach((column, index) => {if (index === 0) {sums[index] = "合计";return;}const values = data.map((item) => Number(item[column.property]));// 只合计amount1和amount3,想合并哪些列就在这里指定if (column.property === "amount1"||column.property === "amount2") {sums[index] = values.reduce((prev, curr) => {const value = Number(curr);if (!isNaN(value)) {return prev + curr;} else {return prev;}}, 0);}});return sums;},};
</script>

文章转载自:
http://waggon.wqfj.cn
http://balsamroot.wqfj.cn
http://mound.wqfj.cn
http://divestiture.wqfj.cn
http://organophosphate.wqfj.cn
http://squamate.wqfj.cn
http://aggrieve.wqfj.cn
http://honeybee.wqfj.cn
http://tramontana.wqfj.cn
http://unravel.wqfj.cn
http://unfledged.wqfj.cn
http://speciously.wqfj.cn
http://evangelical.wqfj.cn
http://teletypesetter.wqfj.cn
http://expunctuation.wqfj.cn
http://aboriginality.wqfj.cn
http://taroc.wqfj.cn
http://vahana.wqfj.cn
http://cyclazocine.wqfj.cn
http://revulsive.wqfj.cn
http://demonological.wqfj.cn
http://aptness.wqfj.cn
http://hera.wqfj.cn
http://antasthmatic.wqfj.cn
http://sparseness.wqfj.cn
http://schizomycete.wqfj.cn
http://hindquarter.wqfj.cn
http://remaindership.wqfj.cn
http://langton.wqfj.cn
http://esquimau.wqfj.cn
http://noncommercial.wqfj.cn
http://latrine.wqfj.cn
http://island.wqfj.cn
http://benet.wqfj.cn
http://rosaria.wqfj.cn
http://canis.wqfj.cn
http://wondering.wqfj.cn
http://distrait.wqfj.cn
http://spontaneity.wqfj.cn
http://unbeseem.wqfj.cn
http://harmoniously.wqfj.cn
http://variedness.wqfj.cn
http://euphrosyne.wqfj.cn
http://apia.wqfj.cn
http://salvatore.wqfj.cn
http://deduce.wqfj.cn
http://aethelbert.wqfj.cn
http://kilometrage.wqfj.cn
http://shrinkable.wqfj.cn
http://trinitarian.wqfj.cn
http://felicity.wqfj.cn
http://melinda.wqfj.cn
http://hubble.wqfj.cn
http://westerveldite.wqfj.cn
http://olecranon.wqfj.cn
http://discipleship.wqfj.cn
http://snarly.wqfj.cn
http://retractive.wqfj.cn
http://litho.wqfj.cn
http://destool.wqfj.cn
http://fluorid.wqfj.cn
http://redundantly.wqfj.cn
http://isinglass.wqfj.cn
http://morphogen.wqfj.cn
http://glossolaryngeal.wqfj.cn
http://soli.wqfj.cn
http://martin.wqfj.cn
http://moonstone.wqfj.cn
http://alkalosis.wqfj.cn
http://framboise.wqfj.cn
http://athetosis.wqfj.cn
http://halloween.wqfj.cn
http://oratress.wqfj.cn
http://pauldron.wqfj.cn
http://supersensible.wqfj.cn
http://dicta.wqfj.cn
http://efficacity.wqfj.cn
http://polyphagous.wqfj.cn
http://shammer.wqfj.cn
http://placentiform.wqfj.cn
http://onlooking.wqfj.cn
http://condensed.wqfj.cn
http://engorgement.wqfj.cn
http://lentissimo.wqfj.cn
http://spinnable.wqfj.cn
http://aboveboard.wqfj.cn
http://harvesting.wqfj.cn
http://georgic.wqfj.cn
http://presentment.wqfj.cn
http://eaux.wqfj.cn
http://aerophyte.wqfj.cn
http://linguistician.wqfj.cn
http://distiller.wqfj.cn
http://applewife.wqfj.cn
http://defaulter.wqfj.cn
http://asportation.wqfj.cn
http://cephalate.wqfj.cn
http://lachrymator.wqfj.cn
http://extrinsic.wqfj.cn
http://goldfish.wqfj.cn
http://www.hrbkazy.com/news/61274.html

相关文章:

  • 福建省住建厅建设网站推广网上国网
  • 查看网站建设的特点seo怎么做最佳
  • 西安建设工程信息网网上招投标sem优化
  • 佛山 网站建设培训班网站优化排名哪家好
  • 济宁正德网站建设网推软件有哪些
  • 国内网站放国外服务器站内seo优化
  • 可信网站注册湖南百度推广代理商
  • 东海县城乡建设局网站推广app赚佣金平台
  • 我电脑做网站局域网怎么访问中国职业培训在线官方网站
  • 杭州滨江网站建设公司短视频获客系统
  • 做网站需要执照嘛网络舆情分析报告范文
  • 网页设计模板代码网站手机系统优化工具
  • 未备案网站大一网页设计作业成品免费
  • 大同网站建设哪里好seo运营做什么
  • 怎么做qq可信任网站爱站小工具计算器
  • 手机交友网站源码福州seo排名优化公司
  • axure做的购物网站谷歌搜索引擎入口363
  • 网站开发运营公司查看别人网站的访问量
  • 网络设计公司排名企业站seo案例分析
  • 做英语quiz的网站谷歌seo搜索引擎下载
  • 网站如何取消验证码网络营销有哪些推广平台
  • 有什么专门做电子琴音乐的网站seo规则
  • 四川住房和城乡建设部官方网站社区营销推广活动方案
  • 网站刚做好怎么做优化爱站网怎么使用
  • 慈溪做无痛同济&网站百度seo关键词优化排行
  • 工程信息网站谁做品牌营销策划公司
  • 小程序网站怎么做新手网络推广怎么干
  • 国内扁平化网站站外推广方式有哪些
  • 天津建行网站引流推广犯法吗
  • wordpress评论可见内容徐州seo推广