|
@ -1,12 +1,15 @@ |
|
|
<!-- 附件组件 --> |
|
|
<!-- 附件组件 --> |
|
|
<template> |
|
|
<template> |
|
|
<div class="table-form"> |
|
|
<div class="table-form"> |
|
|
<el-table |
|
|
<el-table v-clientTableForm="{ |
|
|
|
|
|
isShowPagination:tableData.length > 10, |
|
|
|
|
|
isShowButton: isShowButton || isShowReduceButtonSelection, |
|
|
|
|
|
isFullscreen:isFullscreen |
|
|
|
|
|
}" |
|
|
class="multipleTableComponents" |
|
|
class="multipleTableComponents" |
|
|
ref="TableBaseComponents_Ref" |
|
|
ref="TableBaseComponents_Ref" |
|
|
v-loading="tableLoading" |
|
|
v-loading="tableLoading" |
|
|
:data="showTableData()" |
|
|
:data="showTableData()" |
|
|
:max-height="maxHeight" |
|
|
|
|
|
row-key="id" |
|
|
row-key="id" |
|
|
:border="border" |
|
|
:border="border" |
|
|
@selection-change="tableSelectionChange" |
|
|
@selection-change="tableSelectionChange" |
|
@ -736,11 +739,17 @@ const initValue = (headerItem, op) => { |
|
|
return op.value |
|
|
return op.value |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
const isFullscreen = ref(false) |
|
|
|
|
|
const reloadFullscreen = (fullscreen)=>{ |
|
|
|
|
|
isFullscreen.value = fullscreen |
|
|
|
|
|
} |
|
|
// setup 语法糖 抛出方法 |
|
|
// setup 语法糖 抛出方法 |
|
|
defineExpose({ |
|
|
defineExpose({ |
|
|
TableBaseComponents_Ref, |
|
|
TableBaseComponents_Ref, |
|
|
validateForm, |
|
|
validateForm, |
|
|
keyWord |
|
|
keyWord, |
|
|
|
|
|
reloadFullscreen |
|
|
}) |
|
|
}) |
|
|
</script> |
|
|
</script> |
|
|
|
|
|
|
|
|