feat: There is no way the,  56828 项目评估流程,选择项目页面,项目显示不全,只显示10条数据

This commit is contained in:
396572590@qq.com
2022-08-04 10:50:48 +08:00
parent 7dfe95a1aa
commit dcd11dfb65
@@ -249,10 +249,9 @@
size="900px" size="900px"
custom-class="demo-drawer" custom-class="demo-drawer"
> >
<div class="demo-drawer-content"> <div class="standard-content">
<div style="position: absolute;bottom: 48px;top:60px;left: 0;right: 0"> <div class="content">
<div style="position: absolute;bottom: 55px;top: 0;right: 0;left: 0"> <div class="standard-table-search">
<div class="left">
<el-form :modal="projectSearch" :inline="true" class="label-input-form" style="margin-left:10px"> <el-form :modal="projectSearch" :inline="true" class="label-input-form" style="margin-left:10px">
<el-form-item label="项目编号" class="search-item search-item-last"> <el-form-item label="项目编号" class="search-item search-item-last">
<el-input :disabled="disabledXX" <el-input :disabled="disabledXX"
@@ -287,6 +286,7 @@
</el-form-item> </el-form-item>
</el-form> </el-form>
</div> </div>
<div class="standard-table-wrap">
<el-table <el-table
:data="ProjectDatas" :data="ProjectDatas"
tooltip-effect="dark" tooltip-effect="dark"
@@ -324,6 +324,7 @@
label="项目经理" label="项目经理"
/> />
</el-table> </el-table>
<loading :loading="replaceLoading">{{$t('m.dataAcquisition')}}</loading>
</div> </div>
<pagination <pagination
:page="page" :page="page"
@@ -359,6 +360,7 @@ export default {
data() { data() {
return { return {
disabledXX:!!this.$route.query.disabledXX, disabledXX:!!this.$route.query.disabledXX,
replaceLoading: false,
active: "1", //当前选中的type active: "1", //当前选中的type
isSubmit: false, isSubmit: false,
saveLoading: false, saveLoading: false,
@@ -478,9 +480,10 @@ export default {
}, },
//获取项目数据 //获取项目数据
getProjectData() { getProjectData() {
this.replaceLoading = true
this.$http.get("sarStandProjectLibrary/queryProjectWorkFlow", { this.$http.get("sarStandProjectLibrary/queryProjectWorkFlow", {
page: this.page, Page: this.page,
pageSize: this.pageSize, PageSize: this.pageSize,
...this.projectSearch ...this.projectSearch
}, { }, {
_this: this _this: this
@@ -492,6 +495,7 @@ export default {
this.ProjectDatas = res.data.Maintenance.records; this.ProjectDatas = res.data.Maintenance.records;
this.total = res.data.Maintenance.total; this.total = res.data.Maintenance.total;
} }
this.replaceLoading = false
}); });
}, },
@@ -826,6 +830,26 @@ export default {
} }
} }
.standard-content {
height: 100%;
padding: 10px 0 0;
.content {
height: 100%;
display: flex;
flex-direction: column;
padding: 0 10px;
.standard-table-wrap {
flex: auto;
overflow-y: auto;
}
.pagination {
position: static;
/deep/ .pagination-slot {
padding: 0;
}
}
}
}
.demo-drawer-content { .demo-drawer-content {
margin-top: 10px; margin-top: 10px;
} }