Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
C
center-resource
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
center-resource
Commits
999fbe3a
提交
999fbe3a
authored
7月 28, 2022
作者:
matian
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
增加生源地分析地址
上级
bfb04db2
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
40 行增加
和
3 行删除
+40
-3
SourceAnalysis.vue
src/modules/admin/student/components/SourceAnalysis.vue
+26
-0
List.vue
src/modules/admin/student/views/List.vue
+13
-2
Statistics.vue
src/modules/course/my/components/Statistics.vue
+1
-1
没有找到文件。
src/modules/admin/student/components/SourceAnalysis.vue
0 → 100644
浏览文件 @
999fbe3a
<
script
lang=
"ts"
setup
>
const
emit
=
defineEmits
<
Emits
>
()
defineProps
({
isShowAnalysisDialog
:
{
type
:
Boolean
,
required
:
true
}
})
interface
Emits
{
(
e
:
'update:isShowAnalysisDialog'
,
isShowAnalysisDialog
:
boolean
):
void
}
const
handleCancel
=
()
=>
{
emit
(
'update:isShowAnalysisDialog'
,
false
)
}
</
script
>
<
template
>
<el-dialog
:model-value=
"isShowAnalysisDialog"
draggable
:before-close=
"handleCancel"
width=
"30%"
>
<div
class=
"main_content"
>
<iframe
src=
"http://114.242.229.132:18080/bi/?proc=1&action=viewer&hback=true&isInPreview=true&db=!7d2b!!8346!!6559!!80b2!e-SaaS!2f!!751f!!6e90!!5730!!5206!!5e03!.db&platform=PC&browserType=chrome"
frameborder=
"0"
></iframe>
</div>
</el-dialog>
</
template
>
src/modules/admin/student/views/List.vue
浏览文件 @
999fbe3a
...
...
@@ -3,6 +3,8 @@ import { ElMessage } from 'element-plus'
import
{
useProjectList
}
from
'@/composables/useGetProjectList'
import
AddStudent
from
'../components/AddStudent.vue'
import
ImportStudent
from
'../components/ImportStudent.vue'
// import SourceAnalysis from '../components/SourceAnalysis.vue'
import
{
getStudentList
,
exportStudent
,
updateStudent
}
from
'../api'
import
{
useUserStore
}
from
'@/stores/user'
...
...
@@ -16,6 +18,7 @@ const title = ref('')
const
isEdit
=
ref
(
''
)
const
isShowAddDialog
=
ref
(
false
)
const
isShowImportDialog
=
ref
(
false
)
// const isShowAnalysisDialog = ref(false)
const
listOptions
=
{
remote
:
{
httpRequest
:
getStudentList
,
params
:
{
name
:
''
,
organ_id
:
''
}
},
filters
:
[
...
...
@@ -101,6 +104,12 @@ const multipleSelection: any = ref([])
const
handleSelectionChange
=
(
val
:
any
)
=>
{
multipleSelection
.
value
=
val
}
const
handleAnalysis
=
()
=>
{
// isShowAnalysisDialog.value = true
window
.
open
(
'http://114.242.229.132:18080/bi/?proc=1&action=viewer&hback=true&isInPreview=true&db=!7d2b!!8346!!6559!!80b2!e-SaaS!2f!!751f!!6e90!!5730!!5206!!5e03!.db&platform=PC&browserType=chrome'
)
}
</
script
>
<
template
>
...
...
@@ -122,7 +131,7 @@ const handleSelectionChange = (val: any) => {
<el-button
type=
"primary"
round
@
click=
"handleExport"
v-permission=
"'v1-learning-student-download'"
>
导出
</el-button
>
<el-button
type=
"primary"
round
>
生源地分析
</el-button>
<el-button
type=
"primary"
round
@
click=
"handleAnalysis"
>
生源地分析
</el-button>
<template
v-if=
"isAdmin"
#
filter-department=
"
{ params }">
<div
class=
"name"
style=
"font-size: 14px; color: #606266; padding-right: 12px"
>
所属部门/学校:
</div>
<el-select
@
change=
"handleRefresh"
clearable
v-model=
"params.organ_id"
placeholder=
"请选择所属部门/学校"
>
...
...
@@ -139,7 +148,6 @@ const handleSelectionChange = (val: any) => {
style=
"--el-switch-on-color: #aa1941"
@
change=
"handleChangeStatus(row)"
:disabled=
"!isAdmin"
></el-switch>
</
template
>
<
template
#
table-operate=
"{ row }"
>
...
...
@@ -163,5 +171,8 @@ const handleSelectionChange = (val: any) => {
:isEdit=
"isEdit"
@
create=
"handleRefresh"
/>
<!-- 导入学生 -->
<ImportStudent
v-if=
"isShowImportDialog"
v-model:isShowImportDialog=
"isShowImportDialog"
@
create=
"handleRefresh"
/>
<!-- 生源地分析 -->
<!-- <SourceAnalysis v-if="isShowAnalysisDialog" v-model:isShowAnalysisDialog="isShowAnalysisDialog" /> -->
</template>
src/modules/course/my/components/Statistics.vue
浏览文件 @
999fbe3a
...
...
@@ -13,7 +13,7 @@ let data = ref<IList[]>([
{
key
:
'platform_course_count'
,
unit
:
'门'
,
number
:
0
,
text
:
'平台课程总数'
},
{
key
:
'department_course_count'
,
unit
:
'门'
,
number
:
0
,
text
:
'部门课程总数'
},
{
key
:
'my_course_count'
,
unit
:
'门'
,
number
:
0
,
text
:
'我的课程总数'
},
{
key
:
'learn_times'
,
unit
:
'
万
人次'
,
number
:
0
,
text
:
'总学习人次'
},
{
key
:
'learn_times'
,
unit
:
'人次'
,
number
:
0
,
text
:
'总学习人次'
},
{
key
:
'learn_time_length'
,
unit
:
'小时'
,
number
:
0
,
text
:
'总学习时长'
}
])
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论