|
@@ -52,7 +52,7 @@
|
|
|
<el-table
|
|
|
class="wenzi"
|
|
|
:data="warehouseList.records"
|
|
|
- style="width: 100%; margin-top: 20px"
|
|
|
+ style="width: 100%;"
|
|
|
height="780"
|
|
|
>
|
|
|
<el-table-column prop="warehouseName" label="序号" width="80">
|
|
@@ -143,6 +143,15 @@
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
|
+ <el-pagination
|
|
|
+ @size-change="handleSizeChange"
|
|
|
+ @current-change="handleCurrentChange"
|
|
|
+ :current-page="currentPage"
|
|
|
+ :page-size="deptCircularPage.pageSize"
|
|
|
+ layout="total, sizes, prev, pager, next, jumper"
|
|
|
+ :total="deptBudgetTotal"
|
|
|
+ >
|
|
|
+ </el-pagination>
|
|
|
</div>
|
|
|
</div>
|
|
|
</template>
|
|
@@ -184,6 +193,7 @@ export default {
|
|
|
year: '',
|
|
|
currentPage: 1,
|
|
|
pageSize: 10,
|
|
|
+ deptBudgetTotal :0,
|
|
|
searchTypeText: '未完成',
|
|
|
searchKeyWord: '',
|
|
|
contractType: 2,
|
|
@@ -326,6 +336,9 @@ export default {
|
|
|
})
|
|
|
.toPromise()
|
|
|
.then((response) => {
|
|
|
+ this.deptCircularPage.currentPage = response.current
|
|
|
+ this.deptCircularPage.pageSize = response.size
|
|
|
+ this.deptBudgetTotal = response.total
|
|
|
this.warehouseList = response
|
|
|
})
|
|
|
},
|
|
@@ -526,7 +539,14 @@ export default {
|
|
|
}
|
|
|
.el-range-editor--small.el-input__inner {
|
|
|
height: 32px;
|
|
|
- margin:0 10px;
|
|
|
-
|
|
|
+ margin:0 10px;
|
|
|
+}
|
|
|
+/deep/.el-pagination {
|
|
|
+ text-align: center;
|
|
|
+ white-space: nowrap;
|
|
|
+ padding: 2px 5px;
|
|
|
+ color: #303133;
|
|
|
+ font-weight: 700;
|
|
|
+ margin-bottom: 20px;
|
|
|
}
|
|
|
</style>
|