lichong 7 months ago
parent
commit
6e700ba9a0
  1. 39
      src/renderer/src/App.vue

39
src/renderer/src/App.vue

@ -340,27 +340,32 @@ export default {
jifenData[`pos${i}${j}`] = 0
}
}
//
for (let i = 0; i < posData.length; i++) {
let posItem = posData[i];
for (let j = 0; j < allData.length; j++) {
let item = _.compact(_.split(allData[j], ","))
if (item.indexOf(`${i + 1}`) === -1) {
for (let k = 0; k < item.length; k++) {
let maxingItem = item[k];
jifenData[`pos${posItem}${maxingItem}`]++
// ()
for (let i = 0; i < allData.length; i++) {
let item = _.compact(_.split(allData[i], ","))
let moshi1Arr = []
for (let j = 0; j < item.length; j++) {
moshi1Arr.push(posData[Number(j) - 1])
}
for (let j = 0; j < item.length; j++) {
for (let k = 1; k < 11; k++) {
if (moshi1Arr.indexOf(`${k}`) === -1) {
jifenData[`pos${k}${item[j]}`]++
}
}
}
}
//
for (let j = 0; j < allData.length; j++) {
let item = _.compact(_.split(allData[j], ","))
for (let i = 0; i < posData.length; i++) {
if (item.indexOf(`${i + 1}`) === -1) {
for (let k = 0; k < item.length; k++) {
let maxingItem = item[k];
jifenData[`pos${maxingItem}${i + 1}`]++
// ()
for (let i = 0; i < allData.length; i++) {
let item = _.compact(_.split(allData[i], ","))
let moshi1Arr = []
for (let j = 0; j < item.length; j++) {
moshi1Arr.push(posData[Number(item[j]) - 1])
}
for (let j = 0; j < moshi1Arr.length; j++) {
for (let k = 1; k < 11; k++) {
if (item.indexOf(`${k}`) === -1) {
jifenData[`pos${moshi1Arr[j]}${k}`]++
}
}
}

Loading…
Cancel
Save