|
@@ -11,7 +11,6 @@
|
|
clearable
|
|
clearable
|
|
placeholder="请选择"
|
|
placeholder="请选择"
|
|
popper-class="select"
|
|
popper-class="select"
|
|
- @clear="clear()"
|
|
|
|
>
|
|
>
|
|
<el-option
|
|
<el-option
|
|
v-for="item in algorithm"
|
|
v-for="item in algorithm"
|
|
@@ -23,7 +22,7 @@
|
|
</el-select>
|
|
</el-select>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
- <div v-for="(item, index) in chooseAlgorithm.parameters" :key="index">
|
|
+ <!-- <div v-for="(item, index) in chooseAlgorithm.parameters" :key="index">
|
|
{{ item.name }}:
|
|
{{ item.name }}:
|
|
<input
|
|
<input
|
|
v-model="item.value"
|
|
v-model="item.value"
|
|
@@ -31,7 +30,7 @@
|
|
@focus="inputChange(item)"
|
|
@focus="inputChange(item)"
|
|
@blur="inputChange(item)"
|
|
@blur="inputChange(item)"
|
|
/>
|
|
/>
|
|
- </div>
|
|
+ </div> -->
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="actions mg-b-8">
|
|
<div class="actions mg-b-8">
|
|
@@ -215,7 +214,7 @@ export default {
|
|
accuracyList: {},
|
|
accuracyList: {},
|
|
barList: [],
|
|
barList: [],
|
|
algorithm: [], //算法
|
|
algorithm: [], //算法
|
|
- chooseAlgorithm: {},
|
|
+ chooseAlgorithm: '',
|
|
timeValue: [],
|
|
timeValue: [],
|
|
showBarList: [],
|
|
showBarList: [],
|
|
moudleList: [],
|
|
moudleList: [],
|
|
@@ -326,7 +325,8 @@ export default {
|
|
if (res) {
|
|
if (res) {
|
|
that.algorithm = res;
|
|
that.algorithm = res;
|
|
that.value1 = res[0];
|
|
that.value1 = res[0];
|
|
- that.chooseAlgorithm = res[0];
|
|
+ that.chooseAlgorithm = res[0].name;
|
|
|
|
+ console.log(that.chooseAlgorithm);
|
|
}
|
|
}
|
|
},
|
|
},
|
|
});
|
|
});
|
|
@@ -445,6 +445,16 @@ export default {
|
|
handleClose() {
|
|
handleClose() {
|
|
this.barList = this.ceshiList.bar.slice(0, 5);
|
|
this.barList = this.ceshiList.bar.slice(0, 5);
|
|
},
|
|
},
|
|
|
|
+ algorithmChange(val) {
|
|
|
|
+ console.log(222222);
|
|
|
|
+ this.chooseAlgorithm = this.algorithm.filter(
|
|
|
|
+ (item) => item.name === val
|
|
|
|
+ )[0].name;
|
|
|
|
+ console.log(this.chooseAlgorithm);
|
|
|
|
+ },
|
|
|
|
+ // clear() {
|
|
|
|
+ // this.chooseAlgorithm = '';
|
|
|
|
+ // },
|
|
Compare(property) {
|
|
Compare(property) {
|
|
return function (a, b) {
|
|
return function (a, b) {
|
|
var value1 = a[property];
|
|
var value1 = a[property];
|