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> <template>
<section class="app-main"> <section class="app-main">
<transition name="fade-transform" mode="out-in"> <transition name="fade-transform" mode="out-in">
<keep-alive :include="cachedViews"> <!-- <keep-alive :include="cachedViews">
<router-view v-if="!$route.meta.link" :key="key" /> <router-view v-if="!$route.meta.link" :key="key" />
</keep-alive> </keep-alive> -->
<router-view v-if="!$route.meta.link" :key="key" />
</transition> </transition>
<iframe-toggle /> <iframe-toggle />
</section> </section>

View File

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

View File

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

View File

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