Browse Source

单选字符串转数字

hongrunxia 1 year ago
parent
commit
9f9761bb25

+ 0 - 1
src/hooks/web/useWebColumns.ts

@@ -42,7 +42,6 @@ export const getFormSchemaColumns = (webColumnsKey) => {
   const key = webColumnsKey;
   const allTableHeaderColumnArr = ventStore.getAllTableHeaderColumns;
   if (allTableHeaderColumnArr) {
-    debugger
     const tabelHeaderColumns = allTableHeaderColumnArr[key];
     return tabelHeaderColumns;
     // return arrToFormColumns(tabelHeaderColumns);

+ 1 - 1
src/views/vent/deviceManager/deviceTable/index.vue

@@ -74,6 +74,7 @@
                   { label: '是', value: 1, key: '1' },
                   { label: '否', value: 0, key: '2' },
                 ],
+                stringToNumber: true,
               };
             },
           };
@@ -86,7 +87,6 @@
             componentProps: {
               dictCode: item.dict,
               placeholder: '请选择',
-              stringToNumber: true,
             },
           };
         }

+ 8 - 8
src/views/vent/monitorManager/windrectMonitor/dantou.threejs.ts

@@ -57,15 +57,15 @@ class ddWindRect {
         color: '#009900',
         strokeStyle: '#002200',
         x: 140,
-        y: 100,
+        y: 95,
       },
       {
         text: `风量(m3/min):`,
         font: 'normal 29px Arial',
         color: '#009900',
         strokeStyle: '#002200',
-        x: 12,
-        y: 143,
+        x: 30,
+        y: 150,
       },
       {
         text: `${selectData.m3 ? selectData.m3 : '-'}`,
@@ -73,14 +73,14 @@ class ddWindRect {
         color: '#009900',
         strokeStyle: '#002200',
         x: 311,
-        y: 143,
+        y: 150,
       },
       {
         text: `风速(m/s): `,
         font: 'normal 29px Arial',
         color: '#009900',
         strokeStyle: '#002200',
-        x: 12,
+        x: 30,
         y: 202,
       },
       {
@@ -96,8 +96,8 @@ class ddWindRect {
         font: 'normal 29px Arial',
         color: '#009900',
         strokeStyle: '#002200',
-        x: 12,
-        y: 247,
+        x: 30,
+        y: 252,
       },
       {
         text: `${selectData.fsectarea ? selectData.fsectarea : '-'}`,
@@ -105,7 +105,7 @@ class ddWindRect {
         color: '#009900',
         strokeStyle: '#002200',
         x: 310,
-        y: 247,
+        y: 252,
       },
       {
         text: `煤炭科学技术研究院有限公司研制`,