联调承载能力评估 绘制 谐波普测管理
This commit is contained in:
@@ -22,7 +22,9 @@
|
||||
<el-upload action="" :show-file-list="false" :auto-upload="false" :on-change="choose">
|
||||
<el-button type="primary" class="ml10" icon="el-icon-Upload">离线导入</el-button>
|
||||
</el-upload>
|
||||
<el-button type="primary" class="ml10" icon="el-icon-Ticket">模型训练</el-button>
|
||||
<!-- <el-button type="primary" class="ml10" icon="el-icon-Ticket" @click="modelTrain">
|
||||
模型训练
|
||||
</el-button> -->
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
|
||||
@@ -156,13 +158,14 @@ import {
|
||||
queryCarryCapacityIData,
|
||||
carryCapacityCal,
|
||||
getExcelTemplate,
|
||||
getLineDetailData
|
||||
getLineDetailData,
|
||||
modelTraining
|
||||
} from '@/api/advance-boot/bearingCapacity'
|
||||
import { useDictData } from '@/stores/dictData'
|
||||
const props = defineProps(['rowList'])
|
||||
|
||||
const monitoringPoint = useMonitoringPoint()
|
||||
const size = ref(0)
|
||||
const size = ref(26)
|
||||
const dictData = useDictData()
|
||||
const datePickerRef = ref()
|
||||
const height = mainHeight(80).height
|
||||
@@ -299,6 +302,16 @@ const onSubmit = async () => {
|
||||
const userChange = (e: any) => {
|
||||
userData.value = e
|
||||
}
|
||||
// 模型训练
|
||||
const modelTrain = () => {
|
||||
modelTraining({
|
||||
endTime: datePickerRef.value.timeValue[1],
|
||||
lineId: dotList.value.id,
|
||||
startTime: datePickerRef.value.timeValue[0],
|
||||
time: 0,
|
||||
userId: dictData.state.area[0].id
|
||||
}).then(res => {})
|
||||
}
|
||||
|
||||
const setEChart = (val: any, data: any) => {
|
||||
let options = {
|
||||
|
||||
Reference in New Issue
Block a user