Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
Support
提交反馈
为 GitLab 提交贡献
登录
切换导航
奖
奖学金界面
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
戴智敏
奖学金界面
提交
a26bd4f1
提交
a26bd4f1
编写于
10月 18, 2021
作者:
符英鹏
🏀
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
feat:'奖学金申请可切换学年,根据学年更新绩点信息'
上级
19b9c604
流水线
#7806
已通过 ,包含阶段
in 1 minute 和 35 second
变更
9
流水线
1
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
9 个修改的文件
包含
56 行增加
和
15 行删除
+56
-15
chunk-2d5ffb27.2aeaee41.css
dist/css/chunk-2d5ffb27.2aeaee41.css
+1
-0
chunk-5ae52a5e.ff287d12.css
dist/css/chunk-5ae52a5e.ff287d12.css
+0
-1
index.html
dist/index.html
+1
-1
app.38322bdc.js
dist/js/app.38322bdc.js
+15
-0
chunk-2d5ffb27.30e93d58.js
dist/js/chunk-2d5ffb27.30e93d58.js
+1
-0
chunk-5ae52a5e.4e1fd8e8.js
dist/js/chunk-5ae52a5e.4e1fd8e8.js
+0
-1
chunk-vendors.35c4ce0a.js
dist/js/chunk-vendors.35c4ce0a.js
+0
-0
ApplyForm.vue
src/pages/center/ApplyForm.vue
+37
-11
account.js
src/store/modules/admin/modules/account.js
+1
-1
未找到文件。
dist/css/chunk-2d5ffb27.2aeaee41.css
0 → 100644
浏览文件 @
a26bd4f1
.title
[
data-v-6acfae1d
]
{
text-align
:
center
;
display
:
flex
;
justify-content
:
center
;
align-items
:
center
}
.row-title
[
data-v-6acfae1d
]
{
display
:
flex
;
margin-bottom
:
20px
}
.add-btn
[
data-v-6acfae1d
]
{
display
:
flex
;
justify-content
:
center
}
[
data-v-6acfae1d
]
.ivu-tag-text
{
font-size
:
16px
}
\ No newline at end of file
dist/css/chunk-5ae52a5e.ff287d12.css
已删除
100644 → 0
浏览文件 @
19b9c604
.title
[
data-v-445e6c92
]
{
text-align
:
center
}
.row-title
[
data-v-445e6c92
]
{
display
:
flex
;
margin-bottom
:
20px
}
.add-btn
[
data-v-445e6c92
]
{
display
:
flex
;
justify-content
:
center
}
[
data-v-445e6c92
]
.ivu-tag-text
{
font-size
:
16px
}
\ No newline at end of file
dist/index.html
浏览文件 @
a26bd4f1
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><meta
http-equiv=
X-UA-Compatible
content=
"IE=edge"
><meta
name=
viewport
content=
"width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0"
><link
rel=
"shortcut icon"
href=
favicon.ico
><title>
iView Admin Pro
</title><link
href=
css/app.5ea00409.css
rel=
stylesheet
></head><body><noscript><strong>
请开启 JavaScript 功能来使用 iView Admin Pro。
</strong></noscript><div
id=
app
></div><script
src=
js/chunk-vendors.4fc184b4.js
></script><script
src=
js/app.4ffaa01d.js
></script></body></html>
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><meta
http-equiv=
X-UA-Compatible
content=
"IE=edge"
><meta
name=
viewport
content=
"width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0"
><link
rel=
"shortcut icon"
href=
favicon.ico
><title>
iView Admin Pro
</title><link
href=
css/app.5ea00409.css
rel=
stylesheet
></head><body><noscript><strong>
请开启 JavaScript 功能来使用 iView Admin Pro。
</strong></noscript><div
id=
app
></div><script
src=
js/chunk-vendors.35c4ce0a.js
></script><script
src=
js/app.38322bdc.js
></script></body></html>
\ No newline at end of file
\ No newline at end of file
dist/js/app.
4ffaa01d
.js
→
dist/js/app.
38322bdc
.js
浏览文件 @
a26bd4f1
此差异已折叠。
点击以展开。
dist/js/chunk-2d5ffb27.30e93d58.js
0 → 100644
浏览文件 @
a26bd4f1
此差异已折叠。
点击以展开。
dist/js/chunk-5ae52a5e.4e1fd8e8.js
已删除
100644 → 0
浏览文件 @
19b9c604
此差异已折叠。
点击以展开。
dist/js/chunk-vendors.
4fc184b4
.js
→
dist/js/chunk-vendors.
35c4ce0a
.js
浏览文件 @
a26bd4f1
文件已移动
src/pages/center/ApplyForm.vue
浏览文件 @
a26bd4f1
<
template
>
<
template
>
<div>
<div>
<Spin
size=
"large"
fix
v-if=
"loading"
></Spin>
<Spin
size=
"large"
fix
v-if=
"loading"
></Spin>
<h2
class=
"title"
>
{{
schoolYearName
}}{{
projectName
}}
申请自评表
</h2>
<h2
class=
"title"
>
<Select
v-model=
"schoolYear"
style=
"width: 200px; margin-right: 5px"
@
on-change=
"schoolYearChange"
>
<Option
v-for=
"(item, index) in yearList"
:value=
"item.schoolYear"
:key=
"index"
>
{{
item
.
schoolYearName
}}
</Option
>
</Select>
{{
projectName
}}
申请自评表
</h2>
<Row
:gutter=
"20"
type=
"flex"
justify=
"center"
class=
"ivu-mt"
>
<Row
:gutter=
"20"
type=
"flex"
justify=
"center"
class=
"ivu-mt"
>
<Col
:span=
"5"
>
学院:
{{
baseInfo
.
部门名称
}}
</Col>
<Col
:span=
"5"
>
学院:
{{
baseInfo
.
部门名称
}}
</Col>
<Col
:span=
"5"
>
专业:
{{
baseInfo
.
专业名称
}}
</Col>
<Col
:span=
"5"
>
专业:
{{
baseInfo
.
专业名称
}}
</Col>
...
@@ -255,7 +269,6 @@ export default {
...
@@ -255,7 +269,6 @@ export default {
innovationIndex
:
1
,
innovationIndex
:
1
,
socialIndex
:
1
,
socialIndex
:
1
,
comprehensiveIndex
:
1
,
comprehensiveIndex
:
1
,
currentYear
:
new
Date
().
getFullYear
()
-
1
,
innovationTree
:
[],
innovationTree
:
[],
praticeTree
:
[],
praticeTree
:
[],
comprehensiveTree
:
[],
comprehensiveTree
:
[],
...
@@ -289,8 +302,9 @@ export default {
...
@@ -289,8 +302,9 @@ export default {
],
],
},
},
projectName
:
""
,
projectName
:
""
,
schoolYearName
:
''
,
schoolYearName
:
""
,
schoolYear
:
''
,
schoolYear
:
""
,
yearList
:
[],
};
};
},
},
computed
:
{
computed
:
{
...
@@ -303,17 +317,21 @@ export default {
...
@@ -303,17 +317,21 @@ export default {
this
.
GetStudentInfoByCard
();
this
.
GetStudentInfoByCard
();
this
.
GetColumnInfoByItemName
();
this
.
GetColumnInfoByItemName
();
},
},
methods
:
{
methods
:
{
//获取现在的学年信息
//获取现在的学年信息
GetNowSchoolYear
(){
GetNowSchoolYear
()
{
api
.
GetNowSchoolYear
().
then
(
resp
=>
{
api
.
GetNowSchoolYear
().
then
((
resp
)
=>
{
// console.log(resp)
console
.
log
(
resp
);
this
.
schoolYearName
=
resp
.
schoolYearName
;
resp
.
map
((
item
)
=>
{
this
.
schoolYear
=
resp
.
schoolYear
;
if
(
item
.
isNow
==
"
YES
"
)
{
this
.
schoolYear
=
item
.
schoolYear
;
}
});
this
.
yearList
=
resp
;
this
.
GetScoreInfoByCardAndYear
();
this
.
GetScoreInfoByCardAndYear
();
})
})
;
},
},
// 获取学生基本信息
// 获取学生基本信息
GetStudentInfoByCard
()
{
GetStudentInfoByCard
()
{
...
@@ -485,6 +503,11 @@ export default {
...
@@ -485,6 +503,11 @@ export default {
},
},
});
});
},
},
schoolYearChange
(
data
)
{
console
.
log
(
data
);
this
.
GetScoreInfoByCardAndYear
();
},
},
},
};
};
</
script
>
</
script
>
...
@@ -492,6 +515,9 @@ export default {
...
@@ -492,6 +515,9 @@ export default {
<
style
scoped
lang=
'less'
>
<
style
scoped
lang=
'less'
>
.title {
.title {
text-align: center;
text-align: center;
display: flex;
justify-content: center;
align-items: center;
}
}
.row-title {
.row-title {
display: flex;
display: flex;
...
...
src/store/modules/admin/modules/account.js
浏览文件 @
a26bd4f1
...
@@ -61,7 +61,7 @@ export default {
...
@@ -61,7 +61,7 @@ export default {
}
=
{})
{
}
=
{})
{
return
new
Promise
((
resolve
,
reject
)
=>
{
return
new
Promise
((
resolve
,
reject
)
=>
{
// 开始请求登录接口
// 开始请求登录接口
Login
({
userCard
:
username
,
password
:
password
})
Login
({
userCard
:
username
,
password
:
md5
(
password
)
})
.
then
(
async
res
=>
{
.
then
(
async
res
=>
{
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录