|
@@ -300,7 +300,6 @@ export default {
|
|
// 专家详情
|
|
// 专家详情
|
|
dialogExport: false,
|
|
dialogExport: false,
|
|
exportInfo: {},
|
|
exportInfo: {},
|
|
-
|
|
|
|
//搜索判断用
|
|
//搜索判断用
|
|
panduan: '找技术',
|
|
panduan: '找技术',
|
|
// 找技术
|
|
// 找技术
|
|
@@ -482,7 +481,6 @@ export default {
|
|
},
|
|
},
|
|
//tabs
|
|
//tabs
|
|
handleClick(tab, event) {
|
|
handleClick(tab, event) {
|
|
- console.log(event.target.getAttribute('id'));
|
|
|
|
if (event.target.getAttribute('id') == 'tab-0') {
|
|
if (event.target.getAttribute('id') == 'tab-0') {
|
|
this.panduan = '找技术';
|
|
this.panduan = '找技术';
|
|
if (this.name) {
|
|
if (this.name) {
|
|
@@ -505,25 +503,31 @@ export default {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
},
|
|
-
|
|
|
|
resetForm(name) {
|
|
resetForm(name) {
|
|
if (this.panduan == '找技术') {
|
|
if (this.panduan == '找技术') {
|
|
- let newname = this.name;
|
|
|
|
- this.searchInfo(newname);
|
|
|
|
-
|
|
|
|
- console.log('1');
|
|
|
|
|
|
+ if (name) {
|
|
|
|
+ this.searchInfo(name);
|
|
|
|
+ } else {
|
|
|
|
+ this.searchInfo();
|
|
|
|
+ }
|
|
} else if (this.panduan == '找产品') {
|
|
} else if (this.panduan == '找产品') {
|
|
- let newname = this.name;
|
|
|
|
- this.searchchanpin(newname);
|
|
|
|
- console.log('2');
|
|
|
|
|
|
+ if (name) {
|
|
|
|
+ this.searchchanpin(name);
|
|
|
|
+ } else {
|
|
|
|
+ this.searchchanpin();
|
|
|
|
+ }
|
|
} else if (this.panduan == '找服务') {
|
|
} else if (this.panduan == '找服务') {
|
|
- let newname = this.name;
|
|
|
|
- this.searchfuwu(newname);
|
|
|
|
- console.log('3');
|
|
|
|
|
|
+ if (name) {
|
|
|
|
+ this.searchfuwu(name);
|
|
|
|
+ } else {
|
|
|
|
+ this.searchfuwu();
|
|
|
|
+ }
|
|
} else if (this.panduan == '找专家') {
|
|
} else if (this.panduan == '找专家') {
|
|
- let newname = this.name;
|
|
|
|
- this.searchzhanjia(newname);
|
|
|
|
- console.log('4');
|
|
|
|
|
|
+ if (name) {
|
|
|
|
+ this.searchzhanjia(name);
|
|
|
|
+ } else {
|
|
|
|
+ this.searchzhanjia();
|
|
|
|
+ }
|
|
}
|
|
}
|
|
},
|
|
},
|
|
},
|
|
},
|