This commit is contained in:
cjb 2025-05-10 11:22:08 +08:00
parent d15c9df7d4
commit 4e381af708
4 changed files with 18 additions and 5 deletions

View File

@ -1,9 +1,10 @@
<template>
<section class="app-main">
<transition name="fade-transform" mode="out-in">
<keep-alive :include="cachedViews">
<!-- <keep-alive :include="cachedViews">
<router-view v-if="!$route.meta.link" :key="key" />
</keep-alive>
</keep-alive> -->
<router-view v-if="!$route.meta.link" :key="key" />
</transition>
<iframe-toggle />
</section>

View File

@ -17,7 +17,7 @@ const service = axios.create({
// axios中请求配置有baseURL选项表示请求URL公共部分
baseURL: process.env.VUE_APP_BASE_API,
// 超时
timeout: 10000
timeout: 1000*60
})
// request拦截器

View File

@ -411,7 +411,7 @@ export default {
pageNum: 1,
pageSize: 10,
name: null,
month: null,
month:null,
deptId: null,
},
//
@ -423,6 +423,11 @@ export default {
created() {
this.getList();
this.getDeptList();
var parms = this.$route.query
console.log(1)
if(parms){
this.queryParams.month = parms.month
}
},
methods: {
/** 获取部门 */

View File

@ -134,7 +134,14 @@ export default {
this.$modal.msgSuccess("删除成功");
}).catch(() => {});
},
handleDetail(row){
this.$router.push({
path: "/finance/financeDetail",
query: {
month:row.month
}
})
}
}