feat(system): 新增峰谷套利策略功能

- 实现了峰谷套利策略的添加、编辑和查看功能
- 添加了自定义时段类型策略
- 优化了策略列表展示和操作
- 调整了表单样式和布局
This commit is contained in:
zhoumengru
2025-09-05 09:28:00 +08:00
parent 1c8120a3cf
commit b7e9768aae
8 changed files with 505 additions and 189 deletions

View File

@@ -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>