|
|
@@ -11,6 +11,7 @@
|
|
|
<div
|
|
|
class="grid-container" :style="{
|
|
|
'padding-right': showComplexFilterPanel == true ? '360px' : '0px',
|
|
|
+ 'grid-template-rows': isHaveButtons === true ? '40px 40px auto 40px' : '40px 6px auto 40px'
|
|
|
}"
|
|
|
>
|
|
|
<div class="operationClass">
|
|
|
@@ -36,7 +37,7 @@
|
|
|
:complex-filter-params="complexFilterParams" :uuid="uuid" :show-tab-dto="tab" :model-datas="modelDatas"
|
|
|
:view-type="'Grid'" :curd-window-function-access="curdWindowFunctionAccess"
|
|
|
@create-record-in-window-edit="createRecordInWindowEdit" @delete-records="deleteRecords"
|
|
|
- @refresh-datas="refreshDatas"
|
|
|
+ @refresh-datas="refreshDatas" @judge-is-have-buttons="judgeIsHaveButtons"
|
|
|
/>
|
|
|
</div>
|
|
|
|
|
|
@@ -1758,6 +1759,9 @@ export default {
|
|
|
},
|
|
|
);
|
|
|
},
|
|
|
+ judgeIsHaveButtons: function (flag) {
|
|
|
+ this.isHaveButtons = flag;
|
|
|
+ },
|
|
|
},
|
|
|
};
|
|
|
</script>
|