<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>

                ??一站式輕松地調用各大LLM模型接口,支持GPT4、智譜、豆包、星火、月之暗面及文生圖、文生視頻 廣告
                :-: **設置Table的右側按鈕打開pop界面** >setTableform * * * * * * 源代碼 ~~~ /** * @title 設置table對應的編輯或者彈出框 * @description 設置table對應的編輯或者彈出框,如果有彈出框,彈出框的Form屬性isPop最好是true * @createtime: 2018/7/13 19:45 * @param string $view 展示的界面,如果是后端的話需要寫成../../才可以 true '' '' * @param string $title 題頭名稱 true '' '' * @param string $url 最后提交的地址 true '' '' * @param string $btn 表單的提交按鈕名稱,需要在form中設置,如果不存在,如果是一套后臺的話,應該是[您設置的名稱-submit],不存在則點擊提交table不會刷新且下方無作用 false '' '' * @param string $rendercall pop彈窗渲染完成了的js回調 false '' '' * @param string $submitcall * @param array $area * @return $this */ public function setTableform($view, $title, $url, $btn = '', $rendercall = '', $submitcall = '', $area = []){ if(!is_array($title)){ $title = [str_replace("編輯", "添加", $title), str_replace("添加", "編輯", $title)]; } $this->tableform = [ 'view' => $view, 'title' => $title, 'btn' => $btn, 'url' => $url, 'renderDoneCall' => $rendercall, 'submitCallback' => $submitcall, 'area' => $area ]; return $this; } ~~~ * * * * * 如何使用 ~~~ $table->setTableform( "../../manage/view/tableForm", //點擊編輯按鈕打開的pop窗口地址 "添加測試",//pop窗名稱,可以填寫【添加】【編輯】,這樣系統會自動替換,在新增時顯示添加,修改時顯示編輯 "/manage/view/tableFormSubmit", //點擊提交按鈕之后提交到的網址 'mytestform-submit', //這個需要在pop窗對應的地址內form先設置setFormname,比如formname是mytestform, 那么按鈕就是mytestform-submit "console.log('render suc')", //pop窗口打開之后的回調,一般需要填寫form.render(null, "mytestform");也就是form的name "layer.msg('post success');"//提交的success回調 ) ~~~
                  <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>

                              哎呀哎呀视频在线观看