manage_people.eft
2.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
>div
>table.ui.celled.table.sortable
>thead
>tr
>th
.姓名
>th
.所属部门
>th
.权限
>th
.操作
>tbody
+peoplelist
>tfoot.full-width
>tr
>th
#colspan = 4
>div.ui.right.floated.small.primary.labeled.icon.button
@click = add
>i.user.icon
.添加同狮
>div.ui.modal#add
>div.header
.{{status = 添加}}
>div.content
>div.ui.form
@submit.prevent.capture
>div.field
>div.label
#data-old = {{add_old}}
.姓名
>input
%value = {{add_name}}
>div.field
>div.label
.密码
>input
#type = password
%value = {{add_password}}
>div.field
>div.label
.所属部门
>select
%value = {{add_department = }}
>option
#value =
#hidden
#disabled
#selected
.选择部门
+option_department
>div.field
>div.label
.权限
>select
%value = {{add_permission = 1}}
>option
#value = 1
.普通
>option
#value = 3
.发行
>option
#value = 4
.财务员工部门
>option
#value = 5
.财务项目人员
>div.field
>div.label
.电话
>input
%value = {{add_phone}}
>div.field
>div.label
.邮件
>input
#type = email
%value = {{add_email}}
>div.actions
>button.ui.negative.button
.取消
>button.ui.button.green
@click = submit
.确定
>div.ui.modal#infomation
>div.header
.{{info}}
>div.content
.{{content}}
>div.actions
>button.ui.button.basic.negative
.确定