Browse Source

2026-03-03

优化
master
fengyuan_yang 2 months ago
parent
commit
fac7d81dea
  1. 33
      src/views/modules/qc/sopFileUpload.vue

33
src/views/modules/qc/sopFileUpload.vue

@ -90,29 +90,16 @@
</el-table> </el-table>
<!-- 分页 --> <!-- 分页 -->
<div style="margin-top: 10px; display: flex; justify-content: space-between; align-items: center;">
<div style="display: flex; align-items: center;">
<span style="margin-right: 10px;"></span>
<el-input v-model="filePageIndex" style="width: 60px;" @change="fileCurrentChangeHandle(filePageIndex)"></el-input>
<span style="margin: 0 10px;"></span>
<el-select v-model="filePageSize" @change="fileSizeChangeHandle" style="width: 100px;">
<el-option label="10条/页" :value="10"></el-option>
<el-option label="20条/页" :value="20"></el-option>
<el-option label="50条/页" :value="50"></el-option>
</el-select>
</div>
<div style="display: flex; align-items: center;">
<el-button :disabled="filePageIndex <= 1" @click="fileCurrentChangeHandle(filePageIndex - 1)"></el-button>
<span style="margin: 0 10px;">{{ filePageIndex }}</span>
<el-button @click="fileCurrentChangeHandle(filePageIndex + 1)">2</el-button>
<el-button @click="fileCurrentChangeHandle(filePageIndex + 2)">3</el-button>
<el-button></el-button>
<span style="margin-left: 10px;">前至</span>
<el-input style="width: 50px; margin: 0 5px;"></el-input>
<span></span>
<el-button style="margin-left: 10px;">GO</el-button>
</div>
</div>
<el-pagination
@size-change="fileSizeChangeHandle"
@current-change="fileCurrentChangeHandle"
:current-page="filePageIndex"
:page-sizes="[10, 20, 50, 100]"
:page-size="filePageSize"
:total="fileTotalPage"
layout="total, sizes, prev, pager, next, jumper"
style="margin-top: 10px;">
</el-pagination>
<!-- 操作按钮 --> <!-- 操作按钮 -->
<div style="margin-top: 10px; text-align: center;"> <div style="margin-top: 10px; text-align: center;">

Loading…
Cancel
Save