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