车间组件完成情况

This commit is contained in:
zhangdingyu
2019-12-03 10:46:13 +08:00
parent a1f135aa5e
commit 9a4060c43e
2 changed files with 307 additions and 304 deletions

View File

@@ -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>