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
ebf9dbb8
Commit
ebf9dbb8
authored
Mar 17, 2021
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
63701d4f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
31 additions
and
14 deletions
+31
-14
manager-form.vue
src/components/school/manager/manager-form.vue
+25
-14
sysuser.vue
src/pages/school/sysuser.vue
+6
-0
No files found.
src/components/school/manager/manager-form.vue
View file @
ebf9dbb8
...
...
@@ -80,7 +80,7 @@
option-label=
"Value"
ref=
"ID"
v-model=
"objOption.AccountType"
:options=
"AccountTypeList"
label=
"用户类型"
:dense=
"false"
class=
"col-6 q-pr-lg q-pb-lg"
emit-value
map-options
/>
<q-select
filled
stack-label
option-value=
"Id"
option-label=
"
Valu
e"
ref=
"ID"
v-model=
"objOption.DirectSupervisor"
<q-select
filled
stack-label
option-value=
"Id"
option-label=
"
EmployeeNam
e"
ref=
"ID"
v-model=
"objOption.DirectSupervisor"
:options=
"AccountTypeList"
label=
"直属上级"
:dense=
"false"
class=
"col-6 q-pr-lg q-pb-lg"
emit-value
map-options
/>
</div>
...
...
@@ -114,6 +114,9 @@
UploadSelfFile
,
}
from
'../../../api/common/common'
import
selectTree
from
'../../common/select-tree'
import
{
queryEmployee
//员工列表
}
from
'../../../api/users/user'
export
default
{
components
:
{},
props
:
{
...
...
@@ -149,6 +152,7 @@
AccountType
:
1
,
// 是否是老师
AccountId
:
0
,
//账号对应的表主键编号
Email
:
""
,
//邮箱
DirectSupervisor
:
0
//直属上级
},
optionTitle
:
""
,
schoolList
:
[],
...
...
@@ -167,19 +171,7 @@
LeaveStatusList
:
[],
//在职状态
isEditShow
:
false
,
//是否显示修改应该隐藏
//账号类型
AccountTypeList
:
[{
Id
:
1
,
Value
:
"后台用户"
},
{
Id
:
2
,
Value
:
"教师"
},
{
Id
:
3
,
Value
:
"助教"
},
],
AccountTypeList
:
[],
}
},
created
()
{
...
...
@@ -188,11 +180,29 @@
this
.
getSchool
();
this
.
getEducationList
();
this
.
getLeaveState
();
this
.
Employee
();
},
mounted
()
{
this
.
initObj
();
},
methods
:
{
Employee
()
{
var
qMsg
=
{
EmployeeName
:
''
}
queryEmployee
(
qMsg
).
then
(
res
=>
{
if
(
res
.
Code
==
1
)
{
this
.
AccountTypeList
=
res
.
Data
;
var
obj
=
{
EmployeeName
:
'请选择'
,
Id
:
0
}
this
.
AccountTypeList
.
unshift
(
obj
);
}
}).
catch
(()
=>
{
})
},
//学校改变
schoolChagne
()
{
this
.
objOption
.
Dept_Id
=
0
;
...
...
@@ -279,6 +289,7 @@
this
.
objOption
.
AccountType
=
res
.
Data
.
AccountType
;
this
.
objOption
.
AccountId
=
res
.
Data
.
AccountId
;
this
.
objOption
.
Email
=
res
.
Data
.
Email
;
this
.
objOption
.
DirectSupervisor
=
res
.
Data
.
DirectSupervisor
;
if
(
this
.
objOption
.
School_Id
)
{
this
.
queryDeptTree
();
}
...
...
src/pages/school/sysuser.vue
View file @
ebf9dbb8
...
...
@@ -281,6 +281,12 @@
field
:
'LeaveStatus'
,
align
:
'left'
,
},
{
name
:
'DirectSupervisorName'
,
label
:
'直属上级'
,
field
:
'DirectSupervisorName'
,
align
:
'left'
,
},
{
name
:
'AccountRemark'
,
label
:
'行政备注'
,
...
...
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