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
b8b01bbd
Commit
b8b01bbd
authored
May 17, 2021
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
6fcf4488
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
manager-form.vue
src/components/school/manager/manager-form.vue
+9
-1
No files found.
src/components/school/manager/manager-form.vue
View file @
b8b01bbd
...
...
@@ -59,7 +59,7 @@
:rules=
"[val => !!val || '密码']"
/>
<q-select
filled
stack-label
option-value=
"Id"
option-label=
"Name"
v-model=
"objOption.LeaveStatus"
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"
class=
"col-6 q-pr-lg q-pb-lg"
mask=
"date"
label=
"离职时间"
>
<
template
v-slot:append
>
...
...
@@ -389,6 +389,14 @@
})
return
;
}
if
(
this
.
saveObj
.
PropertyNumber
>
0
&&
this
.
objOption
.
LeaveStatus
===
4
)
{
this
.
$q
.
notify
({
type
:
'negative'
,
position
:
"top"
,
message
:
`有正在使用的资产,不能设置离职`
})
return
;
}
this
.
saveLoading
=
true
;
saveManager
(
this
.
objOption
).
then
(
res
=>
{
this
.
saveLoading
=
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