Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
C
center-resource
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
center-resource
Commits
f5572f81
提交
f5572f81
authored
8月 16, 2022
作者:
matian
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
updates
上级
b94774ac
隐藏空白字符变更
内嵌
并排
正在显示
13 个修改的文件
包含
3 行增加
和
20 行删除
+3
-20
AddClass.vue
src/modules/admin/class/components/AddClass.vue
+0
-1
AddSemCourse.vue
src/modules/admin/semester/components/AddSemCourse.vue
+1
-1
SemesterCourse.vue
src/modules/admin/semester/components/SemesterCourse.vue
+1
-1
AddStaff.vue
src/modules/admin/staff/components/AddStaff.vue
+0
-1
List.vue
src/modules/admin/staff/views/List.vue
+1
-2
AddCourseData.vue
...rse/create/components/stepOneComponents/AddCourseData.vue
+0
-2
AddVideoDialog.vue
...se/create/components/stepTwoComponents/AddVideoDialog.vue
+0
-1
StepOne.vue
src/modules/course/create/views/StepOne.vue
+0
-2
StepTwo.vue
src/modules/course/create/views/StepTwo.vue
+0
-4
Operation.vue
src/modules/course/my/components/Operation.vue
+0
-1
BatchImportVideo.vue
src/modules/resource/video/components/BatchImportVideo.vue
+0
-1
UploadVideo.vue
src/modules/resource/video/components/UploadVideo.vue
+0
-2
ReplyDialog.vue
src/modules/teach/qa/components/ReplyDialog.vue
+0
-1
没有找到文件。
src/modules/admin/class/components/AddClass.vue
浏览文件 @
f5572f81
...
...
@@ -59,7 +59,6 @@ const handleCancel = () => {
watch
(
()
=>
form
.
organ_id
,
value
=>
{
console
.
log
(
value
,
'value'
,
form
.
organ_id_name
)
if
(
value
!==
''
||
form
.
organ_id_name
!==
undefined
)
{
handleGetTeacherList
()
}
...
...
src/modules/admin/semester/components/AddSemCourse.vue
浏览文件 @
f5572f81
...
...
@@ -58,7 +58,7 @@ const listOptions = $computed(() => {
width
:
'200'
},
{
label
:
'更新时间'
,
prop
:
'updated_time'
,
align
:
'center'
,
width
:
'200'
},
{
label
:
'操作'
,
slots
:
'table-operate'
,
align
:
'center'
,
minWidth
:
'
2
00'
,
fixed
:
'right'
}
{
label
:
'操作'
,
slots
:
'table-operate'
,
align
:
'center'
,
minWidth
:
'
1
00'
,
fixed
:
'right'
}
]
}
})
...
...
src/modules/admin/semester/components/SemesterCourse.vue
浏览文件 @
f5572f81
...
...
@@ -48,7 +48,7 @@ const listOptions = $computed(() => {
}
},
{
label
:
'更新时间'
,
prop
:
'updated_time'
,
align
:
'center'
},
{
label
:
'操作'
,
slots
:
'table-operate'
,
align
:
'center'
,
minWidth
:
'
20
0'
,
fixed
:
'right'
}
{
label
:
'操作'
,
slots
:
'table-operate'
,
align
:
'center'
,
minWidth
:
'
15
0'
,
fixed
:
'right'
}
]
}
})
...
...
src/modules/admin/staff/components/AddStaff.vue
浏览文件 @
f5572f81
...
...
@@ -81,7 +81,6 @@ const handleConfirm = async (formEl: FormInstance | undefined) => {
emit
(
'create'
)
})
}
else
if
(
props
.
isEdit
===
'1'
)
{
console
.
log
(
form
.
role
,
'form.role '
)
form
.
role
=
form
.
role
.
toString
()
const
params
:
any
=
Object
.
assign
({
id
:
props
.
id
},
form
)
updateStaff
(
params
).
then
(()
=>
{
...
...
src/modules/admin/staff/views/List.vue
浏览文件 @
f5572f81
...
...
@@ -74,8 +74,7 @@ const handleChangeStatus = (row: any) => {
if
(
row
.
id
!==
undefined
)
{
const
params
:
any
=
Object
.
assign
({},
row
)
updateStaff
(
params
)
.
then
((
res
:
any
)
=>
{
console
.
log
(
res
.
code
)
.
then
(()
=>
{
ElMessage
.
success
(
'更新教工成功'
)
handleFresh
()
})
...
...
src/modules/course/create/components/stepOneComponents/AddCourseData.vue
浏览文件 @
f5572f81
...
...
@@ -43,7 +43,6 @@ const handleAddData = () => {
}
const
handleAdd
=
(
val
:
any
)
=>
{
dataList
.
value
.
push
({
id
:
val
.
id
,
name
:
val
.
name
,
can_download
:
val
.
can_download
,
url
:
val
.
url
,
type
:
val
.
type
})
console
.
log
(
dataList
.
value
,
'dataList.value'
)
emit
(
'information'
,
dataList
.
value
)
}
const
listOptions
=
$computed
(()
=>
{
...
...
@@ -86,7 +85,6 @@ const imgUrl = (val: any) => {
}
const
handleChangeStatus
=
(
row
:
any
)
=>
{
console
.
log
(
row
.
id
,
'1111'
)
if
(
row
.
id
!==
undefined
&&
dataList
.
length
>
0
)
{
const
params
:
any
=
{
course_id
:
props
.
id
,
...
...
src/modules/course/create/components/stepTwoComponents/AddVideoDialog.vue
浏览文件 @
f5572f81
...
...
@@ -95,7 +95,6 @@ const handleCancel = () => {
}
// 保存 添加
const
handleAdd
=
(
val
:
any
)
=>
{
console
.
log
(
props
.
course_id
,
'props.course_id'
)
if
(
props
.
course_id
===
'0'
)
{
emit
(
'update:isShowAddDialog'
,
false
)
emit
(
'create'
,
val
)
...
...
src/modules/course/create/views/StepOne.vue
浏览文件 @
f5572f81
...
...
@@ -117,7 +117,6 @@ let loading = $ref<boolean>(false)
function
fetchDetail
()
{
loading
=
true
getCourseDetails
({
id
}).
then
((
res
:
any
)
=>
{
console
.
log
(
res
.
data
)
Object
.
assign
(
form
,
res
.
data
)
examList
.
value
=
res
.
data
.
examinations
information
.
value
=
res
.
data
.
information
...
...
@@ -195,7 +194,6 @@ getMajorList({ name: '', 'per-page': '100' }).then((res: any) => {
})
})
const
handleInformation
=
(
val
:
any
)
=>
{
console
.
log
(
val
)
form
.
information_id
=
val
.
map
((
item
:
any
)
=>
item
.
id
).
toString
()
}
...
...
src/modules/course/create/views/StepTwo.vue
浏览文件 @
f5572f81
...
...
@@ -81,10 +81,8 @@ const handleChapterList = () => {
})
}
})
console
.
log
(
dataSource
,
'dataSource'
)
})
}
console
.
log
(
dataSource
,
'dataSource'
)
// 新增章节
const
handleAddChapter
=
()
=>
{
...
...
@@ -284,7 +282,6 @@ const handleOpenRules = (node: any, data: any) => {
// 控制学生能否下载
const
handleChangeStatus
=
(
node
:
any
,
data
:
any
)
=>
{
if
(
isEditCourse
!==
'1'
)
{
console
.
log
(
node
,
data
)
const
params
:
any
=
{
course_id
:
id
,
resource_type
:
node
.
data
.
resource_type
,
...
...
@@ -296,7 +293,6 @@ const handleChangeStatus = (node: any, data: any) => {
ElMessage
.
success
(
'设置下载控制成功'
)
})
}
else
{
console
.
log
(
node
,
data
)
const
params
:
any
=
{
course_id
:
id
,
...
...
src/modules/course/my/components/Operation.vue
浏览文件 @
f5572f81
...
...
@@ -4,7 +4,6 @@ import { useProjectList } from '@/composables/useGetProjectList'
import
{
ElMessage
,
ElMessageBox
}
from
'element-plus'
// 筛选部门
let
departmentList
:
any
=
useProjectList
(
''
,
'79806610719731712'
).
departmentList
console
.
log
()
const
router
=
useRouter
()
const
route
=
useRoute
()
const
props
=
defineProps
([
'data'
])
...
...
src/modules/resource/video/components/BatchImportVideo.vue
浏览文件 @
f5572f81
...
...
@@ -30,7 +30,6 @@ const handleCancel = () => {
}
// 上传视频成功
const
uploadVideo
=
(
data
:
any
)
=>
{
console
.
log
(
data
)
const
params
=
{
name
:
data
.
name
.
slice
(
0
,
data
.
name
.
lastIndexOf
(
'.'
)),
source
:
'2'
,
...
...
src/modules/resource/video/components/UploadVideo.vue
浏览文件 @
f5572f81
...
...
@@ -53,7 +53,6 @@ const fileChange = (e: any) => {
form
.
uploader
.
startUpload
()
}
else
{
form
.
file
=
e
.
target
.
files
console
.
log
(
form
.
file
,
'123'
)
form
.
file
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
name
.
indexOf
(
'.mp4'
)
===
-
1
)
{
ElMessage
(
'请上传mp4格式视频'
)
...
...
@@ -75,7 +74,6 @@ const fileChange = (e: any) => {
}
let
id
=
ref
(
0
)
const
createUploader
:
any
=
()
=>
{
console
.
log
(
'000000'
)
const
w
=
window
as
any
// for
const
uploader
=
new
w
.
AliyunUpload
.
Vod
({
...
...
src/modules/teach/qa/components/ReplyDialog.vue
浏览文件 @
f5572f81
...
...
@@ -16,7 +16,6 @@ interface Emits {
(
e
:
'update:isShowReplyDialog'
,
isShowCheckDialog
:
boolean
):
void
}
const
handleCancel
=
()
=>
{
console
.
log
(
'000'
)
emit
(
'update:isShowReplyDialog'
,
false
)
}
const
replyList
=
ref
([
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论