车间组件完成情况
This commit is contained in:
@@ -51,6 +51,8 @@
|
||||
:props="defaultProps"
|
||||
:indent="80"
|
||||
:expand-on-click-node="false"
|
||||
:render-content="renderContent"
|
||||
node-key="机床流水号"
|
||||
class="selectTree"
|
||||
default-expand-all
|
||||
@node-click="onClick"/>
|
||||
@@ -181,6 +183,9 @@ export default {
|
||||
})
|
||||
}
|
||||
},
|
||||
renderContent(h, { node, data, store }) {
|
||||
return (<span class='treeNotes'>{node.label}</span>)
|
||||
},
|
||||
searchTable1(row) {
|
||||
this.tableData1 = []
|
||||
selectProcedure(row.工艺计划流水号).then(response => {
|
||||
@@ -196,5 +201,11 @@ export default {
|
||||
.el-tree-node__content>.el-tree-node__expand-icon{
|
||||
display: inline !important;
|
||||
}
|
||||
.el-tree-node:focus > .el-tree-node__content {
|
||||
background-color: #ccc !important;
|
||||
}
|
||||
}
|
||||
.treeNotes {
|
||||
background-color: green;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user