浏览代码

修改判断isai判断错误

11wqe1 8 月之前
父节点
当前提交
e86ad47ad8

+ 3 - 3
src/components/easy2/commpont/markDialog.vue

@@ -32,7 +32,7 @@
                     placement="top"
                     placement="top"
                   >
                   >
                     <div class="briefTit" >
                     <div class="briefTit" >
-                      <img v-if="e.isai == 1 && e.isai" class="titRoot" src="../../../assets/icon/newIcons/blueRoot.png" alt="">
+                      <img v-if="e.isai == 1 || !e.isai" class="titRoot" src="../../../assets/icon/newIcons/blueRoot.png" alt="">
                       {{ e.detail }}
                       {{ e.detail }}
                     </div>
                     </div>
                   </el-tooltip>
                   </el-tooltip>
@@ -52,7 +52,7 @@
                     placement="top"
                     placement="top"
                   >
                   >
                     <div class="briefTit">
                     <div class="briefTit">
-                      <img class="titRoot" v-if="e.isai == 1 && e.isai" src="../../../assets/icon/newIcons/blueRoot.png" alt="">
+                      <img class="titRoot" v-if="e.isai == 1 || !e.isai" src="../../../assets/icon/newIcons/blueRoot.png" alt="">
                       {{ e.detail }}
                       {{ e.detail }}
                     </div>
                     </div>
                   </el-tooltip>
                   </el-tooltip>
@@ -759,7 +759,7 @@ export default {
             // 计算可以ai评分的评价标准数量
             // 计算可以ai评分的评价标准数量
             let scotNum = 0
             let scotNum = 0
             this.scoTitList.forEach(e=>{
             this.scoTitList.forEach(e=>{
-              if (e.isai == 1 && e.isai) {
+              if (e.isai == 1 || !e.isai) {
                 scotNum++
                 scotNum++
               }
               }
             })
             })

+ 4 - 4
src/components/easy2/commpont/markScore.vue

@@ -14,10 +14,10 @@
           >
           >
             <img
             <img
               class="rootImg"
               class="rootImg"
-              v-if="e.isai == 1 && e.isai"
+              v-if="e.isai == 1 || !e.isai"
               src="../../../assets/icon/newIcons/blueRoot.png"
               src="../../../assets/icon/newIcons/blueRoot.png"
               alt=""
               alt=""
-            />
+            />{{ e.isai }}
           </div>
           </div>
         </div>
         </div>
         <div class="scoreStar">
         <div class="scoreStar">
@@ -159,7 +159,7 @@ export default {
     // 获取单个数据
     // 获取单个数据
     getData() {
     getData() {
       // this.fileId =[]
       // this.fileId =[]
-      // console.log(' this.scoCon', this.scoCon);
+      console.log(' this.scoCon', this.scoTitList);
       
       
       let params = {
       let params = {
         uid: this.scoCon.userid,
         uid: this.scoCon.userid,
@@ -542,7 +542,7 @@ export default {
               }
               }
               let scotNum = 0
               let scotNum = 0
               this.scoTitList.forEach(e=>{
               this.scoTitList.forEach(e=>{
-                if (e.isai == 1 && e.isai) {
+                if (e.isai == 1 || !e.isai) {
                   scotNum++
                   scotNum++
                 }
                 }
               })
               })

+ 1 - 1
src/components/easy2/studyStudent.vue

@@ -8833,7 +8833,7 @@
                         <div style="display:flex;justify-content: center;align-items: center;">
                         <div style="display:flex;justify-content: center;align-items: center;">
                           <img
                           <img
                             class="blueRootCss"
                             class="blueRootCss"
-                            v-if="scope.row.isai == 1 && scope.row.isai && courseDetail.state == 5"
+                            v-if="scope.row.isai == 1 || !scope.row.isai && courseDetail.state == 5"
                             src="../../assets/icon/newIcons/blueRoot.png"
                             src="../../assets/icon/newIcons/blueRoot.png"
                             alt=""
                             alt=""
                           />
                           />