Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
mes-pad
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ximai
mes-pad
Commits
44e79501
Commit
44e79501
authored
Nov 23, 2024
by
沈翠玲
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
问题清单
parent
437726ca
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
3 deletions
+13
-3
index.vue
pages/mes/prodReport/index.vue
+2
-2
login.vue
pages/sys/login/login.vue
+11
-1
No files found.
pages/mes/prodReport/index.vue
View file @
44e79501
...
...
@@ -96,9 +96,9 @@
v
-
if
=
"!isWaiXie"
>
{{
$t
(
'修改报工'
)
}}
<
/u-butto
n
>
<
!--
<
u
-
button
type
=
"primary"
@
click
=
"commonClick('FinshTask')"
>
{{
<
u
-
button
type
=
"primary"
@
click
=
"commonClick('FinshTask')"
>
{{
$t
(
'完成作业'
)
}}
<
/u-button>
--
>
}}
<
/u-button
>
<
u
-
button
type
=
"primary"
@
click
=
"commonClick('ViewPpicture')"
...
...
pages/sys/login/login.vue
View file @
44e79501
...
...
@@ -5,6 +5,7 @@
<u-form-item
prop=
"username"
>
<input
v-model=
"loginForm.username"
@
confirm=
"focusOnPsw"
type=
"text"
auto-complete=
"off"
:placeholder=
"$t('账号')"
...
...
@@ -16,9 +17,11 @@
<input
v-model=
"loginForm.password"
type=
"password"
ref=
"psw"
@
blur=
"$refs['psw']['focus'] = false"
auto-complete=
"off"
:placeholder=
"$t('密码')"
@
keyup
.
enter
=
"submit"
@
confirm
=
"submit"
>
<svg-icon
slot=
"prefix"
icon-class=
"password"
class=
"el-input__icon input-icon"
/>
</input>
...
...
@@ -71,6 +74,13 @@ import {setLocal} from '@/lang'
}
},
methods
:
{
focusOnPsw
(){
console
.
log
(
'回车了'
)
if
(
this
.
$refs
[
'psw'
])
{
console
.
log
(
this
.
$refs
[
'psw'
])
this
.
$refs
[
'psw'
][
'focus'
]
=
true
}
},
submit
(){
this
.
$refs
.
loginForm
.
validate
().
then
(
valid
=>
{
if
(
valid
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment