From 0c4b8f2cdcfaef25e5107933647dcb7e691c7635 Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@163.com> Date: 星期一, 23 九月 2024 11:37:08 +0800 Subject: [PATCH] # --- zy-acs-flow/src/i18n/en.js | 1 + zy-acs-flow/src/i18n/zh.js | 1 + zy-acs-flow/src/page/bus/BusCreate.jsx | 7 ++++++- 3 files changed, 8 insertions(+), 1 deletions(-) diff --git a/zy-acs-flow/src/i18n/en.js b/zy-acs-flow/src/i18n/en.js index 268ac31..b439440 100644 --- a/zy-acs-flow/src/i18n/en.js +++ b/zy-acs-flow/src/i18n/en.js @@ -426,6 +426,7 @@ endTime: "end time", busSts: "bus status", phase: "phase", + taskList: "task list", }, task: { uuid: "uuid", diff --git a/zy-acs-flow/src/i18n/zh.js b/zy-acs-flow/src/i18n/zh.js index f22f268..1328989 100644 --- a/zy-acs-flow/src/i18n/zh.js +++ b/zy-acs-flow/src/i18n/zh.js @@ -425,6 +425,7 @@ endTime: "缁撴潫鏃堕棿", busSts: "鎬荤嚎鐘舵��", phase: "杩涘害", + taskList: "浠诲姟鍒楄〃", }, task: { uuid: "缂栧彿", diff --git a/zy-acs-flow/src/page/bus/BusCreate.jsx b/zy-acs-flow/src/page/bus/BusCreate.jsx index f24e50d..d781b62 100644 --- a/zy-acs-flow/src/page/bus/BusCreate.jsx +++ b/zy-acs-flow/src/page/bus/BusCreate.jsx @@ -140,6 +140,7 @@ <Grid item xs={12} display="flex" gap={1}> <ArrayInput + label="table.field.bus.taskList" source="taskList" validate={[required()]} > @@ -193,7 +194,11 @@ </Stack> <Stack direction="row" spacing={2} sx={{ maxWidth: '50%' }}> {/* <TextInput source="seqNum" /> */} - <NumberInput source="priority" defaultValue={1} /> + <NumberInput + label="table.field.task.priority" + source="priority" + defaultValue={1} + /> </Stack> </SimpleFormIterator> </ArrayInput> -- Gitblit v1.9.1