Commit 2079e492 authored by tianhongyang's avatar tianhongyang

fix

parent ee348886
......@@ -37,7 +37,11 @@
<div class="project-feedsummary-list-container">
<dsk-skeleton v-if="tableLoading"></dsk-skeleton>
<table-list-com :tableData="tableDataList" :formColum="formColum" v-else-if="!tableLoading" :maxHeight="true" :tableDataTotal="total"
:paging="false"></table-list-com>
:paging="false">
<template slot="jhcb">
</template>
</table-list-com>
</div>
</div>
</div>
......@@ -97,7 +101,7 @@ export default {
comProjectId: this.projectId,
menuTreeList: [],
// 加载数据列表
tableLoading: false,
tableLoading: true,
total: 0,
// 列表表头
formColum: [
......@@ -110,6 +114,7 @@ export default {
{ label: '计算规则', prop: "calculationRule", width: "137", uid: v4() },
{ label: '单位', prop: "unit", width: "57", uid: v4() },
{ label: '甲供材料说明', prop: "materialDescription", width: "137", uid: v4() },
{ label: '计划成本', prop: "jhcb", width: "137", align: "center", slot: true, uid: v4() },
],
// 已记录月份集合
monthList: [],
......@@ -194,6 +199,7 @@ export default {
},
async getFeedSummaryList(params = {}) {
try {
this.tableLoading = true;
const list = await getFeedSummaryListApi(params);
if (list.code == 200 && list.data instanceof Array) {
this.tableDataList = list.data;
......@@ -201,6 +207,8 @@ export default {
}
} catch (error) {
} finally {
this.tableLoading = false;
}
},
async getFeedSummaryMenuTree(params) {
......@@ -397,6 +405,11 @@ export default {
height: calc(100% - 48px);
/* overflow: auto; */
.dsk-skeleton-outer-container {
padding: 0px;
height: 100%;
}
.table-list-com-ins {
height: 100%;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment