Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
Support
提交反馈
为 GitLab 提交贡献
登录
切换导航
日
日程管理
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
刘英杰
日程管理
提交
629c79fc
提交
629c79fc
编写于
2月 14, 2025
作者:
刘英杰
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
v20250211 初版保存
上级
75cbfe04
流水线
#33018
已通过 ,包含阶段
in 1 minute 和 20 second
变更
5
流水线
1
展开全部
显示空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
19 行增加
和
0 行删除
+19
-0
chunk-39d2d116.7eb9ab60.css
dist/css/chunk-39d2d116.7eb9ab60.css
+1
-0
app.837f1d40.js
dist/js/app.837f1d40.js
+15
-0
chunk-2d0ac970.70abe2c7.js
dist/js/chunk-2d0ac970.70abe2c7.js
+1
-0
chunk-39d2d116.da0c8941.js
dist/js/chunk-39d2d116.da0c8941.js
+1
-0
chunk-7434af0a.a49f6f26.js
dist/js/chunk-7434af0a.a49f6f26.js
+1
-0
未找到文件。
dist/css/chunk-39d2d116.7eb9ab60.css
0 → 100644
浏览文件 @
629c79fc
[
data-v-bec70c00
]
.ivu-form-item-label
{
font-weight
:
600
}
.form-title
[
data-v-bec70c00
]
{
line-height
:
22px
;
text-align
:
center
;
font-size
:
20px
;
font-weight
:
700
;
padding
:
30px
0
}
.file-title
[
data-v-bec70c00
]
{
font-weight
:
700
;
color
:
#333
}
.file-title
[
data-v-bec70c00
]
:hover
{
color
:
#2d8cf0
}
.zd-detail-form-preview
[
data-v-bec70c00
]
.ivu-drawer-mask
,
.zd-detail-form-preview
[
data-v-bec70c00
]
.ivu-drawer-wrap
{
z-index
:
1998
}
.filelist
[
data-v-68d980d5
]
{
cursor
:
pointer
}
.filelist
[
data-v-68d980d5
]
:hover
{
color
:
#1e93ff
;
background-color
:
#f7f7f7
}
.fileddelete
[
data-v-68d980d5
]
{
cursor
:
pointer
;
margin-left
:
auto
}
.fileddelete
[
data-v-68d980d5
]
:hover
{
color
:
red
;
transform
:
scale
(
1.5
)}
.index
[
data-v-68d980d5
]
{
width
:
100%
;
box-sizing
:
border-box
;
padding
:
10px
;
background-color
:
#fff
}
table
[
data-v-68d980d5
]
{
width
:
100%
;
background-color
:
#fff
;
border-color
:
#e3e8ee
;
text-align
:
center
;
border-radius
:
4px
;
border-top
:
1px
solid
#e3e8ee
;
border-left
:
1px
solid
#e3e8ee
}
tr
[
data-v-68d980d5
]
{
border
:
none
;
text-align
:
center
}
td
[
data-v-68d980d5
]
{
border-bottom
:
1px
solid
#e3e8ee
;
border-right
:
1px
solid
#e3e8ee
;
text-align
:
center
;
box-sizing
:
border-box
;
padding
:
6px
;
cursor
:
pointer
;
max-width
:
150px
}
td
[
data-v-68d980d5
]
:hover
{
background
:
#e7f7f4
}
td
:hover
.dis
[
data-v-68d980d5
]
{
display
:
block
;
text-align
:
center
;
margin
:
0
auto
;
cursor
:
pointer
}
tr
[
data-v-68d980d5
]
:first-child
{
height
:
30px
;
background-color
:
#f3f3f3
;
border
:
none
;
color
:
#525252
;
font-weight
:
700
;
width
:
50px
}
.sepacialy
[
data-v-68d980d5
]
{
border-top
:
1px
solid
#e3e8ee
;
border-left
:
1px
solid
#e3e8ee
}
.table-heard
[
data-v-68d980d5
]
{
display
:
flex
;
justify-content
:
space-between
;
align-items
:
center
;
margin-bottom
:
10px
;
box-sizing
:
border-box
;
padding
:
10px
10px
}
.table-heard
.center
[
data-v-68d980d5
]
{
display
:
flex
;
justify-content
:
center
;
align-items
:
center
}
.table-heard
.center
p
[
data-v-68d980d5
]
{
font-size
:
20px
;
margin
:
0
30px
}
.course-item
[
data-v-68d980d5
]
{
display
:
flex
;
justify-content
:
center
;
flex-direction
:
column
;
gap
:
6px
;
align-items
:
center
;
min-height
:
80px
;
border-radius
:
4px
;
box-sizing
:
border-box
;
padding
:
10px
0
}
.course-item
p
[
data-v-68d980d5
]
{
color
:
#3a3a3a
}
.time
[
data-v-68d980d5
]
{
background
:
#f7f7f7
;
color
:
#707070
;
font-weight
:
700
}
.zd-split
[
data-v-68d980d5
]
{
height
:
-10vh
}
.zd-split
.ivu-split-trigger-con
[
data-v-68d980d5
]
{
z-index
:
1
}
.zd-split
[
data-v-68d980d5
]
.ivu-tree-title-selected
{
background-color
:
#2d8cf0
!important
;
color
:
#fff
}
.zd-split
.zd-button-action
[
data-v-68d980d5
]
{
display
:
flex
;
justify-content
:
space-between
}
.page-sys-menu-drawer-footer
[
data-v-68d980d5
]
{
width
:
100%
;
position
:
fixed
;
bottom
:
0
;
left
:
0
;
border-top
:
1px
solid
#e8e8e8
;
padding
:
10px
16px
;
text-align
:
right
;
background
:
#fff
;
text-align
:
center
;
z-index
:
1998
}
.page-sys-menu-icon-select
.i-icon-select-transfer
[
data-v-68d980d5
]
{
width
:
280px
!important
}
.page-sys-menu-icon-select
.i-icon-select-drop-main
[
data-v-68d980d5
]
{
width
:
280px
!important
;
height
:
200px
;
overflow
:
auto
}
.zd-form
[
data-v-68d980d5
]
.ivu-drawer-body
{
background-color
:
#f5f7f9
}
.zd-form-card
[
data-v-68d980d5
]
{
max-width
:
800px
;
margin
:
0
auto
;
margin-top
:
30px
;
padding
:
30px
;
background
:
#fff
}
.save-btn
[
data-v-68d980d5
]
{
text-align
:
right
;
padding
:
15px
;
font-size
:
18px
;
background
:
#fff
}
.persommel-card
[
data-v-68d980d5
]
.ivu-card-body
{
height
:
100%
}
.list-personnel-list-item
[
data-v-68d980d5
]
{
text-align
:
center
;
position
:
relative
;
box-shadow
:
5px
5px
10px
rgba
(
0
,
0
,
0
,
.2
);
border-color
:
#eee
;
padding-bottom
:
32px
;
height
:
280px
;
width
:
210px
}
.list-personnel-list-item
.ivu-avatar
[
data-v-68d980d5
],
.list-personnel-list-item
img
[
data-v-68d980d5
]
{
height
:
144px
;
width
:
108px
;
border-radius
:
0
}
.list-personnel-list-item
.ivu-avatar
[
data-v-68d980d5
]
.ivu-icon
,
.list-personnel-list-item
img
[
data-v-68d980d5
]
.ivu-icon
{
font-size
:
100px
;
margin-top
:
20px
}
.list-personnel-list-item-dept
[
data-v-68d980d5
]
{
font-size
:
14px
;
font-weight
:
700
;
margin
:
2px
0
}
.list-personnel-list-item-desc
[
data-v-68d980d5
]
{
font-size
:
14px
;
color
:
#808695
}
.list-personnel-list-item-name
[
data-v-68d980d5
]
{
position
:
absolute
;
left
:
0
;
right
:
0
;
bottom
:
0
;
font-size
:
18px
;
font-weight
:
700
;
color
:
#fff
;
padding
:
4px
0
;
border-radius
:
0
0
4px
4px
}
.list-personnel-list-item-name.male
[
data-v-68d980d5
]
{
background-color
:
#1890ff
}
.list-personnel-list-item-name.female
[
data-v-68d980d5
]
{
background-color
:
#f45151
}
.list-personnel-list-item-name.other
[
data-v-68d980d5
]
{
background-color
:
#808695
}
.setting-user-avatar
[
data-v-68d980d5
]
{
width
:
128px
;
height
:
auto
;
border-radius
:
0
!important
}
.setting-user-avatar
[
data-v-68d980d5
]
.ivu-icon
{
font-size
:
128px
}
.setting-user-avatar
[
data-v-68d980d5
]
.ivu-avatar
>
img
{
height
:
auto
}
.zd-anchor
>
div
[
data-v-68d980d5
]
{
background
:
#fff
;
padding-left
:
16px
}
[
data-v-68d980d5
]
.ivu-anchor-wrapper
{
max-height
:
88vh
!important
}
.zd-detail-form-preview
[
data-v-68d980d5
]
.ivu-drawer-mask
,
.zd-detail-form-preview
[
data-v-68d980d5
]
.ivu-drawer-wrap
{
z-index
:
1998
}
.menuFlex
[
data-v-68d980d5
]
{
display
:
flex
;
justify-content
:
space-between
;
align-items
:
center
}
.menuFlex
.aaaxx
[
data-v-68d980d5
]
{
float
:
right
;
width
:
50px
;
height
:
30px
;
color
:
#1890ff
;
background
:
#e6f7ff
;
display
:
flex
;
justify-content
:
center
;
align-items
:
center
;
border-radius
:
20px
;
border
:
1px
solid
#91d5ff
}
\ No newline at end of file
dist/js/app.837f1d40.js
0 → 100644
浏览文件 @
629c79fc
因为 它太大了无法显示 源差异 。您可以改为
查看blob
。
dist/js/chunk-2d0ac970.70abe2c7.js
0 → 100644
浏览文件 @
629c79fc
(
window
[
"
webpackJsonp
"
]
=
window
[
"
webpackJsonp
"
]
||
[]).
push
([[
"
chunk-2d0ac970
"
],{
"
19d6
"
:
function
(
t
,
e
,
a
){
"
use strict
"
;
a
.
r
(
e
);
var
n
=
function
(){
var
t
=
this
,
e
=
t
.
_self
.
_c
;
return
e
(
"
div
"
,[
e
(
"
Row
"
,{
attrs
:{
gutter
:
24
}},[
e
(
"
Col
"
,{
attrs
:{
xl
:
6
,
lg
:
6
,
md
:
0
,
sm
:
0
,
xs
:
0
}},[
e
(
"
Card
"
,{
staticStyle
:{
border
:
"
1px solid #ddd
"
,
"
border-radius
"
:
"
8px
"
},
attrs
:{
shadow
:
""
,
title
:
"
通用设置
"
,
icon
:
"
md-options
"
,
padding
:
0
}},[
e
(
"
CellGroup
"
,{
staticClass
:
"
ivu-pt-8 ivu-pb-8
"
},[
e
(
"
Cell
"
,{
attrs
:{
title
:
"
1、开关配置
"
,
name
:
"
repairs
"
,
label
:
""
,
selected
:
!
0
}})],
1
)],
1
)],
1
),
e
(
"
Col
"
,{
attrs
:{
xl
:
18
,
lg
:
18
,
md
:
24
,
sm
:
24
,
xs
:
24
}},[
e
(
"
Card
"
,{
attrs
:{
bordered
:
!
1
,
"
dis-hover
"
:
""
}},[
e
(
"
Card
"
,{
staticStyle
:{
width
:
"
320px
"
,
"
border-radius
"
:
"
5px
"
,
margin
:
"
10px
"
}},[
e
(
"
div
"
,{
staticStyle
:{
"
text-align
"
:
"
left
"
}},[
e
(
"
Row
"
,[
e
(
"
Col
"
,{
attrs
:{
span
:
"
18
"
}},[
e
(
"
h3
"
,[
t
.
_v
(
"
自动推送
"
)])]),
e
(
"
Col
"
,{
attrs
:{
span
:
"
6
"
}},[
e
(
"
i-switch
"
,{
attrs
:{
trueValue
:
"
1
"
,
falseValue
:
"
0
"
},
on
:{
"
on-change
"
:
t
.
onChangeSwitch
},
model
:{
value
:
t
.
config
.
AutomaticallyPushState
,
callback
:
function
(
e
){
t
.
$set
(
t
.
config
,
"
AutomaticallyPushState
"
,
e
)},
expression
:
"
config.AutomaticallyPushState
"
}})],
1
)],
1
)],
1
)])],
1
)],
1
)],
1
)],
1
)},
o
=
[],
i
=
a
(
"
61be
"
),
c
=
(
a
(
"
8095
"
),
a
(
"
9687
"
),
a
(
"
690c
"
),
a
(
"
cd80
"
),
a
(
"
dcea
"
),
a
(
"
403a
"
),
a
(
"
06e3
"
),
a
(
"
a5f6
"
)),
s
=
(
a
(
"
cd2f
"
),
a
(
"
ecef
"
),{
components
:{},
data
:
function
(){
return
{
config
:{
AutomaticallyPushState
:
"
0
"
}}},
computed
:{},
watch
:{},
methods
:{
onChangeSwitch
:
function
(
t
){
var
e
=
this
;
i
[
"
b
"
]((
function
(){
return
c
[
"
b
"
]({
timing_switch
:
t
}).
then
((
function
(
t
){
return
e
.
getAutomaticallyPush
(),
t
}))}),
!
1
,
"
正在变更中...
"
)},
getAutomaticallyPush
:
function
(){
var
t
=
this
;
c
[
"
a
"
]().
then
((
function
(
e
){
t
.
config
.
AutomaticallyPushState
=
e
.
response
}))}},
beforeCreate
:
function
(){},
created
:
function
(){},
beforeMount
:
function
(){},
mounted
:
function
(){
this
.
getAutomaticallyPush
()},
beforeUpdate
:
function
(){},
updated
:
function
(){},
beforeDestroy
:
function
(){},
destroyed
:
function
(){},
activated
:
function
(){}}),
u
=
s
,
r
=
a
(
"
2877
"
),
l
=
Object
(
r
[
"
a
"
])(
u
,
n
,
o
,
!
1
,
null
,
"
68855758
"
,
null
);
e
[
"
default
"
]
=
l
.
exports
}}]);
\ No newline at end of file
dist/js/chunk-39d2d116.da0c8941.js
0 → 100644
浏览文件 @
629c79fc
此差异已折叠。
点击以展开。
dist/js/chunk-7434af0a.a49f6f26.js
0 → 100644
浏览文件 @
629c79fc
(
window
[
"
webpackJsonp
"
]
=
window
[
"
webpackJsonp
"
]
||
[]).
push
([[
"
chunk-7434af0a
"
],{
5834
:
function
(
e
,
t
,
a
){
"
use strict
"
;
a
.
r
(
t
);
a
(
"
7f7f
"
);
var
n
=
function
(){
var
e
=
this
,
t
=
e
.
_self
.
_c
;
return
t
(
"
div
"
,[
t
(
"
Card
"
,{
ref
:
"
card
"
,
staticClass
:
"
ivu-mt
"
,
attrs
:{
bordered
:
!
1
,
"
dis-hover
"
:
""
}},[
t
(
"
div
"
,{
staticClass
:
"
top-condition
"
},[
t
(
"
Button
"
,{
staticStyle
:{
margin
:
"
0 10px
"
},
attrs
:{
type
:
"
primary
"
,
ghost
:
""
,
icon
:
"
md-add
"
},
on
:{
click
:
function
(
t
){
e
.
userModal
=!
0
}}},[
e
.
_v
(
"
\n
添加权限
\n
"
)]),
t
(
"
Input
"
,{
staticStyle
:{
width
:
"
250px
"
,
"
margin-bottom
"
:
"
5px
"
},
attrs
:{
placeholder
:
"
请输入关键字
"
,
clearable
:
""
},
nativeOn
:{
keyup
:
function
(
t
){
return
!
t
.
type
.
indexOf
(
"
key
"
)
&&
e
.
_k
(
t
.
keyCode
,
"
enter
"
,
13
,
t
.
key
,
"
Enter
"
)?
null
:
e
.
doSearch
.
apply
(
null
,
arguments
)}},
model
:{
value
:
e
.
searchValue
,
callback
:
function
(
t
){
e
.
searchValue
=
t
},
expression
:
"
searchValue
"
}}),
t
(
"
Button
"
,{
staticStyle
:{
margin
:
"
0 10px
"
},
attrs
:{
type
:
"
primary
"
},
on
:{
click
:
e
.
doSearch
}},[
e
.
_v
(
"
查找
"
)]),
t
(
"
Button
"
,{
staticStyle
:{
margin
:
"
0 0 5px
"
},
attrs
:{
type
:
"
default
"
},
on
:{
click
:
e
.
doReset
}},[
e
.
_v
(
"
重置
"
)])],
1
),
t
(
"
Table
"
,{
ref
:
"
table
"
,
staticClass
:
"
ivu-mt
"
,
attrs
:{
columns
:
e
.
columns
,
data
:
e
.
tableData
,
loading
:
e
.
loading
},
scopedSlots
:
e
.
_u
([{
key
:
"
role_list
"
,
fn
:
function
(
a
){
var
n
=
a
.
row
;
return
e
.
_l
(
n
.
role_list
,(
function
(
e
,
a
){
return
t
(
"
p
"
,{
key
:
a
},[
t
(
"
Badge
"
,{
staticClass
:
"
ivu-mb-8
"
,
attrs
:{
color
:
"
blue
"
,
text
:
e
.
role_name
}})],
1
)}))}},{
key
:
"
dept_list
"
,
fn
:
function
(
a
){
var
n
=
a
.
row
;
return
e
.
_l
(
n
.
dept_list
,(
function
(
e
,
a
){
return
t
(
"
p
"
,{
key
:
a
},[
t
(
"
Badge
"
,{
staticClass
:
"
ivu-mb-8
"
,
attrs
:{
color
:
"
blue
"
,
text
:
e
.
name
}})],
1
)}))}},{
key
:
"
action
"
,
fn
:
function
(
a
){
var
n
=
a
.
row
;
return
[
t
(
"
div
"
,{
on
:{
click
:
function
(
e
){
e
.
stopPropagation
(),
e
.
preventDefault
()}}},[
t
(
"
a
"
,{
attrs
:{
type
:
"
text
"
},
on
:{
click
:
function
(
t
){
return
e
.
handleEdit
(
n
)}}},[
e
.
_v
(
"
编辑
"
)])])]}}])}),
t
(
"
div
"
,{
staticClass
:
"
ivu-mt ivu-text-center
"
},[
t
(
"
Page
"
,{
attrs
:{
total
:
e
.
total
,
current
:
e
.
pageIndex
,
"
show-total
"
:
""
,
"
show-sizer
"
:
""
,
"
show-elevator
"
:
""
,
"
page-size
"
:
e
.
pageSize
,
"
page-size-opts
"
:[
10
,
30
,
50
,
100
]},
on
:{
"
update:current
"
:
function
(
t
){
e
.
pageIndex
=
t
},
"
on-change
"
:
e
.
handleChangePage
,
"
on-page-size-change
"
:
e
.
handleChangePageSize
}})],
1
)],
1
),
t
(
"
Modal
"
,{
attrs
:{
title
:
"
编辑权限
"
,
loading
:
e
.
modalLoading
,
width
:
"
50%
"
},
on
:{
"
on-ok
"
:
e
.
saveEdit
,
"
on-cancel
"
:
e
.
handleCancel
},
model
:{
value
:
e
.
modal
,
callback
:
function
(
t
){
e
.
modal
=
t
},
expression
:
"
modal
"
}},[
t
(
"
Form
"
,{
ref
:
"
formEdit
"
,
attrs
:{
model
:
e
.
formDataEdit
,
rules
:
e
.
formRuleEdit
,
"
label-width
"
:
150
}},[
t
(
"
FormItem
"
,{
attrs
:{
label
:
"
选择人员
"
}},[
t
(
"
Select
"
,{
attrs
:{
disabled
:
""
,
filterable
:
""
},
model
:{
value
:
e
.
selectUser
,
callback
:
function
(
t
){
e
.
selectUser
=
t
},
expression
:
"
selectUser
"
}},
e
.
_l
(
e
.
peopleOptionDefault
,(
function
(
a
){
return
t
(
"
Option
"
,{
key
:
a
.
userid
,
attrs
:{
value
:
a
.
userroleid
,
label
:
a
.
username
}},[
t
(
"
div
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
space-between
"
}},[
t
(
"
p
"
,[
e
.
_v
(
e
.
_s
(
a
.
usercard
)
+
"
\n
"
),
t
(
"
span
"
,{
staticStyle
:{
color
:
"
#9a9a9a
"
}},[
e
.
_v
(
"
(
"
+
e
.
_s
(
a
.
username
)
+
"
)
"
)])])])])})),
1
)],
1
),
t
(
"
FormItem
"
,{
attrs
:{
label
:
"
分管权限
"
}},[
t
(
"
CheckboxGroup
"
,{
model
:{
value
:
e
.
userRole
,
callback
:
function
(
t
){
e
.
userRole
=
t
},
expression
:
"
userRole
"
}},
e
.
_l
(
e
.
allRole
,(
function
(
a
){
return
t
(
"
Checkbox
"
,{
key
:
a
.
id
,
attrs
:{
label
:
a
.
id
,
border
:
""
}},[
e
.
_v
(
e
.
_s
(
a
.
name
))])})),
1
)],
1
),
t
(
"
FormItem
"
,{
attrs
:{
label
:
"
分管院系
"
}},[
t
(
"
CheckboxGroup
"
,{
model
:{
value
:
e
.
userDept
,
callback
:
function
(
t
){
e
.
userDept
=
t
},
expression
:
"
userDept
"
}},
e
.
_l
(
e
.
allDept
,(
function
(
a
){
return
t
(
"
Checkbox
"
,{
key
:
a
.
id
,
attrs
:{
label
:
a
.
id
,
border
:
""
}},[
e
.
_v
(
e
.
_s
(
a
.
name
))])})),
1
)],
1
)],
1
)],
1
),
t
(
"
Modal
"
,{
attrs
:{
title
:
"
添加权限
"
,
loading
:
e
.
modalLoading
,
width
:
"
50
"
},
on
:{
"
on-ok
"
:
e
.
handleAdd
},
model
:{
value
:
e
.
userModal
,
callback
:
function
(
t
){
e
.
userModal
=
t
},
expression
:
"
userModal
"
}},[
t
(
"
Form
"
,{
ref
:
"
form
"
,
attrs
:{
model
:
e
.
formData
,
rules
:
e
.
formRule
,
"
label-width
"
:
150
}},[
t
(
"
FormItem
"
,{
attrs
:{
label
:
"
选择人员
"
}},[
t
(
"
Select
"
,{
attrs
:{
filterable
:
""
},
model
:{
value
:
e
.
selectUser
,
callback
:
function
(
t
){
e
.
selectUser
=
t
},
expression
:
"
selectUser
"
}},
e
.
_l
(
e
.
peopleOption
,(
function
(
a
,
n
){
return
t
(
"
Option
"
,{
key
:
a
.
userid
,
attrs
:{
value
:
a
.
userid
,
label
:
a
.
username
}},[
t
(
"
div
"
,{
staticStyle
:{
display
:
"
flex
"
,
"
justify-content
"
:
"
space-between
"
}},[
t
(
"
p
"
,[
e
.
_v
(
e
.
_s
(
a
.
usercard
)
+
"
\n
"
),
t
(
"
span
"
,{
staticStyle
:{
color
:
"
#9a9a9a
"
}},[
e
.
_v
(
"
(
"
+
e
.
_s
(
a
.
username
)
+
"
)
"
)])])])])})),
1
)],
1
),
t
(
"
FormItem
"
,{
attrs
:{
label
:
"
分管权限
"
}},[
t
(
"
CheckboxGroup
"
,{
model
:{
value
:
e
.
userRole
,
callback
:
function
(
t
){
e
.
userRole
=
t
},
expression
:
"
userRole
"
}},
e
.
_l
(
e
.
allRole
,(
function
(
a
){
return
t
(
"
Checkbox
"
,{
key
:
a
.
id
,
attrs
:{
label
:
a
.
id
,
border
:
""
}},[
e
.
_v
(
e
.
_s
(
a
.
name
))])})),
1
)],
1
),
t
(
"
FormItem
"
,{
attrs
:{
label
:
"
分管院系
"
}},[
t
(
"
CheckboxGroup
"
,{
model
:{
value
:
e
.
userDept
,
callback
:
function
(
t
){
e
.
userDept
=
t
},
expression
:
"
userDept
"
}},
e
.
_l
(
e
.
allDept
,(
function
(
a
){
return
t
(
"
Checkbox
"
,{
key
:
a
.
id
,
attrs
:{
label
:
a
.
id
,
border
:
""
}},[
e
.
_v
(
e
.
_s
(
a
.
name
))])})),
1
)],
1
)],
1
)],
1
)],
1
)},
r
=
[],
o
=
(
a
(
"
8e6e
"
),
a
(
"
ac6a
"
),
a
(
"
456d
"
),
a
(
"
bd86
"
)),
l
=
a
(
"
597f
"
),
i
=
a
(
"
7274
"
),
s
=
a
(
"
61be
"
);
function
u
(
e
,
t
){
var
a
=
Object
.
keys
(
e
);
if
(
Object
.
getOwnPropertySymbols
){
var
n
=
Object
.
getOwnPropertySymbols
(
e
);
t
&&
(
n
=
n
.
filter
((
function
(
t
){
return
Object
.
getOwnPropertyDescriptor
(
e
,
t
).
enumerable
}))),
a
.
push
.
apply
(
a
,
n
)}
return
a
}
function
c
(
e
){
for
(
var
t
=
1
;
t
<
arguments
.
length
;
t
++
){
var
a
=
null
!=
arguments
[
t
]?
arguments
[
t
]:{};
t
%
2
?
u
(
Object
(
a
),
!
0
).
forEach
((
function
(
t
){
Object
(
o
[
"
a
"
])(
e
,
t
,
a
[
t
])})):
Object
.
getOwnPropertyDescriptors
?
Object
.
defineProperties
(
e
,
Object
.
getOwnPropertyDescriptors
(
a
)):
u
(
Object
(
a
)).
forEach
((
function
(
t
){
Object
.
defineProperty
(
e
,
t
,
Object
.
getOwnPropertyDescriptor
(
a
,
t
))}))}
return
e
}
var
d
=
{
data
:
function
(){
return
{
userInfo
:
this
.
$store
.
state
.
admin
.
user
.
info
,
formDataEdit
:{},
formRuleEdit
:{},
loading
:
!
1
,
modal
:
!
1
,
modalLoading
:
!
0
,
searchValue
:
""
,
tableData
:[],
columns
:[{
type
:
"
index
"
,
align
:
"
center
"
,
width
:
60
},{
title
:
"
卡号
"
,
key
:
"
usercard
"
,
width
:
200
},{
title
:
"
姓名
"
,
key
:
"
username
"
,
width
:
200
},{
title
:
"
分管权限
"
,
slot
:
"
role_list
"
},{
title
:
"
分管部门
"
,
slot
:
"
dept_list
"
},{
title
:
"
操作
"
,
slot
:
"
action
"
,
align
:
"
center
"
,
width
:
150
}],
pageIndex
:
1
,
pageSize
:
10
,
total
:
0
,
allRole
:[],
userRole
:[],
allDept
:[],
userDept
:[],
cardNumber
:
""
,
editRow
:{},
userModal
:
!
1
,
formData
:{},
formRule
:{},
peopleOption
:[],
peopleOptionDefault
:[],
selectUser
:
""
}},
created
:
function
(){
this
.
getData
(),
this
.
getRoleList
(),
this
.
getDeptAllList
(),
this
.
getUserList
()},
methods
:{
getData
:
function
(){
var
e
=
this
,
t
=
{
card_name
:
this
.
searchValue
,
page_index
:
this
.
pageIndex
,
page_size
:
this
.
pageSize
};
this
.
loading
=!
0
,
l
[
"
i
"
](
t
).
then
((
function
(
t
){
e
.
loading
=!
1
,
e
.
tableData
=
t
.
response
.
data
,
e
.
total
=
t
.
response
.
data_count
}))},
getUserList
:
function
(){
var
e
=
this
;
return
l
[
"
j
"
]({
keyword
:
""
,
page_index
:
1
,
page_size
:
1
e4
}).
then
((
function
(
t
){
return
e
.
peopleOption
=
t
.
response
.
data
.
map
((
function
(
e
){
return
c
(
c
({},
e
),{},{
userroleid
:
null
==
e
.
userroleid
?
""
:
e
.
userroleid
})})),
e
.
peopleOptionDefault
=
t
.
response
.
data
.
map
((
function
(
e
){
return
{
userroleid
:
null
==
e
.
userroleid
?
""
:
e
.
userroleid
,
username
:
e
.
username
}})),
t
}))},
getRoleList
:
function
(){
var
e
=
this
;
l
[
"
k
"
]().
then
((
function
(
t
){
e
.
allRole
=
t
.
response
.
filter
((
function
(
e
){
return
"
领导
"
!=
e
.
name
}))}))},
getDeptAllList
:
function
(){
var
e
=
this
;
l
[
"
b
"
]().
then
((
function
(
t
){
e
.
allDept
=
t
.
response
}))},
doReset
:
function
(){
this
.
pageIndex
=
1
,
this
.
searchValue
=
""
,
this
.
getData
()},
doSearch
:
function
(){
this
.
pageIndex
=
1
,
this
.
getData
()},
handleChangePage
:
function
(
e
){
this
.
pageIndex
=
e
,
this
.
getData
()},
handleChangePageSize
:
function
(
e
){
this
.
pageIndex
=
1
,
this
.
pageSize
=
e
,
this
.
getData
()},
handleEdit
:
function
(
e
){
var
t
=
this
;
s
[
"
b
"
]((
function
(){
return
t
.
getUserList
().
then
((
function
(
a
){
return
t
.
selectUser
=
e
.
userroleid
,
t
.
userRole
=
e
.
role_list
.
map
((
function
(
e
){
return
e
.
role_id
})),
t
.
userDept
=
e
.
dept_list
.
map
((
function
(
e
){
return
e
.
id
})),
t
.
modal
=!
0
,
a
}))}),
!
0
,
"
加载中...
"
)},
saveEdit
:
function
(){
var
e
=
this
,
t
=
{
userroleid
:
this
.
selectUser
,
dept_list
:
this
.
userDept
.
map
((
function
(
e
){
return
{
id
:
e
,
name
:
""
}})),
role_list
:
this
.
userRole
.
map
((
function
(
e
){
return
{
role_id
:
e
,
role_name
:
""
}}))};
s
[
"
b
"
]((
function
(){
return
l
[
"
u
"
](
t
).
then
((
function
(
t
){
return
e
.
modal
=!
1
,
e
.
getData
(),
t
}))}))},
handleCancel
:
function
(){
this
.
userRole
=
[]},
handleAdd
:
function
(){
var
e
=
this
,
t
=
{
userid
:
this
.
selectUser
,
dept_list
:
this
.
userDept
.
map
((
function
(
e
){
return
{
id
:
e
,
name
:
""
}})),
role_list
:
this
.
userRole
.
map
((
function
(
e
){
return
{
role_id
:
e
,
role_name
:
""
}}))};
l
[
"
t
"
](
t
).
then
((
function
(
t
){
e
.
handleModalLoading
(),
e
.
userModal
=!
1
,
e
.
$Message
.
success
(
"
添加成功
"
),
e
.
getData
()})).
catch
((
function
(){
e
.
handleModalLoading
()}))},
handleModalLoading
:
function
(){
var
e
=
this
;
this
.
modalLoading
=!
1
,
this
.
$nextTick
((
function
(){
e
.
modalLoading
=!
0
}))},
handleDelete
:
function
(
e
){
var
t
=
this
;
this
.
$Modal
.
confirm
({
title
:
"
确定要删除吗?
"
,
loading
:
!
0
,
onOk
:
function
(){
var
a
=
{
id
:
e
,
is_del
:
1
};
i
[
"
e
"
](
a
).
then
((
function
(){
t
.
$Modal
.
remove
(),
t
.
$Message
.
success
(
"
删除成功
"
),
t
.
getData
()}))}})}}},
p
=
d
,
f
=
(
a
(
"
8cf8
"
),
a
(
"
2877
"
)),
h
=
Object
(
f
[
"
a
"
])(
p
,
n
,
r
,
!
1
,
null
,
"
f5b315a0
"
,
null
);
t
[
"
default
"
]
=
h
.
exports
},
"
8cf8
"
:
function
(
e
,
t
,
a
){
"
use strict
"
;
a
(
"
ddb5
"
)},
ddb5
:
function
(
e
,
t
,
a
){}}]);
\ No newline at end of file
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录