浏览代码

op部分修改

yuanrf 1 年之前
父节点
当前提交
5ab6bad1d4
共有 1 个文件被更改,包括 7 次插入15 次删除
  1. 7 15
      src/components/OP/CarTouristGuideGrounContent.vue

+ 7 - 15
src/components/OP/CarTouristGuideGrounContent.vue

@@ -563,6 +563,13 @@ export default {
         objectSpanMethod({ row, column, rowIndex, columnIndex }) {
             if (columnIndex === 1) {
 
+                if(row.sId == 1070 || row.sId == 1071){
+                    return {
+                        rowspan: 1,
+                        colspan: 1
+                    };
+                }
+                
                 if (rowIndex % this.ListCount === 0) {
                     return {
                         rowspan: this.ListCount,
@@ -574,21 +581,6 @@ export default {
                         colspan: 0
                     };
                 }
-
-                // if (columnIndex === 1) {
-                //     if (rowIndex % 2 === 0) {
-                //         return {
-                //             rowspan: 2,
-                //             colspan: 1
-                //         };
-                //     } else {
-                //         return {
-                //             rowspan: 0,
-                //             colspan: 0
-                //         };
-                //     }
-                // }
-
             }
         }
     },