|
|
|
@ -26,6 +26,7 @@ |
|
|
|
class="header_search" |
|
|
|
placeholder="标的名称/所在地/编号" |
|
|
|
suffix-icon="el-icon-search" |
|
|
|
@keyup.enter.native="handleClick" |
|
|
|
v-model="search"> |
|
|
|
</el-input> |
|
|
|
</div> |
|
|
|
@ -63,6 +64,7 @@ |
|
|
|
</template> |
|
|
|
<script> |
|
|
|
import {isOpenAccount,sendSmsCode,login} from '../../api/index' |
|
|
|
import bus from './bus' |
|
|
|
export default { |
|
|
|
data() { |
|
|
|
return { |
|
|
|
@ -96,6 +98,14 @@ export default { |
|
|
|
} |
|
|
|
}, |
|
|
|
methods:{ |
|
|
|
handleClick(val){ |
|
|
|
console.info(this.$route) |
|
|
|
if(this.$route.path=='/ClassificationDetails'){ |
|
|
|
bus.$emit('getDate',this.search); |
|
|
|
}else{ |
|
|
|
this.$router.push({path:'/ClassificationDetails',query:this.search}) |
|
|
|
} |
|
|
|
}, |
|
|
|
loginOut(){ |
|
|
|
localStorage.removeItem('login_info') |
|
|
|
location.reload() |
|
|
|
|