|
@@ -56,7 +56,8 @@ export default {
|
|
|
"7724a25f-a781-46f4-b048-d9812108ff02" , //工作经验
|
|
|
"c1887d9d-e945-4875-be3f-905195cd8a8e"//学历
|
|
|
],
|
|
|
- dataMap:{},
|
|
|
+ dataMap:{},
|
|
|
+ init:false,
|
|
|
}
|
|
|
},
|
|
|
components: {
|
|
@@ -72,8 +73,16 @@ export default {
|
|
|
...this.whereDataInit
|
|
|
}
|
|
|
|
|
|
- if(op.key){
|
|
|
- this.key=op.key;
|
|
|
+ if(op.key){
|
|
|
+ this.init=true;
|
|
|
+
|
|
|
+ this.whereData[3]={
|
|
|
+ label:op.name,
|
|
|
+ name:op.name,
|
|
|
+ value:op.key,
|
|
|
+ };
|
|
|
+
|
|
|
+
|
|
|
}
|
|
|
if(op.all){
|
|
|
this.myfocus=false;
|
|
@@ -275,7 +284,8 @@ export default {
|
|
|
|
|
|
},
|
|
|
noSearch(){
|
|
|
- this.ing=true;
|
|
|
+ this.ing=true;
|
|
|
+
|
|
|
this.whereData={
|
|
|
...this.whereDataInit
|
|
|
}
|
|
@@ -344,7 +354,7 @@ export default {
|
|
|
this.record=this.carhelp.get("searchHistory");
|
|
|
this.getDataMap();
|
|
|
this.isReady=true;
|
|
|
- if(this.key||!this.myfocus ){
|
|
|
+ if(this.init||this.key||!this.myfocus ){
|
|
|
this.submit()
|
|
|
}
|
|
|
},onShow(){
|