-
-
+
@@ -49,8 +73,7 @@
- 结膜:充血
- 结膜:充血
- 结膜:分泌物
- 结膜:分泌物
-
-
+
+
{{ scope.row.name }}
@@ -131,10 +145,17 @@ export default {
// 移动
moveHandle(index, type, row) {
if (type === 1) {
- this.tableData[index].od = row
+ this.tableData[index].od = row.os
+ this.tableData[index].odValue = row.osValue
} else {
- this.tableData[index].os = row
+ this.tableData[index].os = row.od
+ this.tableData[index].osValue = row.odValue
}
+ const sort = this.tableData[index].sort
+ this.tableData[index].sort = ''
+ this.$nextTick(() => {
+ this.tableData[index].sort = sort
+ })
},
handleNode(index, type, event) {
if (type === 'os') {
@@ -145,6 +166,12 @@ export default {
},
addTree(item, event) {
this.$emit('addTree', { item, event })
+ },
+ removeTree(item) {
+ this.$emit('removeTree', item)
+ },
+ selection(selection, val) {
+ this.$emit('selection', { selection, val })
}
}
}