隐患类型只能选择最后一级
parent
421662ae0d
commit
3d3065eb89
|
|
@ -24,7 +24,7 @@ module.exports = {
|
|||
contextInject: {
|
||||
// 应用Key
|
||||
appKey: "",
|
||||
fileUrl: "http://192.168.20.230:7811/csyfile/",
|
||||
fileUrl: "http://192.168.20.240:9787/mnt/",
|
||||
},
|
||||
// public/index.html注入全局变量
|
||||
windowInject: {
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@
|
|||
"react": "^18.2.0",
|
||||
"react-dom": "^18.2.0",
|
||||
"react-to-print": "^3.2.0",
|
||||
"zy-react-library": "^1.0.93"
|
||||
"zy-react-library": "^1.0.97"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@antfu/eslint-config": "^5.4.1",
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ function List(props) {
|
|||
{
|
||||
name: "hiddenType",
|
||||
label: "隐患类型",
|
||||
render: <DictionarySelectTree dictValue="hiddenType" />,
|
||||
render: <DictionarySelectTree dictValue="hiddenType" onlyLastLevel />,
|
||||
},
|
||||
{
|
||||
name: "hiddenPart",
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ function List(props) {
|
|||
{
|
||||
name: "hiddenType",
|
||||
label: "隐患类型",
|
||||
render: <DictionarySelectTree dictValue="hiddenType" />,
|
||||
render: <DictionarySelectTree dictValue="hiddenType" onlyLastLevel />,
|
||||
},
|
||||
{
|
||||
name: "hiddenPart",
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ function List(props) {
|
|||
{
|
||||
name: "hiddenType",
|
||||
label: "隐患类型",
|
||||
render: <DictionarySelectTree dictValue="hiddenType" />,
|
||||
render: <DictionarySelectTree dictValue="hiddenType" onlyLastLevel />,
|
||||
},
|
||||
{
|
||||
name: "hiddenPart",
|
||||
|
|
|
|||
|
|
@ -266,6 +266,7 @@ function Add(props) {
|
|||
label: "隐患类型",
|
||||
render: (
|
||||
<DictionarySelectTree
|
||||
onlyLastLevel
|
||||
dictValue="hiddenType"
|
||||
onGetLabel={label => form.setFieldValue("hiddenTypeName", label)}
|
||||
/>
|
||||
|
|
|
|||
|
|
@ -82,7 +82,7 @@ function List(props) {
|
|||
{
|
||||
name: "hiddenType",
|
||||
label: "隐患类型",
|
||||
render: <DictionarySelectTree dictValue="hiddenType" />,
|
||||
render: <DictionarySelectTree dictValue="hiddenType" onlyLastLevel />,
|
||||
},
|
||||
{
|
||||
name: "hiddenPart",
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ function List(props) {
|
|||
{
|
||||
name: "hiddenType",
|
||||
label: "隐患类型",
|
||||
render: <DictionarySelectTree dictValue="hiddenType" />,
|
||||
render: <DictionarySelectTree dictValue="hiddenType" onlyLastLevel />,
|
||||
},
|
||||
{
|
||||
name: "hiddenPart",
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ function List(props) {
|
|||
{
|
||||
name: "hiddenType",
|
||||
label: "隐患类型",
|
||||
render: <DictionarySelectTree dictValue="hiddenType" />,
|
||||
render: <DictionarySelectTree dictValue="hiddenType" onlyLastLevel />,
|
||||
},
|
||||
{
|
||||
name: "hiddenPart",
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ function List(props) {
|
|||
{
|
||||
name: "hiddenType",
|
||||
label: "隐患类型",
|
||||
render: <DictionarySelectTree dictValue="hiddenType" />,
|
||||
render: <DictionarySelectTree dictValue="hiddenType" onlyLastLevel />,
|
||||
},
|
||||
{
|
||||
name: "hiddenPart",
|
||||
|
|
|
|||
Loading…
Reference in New Issue