|
|
|
@ -54,14 +54,16 @@
|
|
|
|
|
margin-left: 10px;
|
|
|
|
|
margin-top: 10px;
|
|
|
|
|
margin-right: 10px;
|
|
|
|
|
width: 42%;
|
|
|
|
|
height: 30px;
|
|
|
|
|
width: 43%;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.treeBtn {
|
|
|
|
|
margin-top: 10px;
|
|
|
|
|
margin-left: 10px;
|
|
|
|
|
margin-right: 10px;
|
|
|
|
|
width: 42%;
|
|
|
|
|
margin-right: 0px;
|
|
|
|
|
height: 30px;
|
|
|
|
|
width: 43%;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/*.zTreeDemo{
|
|
|
|
@ -79,9 +81,9 @@
|
|
|
|
|
|
|
|
|
|
#ztree {
|
|
|
|
|
margin-top: 10px;
|
|
|
|
|
margin-left: -35px;
|
|
|
|
|
height: calc(100vh - 150px);
|
|
|
|
|
overflow: auto;
|
|
|
|
|
margin-left:-30px;
|
|
|
|
|
!important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -90,7 +92,7 @@
|
|
|
|
|
height: calc(100vh - 20px);
|
|
|
|
|
width: 24%;
|
|
|
|
|
float: left;
|
|
|
|
|
margin-left: 10px;
|
|
|
|
|
margin-left: 15px;
|
|
|
|
|
!important;
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
@ -108,7 +110,14 @@
|
|
|
|
|
!important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.zTreeDemo{
|
|
|
|
|
margin-left:35px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.divCss2{
|
|
|
|
|
margin-left: 0px;
|
|
|
|
|
margin-bottom: 0px;
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|
</head>
|
|
|
|
|
<body>
|
|
|
|
@ -116,11 +125,11 @@
|
|
|
|
|
<div class="row titleCss">
|
|
|
|
|
缺陷类别列表
|
|
|
|
|
</div>
|
|
|
|
|
<div class="row form-inline">
|
|
|
|
|
<input type="text" id="key" value="" class="input-medium form-control" placeholder="缺陷类别名称"/>
|
|
|
|
|
<button type="button" class="btn btn-primary btn-sm form-control" id="searchBtn">查询</button>
|
|
|
|
|
<div class="row form-inline form-group divCss2">
|
|
|
|
|
<input type="text" id="key" value="" class="input-sm form-control" placeholder="缺陷类别名称"/>
|
|
|
|
|
<button type="button" class="btn btn-primary btn-sm" id="searchBtn">查询</button>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="row">
|
|
|
|
|
<div class="row divCss2">
|
|
|
|
|
<button type="button" class="btn btn-success btn-sm treeBtn1" onclick="expandAll();">全部展开</button>
|
|
|
|
|
<button type="button" class="btn btn-success btn-sm treeBtn" onclick="collapseAll();">全部收缩</button>
|
|
|
|
|
</div>
|
|
|
|
@ -136,11 +145,11 @@
|
|
|
|
|
<div class="row titleCss">
|
|
|
|
|
缺陷类别信息
|
|
|
|
|
</div>
|
|
|
|
|
<form id="form1" >
|
|
|
|
|
<div class="row">
|
|
|
|
|
<form id="form1" style=" margin-top: 0px;">
|
|
|
|
|
<div class="row form-inline form-group">
|
|
|
|
|
<button type="button" class="btn btn-primary btn-sm" id="saveBtn">保存类别</button>
|
|
|
|
|
<button type="button" class="btn btn-danger btn-sm" id="delBtn">删除类别</button>
|
|
|
|
|
<button type="button" class="btn btn-warning btn-sm" id="addBtn">添加类别</button>
|
|
|
|
|
<button type="button" class="btn btn-danger btn-sm " id="delBtn">删除类别</button>
|
|
|
|
|
<button type="button" class="btn btn-warning btn-sm " id="addBtn">添加类别</button>
|
|
|
|
|
</div>
|
|
|
|
|
<div id="contentDiv" hidden>
|
|
|
|
|
<div class="row divCss">
|
|
|
|
|