<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國際加速解決方案。 廣告
                ### 配置項`toolbarCustom` > 配置工具欄自定義按鈕 #### 參數`arrau $options 選項` > 選項通過快捷函數`table_toolbar_custom_helper`構建 #### `table_toolbar_custom_helper`傳參 ~~~ @param string $pos - left 工具欄內左邊 - right 工具欄內右邊 @param array $options - title string 按鈕標題 - icon string 按鈕圖標 - option string 選項 - page 頁面 - modal 模態框 - ajax XMLHttpRequest - route string 路由 - params array 參數 - method string 訪問動作, ajax有效 只支持`get`、`post` - width string 當前type為modal時有效,指定modal的寬,默認800px - height string 當前type為modal時有效,指定modal的高,默認520px ~~~ 示例代碼: ~~~ return ViewBuilder::table() ->setTitle('會員列表') ->setPage(true) ->setHideCheckbox(false) ->setToolbarCustom([ table_toolbar_custom_helper('left', [ 'title' => '禁用', 'icon' => 'glyphicon glyphicon-remove', 'option' => 'ajax', 'method' => 'POST', 'route' => 'admin/index/disable', 'params' => ['id', 'status'], ]), table_toolbar_custom_helper('left', [ 'title' => '新增', 'icon' => 'glyphicon glyphicon-plus', 'option' => 'modal', 'width' => '60%', 'height' => '80%', 'route' => 'admin/index/edit', ]), table_toolbar_custom_helper('left', [ 'title' => '頁面', 'icon' => 'glyphicon glyphicon-list-alt', 'option' => 'page', 'params' => ['id', 'status'], 'route' => 'admin/index/edit', ]), ]) ->setColumns([ 'password', 'username' => table_column_helper('用戶名', ['style' => ['min-width' => '100px']]), 'an_mobile' => table_column_helper('電話', ['style' => ['min-width' => '100px']], function ($item) { return '+' . $item['an'] . ' ' . $item['mobile']; }), 'email' => table_column_helper('郵箱', ['style' => ['min-width' => '200px']]), ]) ->setQuery(function () { $query = AdminUser::find()->select(['id', 'username', 'password', 'email', 'an', 'mobile', 'status']); return $query; }) ->setOrderBy('id DESC') ->setPrimaryKey('id') ->render($this); ~~~ 示例圖示: ![](https://img.kancloud.cn/3c/9d/3c9d9601a6e9da27e264807e01ca1502_1687x925.png) ![](https://img.kancloud.cn/27/76/27769371b18080867f999c21a0443bc6_1695x936.png) ![](https://img.kancloud.cn/a5/4e/a54e3643c8edd4e9d0a4512993faae04_1699x936.png) ![](https://img.kancloud.cn/17/14/171435102e99535ae24ee54646478eed_1705x984.png) ![](https://img.kancloud.cn/71/f6/71f6645fa271ef947f89124ca1351383_1899x685.png)
                  <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>

                              哎呀哎呀视频在线观看