直播系统app源码,根据前台数据监控反馈到后台的表格里

直播系统app源码,根据前台数据监控反馈到后台的表格里

 

1
<!-- <br>:data="projectInfoList" 绑定表格数据<br>@selection-change="handleSelectionChange" 当我勾选了以后触发handleSelectionChange事件<br>--><br><el-table ref="DataTable" v-loading="loading" :data="projectInfoList" @selection-change="handleSelectionChange" stripe><br><el-table-column type="selection" width="50" align="center" />   <br><el-table-column label="是否已完成" align="center" width="70" prop="finished"><br><template slot="header"><br>是否<br />已完成<br></template><br><template slot-scope="scope"><br><el-tag :type="scope.row.finished == 1 ? 'success' : 'info'">{{ scope.row.finished == 1 ? '是' : '否' }}</el-tag><br></template><br></el-table-column><br></el-table>

​根据后台返回的数据进行显示不同的内容(是否)及效果(type)

 

1
<br><template slot-scope="scope"><br><el-tag :type="scope.row.finished == 1 ? 'success' : 'info'"><br>{{ scope.row.finished == 1 ? '是' : '否' }}<br></el-tag><br></template>

 

以上就是直播系统app源码,根据前台数据监控反馈到后台的表格里, 更多内容欢迎关注之后的文章

 

posted @   云豹科技-苏凌霄  阅读(109)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 分享一个免费、快速、无限量使用的满血 DeepSeek R1 模型,支持深度思考和联网搜索!
· 基于 Docker 搭建 FRP 内网穿透开源项目(很简单哒)
· ollama系列01:轻松3步本地部署deepseek,普通电脑可用
· 25岁的心里话
· 按钮权限的设计及实现
点击右上角即可分享
微信分享提示