+
@@ -139,7 +135,7 @@ const pageData = reactive({
{ label: "预警类别", prop: "yjlb", showSolt: true },
{ label: "预警类型", prop: "yjlx", showSolt: true },
// { label: "身份次数", prop: "sfcs", showSlot: true },
-
+
{ label: "预警内容", prop: "yjnr", showOverflowTooltip: true },
]
});
@@ -240,22 +236,10 @@ const getRowClassName = (row) => {
return '';
};
-// 搜索栏
-const search = ref(false)
-const openSearch = () => {
- search.value = !search.value
- nextTick(() => {
- tabHeightFn()
- })
-}
// 表格高度计算
const tabHeightFn = () => {
- if (search.value) {
pageData.tableHeight = window.innerHeight - (searchBox.value?.offsetHeight || 0) - 250;
- } else {
- pageData.tableHeight = window.innerHeight - 250;
- }
window.onresize = function() {
tabHeightFn();
};
diff --git a/src/views/backOfficeSystem/fourColorManage/warningList/portraitWarning/components/localWarning.vue b/src/views/backOfficeSystem/fourColorManage/warningList/portraitWarning/components/localWarning.vue
index 3052c31..087780b 100644
--- a/src/views/backOfficeSystem/fourColorManage/warningList/portraitWarning/components/localWarning.vue
+++ b/src/views/backOfficeSystem/fourColorManage/warningList/portraitWarning/components/localWarning.vue
@@ -106,11 +106,8 @@ const props = defineProps({
maxHeight: {
type: [Number, String],
default: 666
- },
- search: {
- type: Boolean,
- default: false
},
+
excelTitle: {
type: String,
default: '预警信息'
diff --git a/src/views/backOfficeSystem/fourColorManage/warningList/portraitWarning/index.vue b/src/views/backOfficeSystem/fourColorManage/warningList/portraitWarning/index.vue
index c97eb5e..86565a6 100644
--- a/src/views/backOfficeSystem/fourColorManage/warningList/portraitWarning/index.vue
+++ b/src/views/backOfficeSystem/fourColorManage/warningList/portraitWarning/index.vue
@@ -2,16 +2,12 @@
-
+
@@ -235,20 +231,10 @@ const resetForm = (formEl) => {
// };
// };
// 搜索栏
-const search = ref(false)
-const openSearch = () => {
- search.value = !search.value
- nextTick(() => {
- tabHeightFn()
- })
-}
+
// 表格高度计算
const tabHeightFn = () => {
- if (search.value) {
pageData.tableHeight = window.innerHeight - (searchBox.value?.offsetHeight || 0) - 250;
- } else {
- pageData.tableHeight = window.innerHeight - 250;
- }
window.onresize = function() {
tabHeightFn();
};
diff --git a/src/views/backOfficeSystem/fourColorManage/warningList/vehicleWarning/components/localWarning.vue b/src/views/backOfficeSystem/fourColorManage/warningList/vehicleWarning/components/localWarning.vue
index 0dc7620..2e902f9 100644
--- a/src/views/backOfficeSystem/fourColorManage/warningList/vehicleWarning/components/localWarning.vue
+++ b/src/views/backOfficeSystem/fourColorManage/warningList/vehicleWarning/components/localWarning.vue
@@ -106,9 +106,6 @@ const props = defineProps({
maxHeight: {
type: [Number, String],
default: 666
- }, search: {
- type: Boolean,
- default: false
}
});
const permission_sfqs = ref(false)
diff --git a/src/views/backOfficeSystem/fourColorManage/warningList/vehicleWarning/index.vue b/src/views/backOfficeSystem/fourColorManage/warningList/vehicleWarning/index.vue
index 08791c9..0c53169 100644
--- a/src/views/backOfficeSystem/fourColorManage/warningList/vehicleWarning/index.vue
+++ b/src/views/backOfficeSystem/fourColorManage/warningList/vehicleWarning/index.vue
@@ -3,16 +3,12 @@
-
+
@@ -209,21 +205,10 @@ const resetForm = (formEl) => {
localWarningRef.value.getList()
}
-// 搜索栏
-const search = ref(false)
-const openSearch = () => {
- search.value = !search.value
- nextTick(() => {
- tabHeightFn()
- })
-}
+
// 表格高度计算
const tabHeightFn = () => {
- if (search.value) {
pageData.tableHeight = window.innerHeight - (searchBox.value?.offsetHeight || 0) - 250;
- } else {
- pageData.tableHeight = window.innerHeight - 250;
- }
window.onresize = function() {
tabHeightFn();
};