|
@@ -107,7 +107,7 @@ export default {
|
|
|
},
|
|
|
watch: {
|
|
|
$route(to, from) {
|
|
|
- if (from.path === '/caseIndex' && to.path === '/caseIndexList') {
|
|
|
+ if (['/caseIndex', '/yypsIndex'].includes(from.path) && to.path === '/caseIndexList') {
|
|
|
this.searchData.is_error = ''
|
|
|
this.searchData.AAA28 = ''
|
|
|
this.searchData.AAC11N = ''
|
|
@@ -172,8 +172,12 @@ export default {
|
|
|
if ([0, 1].includes(is_error)) {
|
|
|
params.is_error = is_error
|
|
|
}
|
|
|
+ let url = '/get_zhibiao_list'
|
|
|
|
|
|
- this.$axios2.post('/get_zhibiao_list', params).then(res => {
|
|
|
+ if (this.$route.query.from === 'yypsIndex') {
|
|
|
+ url = '/get_zhibiao_list_v2'
|
|
|
+ }
|
|
|
+ this.$axios2.post(url, params).then(res => {
|
|
|
this.tableData = res.data.data
|
|
|
this.paginationData.total = res.data.count
|
|
|
})
|