dev-QQq
方佳 博 2 years ago
parent b383cec8d1
commit f193b7a33c

@ -93,6 +93,7 @@
</el-table>
<!-- <el-pagination style="margin-top:10px" background layout="prev, pager, next" :total="1000" /> -->
</div>
<div style="color:#FFFFFF;" v-show="showChart">{{iterations}}</div>
<div class="pdfRef" id="pdfRef" style="margin-top: 20px; gap: 25px; display: flex" v-show="showChart">
<!-- <img src="../../../assets/images/图1.png" alt=""> -->
<div style="background: #ffffff">
@ -304,10 +305,10 @@ const task = () => {
return;
}
}
if(formInline2.value1!=='3'){
if(parseFloat(formInline2.value1)!==parseFloat(input5.value)){
errorNumber=1
}
if(formInline2.value2!==input6.value){
if(parseFloat(formInline2.value2)!==parseFloat(iterations.value)){
errorNumber=1
}
portraitModel
@ -533,6 +534,7 @@ const optionData2 = () => {
};
const showChart = ref(false);
//
const iterations=ref(0)
const nowData = ref([]);
const clusterAnalysisCalculation = () => {
if (tableData2.value.length === 0 || input2.value == "" || input3.value == "") {
@ -552,8 +554,8 @@ const clusterAnalysisCalculation = () => {
showChart.value = true;
let sex = 1;
tableData3.value = [];
nowData.value = res.data;
res.data.forEach((item, index) => {
nowData.value = res.data.clusters;
res.data.clusters.forEach((item, index) => {
const newItem = {};
tableLabel.forEach((label, index) => {
if (index === 0) {
@ -566,6 +568,7 @@ const clusterAnalysisCalculation = () => {
sex++;
tableData3.value.push(newItem);
tableData3.value[index].children = [];
iterations.value=res.data.iterations
const children = ref([]);
item.forEach((item2, sexx) => {
const newItem2 = {};

Loading…
Cancel
Save