|
@@ -28,6 +28,14 @@
|
|
|
>
|
|
|
</el-input>
|
|
|
</el-form-item>
|
|
|
+ <el-form-item label="算法来源:" prop="algorithmType">
|
|
|
+ <el-radio v-model="form.algorithmType" label="1"
|
|
|
+ >私有导入</el-radio
|
|
|
+ >
|
|
|
+ <el-radio v-model="form.algorithmType" label="3"
|
|
|
+ >算法平台</el-radio
|
|
|
+ >
|
|
|
+ </el-form-item>
|
|
|
<el-form-item label="选择算法:" prop="algorithm">
|
|
|
<el-select v-model="form.algorithm">
|
|
|
<el-option
|
|
@@ -149,6 +157,7 @@ export default {
|
|
|
id: "",
|
|
|
projectName: "", // 项目名称
|
|
|
projectDescribe: "", // 项目描述
|
|
|
+ algorithmType: "1", // 算法来源
|
|
|
algorithm: "", // 选择算法
|
|
|
vehicle: "", // 选择车辆
|
|
|
scene: "", // 选择场景
|
|
@@ -169,6 +178,9 @@ export default {
|
|
|
projectDescribe: [
|
|
|
{ required: true, message: "请输入", trigger: "blur" },
|
|
|
],
|
|
|
+ algorithmType: [
|
|
|
+ { required: true, message: "请选择", trigger: "change" },
|
|
|
+ ],
|
|
|
algorithm: [
|
|
|
{ required: true, message: "请选择", trigger: "change" },
|
|
|
],
|
|
@@ -211,6 +223,7 @@ export default {
|
|
|
url: this.$api.workManagement.selectDropDownByType,
|
|
|
data: {
|
|
|
dropDownType: "",
|
|
|
+ algorithmType: this.form.algorithmType,
|
|
|
},
|
|
|
}).then((res) => {
|
|
|
if (res.code == 200 && res.info) {
|
|
@@ -256,7 +269,6 @@ export default {
|
|
|
} else {
|
|
|
this.sensors = sensor.split(",");
|
|
|
}
|
|
|
- console.log(this.sensors);
|
|
|
},
|
|
|
save(isAdd = false, needChange = false) {
|
|
|
// isAdd是否强制新增,needChange是否需要改变状态
|
|
@@ -314,9 +326,6 @@ export default {
|
|
|
},
|
|
|
|
|
|
mounted() {
|
|
|
- this.getLists();
|
|
|
- this.getMaxSimulationTime();
|
|
|
-
|
|
|
if (this.$route.query.id) {
|
|
|
let id = "";
|
|
|
this.form.id = id = this.$route.query.id;
|
|
@@ -338,6 +347,9 @@ export default {
|
|
|
}
|
|
|
});
|
|
|
}
|
|
|
+ }else {
|
|
|
+ this.getLists();
|
|
|
+ this.getMaxSimulationTime();
|
|
|
}
|
|
|
},
|
|
|
};
|
|
@@ -374,32 +386,33 @@ export default {
|
|
|
|
|
|
.tipA {
|
|
|
height: 32px;
|
|
|
- margin-top: 226px;
|
|
|
+ // 按54往上加
|
|
|
+ margin-top: 280px;
|
|
|
|
|
|
.iconA {
|
|
|
background: url("../../assets/common/image/sensor/001.png")
|
|
|
center no-repeat;
|
|
|
- background-size: contain;
|
|
|
+ background-size: contain;
|
|
|
}
|
|
|
.iconB {
|
|
|
background: url("../../assets/common/image/sensor/002.png")
|
|
|
center no-repeat;
|
|
|
- background-size: contain;
|
|
|
+ background-size: contain;
|
|
|
}
|
|
|
.iconC {
|
|
|
background: url("../../assets/common/image/sensor/003.png")
|
|
|
center no-repeat;
|
|
|
- background-size: contain;
|
|
|
+ background-size: contain;
|
|
|
}
|
|
|
.iconD {
|
|
|
background: url("../../assets/common/image/sensor/004.png")
|
|
|
center no-repeat;
|
|
|
- background-size: contain;
|
|
|
+ background-size: contain;
|
|
|
}
|
|
|
.iconE {
|
|
|
background: url("../../assets/common/image/sensor/005.png")
|
|
|
center no-repeat;
|
|
|
- background-size: contain;
|
|
|
+ background-size: contain;
|
|
|
}
|
|
|
|
|
|
span {
|