Commit ceeccf31 by chenjinjing

no message

parent 54b48e2b
No preview for this file type
...@@ -225,11 +225,11 @@ export async function getData(req, res) { ...@@ -225,11 +225,11 @@ export async function getData(req, res) {
let jgyzhwcl = [ let jgyzhwcl = [
{ {
key:"九一综合完成率", key:"九+一综合完成率",
value:0 value:0
} }
]; ];
ret["jgyzhwcl"] = {title:"九一综合完成率", dataList:jgyzhwcl}; ret["jgyzhwcl"] = {title:"九+一综合完成率", dataList:jgyzhwcl};
// let jgyxxwcqk = [ // let jgyxxwcqk = [
// { // {
...@@ -290,7 +290,7 @@ export async function getData(req, res) { ...@@ -290,7 +290,7 @@ export async function getData(req, res) {
if (stuCount || xsrs) rate = Math.round(stuCount / xsrs) || 0; if (stuCount || xsrs) rate = Math.round(stuCount / xsrs) || 0;
jgyxxwcqk.push({key, value:parseInt(xsczData.grade[key]), rate}); jgyxxwcqk.push({key, value:parseInt(xsczData.grade[key]), rate});
} }
ret["jgyxxwcqk"] = {title:"九一详细完成情况", dataList:jgyxxwcqk}; ret["jgyxxwcqk"] = {title:"九+一详细完成情况", dataList:jgyxxwcqk};
// let bjwcl = []; // let bjwcl = [];
// let classCount = 0; // let classCount = 0;
...@@ -512,13 +512,13 @@ export async function getData(req, res) { ...@@ -512,13 +512,13 @@ export async function getData(req, res) {
/**学生画像筛选个人 */ /**学生画像筛选个人 */
export async function getStudent(req, res) { export async function getStudent(req, res) {
let grade = req.body.grade; //【一年级:1、二年级:2、三年级:3、四年级:4】 let grade = req.body.grade; //【一年级:1、二年级:2、三年级:3、四年级:4】
let className = req.body.className; let classNum = req.body.classNum;
let name = req.body.name; let name = req.body.name;
let ret:any = {}; let ret:any = {};
let body = {}; let body = {};
if(grade) body["gradeId"] = grade; if(grade) body["gradeId"] = grade;
if(className) body["classNum"] = className; if(classNum) body["classNum"] = classNum;
if(name) body["studentName"] = name; if(name) body["studentName"] = name;
let xsgrData = await getReqApiData(xshxNENUM.获取学生信息, body); //todo let xsgrData = await getReqApiData(xshxNENUM.获取学生信息, body); //todo
......
...@@ -413,7 +413,7 @@ export async function getData(req, res) { ...@@ -413,7 +413,7 @@ export async function getData(req, res) {
value:"21" value:"21"
}, },
]; ];
ret["wcqkdb"] = {title:"九一完成情况对比", dataList:wcqkdb91}; ret["wcqkdb"] = {title:"九+一完成情况对比", dataList:wcqkdb91};
let wcqkData = await getReqApiData(spfxWENUM.九加一完成情况, {studentId}); let wcqkData = await getReqApiData(spfxWENUM.九加一完成情况, {studentId});
let wcqk91 = { let wcqk91 = {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment