Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
C
cert-show-h5
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
cert-show-h5
Commits
58317295
提交
58317295
authored
2月 23, 2023
作者:
王鹏飞
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
bug fixes
上级
eb22c685
隐藏空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
33 行增加
和
14 行删除
+33
-14
.config.dev.js
.config.dev.js
+2
-2
package-lock.json
package-lock.json
+2
-0
en.js
src/i18n/lang/en.js
+1
-1
zh.js
src/i18n/lang/zh.js
+1
-1
form.vue
src/pages/shms/score/components/form.vue
+4
-2
profile.vue
src/pages/shms/status/components/profile.vue
+23
-8
没有找到文件。
.config.dev.js
浏览文件 @
58317295
module
.
exports
=
{
module
.
exports
=
{
domain
:
'dev.ezijing.com'
,
domain
:
'dev.ezijing.com'
,
url
:
'https://
web-certs2
.ezijing.com/api'
,
url
:
'https://
certs
.ezijing.com/api'
,
isEnableToIphoneDebugger
:
false
,
isEnableToIphoneDebugger
:
false
,
// apiBaseURL: '//demo-login.ezijing.com/',
// apiBaseURL: '//demo-login.ezijing.com/',
webpack
:
{
webpack
:
{
...
@@ -33,6 +33,6 @@ module.exports = {
...
@@ -33,6 +33,6 @@ module.exports = {
},
},
ProvidePlugin
:
{},
ProvidePlugin
:
{},
others
:
{
others
:
{
loginUrl
:
'https://login
2
.ezijing.com/certs/login/index'
loginUrl
:
'https://login.ezijing.com/certs/login/index'
}
}
}
}
package-lock.json
浏览文件 @
58317295
...
@@ -12875,6 +12875,7 @@
...
@@ -12875,6 +12875,7 @@
"resolved"
:
"https://registry.npm.taobao.org/fsevents/download/fsevents-1.2.13.tgz?cache=0&sync_timestamp=1612536546156&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Ffsevents%2Fdownload%2Ffsevents-1.2.13.tgz"
,
"resolved"
:
"https://registry.npm.taobao.org/fsevents/download/fsevents-1.2.13.tgz?cache=0&sync_timestamp=1612536546156&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Ffsevents%2Fdownload%2Ffsevents-1.2.13.tgz"
,
"integrity"
:
"sha1-8yXLBFVZJCi88Rs4M3DvcOO/zDg="
,
"integrity"
:
"sha1-8yXLBFVZJCi88Rs4M3DvcOO/zDg="
,
"dev"
:
true
,
"dev"
:
true
,
"hasInstallScript"
:
true
,
"optional"
:
true
,
"optional"
:
true
,
"os"
:
[
"os"
:
[
"darwin"
"darwin"
...
@@ -13255,6 +13256,7 @@
...
@@ -13255,6 +13256,7 @@
"resolved"
:
"https://registry.npm.taobao.org/fsevents/download/fsevents-1.2.13.tgz?cache=0&sync_timestamp=1612536546156&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Ffsevents%2Fdownload%2Ffsevents-1.2.13.tgz"
,
"resolved"
:
"https://registry.npm.taobao.org/fsevents/download/fsevents-1.2.13.tgz?cache=0&sync_timestamp=1612536546156&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Ffsevents%2Fdownload%2Ffsevents-1.2.13.tgz"
,
"integrity"
:
"sha1-8yXLBFVZJCi88Rs4M3DvcOO/zDg="
,
"integrity"
:
"sha1-8yXLBFVZJCi88Rs4M3DvcOO/zDg="
,
"dev"
:
true
,
"dev"
:
true
,
"hasInstallScript"
:
true
,
"optional"
:
true
,
"optional"
:
true
,
"os"
:
[
"os"
:
[
"darwin"
"darwin"
...
...
src/i18n/lang/en.js
浏览文件 @
58317295
...
@@ -27,7 +27,7 @@ export const shmsLang = {
...
@@ -27,7 +27,7 @@ export const shmsLang = {
selectName2
:
'Semester'
,
selectName2
:
'Semester'
,
selectName3
:
'Course Name'
,
selectName3
:
'Course Name'
,
enrolled
:
'Enrolled'
,
enrolled
:
'Enrolled'
,
graduate
:
'Graduate'
,
graduate
:
'Graduate
d
'
,
gap
:
'Gap'
,
gap
:
'Gap'
,
withdraw
:
'Withdraw'
,
withdraw
:
'Withdraw'
,
Lose
:
'Lose contact'
Lose
:
'Lose contact'
...
...
src/i18n/lang/zh.js
浏览文件 @
58317295
...
@@ -27,7 +27,7 @@ export const shmsLang = {
...
@@ -27,7 +27,7 @@ export const shmsLang = {
selectName2
:
'Semester'
,
selectName2
:
'Semester'
,
selectName3
:
'Course Name'
,
selectName3
:
'Course Name'
,
enrolled
:
'Enrolled'
,
enrolled
:
'Enrolled'
,
graduate
:
'Graduate'
,
graduate
:
'Graduate
d
'
,
gap
:
'Gap'
,
gap
:
'Gap'
,
withdraw
:
'Withdraw'
,
withdraw
:
'Withdraw'
,
Lose
:
'Lose contact'
Lose
:
'Lose contact'
...
...
src/pages/shms/score/components/form.vue
浏览文件 @
58317295
<
template
>
<
template
>
<div
class=
"form-content"
>
<div
class=
"form-content"
>
<el-form
ref=
"form"
:inline=
"true"
:model=
"form"
label-width=
"120px"
>
<el-form
ref=
"form"
:inline=
"true"
:model=
"form"
label-width=
"120px"
v-if=
"false"
>
<el-form-item
:label=
"$t('shmsLang.status.selectName')"
>
<el-form-item
:label=
"$t('shmsLang.status.selectName')"
>
<el-select
<el-select
clearable
clearable
...
@@ -51,7 +51,7 @@
...
@@ -51,7 +51,7 @@
</el-form-item>
</el-form-item>
</el-form>
</el-form>
<div
class=
"form-btn"
>
<div
class=
"form-btn"
>
<div
@
click=
"search"
>
{{
$t
(
'shmsLang.searchBtn'
)
}}
</div>
<div
@
click=
"search"
v-if=
"false"
>
{{
$t
(
'shmsLang.searchBtn'
)
}}
</div>
<div
@
click=
"$emit('downPdf')"
>
{{
$t
(
'shmsLang.downloadBtn'
)
}}
</div>
<div
@
click=
"$emit('downPdf')"
>
{{
$t
(
'shmsLang.downloadBtn'
)
}}
</div>
</div>
</div>
</div>
</div>
...
@@ -94,7 +94,9 @@ export default {
...
@@ -94,7 +94,9 @@ export default {
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.form-content
{
.form-content
{
margin-bottom
:
20px
;
display
:
flex
;
display
:
flex
;
justify-content
:
flex-end
;
.form-btn
{
.form-btn
{
display
:
flex
;
display
:
flex
;
div
{
div
{
...
...
src/pages/shms/status/components/profile.vue
浏览文件 @
58317295
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
<div
class=
"info-box"
style=
"margin-right: 20px"
>
<div
class=
"info-box"
style=
"margin-right: 20px"
>
<!--
<div
class=
"name"
>
{{
$i18n
.
locale
==
'zh'
?
info
.
chinese_name
:
info
.
english_name
}}
</div>
-->
<!--
<div
class=
"name"
>
{{
$i18n
.
locale
==
'zh'
?
info
.
chinese_name
:
info
.
english_name
}}
</div>
-->
<div
class=
"name"
>
{{
info
.
english_name
}}
</div>
<div
class=
"name"
>
{{
info
.
english_name
}}
</div>
<div
class=
"info"
>
{{
setSex
(
info
.
gender
)
}}
|
{{
info
.
age
}}
|
{{
info
.
c
ity
}}
,
{{
info
.
c
ountry
}}
</div>
<div
class=
"info"
>
{{
setSex
(
info
.
gender
)
}}
|
{{
info
.
age
}}
|
{{
info
.
country
}}
</div>
<div
class=
"info-temp m-t33"
>
<div
class=
"info-temp m-t33"
>
<div
class=
"name w120"
>
{{
$t
(
'shmsLang.status.mobile'
)
}}
</div>
<div
class=
"name w120"
>
{{
$t
(
'shmsLang.status.mobile'
)
}}
</div>
<div
class=
"value"
>
{{
info
.
mobile
}}
</div>
<div
class=
"value"
>
{{
info
.
mobile
}}
</div>
...
@@ -33,15 +33,15 @@
...
@@ -33,15 +33,15 @@
<div
class=
"name w140"
>
{{
$t
(
'shmsLang.status.state'
)
}}
</div>
<div
class=
"name w140"
>
{{
$t
(
'shmsLang.status.state'
)
}}
</div>
<div
class=
"value"
>
{{
setStatus
(
info
.
graduation_status
)
}}
</div>
<div
class=
"value"
>
{{
setStatus
(
info
.
graduation_status
)
}}
</div>
</div>
</div>
<
div
class=
"info-temp m-t17
"
>
<
!--
<div
class=
"info-temp m-t17"
v-if=
"info.created_time
"
>
<div
class=
"name w140"
>
{{
$t
(
'shmsLang.status.added'
)
}}
</div>
<div
class=
"name w140"
>
{{
$t
(
'shmsLang.status.added'
)
}}
</div>
<div
class=
"value"
v-if=
"info.created_time"
>
{{
setDate
(
info
.
created_time
)
}}
</div>
<div
class=
"value"
>
{{
setDate
(
info
.
created_time
)
}}
</div>
</div>
</div>
-->
<div
class=
"info-temp m-t17"
>
<div
class=
"info-temp m-t17"
v-if=
"info.graduation_time"
>
<div
class=
"name w140"
>
<div
class=
"name w140"
>
<div>
{{
$t
(
'shmsLang.status.graduated'
)
}}
</div>
<div>
{{
$t
(
'shmsLang.status.graduated'
)
}}
</div>
</div>
</div>
<div
class=
"value"
v-if=
"info.graduation_time"
>
<div
class=
"value"
>
{{
setDate
(
info
.
graduation_time
)
}}
{{
setDate
(
info
.
graduation_time
)
}}
</div>
</div>
</div>
</div>
...
@@ -79,7 +79,11 @@ export default {
...
@@ -79,7 +79,11 @@ export default {
},
},
methods
:
{
methods
:
{
setSex
(
n
)
{
setSex
(
n
)
{
const
sex
=
{
0
:
this
.
$t
(
'shmsLang.status.sexWoMan'
),
1
:
this
.
$t
(
'shmsLang.status.sexMan'
),
2
:
this
.
$t
(
'shmsLang.status.sexUnknown'
)
}
const
sex
=
{
0
:
this
.
$t
(
'shmsLang.status.sexWoMan'
),
1
:
this
.
$t
(
'shmsLang.status.sexMan'
),
2
:
this
.
$t
(
'shmsLang.status.sexUnknown'
)
}
return
sex
[
n
]
return
sex
[
n
]
},
},
setStatus
(
n
)
{
setStatus
(
n
)
{
...
@@ -116,7 +120,18 @@ export default {
...
@@ -116,7 +120,18 @@ export default {
const
substringDate
=
date
.
substring
(
0
,
date
.
indexOf
(
' '
))
const
substringDate
=
date
.
substring
(
0
,
date
.
indexOf
(
' '
))
const
splitDate
=
substringDate
.
split
(
'-'
)
const
splitDate
=
substringDate
.
split
(
'-'
)
const
enMonth
=
{
const
enMonth
=
{
1
:
'Jan'
,
2
:
'Feb'
,
3
:
'Mar'
,
4
:
'Apr'
,
5
:
'May'
,
6
:
'Jun'
,
7
:
'Jul'
,
8
:
'Aug'
,
9
:
'Sept'
,
10
:
'Oct'
,
11
:
'Nov'
,
12
:
'Dec'
1
:
'Jan'
,
2
:
'Feb'
,
3
:
'Mar'
,
4
:
'Apr'
,
5
:
'May'
,
6
:
'Jun'
,
7
:
'Jul'
,
8
:
'Aug'
,
9
:
'Sept'
,
10
:
'Oct'
,
11
:
'Nov'
,
12
:
'Dec'
}
}
return
`
${
enMonth
[
parseInt
(
splitDate
[
1
])]}
${
splitDate
[
2
]}
.
${
splitDate
[
0
]}
`
return
`
${
enMonth
[
parseInt
(
splitDate
[
1
])]}
${
splitDate
[
2
]}
.
${
splitDate
[
0
]}
`
}
}
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论