添加白名单数量判断
This commit is contained in:
@@ -98,7 +98,7 @@
|
||||
<el-table-column align="center" fixed property="stickNum" label="参与魔法棒数量" />
|
||||
<el-table-column align="center" fixed label="操作">
|
||||
<template v-slot="scope">
|
||||
<el-button @click="white(scope.row)" :type="scope.row.isWhite ? 'primary': 'warning'" size="small"
|
||||
<el-button @click="white(scope.row)" :type="whiteCount == 0 ? 'primary' : (scope.row.isWhite ? 'warning' : 'info')" size="small"
|
||||
>设为白名单</el-button
|
||||
>
|
||||
</template>
|
||||
@@ -140,6 +140,7 @@ export default {
|
||||
total: 10, //总页数
|
||||
currentPage: 1, //页码
|
||||
pageSize: 10, //条数
|
||||
whiteCount: 0,
|
||||
// 内表格
|
||||
dialogTableVisible: false, //控制内表单
|
||||
dialogTableVisibleTitle: "轮次id:xxx的参与情况", //控制内表单
|
||||
|
Reference in New Issue
Block a user