Commit 0e8a02a2 authored by 杨芳博-DEL's avatar 杨芳博-DEL

修改缓存

parent 191a177a
...@@ -21,7 +21,10 @@ export default { ...@@ -21,7 +21,10 @@ export default {
{ {
path: "lpjManage", path: "lpjManage",
name: "chargeQueryLpjManage", name: "chargeQueryLpjManage",
component: () => import(/* webpackChunkName: "chargeQuery" */"@/views/charge-query/lpjManage.vue") component: () => import(/* webpackChunkName: "chargeQuery" */"@/views/charge-query/lpjManage.vue"),
meta:{
keepAlive:true
}
}, },
{ {
path: "lpjManageDetail", path: "lpjManageDetail",
......
...@@ -19,6 +19,9 @@ export default { ...@@ -19,6 +19,9 @@ export default {
path: "collection", path: "collection",
name: "VerificationCollection", name: "VerificationCollection",
component: () => import("@/views/verification/collection"), component: () => import("@/views/verification/collection"),
meta:{
keepAlive:true
}
}, },
{ {
path: "collectionDetail", path: "collectionDetail",
......
...@@ -246,7 +246,8 @@ export default { ...@@ -246,7 +246,8 @@ export default {
code: 1 code: 1
} }
], ],
ciReceiptTotalVo: {} ciReceiptTotalVo: {},
iscreated:false
}; };
}, },
components: { components: {
...@@ -258,9 +259,17 @@ export default { ...@@ -258,9 +259,17 @@ export default {
}) })
}, },
created() { created() {
this.iscreated = true
this._getCompanyOptions(); this._getCompanyOptions();
this._getDoctorListNoPage(); //获取医生下拉选项 this._getDoctorListNoPage(); //获取医生下拉选项
}, },
activated(){
if(!this.iscreated){
this._getCompanyOptions();
}else{
this.iscreated = false
}
},
methods: { methods: {
moment, moment,
// 获取未清余额合计 // 获取未清余额合计
......
...@@ -136,16 +136,27 @@ export default { ...@@ -136,16 +136,27 @@ export default {
pageSize: 10, pageSize: 10,
total: 0, total: 0,
}, },
iscreated:false
}; };
}, },
components: { components: {
BurtPagination, BurtPagination,
}, },
created() { created() {
this.iscreated = true
this.getData(); this.getData();
this._getCompanyOptions(); this._getCompanyOptions();
this.getRefcdByRefgrp(); this.getRefcdByRefgrp();
}, },
activated(){
if(!this.iscreated){
this.getData();
this._getCompanyOptions();
this.getRefcdByRefgrp();
}else{
this.iscreated = false
}
},
methods: { methods: {
moment, moment,
// 获取列表数据 // 获取列表数据
......
...@@ -179,16 +179,26 @@ export default { ...@@ -179,16 +179,26 @@ export default {
{ name: '全部', value: '' }, { name: '全部', value: '' },
{ name: '已结案', value: '1' }, { name: '已结案', value: '1' },
{ name: '暂存', value: '0' } { name: '暂存', value: '0' }
] ],
iscreated: false
}; };
}, },
components: { components: {
BurtPagination, BurtPagination,
}, },
created() { created() {
this.iscreated = true
this.getData(); this.getData();
this._getCompanyOptions(); this._getCompanyOptions();
}, },
activated(){
if(!this.iscreated){
this.getData();
this._getCompanyOptions();
}else{
this.iscreated = false
}
},
methods: { methods: {
moment, moment,
pageChange(pager) { pageChange(pager) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment