|
@@ -404,10 +404,25 @@ export default {
|
|
|
if(!this.search_have_more) return;
|
|
|
this.searchApi(this.current_search,++this.search_page);
|
|
|
},
|
|
|
+ getTargetSource(){
|
|
|
+ this.allFromArr = []
|
|
|
+ dataBaseInterface.getDataSource({IsBase:1}).then(res=>{
|
|
|
+ if(res.Ret!==200) return
|
|
|
+ if(res.Data){
|
|
|
+ this.allFromArr = res.Data.map(i=>{
|
|
|
+ return {
|
|
|
+ name:i.SourceName,
|
|
|
+ key:i.EdbSourceId
|
|
|
+ }
|
|
|
+ })
|
|
|
+ }
|
|
|
+ })
|
|
|
+ }
|
|
|
},
|
|
|
mounted() {
|
|
|
this.getEdbInfo();
|
|
|
this.getMenu();
|
|
|
+ this.getTargetSource()
|
|
|
},
|
|
|
}
|
|
|
</script>
|