Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
杨建斌
/
page
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
1
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
c48c7198
authored
2018-03-30 15:16:54 +0800
by
wang
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
init
1 parent
8c644fb4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
application/views/perm/staffEdit.php
application/views/perm/staffEdit.php
View file @
c48c719
...
...
@@ -27,7 +27,7 @@
<div
class=
"form-group col-sm-4 col-md-2"
>
<label>
所属网点
</label>
<select
class=
"select"
name=
"children"
size=
"5"
multiple
>
<option
selected
value
>
请选择
</option>
<option
value=
""
selected
>
请选择
</option>
<?php
foreach
(
$this
->
session
->
departments
as
$k
=>
$v
)
:
?>
<option
value=
"
<?=
$v
->
id
?>
"
>
<?=
$v
->
name
?>
</option>
<?php
if
(
$v
->
children
&&
!
empty
(
$v
->
children
))
:
?>
...
...
@@ -43,7 +43,7 @@
<select
class=
"select"
size=
"5"
name=
"roles"
multiple
>
<option
selected
value
>
请选择
</option>
<?php
foreach
(
$this
->
session
->
role
as
$k
=>
$v
)
:
?>
<option
value=
"
<?=
$v
->
id
?>
"
<?php
if
(
$item
->
department
_id
==
$v
->
id
)
echo
'selected'
;
?>
></option>
<?=
$v
->
nameZh
?>
</option>
<option
value=
"
<?=
$v
->
id
?>
"
<?php
if
(
$item
->
department
Id
==
$v
->
id
)
echo
'selected'
;
?>
></option>
<?=
$v
->
nameZh
?>
</option>
<?php
endforeach
;
?>
</select>
</div>
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
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 post a comment