Quellcode durchsuchen

修改开奖项为编号

dos vor 1 Monat
Ursprung
Commit
8eba283efe

+ 10 - 7
game-ui/src/views/business/betting/index.vue

@@ -441,7 +441,8 @@ export default {
         if(res.length > 0){
           res += " | "
         }
-        res += this.gameItemMap[i+"_"+row.gameId] + ":" + map[i];
+        // res += this.gameItemMap[i+"_"+row.gameId] + ":" + map[i];
+        res += i + ":" + map[i];
       }
       return res;
     },
@@ -495,20 +496,22 @@ export default {
       let bettingGameType = row.bettingGameType;
       let bettingItem = row.gameLotterySucc;
       let gameId = row.gameId;
-      if("0" == bettingGameType){
-        return that.gameItemMap[bettingItem+"_"+gameId];
-      }else{
+      /*if("0" == bettingGameType){
+        // return that.gameItemMap[bettingItem+"_"+gameId];
+        return bettingItem;
+      }else{*/
         let name = "";
         let arr = bettingItem.split(",")
         for(var i in arr){
           let item = arr[i];
           if("" != name){
-            name = name + ",";
+            name = name + "|";
           }
-          name = name + that.gameItemMap[item+"_"+gameId];
+          // name = name + that.gameItemMap[item+"_"+gameId];
+          name = name + item;
         }
         return name;
-      }
+      // }
     },
     getTypeName(id) {
       return this.typeMap[id.toString()];

+ 10 - 7
game-ui/src/views/business/user/index.vue

@@ -1203,7 +1203,8 @@ export default {
         if(res.length > 0){
           res += " | "
         }
-        res += this.gameItemMap[i+"_"+row.gameId] + ":" + map[i];
+        // res += this.gameItemMap[i+"_"+row.gameId] + ":" + map[i];
+        res += i + ":" + map[i];
       }
       return res;
     },
@@ -1248,20 +1249,22 @@ export default {
       let bettingGameType = row.bettingGameType;
       let bettingItem = row.gameLotterySucc;
       let gameId = row.gameId;
-      if("0" == bettingGameType){
-        return that.gameItemMap[bettingItem+"_"+gameId];
-      }else{
+      /*if("0" == bettingGameType){
+        // return that.gameItemMap[bettingItem+"_"+gameId];
+        return bettingItem;
+      }else{*/
         let name = "";
         let arr = bettingItem.split(",")
         for(var i in arr){
           let item = arr[i];
           if("" != name){
-            name = name + ",";
+            name = name + "|";
           }
-          name = name + that.gameItemMap[item+"_"+gameId];
+          // name = name + that.gameItemMap[item+"_"+gameId];
+          name = name + item;
         }
         return name;
-      }
+      // }
     },
     getTypeName(id) {
       return this.typeMap[id.toString()];