修改搜索条件删除后不能再显示了

This commit is contained in:
范强强
2023-06-20 15:40:02 +08:00
parent c386cc0af6
commit eb98dfe997
3 changed files with 24 additions and 8 deletions
@@ -148,7 +148,13 @@
},
methods: {
iconClick() {
this.$router.go(-1)
if (this.$route.query.goRouter) {
this.$router.push({
path: this.$route.query.goRouter
})
} else {
this.$router.go(-1)
}
},
getWdkCollectAndSubscribeInfoByUser() {
getAction('/phone/search/getWdkCollectAndSubscribeInfoByUser', { id: this.$route.query.id }).then((res) => {
@@ -528,6 +534,6 @@
}
.header-right-text-color {
color: #01A0AC!important;
color: #01A0AC !important;
}
</style>
@@ -207,7 +207,13 @@
}
},
iconClick() {
this.$router.go(-1)
if (this.$route.query.goRouter) {
this.$router.push({
path: this.$route.query.goRouter
})
} else {
this.$router.go(-1)
}
},
viewAdd() {
let query = {
+9 -5
View File
@@ -16,7 +16,7 @@
<!-- @cancel="onClear"-->
<!-- :action-text="$t('reset')"-->
<!-- :placeholder="$t('phoneSearch')"/>-->
<form action="/">
<form action="/" style="width: 100%;">
<van-search v-model="value"
@search="onSearch"
@clear="onClear"
@@ -277,7 +277,9 @@
})
},
iconClick() {
this.$router.go(-1)
this.$router.push({
path: '/phoneSearch'
})
},
onSearch() {
this.searchValue = this.value
@@ -346,16 +348,18 @@
this.$router.push({
path: '/phoneDocumentDetails',
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') {
let id = item.id.replace('base','')
let id = item.id.replace('base', '')
this.recentBrowseAdd('Knowledge sharing', id)
this.$router.push({
path: '/phoneProblemKnowledgeBase',
query: {
id: id
id: id,
goRouter: '/phoneSearchList'
}
})
} else if (item.module_type_flag == 'FGYB') {