|
@@ -189,7 +189,6 @@
|
|
|
changeType(type) {
|
|
|
let queryFun
|
|
|
this.type = !!type ? type : this.type
|
|
|
- console.log(this.type)
|
|
|
if (this.type == "type") {
|
|
|
queryFun = findKeysWordType
|
|
|
} else {
|
|
@@ -202,14 +201,16 @@
|
|
|
},
|
|
|
type: this.protocolType
|
|
|
}, res => {
|
|
|
- console.log("Ressssssss",res)
|
|
|
if (!!res.Content.length) {
|
|
|
this.Description = res.Content[0].Description
|
|
|
this.Id = res.Content[0].PointId
|
|
|
+ //清空已选择的数据
|
|
|
+ this.$nextTick(_ => {
|
|
|
+ this.$refs.cutString.clear()
|
|
|
+ })
|
|
|
} else {
|
|
|
this.Description = ""
|
|
|
}
|
|
|
- // console.log(res)
|
|
|
})
|
|
|
this.getDataForSource()
|
|
|
this.getbeenFoundList()
|