outer del column:type
This commit is contained in:
@@ -7,7 +7,7 @@ class Outer extends CI_Controller {
|
||||
public function index()
|
||||
{
|
||||
$this->load->model('sys/sys_menu_model');
|
||||
$list = $this->sys_menu_model->select(array('status' => 1,'type'=>0), 'sort desc', 0, 0);
|
||||
$list = $this->sys_menu_model->select(array('status' => 1), 'sort desc', 0, 0);
|
||||
$this->load->model('sys/sys_role_model');
|
||||
$role = $this->sys_role_model->get(array('id' => $this->role));
|
||||
$menu_ids = explode(',', $role['menu_ids']);
|
||||
@@ -46,7 +46,7 @@ class Outer extends CI_Controller {
|
||||
unset($map);
|
||||
|
||||
//获取面包屑
|
||||
$menus = $this->sys_menu_model->select(array("url like '" . $url . "%'" => null, 'status' => 1, 'outer_link' => 1,'type'=>0));
|
||||
$menus = $this->sys_menu_model->select(array("url like '" . $url . "%'" => null, 'status' => 1, 'outer_link' => 1));
|
||||
$menu = array();
|
||||
foreach($menus as $item){
|
||||
if(!$menu){
|
||||
@@ -65,7 +65,7 @@ class Outer extends CI_Controller {
|
||||
$spm_arr1 = explode('-', $spm);
|
||||
$spm_arr1 && !is_numeric($spm_arr1[0]) && $spm_arr1 = array_slice($spm_arr1, 1);
|
||||
if($spm_arr1){
|
||||
$rows = $this->sys_menu_model->select(array("id in (" . implode(",",$spm_arr1) . ")" => null, 'status' => 1,'type'=>0), 'sort desc');
|
||||
$rows = $this->sys_menu_model->select(array("id in (" . implode(",",$spm_arr1) . ")" => null, 'status' => 1), 'sort desc');
|
||||
$menu_arr = array();
|
||||
$breads = array();
|
||||
foreach($rows as $row){
|
||||
|
||||
@@ -8,7 +8,8 @@
|
||||
</body>
|
||||
</html>
|
||||
<script type="text/javascript">
|
||||
$('iframe').width($('.coms-layout-body').width());
|
||||
$('iframe').width('100%');
|
||||
// $('iframe').width($('.coms-layout-body').width());
|
||||
$('iframe').height($('.coms-layout-body').height());
|
||||
$('.coms-layout-body').find('.coms-layout-aside').hide();
|
||||
$('.coms-layout-body').find('.coms-layout-header').hide();
|
||||
|
||||
Reference in New Issue
Block a user