修改搜索条件删除后不能再显示了
This commit is contained in:
@@ -148,7 +148,13 @@
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
iconClick() {
|
iconClick() {
|
||||||
this.$router.go(-1)
|
if (this.$route.query.goRouter) {
|
||||||
|
this.$router.push({
|
||||||
|
path: this.$route.query.goRouter
|
||||||
|
})
|
||||||
|
} else {
|
||||||
|
this.$router.go(-1)
|
||||||
|
}
|
||||||
},
|
},
|
||||||
getWdkCollectAndSubscribeInfoByUser() {
|
getWdkCollectAndSubscribeInfoByUser() {
|
||||||
getAction('/phone/search/getWdkCollectAndSubscribeInfoByUser', { id: this.$route.query.id }).then((res) => {
|
getAction('/phone/search/getWdkCollectAndSubscribeInfoByUser', { id: this.$route.query.id }).then((res) => {
|
||||||
@@ -528,6 +534,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.header-right-text-color {
|
.header-right-text-color {
|
||||||
color: #01A0AC!important;
|
color: #01A0AC !important;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
@@ -207,7 +207,13 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
iconClick() {
|
iconClick() {
|
||||||
this.$router.go(-1)
|
if (this.$route.query.goRouter) {
|
||||||
|
this.$router.push({
|
||||||
|
path: this.$route.query.goRouter
|
||||||
|
})
|
||||||
|
} else {
|
||||||
|
this.$router.go(-1)
|
||||||
|
}
|
||||||
},
|
},
|
||||||
viewAdd() {
|
viewAdd() {
|
||||||
let query = {
|
let query = {
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
<!-- @cancel="onClear"-->
|
<!-- @cancel="onClear"-->
|
||||||
<!-- :action-text="$t('reset')"-->
|
<!-- :action-text="$t('reset')"-->
|
||||||
<!-- :placeholder="$t('phoneSearch')"/>-->
|
<!-- :placeholder="$t('phoneSearch')"/>-->
|
||||||
<form action="/">
|
<form action="/" style="width: 100%;">
|
||||||
<van-search v-model="value"
|
<van-search v-model="value"
|
||||||
@search="onSearch"
|
@search="onSearch"
|
||||||
@clear="onClear"
|
@clear="onClear"
|
||||||
@@ -277,7 +277,9 @@
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
iconClick() {
|
iconClick() {
|
||||||
this.$router.go(-1)
|
this.$router.push({
|
||||||
|
path: '/phoneSearch'
|
||||||
|
})
|
||||||
},
|
},
|
||||||
onSearch() {
|
onSearch() {
|
||||||
this.searchValue = this.value
|
this.searchValue = this.value
|
||||||
@@ -346,16 +348,18 @@
|
|||||||
this.$router.push({
|
this.$router.push({
|
||||||
path: '/phoneDocumentDetails',
|
path: '/phoneDocumentDetails',
|
||||||
query: {
|
query: {
|
||||||
id: item.id.slice(0, 32)
|
id: item.id.slice(0, 32),
|
||||||
|
goRouter: '/phoneSearchList'
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
} else if (item.module_type_flag == 'WTZSK' || item.module_type_flag == 'ZSFX') {
|
} else if (item.module_type_flag == 'WTZSK' || item.module_type_flag == 'ZSFX') {
|
||||||
let id = item.id.replace('base','')
|
let id = item.id.replace('base', '')
|
||||||
this.recentBrowseAdd('Knowledge sharing', id)
|
this.recentBrowseAdd('Knowledge sharing', id)
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
path: '/phoneProblemKnowledgeBase',
|
path: '/phoneProblemKnowledgeBase',
|
||||||
query: {
|
query: {
|
||||||
id: id
|
id: id,
|
||||||
|
goRouter: '/phoneSearchList'
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
} else if (item.module_type_flag == 'FGYB') {
|
} else if (item.module_type_flag == 'FGYB') {
|
||||||
|
|||||||
Reference in New Issue
Block a user