|
@@ -378,7 +378,16 @@ export default {
|
|
methods: {
|
|
methods: {
|
|
funGoto(val) {
|
|
funGoto(val) {
|
|
this.storageSet('getData', val);
|
|
this.storageSet('getData', val);
|
|
- this.$router.push({ path: '/caseViews' });
|
|
|
|
|
|
+ const { path } = this.$route;
|
|
|
|
+ let toPath;
|
|
|
|
+ if (path === '/hospital-search') {
|
|
|
|
+ toPath = '/hospital-caseViews';
|
|
|
|
+ } else if (path === '/whitelist-search') {
|
|
|
|
+ toPath = '/whitelist-caseViews';
|
|
|
|
+ } else {
|
|
|
|
+ toPath = '/caseViews';
|
|
|
|
+ }
|
|
|
|
+ this.$router.push({ path: toPath, query: { status: 1} })
|
|
},
|
|
},
|
|
indexAdd(index) {
|
|
indexAdd(index) {
|
|
return index + 1 + (this.paginationData.currentPage - 1) * this.paginationData.pageSize;
|
|
return index + 1 + (this.paginationData.currentPage - 1) * this.paginationData.pageSize;
|