Compare commits

..

No commits in common. "6bbc5867339a3ebfd83259e266d1374b5c974071" and "4f0f3657428e4922c8f361916e892e707637787e" have entirely different histories.

5 changed files with 3 additions and 14 deletions

View File

@ -159,7 +159,7 @@ const FormItemsRenderer = ({
case FORM_ITEM_RENDER_ENUM.SELECT:
return (
<Select placeholder={placeholder} showSearch allowClear optionFilterProp="children" {...componentProps}>
<Select placeholder={placeholder} showSearch allowClear {...componentProps}>
{(option.items || []).map((item) => {
const value = item[itemsFieldKey.valueKey];
const label = item[itemsFieldKey.labelKey];

View File

@ -98,7 +98,6 @@ function HiddenInfo(props) {
{ label: "存在风险", children: info.hiddenCheckListCO.existingRisks },
{ label: "风险分级", children: info.hiddenCheckListCO.riskLevel },
{ label: "隐患清单", children: info.hiddenCheckListCO.listName },
{ label: "检查内容", children: info.hiddenCheckListCO.inspectionContent },
]
: []
),

View File

@ -1,15 +1,7 @@
import { TreeSelect } from "antd";
import { useEffect } from "react";
import { getTreeNodePaths, processTreeDataByLevel, processTreeDataForOnlyLastLevel } from "../../../utils";
const getTreeNodePaths = () => {
};
const processTreeDataByLevel = () => {
};
const processTreeDataForOnlyLastLevel = ({ data }) => {
return data;
};
/**
* 基础下拉树组件不建议直接使用此组件二次继承使用
*/
@ -78,7 +70,6 @@ function BasicSelectTree(props) {
allowClear
treeData={processedTreeData}
fieldNames={{ label: nameKey, value: idKey, children: childrenKey }}
treeNodeFilterProp={nameKey}
{...restProps}
/>
);

View File

@ -13,7 +13,6 @@ export const HIDDEN_STATE_ENUM = [
{ bianma: "100", name: "待确认" },
{ bianma: "200", name: "待整改" },
{ bianma: "201", name: "确认打回" },
{ bianma: "202", name: "特殊处置" },
{ bianma: "300", name: "待验收" },
{ bianma: "301", name: "已验收" },
{ bianma: "302", name: "验收打回" },

View File

@ -1,7 +1,7 @@
{
"name": "zy-react-library",
"private": false,
"version": "1.0.89",
"version": "1.0.88",
"type": "module",
"description": "",
"author": "LiuJiaNan",