feat: There is no way the, 搜索中心优化
This commit is contained in:
@@ -20,6 +20,7 @@
|
|||||||
v-model="checkStateType"
|
v-model="checkStateType"
|
||||||
class="search-group-itemType"
|
class="search-group-itemType"
|
||||||
placeholder="请选择"
|
placeholder="请选择"
|
||||||
|
@change="checkStateTypeFunc"
|
||||||
>
|
>
|
||||||
<el-option
|
<el-option
|
||||||
v-for="item in jumpPageType"
|
v-for="item in jumpPageType"
|
||||||
@@ -93,6 +94,10 @@ export default {
|
|||||||
computed: {},
|
computed: {},
|
||||||
watch: {},
|
watch: {},
|
||||||
methods: {
|
methods: {
|
||||||
|
checkStateTypeFunc(data){
|
||||||
|
this.checkStateType = data
|
||||||
|
this.$forceUpdate()
|
||||||
|
},
|
||||||
checkStateFunc(data){
|
checkStateFunc(data){
|
||||||
if(data === 'All'){
|
if(data === 'All'){
|
||||||
this.showType = true
|
this.showType = true
|
||||||
|
|||||||
@@ -358,7 +358,7 @@
|
|||||||
},
|
},
|
||||||
data () {
|
data () {
|
||||||
return {
|
return {
|
||||||
selectType: 'titleSearch',
|
selectType: '',
|
||||||
externalStatus:'',
|
externalStatus:'',
|
||||||
itermsConditionsTitle1: '',
|
itermsConditionsTitle1: '',
|
||||||
itermsConditionsTitle2: '',
|
itermsConditionsTitle2: '',
|
||||||
@@ -2690,6 +2690,12 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted () {
|
mounted () {
|
||||||
|
let selectType = this.$route.params.allType
|
||||||
|
if(selectType !== undefined && selectType !== null && selectType !== ''){
|
||||||
|
this.selectType = selectType
|
||||||
|
}else {
|
||||||
|
this.selectType = 'titleSearch'
|
||||||
|
}
|
||||||
let external = localStorage.getItem("external");
|
let external = localStorage.getItem("external");
|
||||||
if(external !== undefined && external !== null){
|
if(external !== undefined && external !== null){
|
||||||
this.externalStatus = external
|
this.externalStatus = external
|
||||||
|
|||||||
Reference in New Issue
Block a user