Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
xiaomai-cloud-class-web
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xiaomai-cloud-class
xiaomai-cloud-class-web
Commits
abc11187
Commit
abc11187
authored
Apr 09, 2021
by
zhujian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'fix'
parent
f0d87375
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
21 additions
and
10 deletions
+21
-10
src/modules/teach-tool/examination-manager/AddExam.less
+9
-1
src/modules/teach-tool/examination-manager/ExamData.tsx
+5
-3
src/modules/teach-tool/examination-manager/ExamShareModal.jsx
+4
-4
src/modules/teach-tool/examination-manager/UserData.tsx
+3
-2
No files found.
src/modules/teach-tool/examination-manager/AddExam.less
View file @
abc11187
.examPage{
.examPage{
padding-bottom: 50px;
padding-bottom: 50px;
.ant-alert-info{
background: rgba(255, 244, 221, 1);
border: none;
}
.form{
.form{
margin-top: 12px;
margin-top: 12px;
width: 1000px;
width: 1000px;
.title{
.title{
font-size: 18px;
font-size: 16px;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: bold;
color: #333333;
line-height: 22px;
}
}
}
}
...
...
src/modules/teach-tool/examination-manager/ExamData.tsx
View file @
abc11187
...
@@ -19,7 +19,7 @@ function ExamData(props: any) {
...
@@ -19,7 +19,7 @@ function ExamData(props: any) {
}
}
const
examDataInit
:
any
=
{};
const
examDataInit
:
any
=
{};
const
queryInit
:
any
=
{
current
:
1
,
size
:
10
,
};
const
queryInit
:
any
=
{
current
:
1
,
size
:
10
,
order
:
'SORT_ASC'
};
const
[
examData
,
setUserData
]
=
useState
(
examDataInit
);
const
[
examData
,
setUserData
]
=
useState
(
examDataInit
);
const
[
list
,
setList
]
=
useState
([]);
const
[
list
,
setList
]
=
useState
([]);
const
[
query
,
setQuery
]
=
useState
(
queryInit
);
const
[
query
,
setQuery
]
=
useState
(
queryInit
);
...
@@ -97,7 +97,8 @@ function ExamData(props: any) {
...
@@ -97,7 +97,8 @@ function ExamData(props: any) {
{
{
title
:
"序号"
,
title
:
"序号"
,
dataIndex
:
"sort"
,
dataIndex
:
"sort"
,
width
:
60
width
:
60
,
render
:
(
text
:
any
)
=>
<
span
>
{
text
+
1
}
</
span
>,
},
},
{
{
title
:
"题目"
,
title
:
"题目"
,
...
@@ -162,7 +163,8 @@ function ExamData(props: any) {
...
@@ -162,7 +163,8 @@ function ExamData(props: any) {
function
download
()
{
function
download
()
{
Service
.
Hades
(
'anon/hades/exportExamData'
,
{
Service
.
Hades
(
'public/hades/exportExamData'
,
{
...
query
,
examId
:
props
.
examId
,
examId
:
props
.
examId
,
exportDataType
:
'EXAM_QUESTION_DATA'
,
exportDataType
:
'EXAM_QUESTION_DATA'
,
tenantId
:
User
.
getStoreId
(),
tenantId
:
User
.
getStoreId
(),
...
...
src/modules/teach-tool/examination-manager/ExamShareModal.jsx
View file @
abc11187
...
@@ -103,7 +103,7 @@ class ExamShareModal extends React.Component {
...
@@ -103,7 +103,7 @@ class ExamShareModal extends React.Component {
<
div
className=
"qrcode-wrap"
>
<
div
className=
"qrcode-wrap"
>
<
div
className=
"qrcode-wrap__left"
>
<
div
className=
"qrcode-wrap__left"
>
<
div
className=
"text"
>
长按识别二维码进入
观看
</
div
>
<
div
className=
"text"
>
长按识别二维码进入
考试
</
div
>
<
img
<
img
className=
"finger"
className=
"finger"
alt=
"finger"
alt=
"finger"
...
@@ -121,13 +121,13 @@ class ExamShareModal extends React.Component {
...
@@ -121,13 +121,13 @@ class ExamShareModal extends React.Component {
<
div
className=
"share-poster right__item"
>
<
div
className=
"share-poster right__item"
>
<
div
className=
"title"
>
② 海报分享
</
div
>
<
div
className=
"title"
>
② 海报分享
</
div
>
<
div
className=
"sub-title"
>
家长可通过微信识别二维码,报名观看直播
</
div
>
<
div
className=
"sub-title"
>
用户可通过微信扫描海报二维码,查看考试
</
div
>
<
div
className=
"content"
onClick=
{
this
.
handleDownloadPoster
}
>
下载海报
</
div
>
<
div
className=
"content"
onClick=
{
this
.
handleDownloadPoster
}
>
下载海报
</
div
>
</
div
>
</
div
>
<
div
className=
"share-url right__item"
style=
{
{
marginTop
:
40
}
}
>
<
div
className=
"share-url right__item"
style=
{
{
marginTop
:
40
}
}
>
<
div
className=
"title"
>
① 海报
分享
</
div
>
<
div
className=
"title"
>
② 链接
分享
</
div
>
<
div
className=
"sub-title"
>
家长可通过微信打开链接,报名观看直播
</
div
>
<
div
className=
"sub-title"
>
用户可通过微信或浏览器打开以下链接,查看考试(建议使用谷歌浏览器)
</
div
>
<
div
className=
"content"
>
<
div
className=
"content"
>
<
div
className=
"share-url"
id=
"shareUrl"
>
{
shareUrl
}
</
div
>
<
div
className=
"share-url"
id=
"shareUrl"
>
{
shareUrl
}
</
div
>
<
Button
<
Button
...
...
src/modules/teach-tool/examination-manager/UserData.tsx
View file @
abc11187
...
@@ -77,7 +77,7 @@ function DataAnalysic(props: any) {
...
@@ -77,7 +77,7 @@ function DataAnalysic(props: any) {
useEffect
(()
=>
{
useEffect
(()
=>
{
queryRef
.
current
=
query
;
queryRef
.
current
=
query
;
//
queryExamUserDataList();
queryExamUserDataList
();
},
[
query
])
},
[
query
])
function
queryExamUserData
()
{
function
queryExamUserData
()
{
...
@@ -159,7 +159,8 @@ function DataAnalysic(props: any) {
...
@@ -159,7 +159,8 @@ function DataAnalysic(props: any) {
}
}
function
download
(){
function
download
(){
Service
.
Hades
(
'anon/hades/exportExamData'
,
{
Service
.
Hades
(
'public/hades/exportExamData'
,
{
...
query
,
examId
:
props
.
examId
,
examId
:
props
.
examId
,
exportDataType
:
'EXAM_USER_DATA'
,
exportDataType
:
'EXAM_USER_DATA'
,
tenantId
:
User
.
getStoreId
(),
tenantId
:
User
.
getStoreId
(),
...
...
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