<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                合規國際互聯網加速 OSASE為企業客戶提供高速穩定SD-WAN國際加速解決方案。 廣告
                ~~~ return TBuilder('table',$this) ->setColumns([ // 批量設置數據列 ['id', 'ID'], ['title.text', '名稱'], //以普通文本編輯 ['edit.edit_data|id+title,del', '操作', ['type'=>'btn']] ]) // 添加相關操作按鈕 ->addListButton([ 'type' => 'edit', 'icon_class'=> 'fa fa-pencil', ]) ->addListButton([ 'title' => '查看', 'href_base' => 'menu/index', 'href_param'=> 'id', 'icon_class'=> 'fa fa-list', ]) ->addListButton([ 'title' => '查看2', 'href_base' => 'menu/index', 'href_param'=> 'pid.id', 'icon_class'=> 'fa fa-list', ]) ->addListButton([ 'title' => '查看3', 'href_base' => array('menu/index',array('date'=>'2017-05-06') ), 'href_param'=> 'pid.id+type+classify_id.cid', 'icon_class'=> 'fa fa-list', ]) ->fetch(); ~~~ 使用addListButton方法添加列表單項元素操作按鈕 ![](https://box.kancloud.cn/7a8b0f812e280e2b437aa995afecb76e_715x229.png) ### 通過 show_map 參數可以配置依據列表值顯隱按鈕 ~~~ ->addListButton([ 'title' => '卸載', 'type' => 'del', 'show_map' => ['is_install'=>['eq',1]] ]) ->addListButton([ 'title' => '安裝', 'href_base' => 'install', //'href_param'=> 'pid.id', 'item_class'=> 'btn-system', 'icon_class'=> 'fa fa-wrench', 'show_map' => ['is_install'=>['eq',0]] ]) ~~~ ![](https://box.kancloud.cn/4a80ba811d4be888c03f3ee3dc5bf33b_1626x106.png) ~~~ ->addListButton([ 'title' => '設置', 'href_base' => 'config', 'item_class'=> 'btn-info', 'icon_class'=> 'fa fa-cog', 'show_map' => ['is_install'=>['eq',1],'config'=>['neq',''],] ]) ->addListButton([ 'title' => '禁用', 'href_base' => 'disable', 'item_class'=> 'btn-warning ajax-get', 'icon_class'=> 'fa fa-cog', 'show_map' => ['status'=>['eq',1],'is_install'=>['eq',1]] ]) ->addListButton([ 'title' => '啟用', 'href_base' => 'enable', 'item_class'=> 'btn-success ajax-get', 'icon_class'=> 'fa fa-cog', 'show_map' => ['status'=>['eq',0],'is_install'=>['eq',1]] ]) ->addListButton([ 'title' => '卸載', 'type' => 'del', 'item_class'=> 'btn-danger ajax-get', 'href_base' => 'uninstall', 'show_map' => ['is_install'=>['eq',1]] ]) ->addListButton([ 'title' => '安裝', 'href_base' => 'install', //'href_param'=> 'pid.id', 'item_class'=> 'btn-system ajax-get', 'icon_class'=> 'fa fa-wrench', 'show_map' => ['is_install'=>['eq',0]] ]) ~~~ ![](https://box.kancloud.cn/dcc1e11097546fa7d888c1fed9430ef4_1600x227.png) 支持:eq、neq、gt、egt、lt、elt、in、notin、between、notbetween ### 通過href_base及href_param可以生成多種形式的url href_base * 為數組時,第一個為基礎url,第二個為固定參數數組。 * 為字符串時,僅為基礎url ~~~ ->addListButton([ 'title' => '全局設置', 'icon_class'=> 'fa fa-file-text-o', 'href_base' => array('builderProject',array('step'=>'global_settings') ), //'popup' => true ]) ~~~ href_param * 通過+號可以添加多個字段到數組中 * 通過.給字段設置別名(請求參數字段名.列表數據字段),如果沒有.則參數字段和數據字段使用同一個字段名 ### popup 配置模態框打開鏈接 * 當popup設置為true時鏈接以模態框形式打開,iframe方式訪問
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看