Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
skdSecond
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
node_server
skdSecond
Commits
ceeccf31
Commit
ceeccf31
authored
Dec 31, 2024
by
chenjinjing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
54b48e2b
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
6 deletions
+6
-6
对外.xlsx
res/对外.xlsx
+0
-0
njzjshx备份.ts
src/biz/duinei/njzjshx备份.ts
+0
-0
xshx.ts
src/biz/duinei/xshx.ts
+5
-5
spfxtc.ts
src/biz/duiwai/spfxtc.ts
+1
-1
No files found.
res/对外.xlsx
View file @
ceeccf31
No preview for this file type
src/biz/duinei/njzjshx备份.ts
0 → 100644
View file @
ceeccf31
This diff is collapsed.
Click to expand it.
src/biz/duinei/xshx.ts
View file @
ceeccf31
...
@@ -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
classN
ame
=
req
.
body
.
className
;
let
classN
um
=
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
(
classN
ame
)
body
[
"classNum"
]
=
className
;
if
(
classN
um
)
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
...
...
src/biz/duiwai/spfxtc.ts
View file @
ceeccf31
...
@@ -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
:
wcqkdb9
个
1
};
ret
[
"wcqkdb"
]
=
{
title
:
"九
+
一完成情况对比"
,
dataList
:
wcqkdb9
个
1
};
let
wcqkData
=
await
getReqApiData
(
spfxWENUM
.
九加一完成情况
,
{
studentId
});
let
wcqkData
=
await
getReqApiData
(
spfxWENUM
.
九加一完成情况
,
{
studentId
});
let
wcqk9
加
1
=
{
let
wcqk9
加
1
=
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment