Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica.cloud.web-education-admin
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
提交
打开侧边栏
com.pica.cloud.education.frontend
pica.cloud.web-education-admin
提交
b322a797
提交
b322a797
编写于
1月 02, 2020
作者:
chengxiang.li
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
申请明细页面新增提示及关联考试逻辑优化
上级
a7e60d03
变更
3
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
13 行增加
和
5 行删除
+13
-5
apply-detail.vue
src/views/cme/apply-detail.vue
+7
-2
create-component.vue
src/views/education/create-component.vue
+1
-1
slidebar.vue
src/views/layout/slidebar.vue
+5
-2
未找到文件。
src/views/cme/apply-detail.vue
浏览文件 @
b322a797
...
...
@@ -39,6 +39,7 @@
action=
"#"
accept=
".xlsx"
:limit=
"1"
:show-file-list=
"false"
:on-exceed=
"handleExceed"
:before-upload=
"uploadImport"
>
<!--
<el-button
size=
"small"
type=
"primary"
>
点击上传
</el-button>
-->
...
...
@@ -55,7 +56,7 @@
class=
"table-list"
@
selection-change=
"handleSelectionChange"
>
<el-table-column
type=
"selection"
width=
"55"
></el-table-column>
<el-table-column
align=
"center"
prop=
"cmeIcCardNumber"
label=
"IC卡号"
show-overflow-tooltip
width=
"
20
0"
></el-table-column>
<el-table-column
align=
"center"
prop=
"cmeIcCardNumber"
label=
"IC卡号"
show-overflow-tooltip
width=
"
15
0"
></el-table-column>
<el-table-column
align=
"center"
prop=
"name"
label=
"姓名"
show-overflow-tooltip
width=
"150"
></el-table-column>
<el-table-column
align=
"center"
prop=
"card"
label=
"身份证号"
show-overflow-tooltip
width=
"200"
></el-table-column>
<el-table-column
align=
"center"
prop=
"serialNo"
label=
"课题编号"
show-overflow-tooltip
width=
"150"
></el-table-column>
...
...
@@ -68,7 +69,7 @@
<el-table-column
align=
"center"
prop=
"taskType"
label=
"活动形式"
show-overflow-tooltip
width=
"150"
></el-table-column>
<el-table-column
align=
"center"
prop=
"department"
label=
"所属学科"
show-overflow-tooltip
width=
"150"
></el-table-column>
<el-table-column
align=
"center"
prop=
"authName"
label=
"授分单位"
show-overflow-tooltip
width=
"150"
></el-table-column>
<el-table-column
align=
"center"
prop=
"taskTime"
label=
"活动日期"
show-overflow-tooltip
width=
"
15
0"
></el-table-column>
<el-table-column
align=
"center"
prop=
"taskTime"
label=
"活动日期"
show-overflow-tooltip
width=
"
20
0"
></el-table-column>
<el-table-column
align=
"center"
label=
"学分状态"
show-overflow-tooltip
width=
"150"
>
<template
slot-scope=
"scope"
>
{{
returnStatusText
(
scope
.
row
.
creditStatus
)
}}
...
...
@@ -217,6 +218,10 @@
// debugger;
let
req
=
{};
if
(
type
==
'all'
)
{
// all 全选 part 非全选
if
(
this
.
tableData
.
length
<
1
)
{
this
.
$message
.
error
(
'暂无可导出项'
);
return
;
}
req
=
{
cmeId
:
this
.
$route
.
query
.
id
,
idList
:
[],
...
...
src/views/education/create-component.vue
浏览文件 @
b322a797
...
...
@@ -183,7 +183,7 @@
<el-col
:span=
"10"
class=
"item-icon"
>
<span
class=
"require"
>
*
</span>
<el-form-item
label=
"关联考试"
>
<el-select
placeholder=
"请选择"
v-model=
"item3.content3"
@
change=
"handleExamTypeChange"
size=
"small"
:disabled=
"fieldDisabled(item)"
>
<el-select
placeholder=
"请选择"
v-model=
"item3.content3"
@
focus=
"examIDfocus(index,index1,index2,index3)"
@
change=
"handleExamTypeChange"
size=
"small"
:disabled=
"fieldDisabled(item)"
>
<el-option
v-for=
"(examItem, examTypeIndex) in examTypeList"
:key=
"examTypeIndex"
...
...
src/views/layout/slidebar.vue
浏览文件 @
b322a797
...
...
@@ -229,16 +229,19 @@
methods
:
{
getUserType
()
{
// console.log('当前路由地址:', this.$route.path, typeof this.$route.path)
// let currentPath = this.$route.path
;
let
currentPath
=
this
.
$route
.
path
||
''
;
let
req
=
{};
console
.
log
(
'cmeStore: '
,
this
.
$store
.
state
.
cmeStore
.
isOutsideUser
)
getUserTypeReq
(
req
).
then
(
res
=>
{
// debugger;
this
.
isOutsideGetted
=
true
;
if
(
res
.
code
==
'000000'
)
{
if
(
res
.
data
.
code
==
"yes"
)
{
// 外部用户,
只展示一个
页面
if
(
res
.
data
.
code
==
"yes"
)
{
// 外部用户,
siderbar只展示一个:学分发放管理
页面
this
.
isOutsideUser
=
true
;
this
.
$store
.
dispatch
(
'cmeStore/updateOutUserStatus'
,
true
);
if
(
currentPath
&&
currentPath
==
'/apply-detail'
)
{
// 申请明细页面 则刷新时不重定向
return
;
}
this
.
$router
.
replace
({
path
:
'/credit-send-manage'
});
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录