Ver Fonte

add cards

xyh123999 há 1 ano atrás
pai
commit
9f45a73b18
1 ficheiros alterados com 3 adições e 3 exclusões
  1. 3 3
      src/views/taskScreen.vue

+ 3 - 3
src/views/taskScreen.vue

@@ -827,8 +827,8 @@ export default {
       }, 800);
 
        let params1 = {
-        subjectName: "导弹发射课目",
-        taskId: "f5670fd9-ed72-11ed-99ac-aced5cb7fab2"
+        subjectName: subjectName,
+        taskId: this.wholeOutTaskId
       };
       this.currentSubject = subjectName;
       const res1 = await request("/dt_screen/rest/v2/video/videos/getSubjectCardUrls", "post", params1, false);
@@ -838,7 +838,7 @@ export default {
       this.cardName = ["监控名称", "监控名称", "监控名称", "监控名称", "监控名称"];
       for (let item in res1.data.data) {
         this.cardSrc[index1] = res1.data.data[item].url;
-        this.card[index1++] = res1.data.data[item].name;
+        this.cardName[index1++] = res1.data.data[item].name;
       }
       setTimeout(() => {