Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
C
center-resource
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
center-resource
Commits
eec4980b
提交
eec4980b
authored
8月 17, 2022
作者:
matian
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
样式调整
上级
a6aa85a1
显示空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
28 行增加
和
10 行删除
+28
-10
Operation.vue
src/modules/course/my/components/Operation.vue
+26
-8
ViewCourseInfoTop.vue
src/modules/course/my/components/ViewCourseInfoTop.vue
+0
-1
Statistics.vue
src/modules/resource/dashboard/components/Statistics.vue
+2
-1
没有找到文件。
src/modules/course/my/components/Operation.vue
浏览文件 @
eec4980b
...
...
@@ -116,7 +116,7 @@ const handleMembers = () => {
}
// 更改负责人确定
const
handle
s
etBelong
=
()
=>
{
const
handle
S
etBelong
=
()
=>
{
setBelong
({
id
:
id
,
belong_operator
:
form
.
members
}).
then
((
res
:
any
)
=>
{
if
(
res
.
code
===
0
)
{
ElMessage
({
message
:
'更改成功'
,
type
:
'success'
})
...
...
@@ -234,34 +234,41 @@ const copyCourse = () => {
<template
#
footer
>
<span
class=
"dialog-footer"
>
<el-button
@
click=
"dialogFormVisible = false"
>
取消
</el-button>
<el-button
type=
"primary"
@
click=
"handle
s
etBelong"
>
确认
</el-button>
<el-button
type=
"primary"
@
click=
"handle
S
etBelong"
>
确认
</el-button>
</span>
</
template
>
</el-dialog>
<el-dialog
v-model=
"dialogVisibleAuthorize"
title=
"项目/学校"
width=
"75vw"
>
<el-dialog
v-model=
"dialogVisibleAuthorize"
title=
"项目/学校"
width=
"50vw"
>
<div
style=
"overflow: auto; min-height: 30vh; max-height: 60vh"
>
<el-checkbox-group
v-model=
"authorizeCheck"
style=
"display: flex; flex-direction: column"
>
<div
v-for=
"item in departmentList"
:key=
"item.id"
>
<el-checkbox
:label=
"item.id"
@
change=
"changeDepartment"
>
{{ item.name }}
</el-checkbox>
<span
v-if=
"authorizeCheck.filter((it:any)=>it === item.id).length >0"
style=
"margin-top: 10px"
>
<el-radio-group
v-model=
"item.auth_type"
>
<el-radio
label=
"1"
>
长期有效:
</el-radio>
<el-radio
label=
"2"
>
学期有效:
</el-radio>
<div
class=
"item"
>
<el-radio
label=
"1"
>
长期有效
</el-radio>
</div>
<div
class=
"item"
>
<el-radio
label=
"2"
>
学期有效
</el-radio>
<el-select
v-model=
"item.auth_semester_id"
>
<el-option
v-for=
"(it, id) in item.semesters"
:key=
"id"
:label=
"it.name"
:value=
"it.id"
></el-option>
</el-select>
<el-radio
label=
"3"
>
时间范围:
</el-radio>
</div>
<div
class=
"item"
>
<el-radio
label=
"3"
>
时间范围
</el-radio>
<el-date-picker
v-model=
"item.auth_start_time"
type=
"datetime"
value-format=
"YYYY-MM-DD HH:mm:ss"
/>
<span>
~
</span>
<el-date-picker
v-model=
"item.auth_end_time"
type=
"datetime"
value-format=
"YYYY-MM-DD HH:mm:ss"
style=
"margin-left: 10px"
/>
</div>
</el-radio-group>
</span>
</div>
</el-checkbox-group>
</div>
<
template
#
footer
>
<span
class=
"dialog-footer"
>
...
...
@@ -290,7 +297,18 @@ const copyCourse = () => {
:deep
(
.el-checkbox
)
{
margin-top
:
20px
;
}
:deep
(
.el-radio
)
{
:deep
(
.el-radio-group
)
{
display
:
flex
;
flex-direction
:
column
;
justify-content
:
space-around
;
align-items
:
flex-start
;
margin-left
:
20px
;
}
:deep
(
.el-date-editor.el-input
)
{
margin-top
:
10px
;
}
:deep
(
.el-select
)
{
margin-top
:
10px
;
}
</
style
>
src/modules/course/my/components/ViewCourseInfoTop.vue
浏览文件 @
eec4980b
...
...
@@ -137,7 +137,6 @@ const statusStyle = (item: any) => {
<div
v-html=
"item.summarize"
></div>
<template
#
reference
>
<div
class=
"item"
>
<!--
<div
class=
"avatar"
:style=
"`background-image:url($
{item.avatar})`">
</div>
-->
<img
:src=
"item.avatar"
class=
"avatar"
/>
<div
class=
"name"
>
{{
item
.
name
}}
</div>
</div>
...
...
src/modules/resource/dashboard/components/Statistics.vue
浏览文件 @
eec4980b
...
...
@@ -108,7 +108,8 @@ const bytesToSize = (bytes: number) => {
line
-
height
:
100
%
;
color
:
#
bf9d6b
;
text
-
align
:
center
;
padding
:
10
px
;
padding
:
5
px
;
white
-
space
:
nowrap
;
span
{
font
-
size
:
12
px
;
}
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论