Bläddra i källkod

[Mod 0000] 模型管理页面编辑表单修改

houzekong 2 månader sedan
förälder
incheckning
3578f376db
1 ändrade filer med 16 tillägg och 22 borttagningar
  1. 16 22
      src/views/system/algorithm/algorithm.data.ts

+ 16 - 22
src/views/system/algorithm/algorithm.data.ts

@@ -207,21 +207,9 @@ export const schemasCoalAlarm: FormSchema[] = [
     slot: 'InputGreaterNumber',
     /** 借用 */
     groupName: '  T-μT(℃) <',
-    colProps: { span: 12 },
+    colProps: { span: 12, style: 'margin-right: 1px' },
   },
   // { field: 'fireWarn1T', label: '', show: false, component: 'Input' },
-  {
-    field: 'fireWarn1Co2',
-    label: ' ',
-    suffix: '',
-    labelWidth: 118,
-    component: 'Input',
-    slot: 'InputGreaterNumber',
-    /** 借用 */
-    groupName: '  CO2(%) <=',
-    colProps: { span: 12 },
-  },
-  // { field: 'fireWarn1Co2', label: '', show: false, component: 'Input' },
   {
     field: 'fireWarn2CoRzl',
     label: '预警等级(Ⅱ):',
@@ -274,16 +262,18 @@ export const schemasCoalAlarm: FormSchema[] = [
   { field: 'fireWarn2TStart', label: '', show: false, component: 'Input' },
   { field: 'fireWarn2TEnd', label: '', show: false, component: 'Input' },
   {
-    field: 'fireWarn2Co2',
+    field: 'fireWarn2CoO2Ratio',
     label: ' ',
     suffix: '',
     labelWidth: 118,
     component: 'Input',
-    slot: 'InputGreaterNumber',
+    slot: 'InputRangeNumber',
     /** 借用 */
-    groupName: '  CO2(%) <',
+    groupName: '<  100 x ΔCO / ΔO2  =',
     colProps: { span: 12, style: 'margin-right: 1px' },
   },
+  { field: 'fireWarn2CoO2RatioStart', label: '', show: false, component: 'Input' },
+  { field: 'fireWarn2CoO2RatioEnd', label: '', show: false, component: 'Input' },
   {
     field: 'fireWarn3CoRzl',
     label: '预警等级(Ⅲ):',
@@ -336,16 +326,18 @@ export const schemasCoalAlarm: FormSchema[] = [
   { field: 'fireWarn3TStart', label: '', show: false, component: 'Input' },
   { field: 'fireWarn3TEnd', label: '', show: false, component: 'Input' },
   {
-    field: 'fireWarn3Co2',
+    field: 'fireWarn3CoO2Ratio',
     label: ' ',
     suffix: '',
     labelWidth: 118,
     component: 'Input',
-    slot: 'InputGreaterNumber',
+    slot: 'InputRangeNumber',
     /** 借用 */
-    groupName: '  CO2(%) <',
+    groupName: '<  100 x ΔCO / ΔO2  =',
     colProps: { span: 12 },
   },
+  { field: 'fireWarn3CoO2RatioStart', label: '', show: false, component: 'Input' },
+  { field: 'fireWarn3CoO2RatioEnd', label: '', show: false, component: 'Input' },
   {
     field: 'fireWarn3C2h4',
     label: ' ',
@@ -405,16 +397,18 @@ export const schemasCoalAlarm: FormSchema[] = [
   },
   // { field: 'fireWarn4T', label: '', show: false, component: 'Input' },
   {
-    field: 'fireWarn4Co2',
+    field: 'fireWarn4CoO2Ratio',
     label: ' ',
     suffix: '',
     labelWidth: 118,
     component: 'Input',
-    slot: 'InputLowerNumber',
+    slot: 'InputRangeNumber',
     /** 借用 */
-    groupName: '<= CO2(%)  ',
+    groupName: '<  100 x ΔCO / ΔO2  =',
     colProps: { span: 12 },
   },
+  { field: 'fireWarn4CoO2RatioStart', label: '', show: false, component: 'Input' },
+  { field: 'fireWarn4CoO2RatioEnd', label: '', show: false, component: 'Input' },
   {
     field: 'fireWarn4C2h4',
     label: ' ',