|
@@ -541,25 +541,26 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
btn(row) {
|
|
|
- if (this.whether) {
|
|
|
- return;
|
|
|
- }
|
|
|
- let concepts = {
|
|
|
- conceptId: row.conceptId,
|
|
|
- conceptLibType: row.libType,
|
|
|
- conceptLibName: row.conceptName
|
|
|
- };
|
|
|
- this.excludedConceptIds.push(row.conceptId);
|
|
|
- this.form.concepts.push(concepts);
|
|
|
- this.leftList = this.form.concepts;
|
|
|
- this.conceptList = [];
|
|
|
- this.searchtext = '';
|
|
|
- this.searchtext2 = '';
|
|
|
- this.$nextTick(() => {
|
|
|
- setTimeout(() => {
|
|
|
- this.getTreeSearchList();
|
|
|
- }, 150);
|
|
|
- });
|
|
|
+ // if (this.whether) {
|
|
|
+ // return;
|
|
|
+ // }
|
|
|
+ // let concepts = {
|
|
|
+ // conceptId: row.conceptId,
|
|
|
+ // conceptLibType: row.libType,
|
|
|
+ // conceptLibName: row.conceptName
|
|
|
+ // };
|
|
|
+ // this.excludedConceptIds.push(row.conceptId);
|
|
|
+ // this.form.concepts.push(concepts);
|
|
|
+ // this.leftList = this.form.concepts;
|
|
|
+ // this.conceptList = [];
|
|
|
+ // this.searchtext = '';
|
|
|
+ // this.searchtext2 = '';
|
|
|
+ // this.$nextTick(() => {
|
|
|
+ // setTimeout(() => {
|
|
|
+ // this.getTreeSearchList();
|
|
|
+ // }, 150);
|
|
|
+ // });
|
|
|
+ this.$refs.tables.toggleRowSelection(row)
|
|
|
},
|
|
|
handleSelectionChange(val) {
|
|
|
this.multipleSelection = val;
|