|
@@ -29,6 +29,20 @@
|
|
|
<el-button type="warning" class="ml-2" @click="importClick">导入</el-button>
|
|
|
<el-button v-yes-com:[deriveTableItem] type="primary" class="ml-2" :disabled="tableCheckKeys.length <= 0">批量导出</el-button>
|
|
|
</template>
|
|
|
+ <template #search>
|
|
|
+ <hc-date-year v-model="searchForm.startYear" v-model:end="searchForm.endYear" />
|
|
|
+ <div class="relative ml-4 w-[500px]">
|
|
|
+ <hc-search-input v-model="searchForm.queryValue" text="搜索" color="#151921" @search="searchClick">
|
|
|
+ <template #prepend>
|
|
|
+ <el-select v-model="searchForm.year" placeholder="年份" clearable style="width: 80px">
|
|
|
+ <el-option label="2023" value="2023" />
|
|
|
+ <el-option label="2024" value="2024" />
|
|
|
+ </el-select>
|
|
|
+ </template>
|
|
|
+ </hc-search-input>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+
|
|
|
<HcTableList ref="tableRef" is-admin @tap="rowNameClick" @check="tableCheck" />
|
|
|
<template #action>
|
|
|
<div>建设规模:共计 xx 公里</div>
|
|
@@ -81,6 +95,7 @@
|
|
|
</div>
|
|
|
</hc-dialog>
|
|
|
</hc-card>
|
|
|
+ <HcWinSize @change="onWindowResize" />
|
|
|
</template>
|
|
|
|
|
|
<script setup>
|
|
@@ -184,6 +199,11 @@ const importClick = () => {
|
|
|
const modalImportClose = () => {
|
|
|
isImportShow.value = false
|
|
|
}
|
|
|
+
|
|
|
+//窗口大小改变
|
|
|
+const onWindowResize = ({ h, w }) => {
|
|
|
+ console.log(h, w)
|
|
|
+}
|
|
|
</script>
|
|
|
|
|
|
<style lang="scss">
|