分页组件添加几条一页,更改变量名存储空间占用比例=>剩余空间占比
This commit is contained in:
parent
485e754646
commit
2e0ab0cef1
@ -2,14 +2,14 @@
|
||||
<div style="display: flex;display: -webkit-flex; align-items: center;-webkit-align-items: center;">
|
||||
<div :style="{ fontSize: appStore.size === 'default' ? '14px' : '16px' }" style="display: flex;display: -webkit-flex;align-items: center;-webkit-align-items: center;">
|
||||
共{{ total }}条</div>
|
||||
<!-- <el-select @change="changesize" v-model="pcode" filterable class="product-input"
|
||||
<el-select @change="changesize" v-model="pcode" filterable class="product-input"
|
||||
@keyup.enter="changeSize" allow-create style="margin-left: 10px;width: 80px;">
|
||||
<el-option v-for="(item, index) in arr_product" :key="index" :label="item.lable" :value="item.value" />
|
||||
</el-select> -->
|
||||
<!-- <div
|
||||
</el-select>
|
||||
<div
|
||||
:style="{ fontSize: appStore.size === 'default' ? '14px' : '16px' }" style="margin-left:10px;display: flex;display: -webkit-flex;align-items: center; -webkit-align-items: center;">
|
||||
<div>条/页</div>
|
||||
</div> -->
|
||||
</div>
|
||||
<el-pagination style="margin-left: 10px;" background layout="prev, pager, next" :total="total"
|
||||
v-model:current-page="currentPage" v-model:page-size="pageSize" @current-change="pagechange" />
|
||||
<div
|
||||
|
@ -319,7 +319,7 @@ function comparePercentage(percentStr: any) {
|
||||
</div>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="spaceOccupancyRatio" label="存储空间占用比例" width="140">
|
||||
<el-table-column prop="spaceOccupancyRatio" label="剩余空间占比" width="140">
|
||||
<template #default="scope">
|
||||
<span :style="{ color: scope.row.resar, 'font-size': scope.row.resar !='' ? '16px' : '' }">{{
|
||||
comparePercentage(scope.row) }}</span>
|
||||
|
Loading…
Reference in New Issue
Block a user