瀏覽代碼

检测任务时不需要选择模型

liling 1 年之前
父節點
當前提交
da6b01db21
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      src/pages/mission/components/HaveMis.vue

+ 3 - 3
src/pages/mission/components/HaveMis.vue

@@ -7,7 +7,7 @@
         <p v-if="lookingTask.name" class="createDate">创建日期:{{ lookingTask.ct ? lookingTask.ct : "暂无时间" }}</p>
         <img src="../../../assets/image/start_btn.png" alt="" style="cursor: pointer;" @click="startNow(lookingTask)" />
         <p class="nowModel" v-if="lookingTask.name">
-          <span style="margin-right: 15px;">检测模型:</span>
+          <span style="margin-right: 15px;">查看检测模型:</span>
           <el-select v-model="currEditTaskModels" @change="relison">
             <el-option v-for="(item, index) in taskModels" :title="item.model_name" :key="index"
               :label="item.model_name" :value="item.model_id" />
@@ -194,9 +194,9 @@ export default {
       })
     }
     function startNow(row, num) {
-      if (row.name == null || row.name == '' || row.name == undefined || currEditTaskModels.value == '') {
+      if (row.name == null || row.name == '' || row.name == undefined) {
         ElMessage({
-          message: "暂无检测任务或未选择模型",
+          message: "还未选择检测任务",
           type: "info"
         })
       } else {