不符合项清单基础数据字典(安全问题分类、性质;质量问题分类、性质)

This commit is contained in:
2026-05-07 19:32:17 +08:00
parent 0c0ceebd0f
commit 578085acd1
49 changed files with 6758 additions and 294 deletions
@@ -16,7 +16,7 @@
<f:FormRow>
<Items>
<f:TextBox ID="txtClassifyItemCode" runat="server" Label="编号" Required="true"
ShowRedStar="true" FocusOnPageLoad="true" MaxLength="50" LabelWidth="120px">
ShowRedStar="true" FocusOnPageLoad="true" MaxLength="50" LabelWidth="120px" >
</f:TextBox>
</Items>
</f:FormRow>
@@ -62,46 +62,4 @@
</f:Window>
</form>
</body>
<script>
<%-- var ddTestTraining = '<%= ddTestTraining.ClientID %>';
var treeTestTraining = '<%= treeTestTraining.ClientID %>';--%>
function onPopPanelShow(event) {
var nodes = this.getValue();
F.noEvent(function () {
// 第二个参数true:是否递归调用子节点
//F(treeTestTraining).checkNodes(nodes, true);
// 启用树控件的级联选择时,确保把树控件的选中值全部同步到下拉框
syncToDropDownBox();
});
}
// 将树控件的选中值同步到下拉框
function syncToDropDownBox() {
var values = [], texts = [];
var checkedNodes = F(treeTestTraining).getCheckedNodes(true);
$.each(checkedNodes, function (index, node) {
debugger;
values.push(node.id);
texts.push(node.text);
});
F(ddTestTraining).setValue(values, texts);
}
F.ready(function () {
F(treeTestTraining).on('nodecheck', function (event, nodeId, checked) {
// 加个延迟,等待复选框的级联选择完成
window.setTimeout(function () {
syncToDropDownBox();
});
});
});
</script>
</html>