From 084c64442a9d7f2743a46c63ca1dfc5e0a0b26b1 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期三, 18 九月 2024 13:05:15 +0800
Subject: [PATCH] #

---
 zy-acs-flow/src/page/code/CodeList.jsx |   12 +++++++++---
 1 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/zy-acs-flow/src/page/code/CodeList.jsx b/zy-acs-flow/src/page/code/CodeList.jsx
index 46514f8..616543a 100644
--- a/zy-acs-flow/src/page/code/CodeList.jsx
+++ b/zy-acs-flow/src/page/code/CodeList.jsx
@@ -68,8 +68,8 @@
     <NumberInput source="y" label="table.field.code.y" />,
     <SelectInput source="concer" label="table.field.code.concer"
         choices={[
-            { id: 1, name: '鏄�' },
-            { id: 0, name: '鍚�' },
+            { id: '1', name: 'common.enums.true' },
+            { id: '0', name: 'common.enums.false' },
         ]}
     />,
     <TextInput source="scale" label="table.field.code.scale" />,
@@ -122,7 +122,7 @@
                     rowClick={(id, resource, record) => false}
                     expand={() => <CodePanel />}
                     expandSingle={true}
-                    omit={['id', 'createTime', 'memo']}
+                    omit={['id', 'createTime', 'createBy', 'memo']}
                 >
                     <NumberField source="id" />
                     <TextField source="uuid" label="table.field.code.uuid" />
@@ -132,7 +132,13 @@
                     <BooleanField source="cornerBool" label="table.field.code.concer" sortable={false} />
                     <TextField source="scale" label="table.field.code.scale" />
 
+                    <ReferenceField source="updateBy" label="common.field.updateBy" reference="user" link={false} sortable={false}>
+                        <TextField source="nickname" />
+                    </ReferenceField>
                     <DateField source="updateTime" label="common.field.updateTime" showTime />
+                    <ReferenceField source="createBy" label="common.field.createBy" reference="user" link={false} sortable={false}>
+                        <TextField source="nickname" />
+                    </ReferenceField>
                     <DateField source="createTime" label="common.field.createTime" showTime />
                     <BooleanField source="statusBool" label="common.field.status" sortable={false} />
                     <TextField source="memo" label="common.field.memo" sortable={false} />

--
Gitblit v1.9.1