修改
This commit is contained in:
parent
d15c9df7d4
commit
4e381af708
@ -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>
|
||||
|
||||
@ -17,7 +17,7 @@ const service = axios.create({
|
||||
// axios中请求配置有baseURL选项,表示请求URL公共部分
|
||||
baseURL: process.env.VUE_APP_BASE_API,
|
||||
// 超时
|
||||
timeout: 10000
|
||||
timeout: 1000*60
|
||||
})
|
||||
|
||||
// request拦截器
|
||||
|
||||
@ -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: {
|
||||
/** 获取部门 */
|
||||
|
||||
@ -134,7 +134,14 @@ export default {
|
||||
this.$modal.msgSuccess("删除成功");
|
||||
}).catch(() => {});
|
||||
},
|
||||
|
||||
handleDetail(row){
|
||||
this.$router.push({
|
||||
path: "/finance/financeDetail",
|
||||
query: {
|
||||
month:row.month
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user