对比分析配置列表增加分页,运维文档管理增加全选按钮
Showing
4 changed files
with
10 additions
and
5 deletions
@@ -65,7 +65,7 @@ | @@ -65,7 +65,7 @@ | ||
65 | </el-button> | 65 | </el-button> |
66 | 66 | ||
67 | </div> | 67 | </div> |
68 | - <div class="select-all"> | 68 | + <div class="select-all" v-if="isSelect"> |
69 | <el-button type="primary" :size="$global.elementSize" @click="selectAll()" v-if="activeBtn == 'view'" > | 69 | <el-button type="primary" :size="$global.elementSize" @click="selectAll()" v-if="activeBtn == 'view'" > |
70 | {{selectText}} | 70 | {{selectText}} |
71 | 71 | ||
@@ -73,7 +73,7 @@ | @@ -73,7 +73,7 @@ | ||
73 | 73 | ||
74 | 74 | ||
75 | </div> | 75 | </div> |
76 | - <!-- <div style="text-align: right;width: 150px"> | 76 | + <div style="text-align: right;width: 150px"> |
77 | 77 | ||
78 | <el-button-group> | 78 | <el-button-group> |
79 | <el-button :size="$global.elementSize" :type="activeBtn == 'view' ? 'primary' : ''" | 79 | <el-button :size="$global.elementSize" :type="activeBtn == 'view' ? 'primary' : ''" |
@@ -85,7 +85,7 @@ | @@ -85,7 +85,7 @@ | ||
85 | <i class="iconfont icon-liebiao"></i> | 85 | <i class="iconfont icon-liebiao"></i> |
86 | </el-button> | 86 | </el-button> |
87 | </el-button-group> | 87 | </el-button-group> |
88 | - </div>--> | 88 | + </div> |
89 | </div> | 89 | </div> |
90 | <!--列表--> | 90 | <!--列表--> |
91 | <div v-if="activeBtn == 'list'"> | 91 | <div v-if="activeBtn == 'list'"> |
@@ -113,7 +113,7 @@ | @@ -113,7 +113,7 @@ | ||
113 | <cm-table-page :columns="columns" :dataList="tabSecondList" @loaddata="loadSecondList" | 113 | <cm-table-page :columns="columns" :dataList="tabSecondList" @loaddata="loadSecondList" |
114 | :showIndex="true" | 114 | :showIndex="true" |
115 | :showBorder="true" :loading="false" | 115 | :showBorder="true" :loading="false" |
116 | - :showPage="false" :showTools="true" :height="(height - 500)"> | 116 | + :showPage="true" :showTools="true" :height="(height - 500)"> |
117 | <template #tools="{scope}"> | 117 | <template #tools="{scope}"> |
118 | <el-button type="text" size="small" @click.prevent="addRes(scope.row,scope.$index)"> | 118 | <el-button type="text" size="small" @click.prevent="addRes(scope.row,scope.$index)"> |
119 | <i class="el-icon-plus"/> 添加 | 119 | <i class="el-icon-plus"/> 添加 |
-
Please register or login to post a comment