Browse Source

研判分析报告--暂时超级管理测试用

master
buaixuexideshitongxue 2 weeks ago
parent
commit
fcde6c52db
  1. 4
      src/views/work/Query.vue

4
src/views/work/Query.vue

@ -472,6 +472,7 @@
>数据导出</el-button
>
<el-button type="primary" @click="reportGenerationFun"
v-if="userStore.user?.userName === 'oumyye'"
>报告生成</el-button
>
<div>
@ -1091,6 +1092,8 @@ import useCatchStore from "@/stores/modules/catch";
import {computed, watch} from "vue";
import {getListData} from "@/api/superviseReport/superviseReport";
import {ArrowDown, ArrowUp} from "@element-plus/icons-vue";
import useUserStore from "@/stores/modules/user.ts";
const userStore = useUserStore();
const catchStore = useCatchStore();
const dict = catchStore.getDicts([
@ -1223,6 +1226,7 @@ async function handleExport() {
const reportGenerationFun = async ()=>{
// await feedback.confirm("");
debugger
console.log(userStore.user.userName)
const reportDateRange = query.value.reportDateRange;
if (!reportDateRange){
feedback.msgError("请选择对应报告时间")

Loading…
Cancel
Save