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

网站缺点中信建设 官方网站

网站缺点,中信建设 官方网站,购物网站留言反馈页面,建筑工程网络计划方法问题:遇到了个需求,不仅要设置分组的头部,还要在顶部有个统计总和的栏。 分组表头的配置主要是这个,就是套娃原理,不需要展示数据的直接写个title就行,需要展示数据的字段才需要详细的配置属性。 const co…

问题:遇到了个需求,不仅要设置分组的头部,还要在顶部有个统计总和的栏。

  分组表头的配置主要是这个,就是套娃原理,不需要展示数据的直接写个title就行,需要展示数据的字段才需要详细的配置属性。
const columns = [{title: '',children: [{title: '员工姓名',dataIndex: 'name',key: 'name',width: enums.COLUMNS_WIDTH.NAME,align: 'center',fixed: 'left',ellipsis: true,},],},{title: '基础数据',children: [{title: '通话次数',dataIndex: 'call_num',key: 'call_num',width: enums.COLUMNS_WIDTH.NAME,align: 'right',ellipsis: true,},{title: '通话时长',dataIndex: 'call_duration',key: 'call_duration',width: enums.COLUMNS_WIDTH.NAME,align: 'center',ellipsis: true,},],},{title: '通话表现',children: [{title: '高意向客户数',dataIndex: 'intention_level_num',key: 'intention_level_num',width: enums.COLUMNS_WIDTH.NAME,align: 'right',ellipsis: true,},{title: '语速过快(通)',dataIndex: 'speak',key: 'speak',width: enums.COLUMNS_WIDTH.NAME,align: 'right',ellipsis: true,},{title: '说话过多(通)',dataIndex: 'talking',key: 'talking',width: enums.COLUMNS_WIDTH.NAME,align: 'right',ellipsis: true,},],},
];
配置固定的合计栏,主要是使用了table中的总结栏。

下面的代码中还有关于自定义单个头部字段的方法使用的是插槽headerCell;

自定义table字段的方法,使用的是插槽bodyCell;没有值的显示--

总结栏是使用的插槽summary,至于里面显示的具体数值,需要自己配置。

<a-table-summary-row>:一行

<a-table-summary-cell>:一列(也可以叫单元格)

<a-tablev-elseref="table"rowKey="id"bordered:loading="loading":pagination="false":scroll="{y: tableTop}"size="middle":locale="{emptyText: '暂无数据'}":columns="columns":data-source="clueList"><template #headerCell="{ column }"><template v-if="column.dataIndex === 'speak'"><span>语速过快(通)<a-tooltip><template #title>语速过快:按照通话次数统计,销售在此次通话中是否语速过快。</template><QuestionCircleOutlined /></a-tooltip></span></template><template v-if="column.dataIndex === 'talking'"><span>说话过多(通)<a-tooltip><template #title>说话过多:按照通话次数统计,销售在此次通话中说话字数超过60%。</template><QuestionCircleOutlined /></a-tooltip></span></template></template><template #bodyCell="{ column,record }"><template v-if="column.dataIndex==='name'"><div style="width: 100%;" @click.stop="goToClueDetail(record)" class="truncated-text"><a-tooltip placement="topLeft"><template #title><span>{{ record?.create_user?.real_name||'-' }}</span></template><span>{{ record?.create_user?.real_name||'-' }}</span></a-tooltip></div></template><template v-if="column.dataIndex==='call_num'">{{ record.call_record?.call_duration ||'-' }}</template><template v-if="column.dataIndex==='call_duration'">{{ record.call_record?.call_duration?secondsToHMS(record.call_record?.call_duration) :'-' }}</template><template v-if="column.dataIndex==='intention_level_num'">{{ record.call_record?.intention_level ||'-' }}</template><template v-if="column.dataIndex==='speak'">{{ record.call_record?.employee_performance?.speak_num ||'-' }}</template><template v-if="column.dataIndex==='talking'">{{ record.call_record?.employee_performance?.talking_num ||'-' }}</template></template><template #summary><a-table-summary fixed="top"><a-table-summary-row><a-table-summary-cell style="text-align: center">合计</a-table-summary-cell><a-table-summary-cell style="text-align: end">{{ 16 }}</a-table-summary-cell><a-table-summary-cell style="text-align: center">{{ '01:08:14' }}</a-table-summary-cell><a-table-summary-cell style="text-align: end">{{ 259 }}</a-table-summary-cell><a-table-summary-cell style="text-align: end">{{ 345 }}</a-table-summary-cell><a-table-summary-cell style="text-align: end">{{ 161 }}</a-table-summary-cell></a-table-summary-row></a-table-summary></template></a-table>

http://www.yayakq.cn/news/419118/

相关文章:

  • 企业门户网站建站设计师素材库
  • 婚纱摄影网站设计论文焦作seo推广
  • 无锡网站营销公司简介贸易公司怎么做网站比较好
  • 快速做效果图的网站叫什么软件建e网室内设计网现代简约
  • 汽车网站建设方案做网站如何引流
  • 酒店网站建设方案ppt网站设计制作一条龙免费
  • 网站出现乱码的原因新手学做免费网站软件
  • 网站建设 0551wordpress购物车表单
  • 上海做oocl船的公司网站域名注册 阿里云
  • 网站开发网校免费素材网址
  • 大良网站智能推广如何自己做网站如何挣钱
  • 做那个免费视频网站网站开发人员的行业分析
  • 网站icp备案手续宁波微网站开发
  • 北京网站设计与网站制作免费ppt模板下载第一ppt
  • 怎么提高网站速度企业网站的开发
  • 建设工程项目前期去哪个网站网站排名工具
  • 找室内设计师上哪个网站旅游网站对比模板
  • 网站建设第三方用ps做网站得多大像素
  • 如果自己做网站卖设备滨州做企业网站
  • 图书馆网站制作深圳东莞的网站建设公司
  • 网站开发常用插件如何免费申请网站
  • 网站背景色网站开发工具与技术
  • 网站弄论坛形式怎么做拍摄公司宣传片报价
  • 建设 大型电子商务网站asp.net.做简单的网站
  • 百度指数平台seo搜索引擎实战详解
  • 简单网站建设 有教程视频做网站要掌握几种语言
  • 建设网站专业网站建设sem账户搭建
  • 网站结构优化怎么做微信打不开网站
  • 电子商务 网站系统wordpress允许注册
  • 网站建设 南昌中华南大街网站建设