<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、智譜、豆包、星火、月之暗面及文生圖、文生視頻 廣告
                ``` ,{field: 'status', title: '狀態',templet : function (d) { var state = ""; if (d.status == "0") { state = "<input type='checkbox' value='" + d.id + "' id='status' lay-filter='stat' checked='checked' name='status' lay-skin='switch' lay-text='正常|禁用' >"; }else { state = "<input type='checkbox' value='" + d.id + "' id='status' lay-filter='stat' name='status' lay-skin='switch' lay-text='正常|禁用' >"; } return state; } } ``` ``` //監聽開關事件 form.on('switch(stat)', function (data) { var contexts; var sta; var x = data.elem.checked;//判斷開關狀態 if (x==true) { contexts = "啟用"; sta=0; } else { contexts = "禁用"; sta=1; } //自定義彈窗 layer.open({ title:contexts + '用戶', content: "確定要"+contexts+"?" , btn: ['確定', '取消'] , yes: function (index, layero) { data.elem.checked = x; $.ajax({ type: "post", url: "{:url('admin/user/changeStatus')}", data: { "id": data.value, "status":sta }, success: function (data) { if (data.code == 1) { layer.msg(contexts+'成功', {icon: 1, time: 1000,}); }else{ layer.msg('修改失敗', {icon: 2, time: 1000,}); } } }); form.render(); layer.close(index); } , btn2: function (index, layero) { //按鈕【按鈕二】的回調 data.elem.checked = !x; form.render(); layer.close(index); //return false 開啟該代碼可禁止點擊該按鈕關閉 } , cancel: function () { //右上角關閉回調 data.elem.checked = !x; form.render(); // return false; //開啟該代碼可禁止點擊該按鈕關閉 } }); return false; }); ```
                  <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>

                              哎呀哎呀视频在线观看