Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
project-online
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
project-online
Commits
517794dc
提交
517794dc
authored
5月 09, 2022
作者:
matian
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
updates
上级
5ac0f5dd
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
21 行增加
和
6 行删除
+21
-6
CardQuery.vue
src/modules/internet/components/CardQuery.vue
+1
-0
ManagerLogin.vue
src/modules/internet/components/ManagerLogin.vue
+10
-3
StudyLogin.vue
src/modules/internet/components/StudyLogin.vue
+10
-3
没有找到文件。
src/modules/internet/components/CardQuery.vue
浏览文件 @
517794dc
...
@@ -71,6 +71,7 @@ const handleSubmit = () => {
...
@@ -71,6 +71,7 @@ const handleSubmit = () => {
font-size
:
16px
;
font-size
:
16px
;
font-weight
:
400
;
font-weight
:
400
;
color
:
#ffffff
;
color
:
#ffffff
;
cursor
:
pointer
;
}
}
.el-input_icon_card
{
.el-input_icon_card
{
display
:
block
;
display
:
block
;
...
...
src/modules/internet/components/ManagerLogin.vue
浏览文件 @
517794dc
...
@@ -26,14 +26,19 @@ const handleLogin = () => {
...
@@ -26,14 +26,19 @@ const handleLogin = () => {
type
:
loginType
.
value
,
type
:
loginType
.
value
,
service
:
window
.
location
.
origin
service
:
window
.
location
.
origin
}
}
api
.
login
(
params
).
then
(
res
=>
{
api
.
login
(
params
).
then
(
(
res
:
any
)
=>
{
console
.
log
(
res
,
'0000'
)
console
.
log
(
res
,
'0000'
)
window
.
location
.
href
=
'https://fdc-admin.ezijing.com'
if
(
res
.
code
===
0
)
{
window
.
location
.
href
=
'https://fdc-admin.ezijing.com'
}
else
{
ElMessage
.
warning
(
res
.
msg
)
}
})
})
}
}
// 获取验证码
// 获取验证码
const
handleGetCode
=
()
=>
{
const
handleGetCode
=
()
=>
{
isShowGetCode
.
value
=
!
isShowGetCode
.
value
isShowGetCode
.
value
=
!
isShowGetCode
.
value
form
.
password
=
''
}
}
function
getCode
()
{
function
getCode
()
{
if
(
form
.
phone
===
''
)
{
if
(
form
.
phone
===
''
)
{
...
@@ -93,7 +98,7 @@ const handleTimeChange = () => {
...
@@ -93,7 +98,7 @@ const handleTimeChange = () => {
<
/el-input
>
<
/el-input
>
<
/el-form-item
>
<
/el-form-item
>
<
el
-
form
-
item
>
<
el
-
form
-
item
>
<
div
class
=
"btn_code"
@
click
=
"handleGetCode"
>
{{
isShowGetCode
===
false
?
'验证码'
:
'密码登录'
}}
<
/div
>
<
div
class
=
"btn_code"
@
click
=
"handleGetCode"
>
{{
isShowGetCode
===
false
?
'验证码
登录
'
:
'密码登录'
}}
<
/div
>
<
/el-form-item
>
<
/el-form-item
>
<
el
-
form
-
item
>
<
el
-
form
-
item
>
<
div
class
=
"btn_query"
@
click
=
"handleLogin"
>
登录
<
/div
>
<
div
class
=
"btn_query"
@
click
=
"handleLogin"
>
登录
<
/div
>
...
@@ -113,12 +118,14 @@ const handleTimeChange = () => {
...
@@ -113,12 +118,14 @@ const handleTimeChange = () => {
font
-
size
:
16
px
;
font
-
size
:
16
px
;
font
-
weight
:
400
;
font
-
weight
:
400
;
color
:
#
ffffff
;
color
:
#
ffffff
;
cursor
:
pointer
;
}
}
.
btn_code
{
.
btn_code
{
font
-
size
:
14
px
;
font
-
size
:
14
px
;
font
-
weight
:
400
;
font
-
weight
:
400
;
color
:
#
01379
e
;
color
:
#
01379
e
;
padding
-
left
:
237
px
;
padding
-
left
:
237
px
;
cursor
:
pointer
;
}
}
.
el
-
input_icon_name
{
.
el
-
input_icon_name
{
display
:
block
;
display
:
block
;
...
...
src/modules/internet/components/StudyLogin.vue
浏览文件 @
517794dc
...
@@ -26,14 +26,19 @@ const handleLogin = () => {
...
@@ -26,14 +26,19 @@ const handleLogin = () => {
type
:
loginType
.
value
,
type
:
loginType
.
value
,
service
:
window
.
location
.
origin
service
:
window
.
location
.
origin
}
}
api
.
login
(
params
).
then
(
res
=>
{
api
.
login
(
params
).
then
(
(
res
:
any
)
=>
{
console
.
log
(
res
,
'0000'
)
console
.
log
(
res
,
'0000'
)
window
.
location
.
href
=
'https://fdc-learning.ezijing.com'
if
(
res
.
code
===
0
)
{
window
.
location
.
href
=
'https://fdc-learning.ezijing.com'
}
else
{
ElMessage
.
warning
(
res
.
msg
)
}
})
})
}
}
// 获取验证码
// 获取验证码
const
handleGetCode
=
()
=>
{
const
handleGetCode
=
()
=>
{
isShowGetCode
.
value
=
!
isShowGetCode
.
value
isShowGetCode
.
value
=
!
isShowGetCode
.
value
form
.
password
=
''
}
}
function
getCode
()
{
function
getCode
()
{
if
(
form
.
phone
===
''
)
{
if
(
form
.
phone
===
''
)
{
...
@@ -93,7 +98,7 @@ const handleTimeChange = () => {
...
@@ -93,7 +98,7 @@ const handleTimeChange = () => {
<
/el-input
>
<
/el-input
>
<
/el-form-item
>
<
/el-form-item
>
<
el
-
form
-
item
>
<
el
-
form
-
item
>
<
div
class
=
"btn_code"
@
click
=
"handleGetCode"
>
{{
isShowGetCode
===
false
?
'验证码'
:
'密码登录'
}}
<
/div
>
<
div
class
=
"btn_code"
@
click
=
"handleGetCode"
>
{{
isShowGetCode
===
false
?
'验证码
登录
'
:
'密码登录'
}}
<
/div
>
<
/el-form-item
>
<
/el-form-item
>
<
el
-
form
-
item
>
<
el
-
form
-
item
>
<
div
class
=
"btn_query"
@
click
=
"handleLogin"
>
登录
<
/div
>
<
div
class
=
"btn_query"
@
click
=
"handleLogin"
>
登录
<
/div
>
...
@@ -113,12 +118,14 @@ const handleTimeChange = () => {
...
@@ -113,12 +118,14 @@ const handleTimeChange = () => {
font
-
size
:
16
px
;
font
-
size
:
16
px
;
font
-
weight
:
400
;
font
-
weight
:
400
;
color
:
#
ffffff
;
color
:
#
ffffff
;
cursor
:
pointer
;
}
}
.
btn_code
{
.
btn_code
{
font
-
size
:
14
px
;
font
-
size
:
14
px
;
font
-
weight
:
400
;
font
-
weight
:
400
;
color
:
#
01379
e
;
color
:
#
01379
e
;
padding
-
left
:
237
px
;
padding
-
left
:
237
px
;
cursor
:
pointer
;
}
}
.
el
-
input_icon_name
{
.
el
-
input_icon_name
{
display
:
block
;
display
:
block
;
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论