Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
confucius
Project
Project
Details
Activity
Releases
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
罗超
confucius
Commits
9d584bbb
Commit
9d584bbb
authored
Jun 22, 2021
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
用户离职状态的处理
parent
924ca6ae
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
4 deletions
+10
-4
manager-form.vue
src/components/school/manager/manager-form.vue
+10
-4
No files found.
src/components/school/manager/manager-form.vue
View file @
9d584bbb
...
@@ -57,7 +57,7 @@
...
@@ -57,7 +57,7 @@
<q-input
v-if=
"objOption.AccountId==0"
filled
stack-label
maxlength=
"20"
:dense=
"false"
<q-input
v-if=
"objOption.AccountId==0"
filled
stack-label
maxlength=
"20"
:dense=
"false"
v-model=
"objOption.Password"
ref=
"Password"
class=
"col-6 q-pr-lg q-pb-lg"
label=
"密码"
v-model=
"objOption.Password"
ref=
"Password"
class=
"col-6 q-pr-lg q-pb-lg"
label=
"密码"
:rules=
"[val => !!val || '密码']"
/>
:rules=
"[val => !!val || '密码']"
/>
<q-select
filled
stack-label
option-value=
"Id"
option-label=
"Name"
v-model=
"objOption.LeaveStatus"
<q-select
filled
stack-label
option-value=
"Id"
option-label=
"Name"
v-model=
"objOption.LeaveStatus"
@
input=
'getLeave'
ref=
"Education"
:options=
"LeaveStatusList"
label=
"在职状态"
:dense=
"false"
class=
"col-6 q-pr-lg q-pb-lg"
ref=
"Education"
:options=
"LeaveStatusList"
label=
"在职状态"
:dense=
"false"
class=
"col-6 q-pr-lg q-pb-lg"
emit-value
map-options
/>
emit-value
map-options
/>
<q-input
v-show=
"objOption.AccountId>0 && objOption.LeaveStatus==4"
filled
v-model=
"objOption.LeaveTime"
<q-input
v-show=
"objOption.AccountId>0 && objOption.LeaveStatus==4"
filled
v-model=
"objOption.LeaveTime"
...
@@ -281,14 +281,20 @@
...
@@ -281,14 +281,20 @@
getUserLeaveOrderCommission
({
UserId
:
UserId
}).
then
(
res
=>
{
getUserLeaveOrderCommission
({
UserId
:
UserId
}).
then
(
res
=>
{
if
(
res
.
Code
==
1
){
if
(
res
.
Code
==
1
){
this
.
errdata
=
''
this
.
errdata
=
''
}
else
if
(
res
.
Code
==
0
)
{
//返回来是0 的时候保存提示语言
}
this
.
errdata
=
res
.
Message
;
}).
catch
(
err
=>
{
if
(
err
.
Code
==
0
){
///返回来是0 的时候保存提示语言
this
.
errdata
=
err
.
Message
;
}
}
})
})
},
},
getLeave
(
val
){
if
(
val
==
4
){
this
.
GetUserLeave
(
this
.
saveObj
.
EmAccountId
)
}
},
initObj
()
{
initObj
()
{
if
(
this
.
saveObj
)
{
if
(
this
.
saveObj
)
{
this
.
GetUserLeave
(
this
.
saveObj
.
EmAccountId
)
this
.
optionTitle
=
"修改员工信息"
this
.
optionTitle
=
"修改员工信息"
this
.
isEditShow
=
false
;
//是否显示修改隐藏项
this
.
isEditShow
=
false
;
//是否显示修改隐藏项
queryEmployeeInfo
({
queryEmployeeInfo
({
...
...
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