mirror of
https://gitee.com/js-yhsec/energy_storage.git
synced 2026-05-27 18:59:26 +08:00
feat(system): 新增峰谷套利策略功能
- 实现了峰谷套利策略的添加、编辑和查看功能 - 添加了自定义时段类型策略 - 优化了策略列表展示和操作 - 调整了表单样式和布局
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
|
||||
<script>
|
||||
import predictEcharts from '@/components/predict/predictEcharts.vue';
|
||||
import {getReq,postReq} from '@/request/api.js';
|
||||
export default {
|
||||
name: '',
|
||||
components: {predictEcharts},
|
||||
@@ -248,8 +249,23 @@ export default {
|
||||
|
||||
}
|
||||
},
|
||||
mounted() {},
|
||||
methods: {}
|
||||
mounted() {
|
||||
this.getData()
|
||||
},
|
||||
methods: {
|
||||
async getData(){
|
||||
const date={}
|
||||
try {
|
||||
const res=await getReq('/queryPredictionDay',{date:'2025-09-04'})
|
||||
console.log(res);
|
||||
|
||||
} catch (error) {
|
||||
console.log(error);
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user