Commit d3c55489 by 潘建波

修改大任务无法提交问题

1 parent 2fe5bf34
......@@ -129,9 +129,10 @@ export default {
this.subtaskdata = vdata;
this.$refs.setting.getTaskParams();
if (vdata.running_status != "Running") {
this.$refs.displayInfo.showInfo(
"该任务没有运行,无法获取分析视频和抓拍信息"
);
this.$message({
message: "该任务没有运行,无法获取分析视频和抓拍信息",
type: "error"
});
return;
}
this.pushSteam(vdata);
......
......@@ -29,7 +29,7 @@
</el-form-item>
<el-form-item label="场景占用">
<el-input
v-model="formData.type"
v-model="formData.task_algo_type"
placeholder="请选择"
:popper-append-to-body="false"
>
......@@ -68,7 +68,7 @@
</el-form-item>
<el-form-item label="设备类型">
<el-input
v-model="formData.plate_type"
v-model="formData.priority"
placeholder="请选择"
></el-input>
</el-form-item>
......@@ -188,9 +188,9 @@ export default {
priority: this.formData.priority,
store_conf_unid: this.formData.store_conf.unid,
period: this.period,
plate_type: this.plate_type,
task_type: "normal"
// algo_comb_unid: this.formData.store_conf,
// plate_type: this.plate_type,
task_type: "normal",
// algo_comb_unid: '',
};
let formData = new FormData();
......
......@@ -116,7 +116,7 @@
label="存储配置"
>
</el-table-column>
<el-table-column align="center" prop="workers_count" label="场景占用">
<el-table-column align="center" prop="resource_use" label="场景占用">
</el-table-column>
<el-table-column align="center" prop="workers_count" label="资源用量">
</el-table-column>
......
......@@ -77,6 +77,7 @@ export default {
<style lang="scss" scoped>
.expande-table-row {
overflow: hidden;
span {
float: left;
border-bottom: 1px solid #ccc;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!