联调承载能力评估 绘制 谐波普测管理
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<div>
|
||||
<el-row :gutter="30" class="mb20">
|
||||
<el-col :span="8">
|
||||
<el-col :span="10">
|
||||
<el-card>
|
||||
<template #header>
|
||||
<div class="card-header">
|
||||
@@ -91,7 +91,7 @@
|
||||
</div>
|
||||
</el-card>
|
||||
</el-col>
|
||||
<el-col :span="16">
|
||||
<el-col :span="14">
|
||||
<el-card>
|
||||
<template #header>
|
||||
<div class="card-header">
|
||||
@@ -331,6 +331,10 @@ const rendering = (row: any) => {
|
||||
{
|
||||
name: '禁止接入',
|
||||
value: 0
|
||||
},
|
||||
{
|
||||
name: '允许接入',
|
||||
value: 0
|
||||
}
|
||||
]
|
||||
outcome.value = row
|
||||
@@ -368,7 +372,7 @@ const rendering = (row: any) => {
|
||||
yAxis: {
|
||||
show: false
|
||||
},
|
||||
color: ['#77DA63', '#00BFF5', '#FFBF00', '#Ff6600', '#ff0000'],
|
||||
color: ['#77DA63', '#00BFF5', '#FFBF00', '#Ff6600', '#ff0000', '#07CCCA'],
|
||||
dataZoom: { show: false },
|
||||
series: [
|
||||
{
|
||||
@@ -419,10 +423,7 @@ onMounted(() => {
|
||||
form.value = props.rowList
|
||||
userId.value = props.rowList.userId
|
||||
selChange(props.rowList.userId)
|
||||
rendering({
|
||||
firstResult: props.rowList.firstResult,
|
||||
iresultList: props.rowList.iresultList
|
||||
})
|
||||
rendering(props.rowList)
|
||||
}
|
||||
})
|
||||
</script>
|
||||
|
||||
@@ -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