Parcourir la source

更改告警级别为级别

valentichu il y a 1 an
Parent
commit
0fad9d4138

Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
lib/index.js


+ 3 - 3
src/pages/Alarm/components/components/AlarmHistory/index.jsx

@@ -128,7 +128,7 @@ const Index = (props) => {
       title: TranslateText(["告警名称", "Alarm name"]),
       dataIndex: "name",
       ellipsis: true,
-      width: 160,
+      width: 200,
       render: (text, record) => {
         return <Tooltip title={text}>{text}</Tooltip>;
       },
@@ -136,8 +136,8 @@ const Index = (props) => {
     {
       title: () => {
         return (
-          <Tooltip title={TranslateText(["告警级别", "Level"])}>
-            <span>{TranslateText(["告警级别", "Level"])}</span>
+          <Tooltip title={TranslateText(["级别", "Level"])}>
+            <span>{TranslateText(["级别", "Level"])}</span>
           </Tooltip>
         );
       },

+ 3 - 3
src/pages/Alarm/components/easy.jsx

@@ -328,8 +328,8 @@ const Easy = (props, ref) => {
       form.setFieldsValue({
         alarm_level: 1,
         sub_type: 14,
-        point_id: props.pointId ?? '',
-        point_name: props.pointId ?? ''
+        point_id: props.pointId ?? "",
+        point_name: props.pointId ?? "",
       });
       setSubType(14);
     }
@@ -423,8 +423,8 @@ const Easy = (props, ref) => {
     >
       <Form.Item label={TranslateText(["告警类型", "Mode"])} name={"sub_type"}>
         <Radio.Group disabled={alarmId !== -1}>
-          <Radio value={13}>离散报警</Radio>
           <Radio value={14}>限值报警</Radio>
+          <Radio value={13}>离散报警</Radio>
         </Radio.Group>
       </Form.Item>
       <Form.Item

Certains fichiers n'ont pas été affichés car il y a eu trop de fichiers modifiés dans ce diff