diff --git a/src/components/BaseListTable.vue b/src/components/BaseListTable.vue index b770257..a154bbc 100644 --- a/src/components/BaseListTable.vue +++ b/src/components/BaseListTable.vue @@ -6,7 +6,7 @@ v-bind="tableConfig" ref="base-list-table" :header-cell-style="/** 重写表格样式 **/ { - padding: '8px 0', + padding: '5px 0', }" row-key="id" :cell-style="{ padding: 0 }" diff --git a/src/components/BaseSearchForm.vue b/src/components/BaseSearchForm.vue index d6f2dfd..f9cefe6 100644 --- a/src/components/BaseSearchForm.vue +++ b/src/components/BaseSearchForm.vue @@ -154,6 +154,10 @@ export default { /* position: relative; */ } +.base-search-form >>> .el-form-item { + margin-bottom: 12px; +} + .brand-color-line { display: inline-block; height: 20px; diff --git a/src/views/modules/pms/material/components/BaseListTable.vue b/src/views/modules/pms/material/components/BaseListTable.vue index 9c765b7..48cbb75 100644 --- a/src/views/modules/pms/material/components/BaseListTable.vue +++ b/src/views/modules/pms/material/components/BaseListTable.vue @@ -7,7 +7,7 @@ ref="base-list-table" :cell-style="{ padding: 0 }" :header-cell-style="/** 重写表格样式 **/ { - padding: '8px 0', + padding: '5px 0', }" row-key="id" :lazy="true" @@ -45,12 +45,13 @@ :width="head.width || null" :min-width="head.minWidth || null" :fixed="head.fixed || null" - :show-overflow-tooltip="head.showOverflowTooltip || true" :tooltip-effect="head.tooltipEffect || 'light'" filter-placement="top" :align="head.align || null" v-bind="head.more" - > + :show-overflow-tooltip="head.showOverflowTooltip || !(head.prop === 'operations')" + > +