|
@@ -11,16 +11,17 @@
|
|
:data="tableList"
|
|
:data="tableList"
|
|
style="width: 100%"
|
|
style="width: 100%"
|
|
:row-style="rowStyle"
|
|
:row-style="rowStyle"
|
|
|
|
+ :header-row-style="rowStyle"
|
|
:style="dataTableContentStyle"
|
|
:style="dataTableContentStyle"
|
|
height="calc(100vh - 190px)"
|
|
height="calc(100vh - 190px)"
|
|
max-height="calc(100vh - 190px)"
|
|
max-height="calc(100vh - 190px)"
|
|
:stripe="tableProps.stripe"
|
|
:stripe="tableProps.stripe"
|
|
- :border="tableProps.border"
|
|
|
|
:row-key="tableProps.rowKey"
|
|
:row-key="tableProps.rowKey"
|
|
:highlight-current-row="tableProps.highlightCurrentRow"
|
|
:highlight-current-row="tableProps.highlightCurrentRow"
|
|
:header-cell-class-name="tableProps.headerCellClassName"
|
|
:header-cell-class-name="tableProps.headerCellClassName"
|
|
:tooltip-effect="tableProps.tooltipEffect"
|
|
:tooltip-effect="tableProps.tooltipEffect"
|
|
:show-summary="tableProps.showSummary"
|
|
:show-summary="tableProps.showSummary"
|
|
|
|
+ :header-cell-style="{ background: '#F9FAFC' }"
|
|
>
|
|
>
|
|
<el-table-column
|
|
<el-table-column
|
|
prop="indexs"
|
|
prop="indexs"
|
|
@@ -50,16 +51,17 @@
|
|
:data="tableList"
|
|
:data="tableList"
|
|
style="width: 100%"
|
|
style="width: 100%"
|
|
:row-style="rowStyle"
|
|
:row-style="rowStyle"
|
|
|
|
+ :header-row-style="rowStyle"
|
|
:style="dataTableContentStyle"
|
|
:style="dataTableContentStyle"
|
|
height="calc(100vh - 190px)"
|
|
height="calc(100vh - 190px)"
|
|
max-height="calc(100vh - 190px)"
|
|
max-height="calc(100vh - 190px)"
|
|
:stripe="tableProps.stripe"
|
|
:stripe="tableProps.stripe"
|
|
- :border="tableProps.border"
|
|
|
|
:row-key="tableProps.rowKey"
|
|
:row-key="tableProps.rowKey"
|
|
:highlight-current-row="tableProps.highlightCurrentRow"
|
|
:highlight-current-row="tableProps.highlightCurrentRow"
|
|
:header-cell-class-name="tableProps.headerCellClassName"
|
|
:header-cell-class-name="tableProps.headerCellClassName"
|
|
:tooltip-effect="tableProps.tooltipEffect"
|
|
:tooltip-effect="tableProps.tooltipEffect"
|
|
:show-summary="tableProps.showSummary"
|
|
:show-summary="tableProps.showSummary"
|
|
|
|
+ :header-cell-style="{ background: '#F9FAFC' }"
|
|
>
|
|
>
|
|
<el-table-column
|
|
<el-table-column
|
|
prop="indexs"
|
|
prop="indexs"
|
|
@@ -89,16 +91,17 @@
|
|
:data="tableList"
|
|
:data="tableList"
|
|
style="width: 100%"
|
|
style="width: 100%"
|
|
:row-style="rowStyle"
|
|
:row-style="rowStyle"
|
|
|
|
+ :header-row-style="rowStyle"
|
|
:style="dataTableContentStyle"
|
|
:style="dataTableContentStyle"
|
|
height="calc(100vh - 190px)"
|
|
height="calc(100vh - 190px)"
|
|
max-height="calc(100vh - 190px)"
|
|
max-height="calc(100vh - 190px)"
|
|
:stripe="tableProps.stripe"
|
|
:stripe="tableProps.stripe"
|
|
- :border="tableProps.border"
|
|
|
|
:row-key="tableProps.rowKey"
|
|
:row-key="tableProps.rowKey"
|
|
:highlight-current-row="tableProps.highlightCurrentRow"
|
|
:highlight-current-row="tableProps.highlightCurrentRow"
|
|
:header-cell-class-name="tableProps.headerCellClassName"
|
|
:header-cell-class-name="tableProps.headerCellClassName"
|
|
:tooltip-effect="tableProps.tooltipEffect"
|
|
:tooltip-effect="tableProps.tooltipEffect"
|
|
:show-summary="tableProps.showSummary"
|
|
:show-summary="tableProps.showSummary"
|
|
|
|
+ :header-cell-style="{ background: '#F9FAFC' }"
|
|
>
|
|
>
|
|
<el-table-column
|
|
<el-table-column
|
|
prop="indexs"
|
|
prop="indexs"
|
|
@@ -135,16 +138,17 @@
|
|
:data="tableList"
|
|
:data="tableList"
|
|
style="width: 100%"
|
|
style="width: 100%"
|
|
:row-style="rowStyle"
|
|
:row-style="rowStyle"
|
|
|
|
+ :header-row-style="rowStyle"
|
|
:style="dataTableContentStyle"
|
|
:style="dataTableContentStyle"
|
|
height="calc(100vh - 190px)"
|
|
height="calc(100vh - 190px)"
|
|
max-height="calc(100vh - 190px)"
|
|
max-height="calc(100vh - 190px)"
|
|
:stripe="tableProps.stripe"
|
|
:stripe="tableProps.stripe"
|
|
- :border="tableProps.border"
|
|
|
|
:row-key="tableProps.rowKey"
|
|
:row-key="tableProps.rowKey"
|
|
:highlight-current-row="tableProps.highlightCurrentRow"
|
|
:highlight-current-row="tableProps.highlightCurrentRow"
|
|
:header-cell-class-name="tableProps.headerCellClassName"
|
|
:header-cell-class-name="tableProps.headerCellClassName"
|
|
:tooltip-effect="tableProps.tooltipEffect"
|
|
:tooltip-effect="tableProps.tooltipEffect"
|
|
:show-summary="tableProps.showSummary"
|
|
:show-summary="tableProps.showSummary"
|
|
|
|
+ :header-cell-style="{ background: '#F9FAFC' }"
|
|
>
|
|
>
|
|
<el-table-column
|
|
<el-table-column
|
|
prop="indexs"
|
|
prop="indexs"
|
|
@@ -174,17 +178,18 @@
|
|
:data="tableList"
|
|
:data="tableList"
|
|
style="width: 100%"
|
|
style="width: 100%"
|
|
:row-style="rowStyle"
|
|
:row-style="rowStyle"
|
|
|
|
+ :header-row-style="rowStyle"
|
|
:style="dataTableContentStyle"
|
|
:style="dataTableContentStyle"
|
|
height="calc(100vh - 190px)"
|
|
height="calc(100vh - 190px)"
|
|
max-height="calc(100vh - 190px)"
|
|
max-height="calc(100vh - 190px)"
|
|
:stripe="tableProps.stripe"
|
|
:stripe="tableProps.stripe"
|
|
- :border="tableProps.border"
|
|
|
|
:row-key="tableProps.rowKey"
|
|
:row-key="tableProps.rowKey"
|
|
:highlight-current-row="tableProps.highlightCurrentRow"
|
|
:highlight-current-row="tableProps.highlightCurrentRow"
|
|
:header-cell-class-name="tableProps.headerCellClassName"
|
|
:header-cell-class-name="tableProps.headerCellClassName"
|
|
:tooltip-effect="tableProps.tooltipEffect"
|
|
:tooltip-effect="tableProps.tooltipEffect"
|
|
:show-summary="tableProps.showSummary"
|
|
:show-summary="tableProps.showSummary"
|
|
:summary-method="totalOutPrice"
|
|
:summary-method="totalOutPrice"
|
|
|
|
+ :header-cell-style="{ background: '#F9FAFC' }"
|
|
>
|
|
>
|
|
<el-table-column
|
|
<el-table-column
|
|
prop="indexs"
|
|
prop="indexs"
|
|
@@ -260,16 +265,17 @@
|
|
:data="tableList"
|
|
:data="tableList"
|
|
style="width: 100%"
|
|
style="width: 100%"
|
|
:row-style="rowStyle"
|
|
:row-style="rowStyle"
|
|
|
|
+ :header-row-style="rowStyle"
|
|
:style="dataTableContentStyle"
|
|
:style="dataTableContentStyle"
|
|
- height="calc(100vh - 190px)"
|
|
|
|
- max-height="calc(100vh - 190px)"
|
|
|
|
|
|
+ height="calc(100vh - 216px)"
|
|
|
|
+ max-height="calc(100vh - 216px)"
|
|
:stripe="tableProps.stripe"
|
|
:stripe="tableProps.stripe"
|
|
- :border="tableProps.border"
|
|
|
|
:row-key="tableProps.rowKey"
|
|
:row-key="tableProps.rowKey"
|
|
:highlight-current-row="tableProps.highlightCurrentRow"
|
|
:highlight-current-row="tableProps.highlightCurrentRow"
|
|
:header-cell-class-name="tableProps.headerCellClassName"
|
|
:header-cell-class-name="tableProps.headerCellClassName"
|
|
:tooltip-effect="tableProps.tooltipEffect"
|
|
:tooltip-effect="tableProps.tooltipEffect"
|
|
:summary-method="totalOutPrice"
|
|
:summary-method="totalOutPrice"
|
|
|
|
+ :header-cell-style="{ background: '#F9FAFC' }"
|
|
>
|
|
>
|
|
<el-table-column
|
|
<el-table-column
|
|
prop="indexs"
|
|
prop="indexs"
|
|
@@ -355,17 +361,18 @@
|
|
:data="tableList"
|
|
:data="tableList"
|
|
style="width: 100%"
|
|
style="width: 100%"
|
|
:row-style="rowStyle"
|
|
:row-style="rowStyle"
|
|
|
|
+ :header-row-style="rowStyle"
|
|
:style="dataTableContentStyle"
|
|
:style="dataTableContentStyle"
|
|
- height="calc(100vh - 190px)"
|
|
|
|
- max-height="calc(100vh - 190px)"
|
|
|
|
|
|
+ height="calc(100vh - 236px)"
|
|
|
|
+ max-height="calc(100vh - 236px)"
|
|
:stripe="tableProps.stripe"
|
|
:stripe="tableProps.stripe"
|
|
- :border="tableProps.border"
|
|
|
|
:row-key="tableProps.rowKey"
|
|
:row-key="tableProps.rowKey"
|
|
:highlight-current-row="tableProps.highlightCurrentRow"
|
|
:highlight-current-row="tableProps.highlightCurrentRow"
|
|
:header-cell-class-name="tableProps.headerCellClassName"
|
|
:header-cell-class-name="tableProps.headerCellClassName"
|
|
:tooltip-effect="tableProps.tooltipEffect"
|
|
:tooltip-effect="tableProps.tooltipEffect"
|
|
:summary-method="totalOutPrice"
|
|
:summary-method="totalOutPrice"
|
|
:show-summary="tableProps.showSummary"
|
|
:show-summary="tableProps.showSummary"
|
|
|
|
+ :header-cell-style="{ background: '#F9FAFC' }"
|
|
>
|
|
>
|
|
<el-table-column
|
|
<el-table-column
|
|
prop="indexs"
|
|
prop="indexs"
|
|
@@ -472,17 +479,18 @@
|
|
:data="tableList"
|
|
:data="tableList"
|
|
style="width: 100%"
|
|
style="width: 100%"
|
|
:row-style="rowStyle"
|
|
:row-style="rowStyle"
|
|
|
|
+ :header-row-style="rowStyle"
|
|
:style="dataTableContentStyle"
|
|
:style="dataTableContentStyle"
|
|
- height="calc(100vh - 190px)"
|
|
|
|
- max-height="calc(100vh - 190px)"
|
|
|
|
|
|
+ height="calc(100vh - 236px)"
|
|
|
|
+ max-height="calc(100vh - 236px)"
|
|
:stripe="tableProps.stripe"
|
|
:stripe="tableProps.stripe"
|
|
- :border="tableProps.border"
|
|
|
|
:row-key="tableProps.rowKey"
|
|
:row-key="tableProps.rowKey"
|
|
:highlight-current-row="tableProps.highlightCurrentRow"
|
|
:highlight-current-row="tableProps.highlightCurrentRow"
|
|
:header-cell-class-name="tableProps.headerCellClassName"
|
|
:header-cell-class-name="tableProps.headerCellClassName"
|
|
:tooltip-effect="tableProps.tooltipEffect"
|
|
:tooltip-effect="tableProps.tooltipEffect"
|
|
:summary-method="totalOutPrice"
|
|
:summary-method="totalOutPrice"
|
|
:show-summary="tableProps.showSummary"
|
|
:show-summary="tableProps.showSummary"
|
|
|
|
+ :header-cell-style="{ background: '#F9FAFC' }"
|
|
>
|
|
>
|
|
<el-table-column
|
|
<el-table-column
|
|
prop="indexs"
|
|
prop="indexs"
|
|
@@ -561,17 +569,18 @@
|
|
:data="tableList"
|
|
:data="tableList"
|
|
style="width: 100%"
|
|
style="width: 100%"
|
|
:row-style="rowStyle"
|
|
:row-style="rowStyle"
|
|
|
|
+ :header-row-style="rowStyle"
|
|
:style="dataTableContentStyle"
|
|
:style="dataTableContentStyle"
|
|
- height="calc(100vh - 190px)"
|
|
|
|
- max-height="calc(100vh - 190px)"
|
|
|
|
|
|
+ height="calc(100vh - 236px)"
|
|
|
|
+ max-height="calc(100vh - 236px)"
|
|
:stripe="tableProps.stripe"
|
|
:stripe="tableProps.stripe"
|
|
- :border="tableProps.border"
|
|
|
|
:row-key="tableProps.rowKey"
|
|
:row-key="tableProps.rowKey"
|
|
:highlight-current-row="tableProps.highlightCurrentRow"
|
|
:highlight-current-row="tableProps.highlightCurrentRow"
|
|
:header-cell-class-name="tableProps.headerCellClassName"
|
|
:header-cell-class-name="tableProps.headerCellClassName"
|
|
:tooltip-effect="tableProps.tooltipEffect"
|
|
:tooltip-effect="tableProps.tooltipEffect"
|
|
:summary-method="totalOutPrice"
|
|
:summary-method="totalOutPrice"
|
|
:show-summary="tableProps.showSummary"
|
|
:show-summary="tableProps.showSummary"
|
|
|
|
+ :header-cell-style="{ background: '#F9FAFC' }"
|
|
>
|
|
>
|
|
<el-table-column
|
|
<el-table-column
|
|
prop="indexs"
|
|
prop="indexs"
|
|
@@ -692,17 +701,18 @@
|
|
:data="tableList"
|
|
:data="tableList"
|
|
style="width: 100%"
|
|
style="width: 100%"
|
|
:row-style="rowStyle"
|
|
:row-style="rowStyle"
|
|
|
|
+ :header-row-style="rowStyle"
|
|
:style="dataTableContentStyle"
|
|
:style="dataTableContentStyle"
|
|
- height="calc(100vh - 190px)"
|
|
|
|
- max-height="calc(100vh - 190px)"
|
|
|
|
|
|
+ height="calc(100vh - 236px)"
|
|
|
|
+ max-height="calc(100vh - 236px)"
|
|
:stripe="tableProps.stripe"
|
|
:stripe="tableProps.stripe"
|
|
- :border="tableProps.border"
|
|
|
|
:row-key="tableProps.rowKey"
|
|
:row-key="tableProps.rowKey"
|
|
:highlight-current-row="tableProps.highlightCurrentRow"
|
|
:highlight-current-row="tableProps.highlightCurrentRow"
|
|
:header-cell-class-name="tableProps.headerCellClassName"
|
|
:header-cell-class-name="tableProps.headerCellClassName"
|
|
:tooltip-effect="tableProps.tooltipEffect"
|
|
:tooltip-effect="tableProps.tooltipEffect"
|
|
:summary-method="totalOutPrice"
|
|
:summary-method="totalOutPrice"
|
|
:show-summary="tableProps.showSummary"
|
|
:show-summary="tableProps.showSummary"
|
|
|
|
+ :header-cell-style="{ background: '#F9FAFC' }"
|
|
>
|
|
>
|
|
<el-table-column
|
|
<el-table-column
|
|
prop="indexs"
|
|
prop="indexs"
|
|
@@ -788,17 +798,18 @@
|
|
:data="tableList"
|
|
:data="tableList"
|
|
style="width: 100%"
|
|
style="width: 100%"
|
|
:row-style="rowStyle"
|
|
:row-style="rowStyle"
|
|
|
|
+ :header-row-style="rowStyle"
|
|
:style="dataTableContentStyle"
|
|
:style="dataTableContentStyle"
|
|
- height="calc(100vh - 190px)"
|
|
|
|
- max-height="calc(100vh - 190px)"
|
|
|
|
|
|
+ height="calc(100vh - 236px)"
|
|
|
|
+ max-height="calc(100vh - 236px)"
|
|
:stripe="tableProps.stripe"
|
|
:stripe="tableProps.stripe"
|
|
- :border="tableProps.border"
|
|
|
|
:row-key="tableProps.rowKey"
|
|
:row-key="tableProps.rowKey"
|
|
:highlight-current-row="tableProps.highlightCurrentRow"
|
|
:highlight-current-row="tableProps.highlightCurrentRow"
|
|
:header-cell-class-name="tableProps.headerCellClassName"
|
|
:header-cell-class-name="tableProps.headerCellClassName"
|
|
:tooltip-effect="tableProps.tooltipEffect"
|
|
:tooltip-effect="tableProps.tooltipEffect"
|
|
:summary-method="totalOutPrice"
|
|
:summary-method="totalOutPrice"
|
|
:show-summary="tableProps.showSummary"
|
|
:show-summary="tableProps.showSummary"
|
|
|
|
+ :header-cell-style="{ background: '#F9FAFC' }"
|
|
>
|
|
>
|
|
<el-table-column
|
|
<el-table-column
|
|
prop="indexs"
|
|
prop="indexs"
|
|
@@ -884,17 +895,17 @@
|
|
:data="tableList"
|
|
:data="tableList"
|
|
style="width: 100%"
|
|
style="width: 100%"
|
|
:row-style="rowStyle"
|
|
:row-style="rowStyle"
|
|
|
|
+ :header-row-style="rowStyle"
|
|
:style="dataTableContentStyle"
|
|
:style="dataTableContentStyle"
|
|
- height="calc(40vh - 190px)"
|
|
|
|
- max-height="calc(40vh - 190px)"
|
|
|
|
- :stripe="tableProps.stripe"
|
|
|
|
- :border="tableProps.border"
|
|
|
|
|
|
+ height="calc(47vh - 190px)"
|
|
|
|
+ max-height="calc(47vh - 190px)"
|
|
:row-key="tableProps.rowKey"
|
|
:row-key="tableProps.rowKey"
|
|
:highlight-current-row="tableProps.highlightCurrentRow"
|
|
:highlight-current-row="tableProps.highlightCurrentRow"
|
|
:header-cell-class-name="tableProps.headerCellClassName"
|
|
:header-cell-class-name="tableProps.headerCellClassName"
|
|
:tooltip-effect="tableProps.tooltipEffect"
|
|
:tooltip-effect="tableProps.tooltipEffect"
|
|
:summary-method="totalOutPrice"
|
|
:summary-method="totalOutPrice"
|
|
:show-summary="tableProps.showSummary"
|
|
:show-summary="tableProps.showSummary"
|
|
|
|
+ :header-cell-style="{ background: '#F9FAFC' }"
|
|
>
|
|
>
|
|
<el-table-column
|
|
<el-table-column
|
|
prop="indexs"
|
|
prop="indexs"
|
|
@@ -1091,20 +1102,30 @@
|
|
<SimpleTable
|
|
<SimpleTable
|
|
v-show="tableList.length && action == 12"
|
|
v-show="tableList.length && action == 12"
|
|
ref="tableRef"
|
|
ref="tableRef"
|
|
- height="calc(100vh - 190px)"
|
|
|
|
|
|
+ height="calc(100vh - 236px)"
|
|
:data="tableList"
|
|
:data="tableList"
|
|
:columns="tableColumn"
|
|
:columns="tableColumn"
|
|
:summary-method="totalOutPrice"
|
|
:summary-method="totalOutPrice"
|
|
:show-summary="tableProps.showSummary"
|
|
:show-summary="tableProps.showSummary"
|
|
|
|
+ :stripe="tableProps.stripe"
|
|
|
|
+ :row-style="rowStyle"
|
|
|
|
+ :header-row-style="rowStyle"
|
|
|
|
+ :border="false"
|
|
|
|
+ :header-cell-style="{ background: '#F9FAFC' }"
|
|
/>
|
|
/>
|
|
<SimpleTable
|
|
<SimpleTable
|
|
v-show="tableList.length && action == 13"
|
|
v-show="tableList.length && action == 13"
|
|
ref="tableRef"
|
|
ref="tableRef"
|
|
- height="calc(100vh - 190px)"
|
|
|
|
|
|
+ height="calc(100vh - 236px)"
|
|
:data="tableList"
|
|
:data="tableList"
|
|
:columns="tableColumns"
|
|
:columns="tableColumns"
|
|
:summary-method="totalOutPrice"
|
|
:summary-method="totalOutPrice"
|
|
:show-summary="tableProps.showSummary"
|
|
:show-summary="tableProps.showSummary"
|
|
|
|
+ :stripe="tableProps.stripe"
|
|
|
|
+ :row-style="rowStyle"
|
|
|
|
+ :header-row-style="rowStyle"
|
|
|
|
+ :border="false"
|
|
|
|
+ :header-cell-style="{ background: '#F9FAFC' }"
|
|
/>
|
|
/>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@@ -1135,14 +1156,14 @@ export default {
|
|
return {
|
|
return {
|
|
loading: false,
|
|
loading: false,
|
|
rowStyle: {
|
|
rowStyle: {
|
|
- height: "50px",
|
|
|
|
|
|
+ height: "60px",
|
|
fontSize: "14px",
|
|
fontSize: "14px",
|
|
color: "#101116",
|
|
color: "#101116",
|
|
},
|
|
},
|
|
tableProps: {
|
|
tableProps: {
|
|
height: "100%",
|
|
height: "100%",
|
|
maxHeight: "100%",
|
|
maxHeight: "100%",
|
|
- stripe: true,
|
|
|
|
|
|
+ stripe: false,
|
|
border: true,
|
|
border: true,
|
|
highlightCurrentRow: false,
|
|
highlightCurrentRow: false,
|
|
rowClassName: "rowClass",
|
|
rowClassName: "rowClass",
|
|
@@ -1353,6 +1374,9 @@ export default {
|
|
});
|
|
});
|
|
return sums;
|
|
return sums;
|
|
},
|
|
},
|
|
|
|
+ tabRowClassName({ row, rowIndex }) {
|
|
|
|
+ return "warning-row";
|
|
|
|
+ },
|
|
//滚动分页加载
|
|
//滚动分页加载
|
|
// load () {
|
|
// load () {
|
|
// this.$emit("load", true);
|
|
// this.$emit("load", true);
|
|
@@ -1364,6 +1388,19 @@ export default {
|
|
};
|
|
};
|
|
</script>
|
|
</script>
|
|
<style lang="scss" scoped>
|
|
<style lang="scss" scoped>
|
|
|
|
+:deep .warning-row {
|
|
|
|
+ background-color: #f9fafc !important;
|
|
|
|
+}
|
|
|
|
+:deep .warning-rows {
|
|
|
|
+ background-color: #ffffff !important;
|
|
|
|
+}
|
|
|
|
+:deep .el-table__footer {
|
|
|
|
+ height: 60px;
|
|
|
|
+}
|
|
|
|
+.data-table {
|
|
|
|
+ background: #ffffff;
|
|
|
|
+ position: relative;
|
|
|
|
+}
|
|
.el-table {
|
|
.el-table {
|
|
display: flex;
|
|
display: flex;
|
|
flex-direction: column;
|
|
flex-direction: column;
|