|
@@ -269,6 +269,7 @@ export default {
|
|
|
collectionRemark:'',
|
|
|
collectionId: ''
|
|
|
},
|
|
|
+ whether:false,
|
|
|
rules: {
|
|
|
collectionLibType: [
|
|
|
{ required: true, message: '请选择术语集合类型', trigger: 'change' }
|
|
@@ -345,6 +346,7 @@ export default {
|
|
|
},
|
|
|
// 基础术语
|
|
|
searchConcept() {
|
|
|
+ this.whether = true
|
|
|
const params = {
|
|
|
typeId: this.form.conceptLibType,
|
|
|
name: this.conceptText,
|
|
@@ -354,11 +356,15 @@ export default {
|
|
|
const { data } = res;
|
|
|
if (data.code == '0') {
|
|
|
this.conceptList = data.data;
|
|
|
+ this.whether = false
|
|
|
}
|
|
|
});
|
|
|
},
|
|
|
// 选择基础术语
|
|
|
selectConcept(item) {
|
|
|
+ if(this.whether){
|
|
|
+ return
|
|
|
+ }
|
|
|
let concepts = {
|
|
|
conceptId: item.conceptId,
|
|
|
conceptLibType: item.conceptNameType,
|