Commit d3c55489 by 潘建波

修改大任务无法提交问题

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