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
6d980f3f
Commit
6d980f3f
authored
Aug 23, 2021
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
aee9aa7b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
64 additions
and
1 deletion
+64
-1
sysuser.vue
src/pages/school/sysuser.vue
+33
-1
dept.vue
src/pages/system/dept.vue
+31
-0
No files found.
src/pages/school/sysuser.vue
View file @
6d980f3f
...
...
@@ -77,6 +77,8 @@
<div
class=
"col-2 q-table__title"
>
员工管理
</div>
<q-space
/>
<div
class=
"page-option"
>
<!--
<q-btn
color=
"accent"
size=
"sm"
class=
"q-mr-md"
label=
"同步到微信"
@
click=
"synchronization()"
/>
-->
<q-btn
color=
"accent"
size=
"sm"
class=
"q-mr-md"
icon=
"add"
label=
"新增员工"
@
click=
"EditManager(null,0)"
/>
<q-btn-dropdown
outline
size=
"sm"
color=
"dark"
label=
"更多"
>
<q-list>
...
...
@@ -204,6 +206,9 @@
GetLeaveStatus
,
getEduEmployeeNumList
}
from
'../../api/school/index'
import
{
SetSynvEduEmployee
,
}
from
'../../api/system/wechat'
;
import
{
BatchResetUserPassword
}
from
'../../api/users/user.js'
...
...
@@ -218,6 +223,10 @@
import
employeeSet
from
'../../components/school/manager/employee-set'
import
employeeInfo
from
'../../components/school/manager/employee-info'
import
selectTree
from
'../../components/common/select-tree'
import
{
Loading
,
QSpinnerPie
}
from
'quasar'
export
default
{
meta
:
{
title
:
"员工管理"
...
...
@@ -681,7 +690,30 @@
this
.
$router
.
push
({
path
:
tempStr
});
}
},
synchronization
(){
Loading
.
show
({
message
:
'数据正在同步中,请稍后进入企业微信查看'
,
spinner
:
QSpinnerPie
})
SetSynvEduEmployee
({}).
then
(
res
=>
{
if
(
res
.
Code
==
1
)
{
that
.
$q
.
notify
({
icon
:
'iconfont icon-chenggong'
,
color
:
'accent'
,
timeout
:
2000
,
message
:
'操作成功'
,
position
:
'top'
})
Loading
.
hide
()
}
})
.
catch
(
err
=>
{
Loading
.
hide
()
})
},
},
}
...
...
src/pages/system/dept.vue
View file @
6d980f3f
...
...
@@ -34,6 +34,7 @@
<div
class=
"col-2 q-table__title"
>
部门信息
</div>
<q-space
/>
<div
class=
"page-option"
>
<!--
<q-btn
color=
"accent"
size=
"sm"
class=
"q-mr-md"
label=
"同步到微信"
@
click=
"synchronization()"
/>
-->
<q-btn
color=
"accent"
size=
"sm"
class=
"q-mr-md"
icon=
"add"
label=
"新增部门"
@
click=
"EditDept(null)"
/>
<q-btn
color=
"secondary"
flat
size=
"sm"
icon=
"iconfont icon-zuzhijiagou"
label=
"组织机构图"
@
click=
"gotoRelation()"
/>
...
...
@@ -80,6 +81,9 @@
setDeptStatusInfo
,
getDeptTree
}
from
'../../api/system/dept'
import
{
setSyncEduDepartment
,
}
from
'../../api/system/wechat'
;
import
{
getSchoolDropdown
,
}
from
'../../api/school/index'
...
...
@@ -89,6 +93,10 @@
import
deptForm
from
'../../components/system/dept-form'
import
selectTree
from
'../../components/common/select-tree'
import
selectSearch
from
'../../components/common/select-search'
import
{
Loading
,
QSpinnerPie
}
from
'quasar'
export
default
{
meta
:
{
title
:
"部门管理"
...
...
@@ -295,6 +303,29 @@
}
this
.
isShowDeptForm
=
true
;
},
synchronization
(){
Loading
.
show
({
message
:
'数据正在同步中,请稍后进入企业微信查看'
,
spinner
:
QSpinnerPie
})
setSyncEduDepartment
({}).
then
(
res
=>
{
if
(
res
.
Code
==
1
)
{
that
.
$q
.
notify
({
icon
:
'iconfont icon-chenggong'
,
color
:
'accent'
,
timeout
:
2000
,
message
:
'操作成功'
,
position
:
'top'
})
Loading
.
hide
()
}
})
.
catch
(
err
=>
{
Loading
.
hide
()
})
},
//关闭弹窗
closeDeptSaveForm
()
{
this
.
isShowDeptForm
=
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