|
@@ -202,8 +202,8 @@ export default {
|
|
|
tableData: [],
|
|
|
mapList: [],
|
|
|
getIndex: 6,
|
|
|
- ty:this.type,
|
|
|
- searchType:''
|
|
|
+ ty: this.type,
|
|
|
+ searchType: ''
|
|
|
};
|
|
|
},
|
|
|
created() {
|
|
@@ -275,7 +275,11 @@ export default {
|
|
|
api.retrievalSearch(params).then(res => {
|
|
|
this.showDrop = false;
|
|
|
if (res.data.code === '0') {
|
|
|
- this.uniqueNameList = res.data.data.nameList;
|
|
|
+ if (this.ty == 2) {
|
|
|
+ this.uniqueNameList = res.data.data.lisDetailNames;
|
|
|
+ } else {
|
|
|
+ this.uniqueNameList = res.data.data.nameList;
|
|
|
+ }
|
|
|
}
|
|
|
});
|
|
|
},
|