Comments (10)
计算比例:-2.5:12.0
平时分:92.9
卷面:92.5
总分:93
['2021-2022,2,B0600372S,物理实验(上),必修, ,1.0, ,4.30,92.9, ,92.5, ,93,0, , , ,理学院, ,0, ,0,1,2,3']
from zhengfangjiaowusystemtampermonkeyscript.
计算比例:-2.5:12.0 平时分:92.9 卷面:92.5 总分:93 ['2021-2022,2,B0600372S,物理实验(上),必修, ,1.0, ,4.30,92.9, ,92.5, ,93,0, , , ,理学院, ,0, ,0,1,2,3']
在最新版本中得到了修复
from zhengfangjiaowusystemtampermonkeyscript.
计算比例:20.0:-10.0 平时分:85 卷面:83 总分:81
['2022-2023,1,B0400091S,模拟电子线路A,必修, ,4.0, , 3.10,85,54,83, ,81,0, , , ,电子与光学工程学院, ,0, ,0,1,2,3']
这是正方教务返回的数据包存在问题,目前属于个例,暂时无法定位问题。
你可以尝试在控制台中执行以下命令:
{
var a = document.getElementById("Form1").childNodes[1].value;
const decodeUTF8FromBase64 = (base64) => {
const text = atob(base64);
const length = text.length;
const bytes = new Uint8Array(length);
for (var i = 0; i < length; i++) {
bytes[i] = text.charCodeAt(i);
}
const decoder = new TextDecoder(); // default is utf-8
return decoder.decode(bytes);
};
let text = decodeUTF8FromBase64(a);
x = [];
while (text.indexOf("<") !== -1) {
if (text.slice(text.indexOf("<") + 1).indexOf("<") === -1) {
break;
} else if (
text.slice(text.indexOf("<") + 1).indexOf("<") <
text.slice(text.indexOf("<") + 1).indexOf(">")
) {
text = text.slice(text.indexOf("<") + 1);
} else {
if (
text.slice(text.indexOf("<") + 1, text.indexOf(">")) !== " ;"
) {
x.push(text.slice(text.indexOf("<") + 1, text.indexOf(">")));
}
text = text.slice(text.indexOf(">") + 1);
}
}
let gg = [];
for (let i = 0, now = 0; i <= x.length - 1;) {
if (x[i] === "Text;") {
if (now >= 9) {
if (i + 48 >= x.length) {
break;
}
let ng = [];
for (let j = i + 1; j < i + 48; j++) {
if (x[j] !== "Text;") {
x[j] = x[j].replace(" ", "").replace(";", "");
ng.push(x[j]);
}
}
gg.push(ng);
i += 48;
} else {
now += 1;
i += 1;
}
} else {
i += 1;
}
}
console.log(gg)
}
如果正常输出,请将敏感信息删除后的内容给我。
from zhengfangjiaowusystemtampermonkeyscript.
我是不是写出了锅:anguished:
from zhengfangjiaowusystemtampermonkeyscript.
我是不是写出了锅:anguished:
@FishZe 应该是正方的问题,目前只有这一个数据问题
from zhengfangjiaowusystemtampermonkeyscript.
计算比例:Unknown
平时分:83
卷面:83
总分:83
计算比例:Unknown
平时分:92
卷面:92
总分:92
[ '2022-2023,2,B0301061S,汇编语言程序设计,必修, ,2.0, , 3.30,83, ,83, ,83,0, , , ,计算机学院, ,0, ,0,1,2,3',
'2022-2023,2,B0400032S,数字电路与逻辑设计B,必修, ,3.0, , 4.20,92, ,92, ,92,0, , , ,电子与光学工程学院, ,0, ,0,1,2,3']
计算比例:Unknown
平时分:95
卷面:94
总分:95
计算比例:Unknown
平时分:92.9
卷面:92.5
总分:93
计算比例:Unknown
平时分:95
卷面:94
总分:94
['2021-2022,2,B0301572C,JAVA程序设计,必修, ,2.0,4.50, ,95, ,94, ,95,0, , , ,计算机学院, ,0, ,0,1,2,3',
'2021-2022,2,B0600372S,物理实验(上),必修, ,1.0,4.30, ,92.9, ,92.5, ,93,0, , , ,理学院, ,0, ,0,1,2,3',
'2021-2022,2,B2110061C,职业生涯发展与规划,必修, ,0.5,4.40, ,95, ,94, ,94,0, , , ,招生就业处, ,0, ,0,1,2,3'
]
from zhengfangjiaowusystemtampermonkeyscript.
计算比例:Unknown 平时分:83 卷面:83 总分:83
计算比例:Unknown 平时分:92 卷面:92 总分:92
[ '2022-2023,2,B0301061S,汇编语言程序设计,必修, ,2.0, , 3.30,83, ,83, ,83,0, , , ,计算机学院, ,0, ,0,1,2,3', '2022-2023,2,B0400032S,数字电路与逻辑设计B,必修, ,3.0, , 4.20,92, ,92, ,92,0, , , ,电子与光学工程学院, ,0, ,0,1,2,3']
计算比例:Unknown 平时分:95 卷面:94 总分:95
计算比例:Unknown 平时分:92.9 卷面:92.5 总分:93
计算比例:Unknown 平时分:95 卷面:94 总分:94
['2021-2022,2,B0301572C,JAVA程序设计,必修, ,2.0,4.50, ,95, ,94, ,95,0, , , ,计算机学院, ,0, ,0,1,2,3', '2021-2022,2,B0600372S,物理实验(上),必修, ,1.0,4.30, ,92.9, ,92.5, ,93,0, , , ,理学院, ,0, ,0,1,2,3', '2021-2022,2,B2110061C,职业生涯发展与规划,必修, ,0.5,4.40, ,95, ,94, ,94,0, , , ,招生就业处, ,0, ,0,1,2,3' ]
@yumoyum0 "Unknown"是我设置的,有些比例倒推不出来,所以是“Unknown"。有考虑增加一个联网查询占比的功能,不过这个工作量很大,还涉及到数据的维护,所以还没有列入开发计划中。
from zhengfangjiaowusystemtampermonkeyscript.
from zhengfangjiaowusystemtampermonkeyscript.
我为什么打开了之后平时分卷面分上面全是空白的
from zhengfangjiaowusystemtampermonkeyscript.
我为什么打开了之后平时分卷面分上面全是空白的
from zhengfangjiaowusystemtampermonkeyscript.
Related Issues (5)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zhengfangjiaowusystemtampermonkeyscript.