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
ad499f19
Commit
ad499f19
authored
Mar 26, 2021
by
zhangleyuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:新增培训计划关联图文课
parent
1d242593
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
4 deletions
+17
-4
src/domains/basic-domain/constants.ts
+3
-3
src/modules/plan-manage/components/BasicInfo.jsx
+14
-1
No files found.
src/domains/basic-domain/constants.ts
View file @
ad499f19
/*
* @Author: 陈剑宇
* @Date: 2020-05-07 14:43:01
* @LastEditTime: 2021-03-
19 10:25:06
* @LastEditors:
yuananting
* @LastEditTime: 2021-03-
26 14:05:25
* @LastEditors:
zhangleyuan
* @Description:
* @FilePath: /wheat-web-demo/src/domains/basic-domain/constants.ts
*/
import
{
MapInterface
}
from
'@/domains/basic-domain/interface'
// 默认是 dev 环境
const
ENV
:
string
=
process
.
env
.
DEPLOY_ENV
||
'
gray
'
;
const
ENV
:
string
=
process
.
env
.
DEPLOY_ENV
||
'
dev
'
;
console
.
log
(
"process.env.DEPLOY_ENV"
,
process
)
const
BASIC_HOST_MAP
:
MapInterface
=
{
dev
:
'https://dev-heimdall.xiaomai5.com/'
,
...
...
src/modules/plan-manage/components/BasicInfo.jsx
View file @
ad499f19
...
...
@@ -2,7 +2,7 @@
* @Author: zhangleyuan
* @Date: 2021-02-20 16:45:51
* @LastEditors: zhangleyuan
* @LastEditTime: 2021-03-
15 17:01:47
* @LastEditTime: 2021-03-
26 14:16:39
* @Description: 描述一下
* @@Copyrigh: © 2020 杭州杰竞科技有限公司 版权所有
*/
...
...
@@ -337,6 +337,19 @@ class BasicInfo extends React.Component{
%,即视为"已完成"学习
</
span
>
</
div
>
<
div
className=
"live-standard-info"
>
<
span
className=
"icon iconfont"
>

</
span
>
<
span
className=
"instro"
>
图文课单个课程,用户学习进度达到
<
Input
width=
"40"
value=
{
percentCompleteVideo
}
onChange=
{
(
e
)
=>
{
this
.
props
.
onChange
(
'percentCompleteVideo'
,
e
.
target
.
value
.
replace
(
/
\D
/g
,
''
))
}
}
onBlur=
{
(
e
)
=>
this
.
percentCompleteBlur
(
e
,
'percentCompleteVideo'
)
}
className=
"input-box"
/>
%,即视为"已完成"学习
</
span
>
</
div
>
{
/* <div className="video-standard-info">
<span className="icon iconfont"></span>
<span>图文课单个课程,用户学习进度达到
...
...
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