Преглед изворни кода

[Mod 0000] 自燃发火页面细则修改及系统管理系列页面表单配置调整

houzekong пре 3 месеци
родитељ
комит
1d169074ee

+ 2 - 2
src/views/analysis/warningAnalysis/fireAreaJudgeAnalysis/fireAreaJudgeAnalysis.data.ts

@@ -88,10 +88,10 @@ export const columns: BasicColumn[] = [
     // 自定义渲染函数,计算并显示天数差
     customRender: ({ record }) => {
       // 校验预警时间是否存在
-      if (!record?.createTime) {
+      if (!record?.updateTime) {
         return '0';
       }
-      const alarmDate = new Date(record.createTime);
+      const alarmDate = new Date(record.updateTime);
       alarmDate.setHours(0, 0, 0, 0);
       const alarmTime = alarmDate.getTime();
       if (isNaN(alarmTime)) {

+ 1 - 0
src/views/monitor/log/index.vue

@@ -61,6 +61,7 @@
       },
       formConfig: {
         schemas: searchSchema,
+        schemaGroupNames: ['常规查询'],
         fieldMapToTime: [['fieldTime', ['createTime_begin', 'createTime_end'], 'YYYY-MM-DD']],
       },
     },

+ 1 - 0
src/views/system/dict/index.vue

@@ -72,6 +72,7 @@
       columns: columns,
       formConfig: {
         schemas: searchFormSchema,
+        schemaGroupNames: ['常规查询'],
       },
       actionColumn: {
         width: 240,

+ 1 - 0
src/views/system/notice/index.vue

@@ -57,6 +57,7 @@
       columns: columns,
       formConfig: {
         schemas: searchFormSchema,
+        schemaGroupNames: ['常规查询'],
         fieldMapToTime: [['sendTime', ['sendTime_begin', 'sendTime_end'], 'YYYY-MM-DD']],
       },
     },

+ 2 - 1
src/views/system/role/index.vue

@@ -63,9 +63,10 @@
       columns: columns,
       formConfig: {
         // 代码逻辑说明: 【QQYUN-5873】查询区域lablel默认居左
-        labelWidth: 65,
+        // labelWidth: 65,
         rowProps: { gutter: 24 },
         schemas: searchFormSchema,
+        schemaGroupNames: ['常规查询'],
       },
       actionColumn: {
         width: 120,