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
2ba98cf3
authored
2018-03-29 23:50:47 +0800
by
wang
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
init
1 parent
0218fffd
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
15 deletions
application/views/perm/role.php
application/views/perm/role.php
View file @
2ba98cf
...
...
@@ -5,21 +5,21 @@
<div
class=
"page-container"
>
<form
class=
""
onreset=
"resetHandler()"
>
<div
class=
"row cl mb-20"
>
<div
class=
"col-xs-2"
>
<span
class=
"select-box"
>
<select
class=
"select table_search"
size=
"1"
column=
"1"
>
<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
))
:?>
<?
php
foreach
(
$v
->
children
as
$kk
=>
$vv
)
:?>
<
option
value
=
"<?=
$vv->id
?>"
><?=
$vv
->
name
?>
</option
>
<?php
endforeach
;
?>
<?php
endif
;
?>
<?php
endforeach
;
?>
</select
>
</span
>
</div
>
<!-- <div class="col-xs-2">--
>
<!-- <span class="select-box">--
>
<!-- <select class="select table_search" size="1" column="1">--
>
<!-- <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)):?>
<!--
--><?
php
//
foreach ($v->children as $kk=>$vv):?>
<!--
<
option
value
=
"--><?//=
$vv->id
?><!--"
>--><?//=
$vv
->
name
?>
<!--</option>--
>
<!-- -->
<?php
//
endforeach;?>
<!--
--><?
php
//
endif;?>
<!--
--><?
php
//
endforeach;?>
<!--
</
select
>--
>
<!--
</
span
>--
>
<!--
</
div
>--
>
<
div
class
="
col
-
xs
-
2
">
<span class="
select
-
box
">
<select class="
select
table_search
" size="
1
" column="
2
">
...
...
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