refactor(config): 更新配置文件和组件逻辑

- 在 `EditCom.vue` 中修改 `workModeIdSelect` 的监听器,添加异步处理逻辑,并引入新的方法 `getPolicyList` 以获取策略列表。
- 在 `device.vue` 中更新状态显示逻辑,使用 `is_error` 和 `is_running` 替换 `is_online`。
This commit is contained in:
zhoumengru
2025-09-18 16:02:43 +08:00
parent 575dc0478c
commit 4916d34b39
4 changed files with 31 additions and 20 deletions

View File

@@ -693,20 +693,7 @@ export const stationOptions = [
value: undefined,
key: 'policy_id',
type: 'unshow',
list: [
{
label: '削峰套利',
value: '1'
},
{
label: '需求响应',
value: '2'
},
{
label: '自发自用',
value: '3'
}
]
list: []
}
],
ruleForm: {}