|
@@ -598,7 +598,11 @@ const Easy = (props, ref) => {
|
|
|
<div>
|
|
<div>
|
|
|
<Space size={8}>
|
|
<Space size={8}>
|
|
|
<div className={styles.itemContainer}>
|
|
<div className={styles.itemContainer}>
|
|
|
- {!!ah && <div className={styles.label}>{TranslateText(["上限", "Upper Limit"])}</div>}
|
|
|
|
|
|
|
+ {!!ah && (
|
|
|
|
|
+ <div className={styles.label}>
|
|
|
|
|
+ {TranslateText(["上限", "Upper Limit"])}
|
|
|
|
|
+ </div>
|
|
|
|
|
+ )}
|
|
|
<Form.Item
|
|
<Form.Item
|
|
|
name="ah_value"
|
|
name="ah_value"
|
|
|
key={ahEnable}
|
|
key={ahEnable}
|
|
@@ -642,7 +646,11 @@ const Easy = (props, ref) => {
|
|
|
className={styles.itemContainer}
|
|
className={styles.itemContainer}
|
|
|
style={{ marginLeft: 8 }}
|
|
style={{ marginLeft: 8 }}
|
|
|
>
|
|
>
|
|
|
- {!!ahh && <div className={styles.label}>{TranslateText(["上上限", "Ultra Upper Limit"])}</div>}
|
|
|
|
|
|
|
+ {!!ahh && (
|
|
|
|
|
+ <div className={styles.label}>
|
|
|
|
|
+ {TranslateText(["上上限", "Ultra Upper Limit"])}
|
|
|
|
|
+ </div>
|
|
|
|
|
+ )}
|
|
|
<Form.Item
|
|
<Form.Item
|
|
|
name="ahh_value"
|
|
name="ahh_value"
|
|
|
key={ahhEnable}
|
|
key={ahhEnable}
|
|
@@ -693,7 +701,11 @@ const Easy = (props, ref) => {
|
|
|
<div style={{ marginTop: 10 }}>
|
|
<div style={{ marginTop: 10 }}>
|
|
|
<Space size={8}>
|
|
<Space size={8}>
|
|
|
<div className={styles.itemContainer}>
|
|
<div className={styles.itemContainer}>
|
|
|
- {!!al && <div className={styles.label}>{TranslateText(["下限", "Lower Limit"])}</div>}
|
|
|
|
|
|
|
+ {!!al && (
|
|
|
|
|
+ <div className={styles.label}>
|
|
|
|
|
+ {TranslateText(["下限", "Lower Limit"])}
|
|
|
|
|
+ </div>
|
|
|
|
|
+ )}
|
|
|
<Form.Item
|
|
<Form.Item
|
|
|
name="al_value"
|
|
name="al_value"
|
|
|
key={alEnable}
|
|
key={alEnable}
|
|
@@ -738,7 +750,11 @@ const Easy = (props, ref) => {
|
|
|
className={styles.itemContainer}
|
|
className={styles.itemContainer}
|
|
|
style={{ marginLeft: 8 }}
|
|
style={{ marginLeft: 8 }}
|
|
|
>
|
|
>
|
|
|
- {!!all && <div className={styles.label}>{TranslateText(["下下限", "Ultra Lower Limit"])}</div>}
|
|
|
|
|
|
|
+ {!!all && (
|
|
|
|
|
+ <div className={styles.label}>
|
|
|
|
|
+ {TranslateText(["下下限", "Ultra Lower Limit"])}
|
|
|
|
|
+ </div>
|
|
|
|
|
+ )}
|
|
|
<Form.Item
|
|
<Form.Item
|
|
|
name="all_value"
|
|
name="all_value"
|
|
|
key={allEnable}
|
|
key={allEnable}
|
|
@@ -813,7 +829,7 @@ const Easy = (props, ref) => {
|
|
|
<Form.Item label={TranslateText(["启用状态", "Enable"])} name="status">
|
|
<Form.Item label={TranslateText(["启用状态", "Enable"])} name="status">
|
|
|
<Switch size={"small"} />
|
|
<Switch size={"small"} />
|
|
|
</Form.Item>
|
|
</Form.Item>
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
<Form.Item
|
|
<Form.Item
|
|
|
label={TranslateText(["单位", "Unit"])}
|
|
label={TranslateText(["单位", "Unit"])}
|
|
|
name="unit"
|
|
name="unit"
|
|
@@ -830,10 +846,7 @@ const Easy = (props, ref) => {
|
|
|
/>
|
|
/>
|
|
|
</Form.Item>
|
|
</Form.Item>
|
|
|
|
|
|
|
|
- <Form.Item
|
|
|
|
|
- label={TranslateText(["告警组", "Group"])}
|
|
|
|
|
- name={"group_id"}
|
|
|
|
|
- >
|
|
|
|
|
|
|
+ <Form.Item label={TranslateText(["告警组", "Group"])} name={"group_id"}>
|
|
|
<Select
|
|
<Select
|
|
|
style={{ width: 200 }}
|
|
style={{ width: 200 }}
|
|
|
options={[
|
|
options={[
|
|
@@ -916,7 +929,7 @@ const Easy = (props, ref) => {
|
|
|
status === 1 &&
|
|
status === 1 &&
|
|
|
!isDisabled && (
|
|
!isDisabled && (
|
|
|
<div style={{ color: "var(--dt-error-color1)" }}>
|
|
<div style={{ color: "var(--dt-error-color1)" }}>
|
|
|
- 请输入数字
|
|
|
|
|
|
|
+ {TranslateText(["请输入数字", "Please input number"])}
|
|
|
</div>
|
|
</div>
|
|
|
)}
|
|
)}
|
|
|
</div>
|
|
</div>
|