|
@@ -16,6 +16,7 @@
|
|
|
position: relative;
|
|
|
left: 34px;
|
|
|
top: -10px;
|
|
|
+ padding-right: 30px;
|
|
|
}
|
|
|
|
|
|
.left_header {
|
|
@@ -110,6 +111,7 @@
|
|
|
width: 100%;
|
|
|
text-align: center;
|
|
|
padding: 20px 0;
|
|
|
+ font-size: 14px;
|
|
|
}
|
|
|
.searchText {
|
|
|
padding: 0 35px 0 15px;
|
|
@@ -378,7 +380,7 @@ export default {
|
|
|
.getSearchConcept({
|
|
|
excludedConceptIds: [0],
|
|
|
libType: this.form.collectionLibType,
|
|
|
- name: val,
|
|
|
+ name: val
|
|
|
})
|
|
|
.then(res => {
|
|
|
if (res.data.code == '0') {
|
|
@@ -409,20 +411,18 @@ export default {
|
|
|
this.form.collectionRemark = newValue.remark;
|
|
|
},
|
|
|
// 基础术语
|
|
|
- searchConcept() {
|
|
|
+ async searchConcept() {
|
|
|
this.whether = true;
|
|
|
const params = {
|
|
|
typeId: this.form.conceptLibType,
|
|
|
name: this.conceptText,
|
|
|
excludedConceptIds: this.excludedConceptIds
|
|
|
};
|
|
|
- api.getTreeSearchList(params).then(res => {
|
|
|
- const { data } = res;
|
|
|
- if (data.code == '0') {
|
|
|
- this.conceptList = data.data;
|
|
|
- this.whether = false;
|
|
|
- }
|
|
|
- });
|
|
|
+ const data = await api.getTreeSearchList(params);
|
|
|
+ if (data.data.code == '0') {
|
|
|
+ this.conceptList = data.data.data;
|
|
|
+ this.whether = false;
|
|
|
+ }
|
|
|
},
|
|
|
// 选择基础术语
|
|
|
selectConcept(item) {
|