|
|
@ -408,21 +408,7 @@ export default { |
|
|
|
_: _, |
|
|
|
dayjs: dayjs, |
|
|
|
leftTextCopy: "", |
|
|
|
leftText: `Ca@微信@微信联系人 10-22 12:55:10 |
|
|
|
一单一组体彩福彩988,987,298,559,591,256,795,195,836,686,845,866,886,159,合计56 |
|
|
|
|
|
|
|
Ca@微信@微信联系人 10-22 12:55:10 |
|
|
|
一单一组福988,987,298,559,591,256,795,195,836,686,845,866,886,159,合计56 |
|
|
|
|
|
|
|
Ca@微信@微信联系人 10-22 12:55:10 |
|
|
|
组六1234.12345.123456.1234567.共10米 |
|
|
|
组三1234.12345.123456.1234567共20米 |
|
|
|
双飞12.34.56.共10米 |
|
|
|
定位0百位2十位1个位共10米 |
|
|
|
全包对子100 |
|
|
|
|
|
|
|
Ca@微信@微信联系人 10-22 12:55:10 |
|
|
|
毒9,8,6共200米`, |
|
|
|
leftText: `一单一组体彩福彩988,987,298,559,591,256,795,195,836,686,845,866,886,159,合计112`, |
|
|
|
// leftText: `一单一组:684,784,876共12 |
|
|
|
// 单:784,961,637共6元 |
|
|
|
// 组:214,315共4元 |
|
|
@ -447,6 +433,21 @@ Ca@微信@微信联系人 10-22 12:55:10 |
|
|
|
双飞:98共10元 |
|
|
|
定位:324共10元 |
|
|
|
全包对子:共10元 |
|
|
|
Ca@微信@微信联系人 10-22 12:55:10 |
|
|
|
一单一组体彩福彩988,987,298,559,591,256,795,195,836,686,845,866,886,159,合计112 |
|
|
|
|
|
|
|
Ca@微信@微信联系人 10-22 12:55:10 |
|
|
|
一单一组福988,987,298,559,591,256,795,195,836,686,845,866,886,159,合计56 |
|
|
|
|
|
|
|
Ca@微信@微信联系人 10-22 12:55:10 |
|
|
|
组六1234.12345.123456.1234567.共40米 |
|
|
|
组三1234.12345.123456.1234567共40米 |
|
|
|
双飞12.34.56.共30米 |
|
|
|
定位0百位2十位1个位共30米 |
|
|
|
全包对子100 |
|
|
|
|
|
|
|
Ca@微信@微信联系人 10-22 12:55:10 |
|
|
|
毒9,8,6共200米 |
|
|
|
`, |
|
|
|
// leftText: `一单一组:684,784,876共12 |
|
|
|
// 单:784,961,637共6 |
|
|
@ -651,7 +652,7 @@ Ca@微信@微信联系人 10-22 12:55:10 |
|
|
|
haoma = _.compact(_.split(numbers, ",")) |
|
|
|
let danxuanList = [] |
|
|
|
let zuxuanList = [] |
|
|
|
if (jine % (type.length * haoma.length * 2 * 2) !== 0) { |
|
|
|
if (jine % (haoma.length * 2 * 2) !== 0) { |
|
|
|
errorText.push(itemTemp) |
|
|
|
continue |
|
|
|
} |
|
|
@ -684,7 +685,7 @@ Ca@微信@微信联系人 10-22 12:55:10 |
|
|
|
let match = item.match(this.yizuliu) |
|
|
|
let numbers = match[1].replace(/\s+/g, '').replace(/[,,\.]+/g, ','); |
|
|
|
haoma = _.compact(_.split(numbers, ",")) |
|
|
|
if (jine % (type.length * haoma.length * 10) !== 0) { |
|
|
|
if (jine % (haoma.length * 10) !== 0) { |
|
|
|
errorText.push(itemTemp) |
|
|
|
continue |
|
|
|
} |
|
|
@ -707,7 +708,7 @@ Ca@微信@微信联系人 10-22 12:55:10 |
|
|
|
let match = item.match(this.yizusan) |
|
|
|
let numbers = match[1].replace(/\s+/g, '').replace(/[,,\.]+/g, ','); |
|
|
|
haoma = _.compact(_.split(numbers, ",")) |
|
|
|
if (jine % (type.length * haoma.length * 10) !== 0) { |
|
|
|
if (jine % (haoma.length * 10) !== 0) { |
|
|
|
errorText.push(itemTemp) |
|
|
|
continue |
|
|
|
} |
|
|
@ -729,7 +730,7 @@ Ca@微信@微信联系人 10-22 12:55:10 |
|
|
|
let match = item.match(this.yidu) |
|
|
|
let numbers = match[1].replace(/\s+/g, '').replace(/[,,\.]+/g, ','); |
|
|
|
haoma = _.compact(_.split(numbers, ",")) |
|
|
|
if (jine % (type.length * haoma.length * 10) !== 0) { |
|
|
|
if (jine % (haoma.length * 10) !== 0) { |
|
|
|
errorText.push(itemTemp) |
|
|
|
continue |
|
|
|
} |
|
|
@ -753,7 +754,7 @@ Ca@微信@微信联系人 10-22 12:55:10 |
|
|
|
let match = item.match(this.yishuangfei) |
|
|
|
let numbers = match[1].replace(/\s+/g, '').replace(/[,,\.]+/g, ','); |
|
|
|
haoma = _.compact(_.split(numbers, ",")) |
|
|
|
if (jine % (type.length * haoma.length * 10) !== 0) { |
|
|
|
if (jine % (haoma.length * 10) !== 0) { |
|
|
|
errorText.push(itemTemp) |
|
|
|
continue |
|
|
|
} |
|
|
@ -777,7 +778,7 @@ Ca@微信@微信联系人 10-22 12:55:10 |
|
|
|
let match = item.match(this.yidingwei) |
|
|
|
let numbers = match[1].replace(/\s+/g, '').replace(/[,,\.]+/g, ','); |
|
|
|
haoma = _.compact(_.split(numbers, ",")) |
|
|
|
if (jine % (type.length * haoma.length * 10) !== 0) { |
|
|
|
if (jine % (haoma.length * 10) !== 0) { |
|
|
|
errorText.push(itemTemp) |
|
|
|
continue |
|
|
|
} |
|
|
@ -801,7 +802,7 @@ Ca@微信@微信联系人 10-22 12:55:10 |
|
|
|
let match = item.match(this.yibudingwei) |
|
|
|
let numbers = match[1].replace(/\s+/g, '').replace(/[,,\.]+/g, ','); |
|
|
|
haoma = _.compact(_.split(numbers, ",")) |
|
|
|
if (jine % (type.length * haoma.length * 10) !== 0) { |
|
|
|
if (jine % (haoma.length * 10) !== 0) { |
|
|
|
errorText.push(itemTemp) |
|
|
|
continue |
|
|
|
} |
|
|
@ -825,7 +826,7 @@ Ca@微信@微信联系人 10-22 12:55:10 |
|
|
|
let match = item.match(this.yifushi) |
|
|
|
let numbers = match[1].replace(/\s+/g, '').replace(/[,,\.]+/g, ','); |
|
|
|
haoma = _.compact(_.split(numbers, ",")) |
|
|
|
if (jine % (type.length * haoma.length * 10) !== 0) { |
|
|
|
if (jine % (haoma.length * 10) !== 0) { |
|
|
|
errorText.push(itemTemp) |
|
|
|
continue |
|
|
|
} |
|
|
@ -846,7 +847,7 @@ Ca@微信@微信联系人 10-22 12:55:10 |
|
|
|
} |
|
|
|
// 1全包对子 |
|
|
|
else if (item.match(this.yiquanbaoduizi)) { |
|
|
|
if (jine % (type.length * 10) !== 0) { |
|
|
|
if (jine % (10) !== 0) { |
|
|
|
errorText.push(itemTemp) |
|
|
|
continue |
|
|
|
} |
|
|
@ -866,7 +867,7 @@ Ca@微信@微信联系人 10-22 12:55:10 |
|
|
|
let match = item.match(this.yidan) |
|
|
|
let numbers = match[1].replace(/\s+/g, '').replace(/[,,\.]+/g, ','); |
|
|
|
haoma = _.compact(_.split(numbers, ",")) |
|
|
|
if (jine % (type.length * haoma.length * 2) !== 0) { |
|
|
|
if (jine % (haoma.length * 2) !== 0) { |
|
|
|
errorText.push(itemTemp) |
|
|
|
continue |
|
|
|
} |
|
|
@ -890,7 +891,7 @@ Ca@微信@微信联系人 10-22 12:55:10 |
|
|
|
let match = item.match(this.yizu) |
|
|
|
let numbers = match[1].replace(/\s+/g, '').replace(/[,,\.]+/g, ','); |
|
|
|
haoma = _.compact(_.split(numbers, ",")) |
|
|
|
if (jine % (type.length * haoma.length * 2) !== 0) { |
|
|
|
if (jine % (haoma.length * 2) !== 0) { |
|
|
|
errorText.push(itemTemp) |
|
|
|
continue |
|
|
|
} |
|
|
@ -979,8 +980,6 @@ Ca@微信@微信联系人 10-22 12:55:10 |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
this.resultTitleti = 0 |
|
|
|
this.resultTitlefu = 0 |
|
|
|
let rightTableDataTemptiTempObj = _.groupBy(rightTableDataTemptiTemp, 'name') |
|
|
|
let rightTableDataTemptiTempLocal = [] |
|
|
|
for (let key in rightTableDataTemptiTempObj) { |
|
|
@ -1000,8 +999,8 @@ Ca@微信@微信联系人 10-22 12:55:10 |
|
|
|
children: textTemp |
|
|
|
}) |
|
|
|
} |
|
|
|
this.rightTableDataTempti = rightTableDataTemptiTempLocal |
|
|
|
this.resultTitleti = _.sumBy(rightTableDataTemptiTempLocal, 'jine') |
|
|
|
this.rightTableDataTempti = this.rightTableDataTempti.concat(rightTableDataTemptiTempLocal) |
|
|
|
this.resultTitleti += _.sumBy(rightTableDataTemptiTempLocal, 'jine') |
|
|
|
let rightTableDataTempfuTempObj = _.groupBy(rightTableDataTempfuTemp, 'name') |
|
|
|
let rightTableDataTempfuTempLocal = [] |
|
|
|
for (let key in rightTableDataTempfuTempObj) { |
|
|
@ -1021,14 +1020,13 @@ Ca@微信@微信联系人 10-22 12:55:10 |
|
|
|
children: textTemp |
|
|
|
}) |
|
|
|
} |
|
|
|
this.resultTitlefu = _.sumBy(rightTableDataTempfuTempLocal, 'jine') |
|
|
|
this.rightTableDataTempfu = rightTableDataTempfuTempLocal |
|
|
|
this.resultTitlefu += _.sumBy(rightTableDataTempfuTempLocal, 'jine') |
|
|
|
this.rightTableDataTempfu = this.rightTableDataTempfu.concat(rightTableDataTempfuTempLocal) |
|
|
|
let rightDataObj = _.groupBy(rightDataList, 'name') |
|
|
|
this.rightTableDataTemp = rightDataList |
|
|
|
let rightObj = {} |
|
|
|
let rightTextTemp = `号码---------玩法---------金额\n` |
|
|
|
this.rightTableData = [] |
|
|
|
this.resultTitle = 0 |
|
|
|
|
|
|
|
for (let key in rightDataObj) { |
|
|
|
let value = rightDataObj[key] |
|
|
@ -1139,19 +1137,6 @@ Ca@微信@微信联系人 10-22 12:55:10 |
|
|
|
}, |
|
|
|
// 中间统计 |
|
|
|
midTongji() { |
|
|
|
if (!this.changciValue) { |
|
|
|
ElMessage.error("请选择场次") |
|
|
|
return |
|
|
|
} |
|
|
|
let checkedList = this.dailishangList.filter(item => item.check) |
|
|
|
if (!checkedList.length) { |
|
|
|
ElMessage.error("请选择代理人") |
|
|
|
return |
|
|
|
} |
|
|
|
if (!this.leftText) { |
|
|
|
ElMessage.error("请填写内容后预测") |
|
|
|
return |
|
|
|
} |
|
|
|
this.checkDailishangRaw = _.find(this.dailishangList, { check: true }) |
|
|
|
this.selectChangci = _.find(this.changciList, { value: this.changciValue }) |
|
|
|
// this.tongjiValue = this.leftTongji() |
|
|
@ -1228,7 +1213,6 @@ Ca@微信@微信联系人 10-22 12:55:10 |
|
|
|
}, |
|
|
|
|
|
|
|
jietu() { |
|
|
|
// this.screenshotStatus = true;//显示截图插件 |
|
|
|
let element = document.getElementById('screenshot1'); |
|
|
|
|
|
|
|
// 保存原始的 display 属性 |
|
|
@ -1239,17 +1223,25 @@ Ca@微信@微信联系人 10-22 12:55:10 |
|
|
|
|
|
|
|
// 使用 html2canvas 进行截图 |
|
|
|
html2canvas(element).then(canvas => { |
|
|
|
// 将 canvas 转换为图片数据 URL |
|
|
|
let imgData = canvas.toDataURL('image/png'); |
|
|
|
// 将 canvas 转换为 Blob 数据 |
|
|
|
canvas.toBlob(blob => { |
|
|
|
// 创建 ClipboardItem 对象 |
|
|
|
const item = new ClipboardItem({ |
|
|
|
[blob.type]: blob |
|
|
|
}); |
|
|
|
|
|
|
|
// 创建一个隐藏的 a 标签来下载图片 |
|
|
|
let a = document.createElement('a'); |
|
|
|
a.href = imgData; |
|
|
|
a.download = `${dayjs().format('YYYYMMDDHHmmss')}.png`; |
|
|
|
a.click(); |
|
|
|
// 将 Blob 写入剪切板 |
|
|
|
navigator.clipboard.write([item]).then(() => { |
|
|
|
// 截图成功 |
|
|
|
console.log('截图成功'); |
|
|
|
}).catch(err => { |
|
|
|
// 截图失败 |
|
|
|
console.error('截图失败:', err); |
|
|
|
}); |
|
|
|
|
|
|
|
// 恢复原始的 display 属性 |
|
|
|
element.style.display = originalDisplay; |
|
|
|
// 恢复原始的 display 属性 |
|
|
|
element.style.display = originalDisplay; |
|
|
|
}, 'image/png'); // 可以指定图片格式 |
|
|
|
}); |
|
|
|
}, |
|
|
|
|
|
|
@ -1347,7 +1339,7 @@ Ca@微信@微信联系人 10-22 12:55:10 |
|
|
|
haoma = _.compact(_.split(numbers, ",")) |
|
|
|
let danxuanList = [] |
|
|
|
let zuxuanList = [] |
|
|
|
if (jine % (type.length * haoma.length * 2 * 2) !== 0) { |
|
|
|
if (jine % (haoma.length * 2 * 2) !== 0) { |
|
|
|
errorText.push(itemTemp) |
|
|
|
continue |
|
|
|
} |
|
|
@ -1380,7 +1372,7 @@ Ca@微信@微信联系人 10-22 12:55:10 |
|
|
|
let match = item.match(this.yizuliu) |
|
|
|
let numbers = match[1].replace(/\s+/g, '').replace(/[,,\.]+/g, ','); |
|
|
|
haoma = _.compact(_.split(numbers, ",")) |
|
|
|
if (jine % (type.length * haoma.length * 10) !== 0) { |
|
|
|
if (jine % (haoma.length * 10) !== 0) { |
|
|
|
errorText.push(itemTemp) |
|
|
|
continue |
|
|
|
} |
|
|
@ -1403,7 +1395,7 @@ Ca@微信@微信联系人 10-22 12:55:10 |
|
|
|
let match = item.match(this.yizusan) |
|
|
|
let numbers = match[1].replace(/\s+/g, '').replace(/[,,\.]+/g, ','); |
|
|
|
haoma = _.compact(_.split(numbers, ",")) |
|
|
|
if (jine % (type.length * haoma.length * 10) !== 0) { |
|
|
|
if (jine % (haoma.length * 10) !== 0) { |
|
|
|
errorText.push(itemTemp) |
|
|
|
continue |
|
|
|
} |
|
|
@ -1425,7 +1417,7 @@ Ca@微信@微信联系人 10-22 12:55:10 |
|
|
|
let match = item.match(this.yidu) |
|
|
|
let numbers = match[1].replace(/\s+/g, '').replace(/[,,\.]+/g, ','); |
|
|
|
haoma = _.compact(_.split(numbers, ",")) |
|
|
|
if (jine % (type.length * haoma.length * 10) !== 0) { |
|
|
|
if (jine % (haoma.length * 10) !== 0) { |
|
|
|
errorText.push(itemTemp) |
|
|
|
continue |
|
|
|
} |
|
|
@ -1449,7 +1441,7 @@ Ca@微信@微信联系人 10-22 12:55:10 |
|
|
|
let match = item.match(this.yishuangfei) |
|
|
|
let numbers = match[1].replace(/\s+/g, '').replace(/[,,\.]+/g, ','); |
|
|
|
haoma = _.compact(_.split(numbers, ",")) |
|
|
|
if (jine % (type.length * haoma.length * 10) !== 0) { |
|
|
|
if (jine % (haoma.length * 10) !== 0) { |
|
|
|
errorText.push(itemTemp) |
|
|
|
continue |
|
|
|
} |
|
|
@ -1473,7 +1465,7 @@ Ca@微信@微信联系人 10-22 12:55:10 |
|
|
|
let match = item.match(this.yidingwei) |
|
|
|
let numbers = match[1].replace(/\s+/g, '').replace(/[,,\.]+/g, ','); |
|
|
|
haoma = _.compact(_.split(numbers, ",")) |
|
|
|
if (jine % (type.length * haoma.length * 10) !== 0) { |
|
|
|
if (jine % (haoma.length * 10) !== 0) { |
|
|
|
errorText.push(itemTemp) |
|
|
|
continue |
|
|
|
} |
|
|
@ -1497,7 +1489,7 @@ Ca@微信@微信联系人 10-22 12:55:10 |
|
|
|
let match = item.match(this.yibudingwei) |
|
|
|
let numbers = match[1].replace(/\s+/g, '').replace(/[,,\.]+/g, ','); |
|
|
|
haoma = _.compact(_.split(numbers, ",")) |
|
|
|
if (jine % (type.length * haoma.length * 10) !== 0) { |
|
|
|
if (jine % (haoma.length * 10) !== 0) { |
|
|
|
errorText.push(itemTemp) |
|
|
|
continue |
|
|
|
} |
|
|
@ -1521,7 +1513,7 @@ Ca@微信@微信联系人 10-22 12:55:10 |
|
|
|
let match = item.match(this.yifushi) |
|
|
|
let numbers = match[1].replace(/\s+/g, '').replace(/[,,\.]+/g, ','); |
|
|
|
haoma = _.compact(_.split(numbers, ",")) |
|
|
|
if (jine % (type.length * haoma.length * 10) !== 0) { |
|
|
|
if (jine % (haoma.length * 10) !== 0) { |
|
|
|
errorText.push(itemTemp) |
|
|
|
continue |
|
|
|
} |
|
|
@ -1542,7 +1534,7 @@ Ca@微信@微信联系人 10-22 12:55:10 |
|
|
|
} |
|
|
|
// 1全包对子 |
|
|
|
else if (item.match(this.yiquanbaoduizi)) { |
|
|
|
if (jine % (type.length * 10) !== 0) { |
|
|
|
if (jine % (10) !== 0) { |
|
|
|
errorText.push(itemTemp) |
|
|
|
continue |
|
|
|
} |
|
|
@ -1562,7 +1554,7 @@ Ca@微信@微信联系人 10-22 12:55:10 |
|
|
|
let match = item.match(this.yidan) |
|
|
|
let numbers = match[1].replace(/\s+/g, '').replace(/[,,\.]+/g, ','); |
|
|
|
haoma = _.compact(_.split(numbers, ",")) |
|
|
|
if (jine % (type.length * haoma.length * 2) !== 0) { |
|
|
|
if (jine % (haoma.length * 2) !== 0) { |
|
|
|
errorText.push(itemTemp) |
|
|
|
continue |
|
|
|
} |
|
|
@ -1586,7 +1578,7 @@ Ca@微信@微信联系人 10-22 12:55:10 |
|
|
|
let match = item.match(this.yizu) |
|
|
|
let numbers = match[1].replace(/\s+/g, '').replace(/[,,\.]+/g, ','); |
|
|
|
haoma = _.compact(_.split(numbers, ",")) |
|
|
|
if (jine % (type.length * haoma.length * 2) !== 0) { |
|
|
|
if (jine % (haoma.length * 2) !== 0) { |
|
|
|
errorText.push(itemTemp) |
|
|
|
continue |
|
|
|
} |
|
|
@ -1622,6 +1614,20 @@ Ca@微信@微信联系人 10-22 12:55:10 |
|
|
|
let zhonghaoma = `${selectChangci.first}${selectChangci.second}${selectChangci.third}` |
|
|
|
// 选中的代理商的代理费 |
|
|
|
// let selectdailifei = Number(checkDailishangRaw.dailifei / 100) |
|
|
|
let haomaListTemp = _.cloneDeep(haomaList) |
|
|
|
let newhaomaList = [] |
|
|
|
for (let k = 0; k < haomaListTemp.length; k++) { |
|
|
|
let element = haomaListTemp[k]; |
|
|
|
for (let m = 0; m < element.type.length; m++) { |
|
|
|
let typeItem = element.type[m]; |
|
|
|
newhaomaList.push({ |
|
|
|
name: element.name, |
|
|
|
numbers: element.numbers, |
|
|
|
type: typeItem |
|
|
|
}) |
|
|
|
} |
|
|
|
} |
|
|
|
haomaList = _.cloneDeep(newhaomaList) |
|
|
|
let alljine = [] |
|
|
|
let jinegroupBy = _.groupBy(haomaList, o => `${o.type}:${o.name}`) |
|
|
|
for (let key in jinegroupBy) { |
|
|
@ -1667,7 +1673,17 @@ Ca@微信@微信联系人 10-22 12:55:10 |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
alljineLocal[element.key] = dataObj |
|
|
|
if (alljineLocal[element.key]) { |
|
|
|
alljineLocal[element.key].all += dataObj.all |
|
|
|
alljineLocal[element.key].zhong += dataObj.zhong |
|
|
|
} else { |
|
|
|
if (alljineLocal[element.key]) { |
|
|
|
alljineLocal[element.key].all += dataObj.all |
|
|
|
alljineLocal[element.key].zhong += dataObj.zhong |
|
|
|
} else { |
|
|
|
alljineLocal[element.key] = dataObj |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
// 处理1组的玩法 |
|
|
|
else if (element.key == 'zuxuan') { |
|
|
@ -1689,7 +1705,12 @@ Ca@微信@微信联系人 10-22 12:55:10 |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
alljineLocal[element.key] = dataObj |
|
|
|
if (alljineLocal[element.key]) { |
|
|
|
alljineLocal[element.key].all += dataObj.all |
|
|
|
alljineLocal[element.key].zhong += dataObj.zhong |
|
|
|
} else { |
|
|
|
alljineLocal[element.key] = dataObj |
|
|
|
} |
|
|
|
} |
|
|
|
// 处理组六4码的玩法 |
|
|
|
else if (element.key == 'zuliu4') { |
|
|
@ -1711,7 +1732,12 @@ Ca@微信@微信联系人 10-22 12:55:10 |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
alljineLocal[element.key] = dataObj |
|
|
|
if (alljineLocal[element.key]) { |
|
|
|
alljineLocal[element.key].all += dataObj.all |
|
|
|
alljineLocal[element.key].zhong += dataObj.zhong |
|
|
|
} else { |
|
|
|
alljineLocal[element.key] = dataObj |
|
|
|
} |
|
|
|
} |
|
|
|
// 处理组六5码的玩法 |
|
|
|
else if (element.key == 'zuliu5') { |
|
|
@ -1733,7 +1759,12 @@ Ca@微信@微信联系人 10-22 12:55:10 |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
alljineLocal[element.key] = dataObj |
|
|
|
if (alljineLocal[element.key]) { |
|
|
|
alljineLocal[element.key].all += dataObj.all |
|
|
|
alljineLocal[element.key].zhong += dataObj.zhong |
|
|
|
} else { |
|
|
|
alljineLocal[element.key] = dataObj |
|
|
|
} |
|
|
|
} |
|
|
|
// 处理组六6码的玩法 |
|
|
|
else if (element.key == 'zuliu6') { |
|
|
@ -1755,7 +1786,12 @@ Ca@微信@微信联系人 10-22 12:55:10 |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
alljineLocal[element.key] = dataObj |
|
|
|
if (alljineLocal[element.key]) { |
|
|
|
alljineLocal[element.key].all += dataObj.all |
|
|
|
alljineLocal[element.key].zhong += dataObj.zhong |
|
|
|
} else { |
|
|
|
alljineLocal[element.key] = dataObj |
|
|
|
} |
|
|
|
} |
|
|
|
// 处理组六7码的玩法 |
|
|
|
else if (element.key == 'zuliu7') { |
|
|
@ -1777,7 +1813,12 @@ Ca@微信@微信联系人 10-22 12:55:10 |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
alljineLocal[element.key] = dataObj |
|
|
|
if (alljineLocal[element.key]) { |
|
|
|
alljineLocal[element.key].all += dataObj.all |
|
|
|
alljineLocal[element.key].zhong += dataObj.zhong |
|
|
|
} else { |
|
|
|
alljineLocal[element.key] = dataObj |
|
|
|
} |
|
|
|
} |
|
|
|
// 处理组三4码的玩法 |
|
|
|
else if (element.key == 'zusan4') { |
|
|
@ -1799,7 +1840,12 @@ Ca@微信@微信联系人 10-22 12:55:10 |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
alljineLocal[element.key] = dataObj |
|
|
|
if (alljineLocal[element.key]) { |
|
|
|
alljineLocal[element.key].all += dataObj.all |
|
|
|
alljineLocal[element.key].zhong += dataObj.zhong |
|
|
|
} else { |
|
|
|
alljineLocal[element.key] = dataObj |
|
|
|
} |
|
|
|
} |
|
|
|
// 处理组三5码的玩法 |
|
|
|
else if (element.key == 'zusan5') { |
|
|
@ -1821,7 +1867,12 @@ Ca@微信@微信联系人 10-22 12:55:10 |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
alljineLocal[element.key] = dataObj |
|
|
|
if (alljineLocal[element.key]) { |
|
|
|
alljineLocal[element.key].all += dataObj.all |
|
|
|
alljineLocal[element.key].zhong += dataObj.zhong |
|
|
|
} else { |
|
|
|
alljineLocal[element.key] = dataObj |
|
|
|
} |
|
|
|
} |
|
|
|
// 处理组三6码的玩法 |
|
|
|
else if (element.key == 'zusan6') { |
|
|
@ -1843,7 +1894,12 @@ Ca@微信@微信联系人 10-22 12:55:10 |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
alljineLocal[element.key] = dataObj |
|
|
|
if (alljineLocal[element.key]) { |
|
|
|
alljineLocal[element.key].all += dataObj.all |
|
|
|
alljineLocal[element.key].zhong += dataObj.zhong |
|
|
|
} else { |
|
|
|
alljineLocal[element.key] = dataObj |
|
|
|
} |
|
|
|
} |
|
|
|
// 处理组三7码的玩法 |
|
|
|
else if (element.key == 'zusan7') { |
|
|
@ -1865,7 +1921,12 @@ Ca@微信@微信联系人 10-22 12:55:10 |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
alljineLocal[element.key] = dataObj |
|
|
|
if (alljineLocal[element.key]) { |
|
|
|
alljineLocal[element.key].all += dataObj.all |
|
|
|
alljineLocal[element.key].zhong += dataObj.zhong |
|
|
|
} else { |
|
|
|
alljineLocal[element.key] = dataObj |
|
|
|
} |
|
|
|
} |
|
|
|
// 处理毒胆的玩法 |
|
|
|
else if (element.key == 'dudan') { |
|
|
@ -1887,7 +1948,12 @@ Ca@微信@微信联系人 10-22 12:55:10 |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
alljineLocal[element.key] = dataObj |
|
|
|
if (alljineLocal[element.key]) { |
|
|
|
alljineLocal[element.key].all += dataObj.all |
|
|
|
alljineLocal[element.key].zhong += dataObj.zhong |
|
|
|
} else { |
|
|
|
alljineLocal[element.key] = dataObj |
|
|
|
} |
|
|
|
} |
|
|
|
// 处理定位的玩法 |
|
|
|
else if (element.key == 'dingwei') { |
|
|
@ -1918,7 +1984,12 @@ Ca@微信@微信联系人 10-22 12:55:10 |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
alljineLocal[element.key] = dataObj |
|
|
|
if (alljineLocal[element.key]) { |
|
|
|
alljineLocal[element.key].all += dataObj.all |
|
|
|
alljineLocal[element.key].zhong += dataObj.zhong |
|
|
|
} else { |
|
|
|
alljineLocal[element.key] = dataObj |
|
|
|
} |
|
|
|
} |
|
|
|
// 处理不定位的玩法 |
|
|
|
// else if (element.key == 'budingwei') { |
|
|
@ -1946,7 +2017,12 @@ Ca@微信@微信联系人 10-22 12:55:10 |
|
|
|
// } |
|
|
|
// } |
|
|
|
// } |
|
|
|
// alljineLocal[element.key] = dataObj |
|
|
|
// if (alljineLocal[element.key]) { |
|
|
|
// alljineLocal[element.key].all += dataObj.all |
|
|
|
// alljineLocal[element.key].zhong += dataObj.zhong |
|
|
|
// } else { |
|
|
|
// alljineLocal[element.key] = dataObj |
|
|
|
// } |
|
|
|
// } |
|
|
|
// 处理双飞的玩法 |
|
|
|
else if (element.key == 'shuangfei') { |
|
|
@ -1974,7 +2050,12 @@ Ca@微信@微信联系人 10-22 12:55:10 |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
alljineLocal[element.key] = dataObj |
|
|
|
if (alljineLocal[element.key]) { |
|
|
|
alljineLocal[element.key].all += dataObj.all |
|
|
|
alljineLocal[element.key].zhong += dataObj.zhong |
|
|
|
} else { |
|
|
|
alljineLocal[element.key] = dataObj |
|
|
|
} |
|
|
|
} |
|
|
|
// 处理复式的玩法 |
|
|
|
else if (element.key == 'fushi') { |
|
|
@ -2002,7 +2083,12 @@ Ca@微信@微信联系人 10-22 12:55:10 |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
alljineLocal[element.key] = dataObj |
|
|
|
if (alljineLocal[element.key]) { |
|
|
|
alljineLocal[element.key].all += dataObj.all |
|
|
|
alljineLocal[element.key].zhong += dataObj.zhong |
|
|
|
} else { |
|
|
|
alljineLocal[element.key] = dataObj |
|
|
|
} |
|
|
|
} |
|
|
|
// 处理全包对子的玩法 |
|
|
|
else if (element.key == 'quanbaoduizi') { |
|
|
@ -2021,12 +2107,17 @@ Ca@微信@微信联系人 10-22 12:55:10 |
|
|
|
item["pei"] = -Number(item.jine) * Number(formData[element.key]) |
|
|
|
} |
|
|
|
} |
|
|
|
alljineLocal[element.key] = dataObj |
|
|
|
if (alljineLocal[element.key]) { |
|
|
|
alljineLocal[element.key].all += dataObj.all |
|
|
|
alljineLocal[element.key].zhong += dataObj.zhong |
|
|
|
} else { |
|
|
|
alljineLocal[element.key] = dataObj |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
this.tongjiValue = 0 |
|
|
|
this.zhongjiangshuTotal = 0 |
|
|
|
this.zhongjiangshucount = 0 |
|
|
|
// this.tongjiValue = 0 |
|
|
|
// this.zhongjiangshuTotal = 0 |
|
|
|
// this.zhongjiangshucount = 0 |
|
|
|
for (let key in alljineLocal) { |
|
|
|
this.tongjiValue += alljineLocal[key].all |
|
|
|
this.zhongjiangshuTotal += alljineLocal[key].zhong |
|
|
@ -2050,7 +2141,7 @@ Ca@微信@微信联系人 10-22 12:55:10 |
|
|
|
} |
|
|
|
let alljineLocalGroupy = _.groupBy(alljineLocalListTemp, 'value') |
|
|
|
let alljineLocalGroupyList = [] |
|
|
|
this.allhejialljineLocalTemp = 0 |
|
|
|
// this.allhejialljineLocalTemp = 0 |
|
|
|
for (let key in alljineLocalGroupy) { |
|
|
|
let alljineLocalGroupyItem = { |
|
|
|
value: key, |
|
|
|