年末公示导出

This commit is contained in:
Air 2025-04-03 15:23:12 +08:00
parent c0399f38f2
commit e13fe892f8
2 changed files with 6 additions and 21 deletions

2
auto-imports.d.ts vendored
View File

@ -1,5 +1,5 @@
// Generated by 'unplugin-auto-import'
export {}
declare global {
const layer: typeof import('@layui/layer-vue')['layer']
}

View File

@ -1,26 +1,6 @@
<template>
<lay-container style="padding: 20px">
<lay-row :space="10">
<lay-col :md="24">
<lay-card>
<lay-form style="margin-top: 20px">
<lay-row>
<lay-col :md="5">
<lay-form-item label="年度:" label-width="50">
<lay-date-picker type="year" :max="dayjs().format('YYYY')" v-model="searchAccount" placeholder="请选择"
allow-clear></lay-date-picker>
</lay-form-item>
</lay-col>
<lay-col :md="4">
<lay-form-item label-width="0">
<lay-button type="primary" @click="toSearch">查询</lay-button>
<lay-button @click="toReset">重置</lay-button>
</lay-form-item>
</lay-col>
</lay-row>
</lay-form>
</lay-card>
</lay-col>
<lay-col :md="24">
<lay-card>
<div style="padding: 10px">
@ -59,10 +39,15 @@ import { layer } from '@layui/layer-vue'
import { useUserStore } from '@/store/user'
const userStore = useUserStore()
import dayjs from "dayjs";
import { baseURL } from '@/api/http'
const searchAccount = ref()
//
const dataSource = ref([]);
const viewDetail = (data: any) => {
console.log(data)
window.open(baseURL+"/api/backend/automatic_publicity/dailyexport?id="+data.id, '_blank')
}
//
const page = reactive({