Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
zhengyuan-danger-chemistry-manage
Project
Project
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
耿迪迪
zhengyuan-danger-chemistry-manage
Commits
40c55b31
Commit
40c55b31
authored
Jan 05, 2023
by
吴卿华
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
b0e34e21
d784946b
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
225 additions
and
119 deletions
+225
-119
request.js
danger-manage-web/src/utils/request.js
+2
-1
Dia.vue
...views/educationPlanExam/lessonsProgram/components/Dia.vue
+1
-1
Lesson.vue
...ws/educationPlanExam/lessonsProgram/components/Lesson.vue
+3
-1
index.vue
...c/views/educationPlanExam/myLessons/CheckLesson/index.vue
+19
-3
index.vue
danger-manage-web/src/views/system/book/index.vue
+200
-113
No files found.
danger-manage-web/src/utils/request.js
View file @
40c55b31
...
...
@@ -55,7 +55,8 @@ service.interceptors.response.use(res => {
const
msg
=
errorCode
[
code
]
||
res
.
data
.
msg
||
errorCode
[
'default'
]
if
(
code
===
401
)
{
MessageBox
.
confirm
(
'登录状态已过期,您可以继续留在该页面,或者重新登录'
,
'系统提示'
,
{
confirmButtonText
:
'重新登录'
,
// 重新登录
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
}
...
...
danger-manage-web/src/views/educationPlanExam/lessonsProgram/components/Dia.vue
View file @
40c55b31
...
...
@@ -2,7 +2,7 @@
* @Author: 纪泽龙 jizelong@qq.com
* @Date: 2022-09-22 10:38:49
* @LastEditors: 纪泽龙 jizelong@qq.com
* @LastEditTime: 202
2-12-26 09:54:47
* @LastEditTime: 202
3-01-04 17:50:46
* @FilePath: /danger-manage-web/src/views/lessonsProgram/components/addLesson.vue
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
...
...
danger-manage-web/src/views/educationPlanExam/lessonsProgram/components/Lesson.vue
View file @
40c55b31
...
...
@@ -2,7 +2,7 @@
* @Author: 纪泽龙 jizelong@qq.com
* @Date: 2022-09-22 10:59:44
* @LastEditors: 纪泽龙 jizelong@qq.com
* @LastEditTime: 202
2-09-28 17:52:32
* @LastEditTime: 202
3-01-04 17:47:53
* @FilePath: /danger-manage-web/src/views/lessonsProgram/components/Lession.vue
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
...
...
@@ -65,6 +65,7 @@
@
resFun=
"getFileInfoFile"
@
remove=
"listRemoveFile"
:fileArr=
"fileListFile"
:fileType=
"fileType"
/>
<el-input
v-show=
"false"
disabled
v-model=
"form.enclosure"
></el-input>
</el-form-item>
...
...
@@ -104,6 +105,7 @@ export default {
video
:
""
,
enclosure
:
""
,
},
fileType
:
[
"doc"
,
"docx"
,
"xls"
,
"xlsx"
,
"ppt"
,
"txt"
,
"pdf"
],
fileListVideo
:
[],
fileListFile
:
[],
readOnly
:
false
,
...
...
danger-manage-web/src/views/educationPlanExam/myLessons/CheckLesson/index.vue
View file @
40c55b31
...
...
@@ -2,7 +2,7 @@
* @Author: 纪泽龙 jizelong@qq.com
* @Date: 2022-09-20 20:14:18
* @LastEditors: 纪泽龙 jizelong@qq.com
* @LastEditTime: 202
2-09-28 16:59:32
* @LastEditTime: 202
3-01-05 09:38:13
* @FilePath: /danger-manage-web/src/views/myLessons/CheckLesson.vue
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
...
...
@@ -38,10 +38,10 @@
</div>
</div>
<div
class=
"bt flex fz14 video"
>
<div
class=
"bt flex fz14 video"
>
<div
class=
"a"
>
视频文件
</div>
<div
class=
"b"
>
<div
class=
"video"
>
<div
class=
"video"
v-if=
"lessonData.video"
>
<video-player
class=
"video-player vjs-custom-skin"
ref=
"videoPlayer"
...
...
@@ -49,6 +49,7 @@
:options=
"playerOptions"
></video-player>
</div>
<div
v-else
>
未上传视频
</div>
</div>
</div>
...
...
@@ -60,6 +61,9 @@
<el-button
style=
"padding: 0; margin-left: 20px"
type=
"text"
>
<a
:href=
"lessonData.enclosure"
>
下载
</a>
</el-button>
<el-button
style=
"padding: 0; margin-left: 20px"
type=
"text"
>
<a
@
click=
"openXslx(lessonData.enclosure)"
>
预览
</a>
</el-button>
</div>
</div>
</div>
...
...
@@ -99,6 +103,9 @@
:visible
.
sync=
"answerOpen"
@
jj=
"jj"
/>
<el-dialog
:visible
.
sync=
"iframeVisible"
width=
"80%"
>
<iframe
style=
"width: 100%; height: 600px"
:src=
"ky"
></iframe>
</el-dialog>
</div>
</
template
>
...
...
@@ -117,6 +124,7 @@ export default {
playerOptions
:
{
aspectRatio
:
"16:9"
,
},
// 课程类型
courseOptions
:
[],
lessonData
:
{},
...
...
@@ -128,6 +136,8 @@ export default {
fenshu
:
0
,
answerOpen
:
false
,
lessonTypeName
:
""
,
iframeVisible
:
false
,
ky
:
"https://view.xdocin.com/222-223-203-154-8082_o52uv3.htm"
,
};
},
created
()
{
...
...
@@ -238,6 +248,12 @@ export default {
};
xhr
.
send
();
},
openXslx
(
url
,
name
)
{
// window.open(`https://view.xdocin.com/view?src=${url}`);
console
.
log
(
url
)
this
.
ky
=
`https://view.xdocin.com/view?src=
${
url
}
`
;
this
.
iframeVisible
=
true
;
},
},
};
</
script
>
...
...
danger-manage-web/src/views/system/book/index.vue
View file @
40c55b31
This diff is collapsed.
Click to expand it.
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