Browse Source

fix 飞哥 bug

xyh123999 1 year ago
parent
commit
6fa8cd7a5f
1 changed files with 4 additions and 3 deletions
  1. 4 3
      src/views/taskScreen.vue

+ 4 - 3
src/views/taskScreen.vue

@@ -320,7 +320,7 @@ export default {
       websocketBpmn: null, //建立的连接
       updatekey:'1',
       scrollTableConfig:{
-        header: ['课目名称', '指令名称', '特情注入', '指令内容', '模训系统', '时间'],
+        header: ['课目名称', '指令分类', '特情注入', '指令内容', '模训系统', '时间'],
         waitTime:1500,
         data: [],
         columnWidth: [80],
@@ -530,7 +530,7 @@ export default {
         this.instructList=data
         let tempData=[]
         data.forEach((item)=>{
-          tempData.push([item.subjectName,item.content,item.time,item.sort, item.system])
+          tempData.push([item.subjectName,item.sort,item.situation,item.context, item.system,item.time])
         })
         this.scrollTableConfig.data=tempData
         this.updatekey=new Date().getTime()
@@ -835,7 +835,7 @@ export default {
       };
       this.currentSubject = subjectName;
       const res1 = await request("/dt_screen/rest/v2/video/videos/getSubjectCardUrls", "post", params1, false);
-
+      console.log('res1 :>> ', res1);
       let index1 = 0;
       this.cardSrc = ["", "", "", "", ""];
       this.cardName = ["监控名称", "监控名称", "监控名称", "监控名称", "监控名称"];
@@ -851,6 +851,7 @@ export default {
         };
          this.cardData.push(data);
       }
+      console.log('cardData :>> ', this.cardData);
       // setTimeout(() => {
 
       //   for(let index = 0; index < this.cardSrc.length;index++)