Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
Y
yn-science-front
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
徐俊
yn-science-front
Commits
003e1d71
Commit
003e1d71
authored
Dec 23, 2024
by
徐俊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xujun
parent
fc57327f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
1 deletion
+15
-1
personEdit.vue
src/views/manager/person/components/personEdit.vue
+15
-1
No files found.
src/views/manager/person/components/personEdit.vue
View file @
003e1d71
...
...
@@ -32,6 +32,16 @@
</a-form-model-item>
</a-col>
</a-row>
<a-row>
<a-col
:span=
"4"
class=
"bg-gray"
>
<div>
手机号
</div>
</a-col>
<a-col
:span=
"20"
>
<a-form-model-item
ref=
"mobile"
prop=
"mobile"
>
<a-input
v-model=
"formData.mobile"
@
blur=
"() =>
{$refs.mobile.onFieldBlur();}" style="width: 180px" />
</a-form-model-item>
</a-col>
</a-row>
<a-row>
<a-col
:span=
"4"
class=
"bg-gray"
>
<div>
邮箱
</div>
...
...
@@ -83,7 +93,7 @@
</
template
>
<
script
>
import
{
isEmptyParams
,
getCardInfo
}
from
"@/views/utils/common"
import
{
isEmptyParams
,
getCardInfo
,
checkPhone
}
from
"@/views/utils/common"
import
{
isIdentityId
}
from
'@/views/utils/validate'
import
moment
from
'moment'
import
unitTreeSelect
from
'@/views/components/common/unitTreeSelect'
...
...
@@ -127,6 +137,10 @@ export default {
education
:
[{
required
:
false
,
message
:
'请选择学历'
,
trigger
:
'change'
}],
spec
:
[{
required
:
false
,
message
:
'请选择专业'
,
trigger
:
'change'
}],
treeCode
:
[{
required
:
false
,
message
:
'请选择单位'
,
trigger
:
'change'
}],
mobile
:
[
{
required
:
true
,
message
:
'请输入手机号'
,
trigger
:
'blur'
},
{
required
:
true
,
validator
:
checkPhone
,
trigger
:
'blur'
}
],
},
loading
:
false
,
}
...
...
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