|
@@ -1,8 +1,8 @@
|
|
|
<!-- 点检判定 -->
|
|
|
<template>
|
|
|
- <div class="mainContentBox">
|
|
|
+ <el-scrollbar :height="tableHeight">
|
|
|
<avue-crud ref="crudRef2" :data="tableData" :option="option" />
|
|
|
- </div>
|
|
|
+ </el-scrollbar>
|
|
|
</template>
|
|
|
<script setup>
|
|
|
import { processBrazePage } from "@/api/braze";
|
|
@@ -12,6 +12,11 @@ import { useDictionaryStore } from "@/store";
|
|
|
const dictS = useDictionaryStore();
|
|
|
const store = useProcessStore();
|
|
|
const tableData = ref([]);
|
|
|
+const tableHeight = ref(null);
|
|
|
+const setTableHeight = () => {
|
|
|
+ tableHeight.value =
|
|
|
+ Number(document.getElementById("tabBox").offsetHeight) - 110;
|
|
|
+};
|
|
|
const option = {
|
|
|
addBtn: false,
|
|
|
selection: false,
|
|
@@ -71,6 +76,7 @@ defineExpose({ refreshTra });
|
|
|
|
|
|
onMounted(() => {
|
|
|
refreshTra();
|
|
|
+ setTableHeight();
|
|
|
});
|
|
|
|
|
|
const dataList = (data) => {
|