diff --git a/src/components.d.ts b/src/components.d.ts index 97d773e..09a22b1 100644 --- a/src/components.d.ts +++ b/src/components.d.ts @@ -17,6 +17,8 @@ declare module 'vue' { ElInput: typeof import('element-plus/es')['ElInput'] ElInputNumber: typeof import('element-plus/es')['ElInputNumber'] ElPagination: typeof import('element-plus/es')['ElPagination'] + ElRadio: typeof import('element-plus/es')['ElRadio'] + ElRadioGroup: typeof import('element-plus/es')['ElRadioGroup'] ElScrollbar: typeof import('element-plus/es')['ElScrollbar'] ElSlider: typeof import('element-plus/es')['ElSlider'] ElTimePicker: typeof import('element-plus/es')['ElTimePicker'] diff --git a/src/views/AutomaticMode/index.vue b/src/views/AutomaticMode/index.vue index cd3c3a9..4c843d4 100644 --- a/src/views/AutomaticMode/index.vue +++ b/src/views/AutomaticMode/index.vue @@ -32,14 +32,14 @@
回路
亮度
-
-
{{ ele }}
-
{{ tasks[index].turnOn ? '通' : '断' }}
-
{{ tasks[index].pwm }}
+
+
{{ idx + 1 }}
+
{{ ele.turnOn ? '通' : '断' }}
+
{{ ele.pwm }}
-
定时时间
+
{{ tasks[index].timeType === 0 ? '定时时间' : '经纬度时间' }}
{{ tasks[index].execTime ? dayjs(tasks[index].execTime).format('HH:mm:ss') : '' }}
@@ -56,14 +56,14 @@
回路
亮度
-
-
{{ ele }}
-
{{ item.turnOn ? '通' : '断' }}
-
{{ item.pwm }}
+
+
{{ idx + 1 }}
+
{{ ele.turnOn ? '通' : '断' }}
+
{{ ele.pwm }}
-
定时时间
+
{{ item.timeType === 0 ? '定时时间' : '经纬度时间' }}
{{ item.execTime ? dayjs(item.execTime).format('HH:mm:ss') : '' }}
@@ -203,16 +203,16 @@
- +
调光通道