<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、智譜、豆包、星火、月之暗面及文生圖、文生視頻 廣告
                * 文件導出功能 ~~~ $json['type']='export'; //設置這個參數可使按鈕變成下載鏈接 $json['submit_name'] = '下載表單';//按鈕文字 $json['down_url'] = 'excel';//配置默認下載格式 //設置文件下載類型配合radio表單可設置下載類型和upfile上傳標簽 $opt[]=['name'=>'Excel表單','val'=>'xlsx']; $opt[]=['name'=>'txt文本','val'=>'txt']; $opt[]=['name'=>'空的Excel表格','val'=>'empty_excel']; $input[] = ['type'=>'radio','val'=>'xlsx','name'=>'文件導出類型','field'=>'file_type','opt'=>$opt,'limit'=>[1]]; $input[] = ['type'=>'upfile','name'=>'導入文件','field'=>'excel','limit_type'=>'all','limit_ext'=>['xlsx','txt'],'limit_up'=>51240,'img_path'=>'excel']; ~~~ ~~~ $json['classify'] = $obj; ~~~ *修改模板組件文件 ~~~ //提交按鈕修改為 <view class="button" v-if="NETDATA.submit_off != 1"> <block v-if="NETDATA.type==undefined"> <button class="submit bg_black color_white" form-type="submit"> {{NETDATA.submit_name ? NETDATA.submit_name : '確定'}} </button> </block> <block v-if="NETDATA.type=='export' || NETDATA.type=='url'"> <a class="submit bg_black color_white t-center" :href="down_url">{{NETDATA.submit_name ? NETDATA.submit_name : '下載'}}</a> </block> </view> //計算屬性 computed:{ down_url:{ get(){ let newtime = this.newtime = new Date().getTime().toString().substr(0,11); let sign = 'chuxuan'; this.NETDATA.url = Net.http_host + '/api/upload/down.php?sign='+sign+'&stamp='+newtime+'&type='; return this.NETDATA.url + this.NETDATA.down_url; }, set(newdata){ return newdata; } } }, //添加方法 methods: { //>切換下載類型 click_radio(e) { this.first = false; this.NETDATA.down_url=e.val; }, } //>提交邏輯處理 logic(array) { //>僅用于提交邏輯處理(格式: model/p.info:標識) let P = this.NETDATA.P.split(':'); let url = typeof this.url == 'object' ? [P[0]] : P[0]; let that = this; let data = array; data.P = P[1]; // 下載文件--START if (data.P == 'export') { Upload.Upload('upload/down', data).then(res => { console.log('文件下載'); }); return; } // END Net.Net(url, data).then(res => { if (!res.succeed) { return false; } uni.showToast({ title: res.msg, icon: 'success', success() { //>判斷是否更新用戶數據 if (that.update_user) { data = {}; data.cache = 1; Net.Net('admin/t.cache', data).then(res => { if (!res.succeed) { return false; } uni.setStorageSync('sbh_user', res.user); //>更新用戶數據數組 that.Fun_box(); //>關閉浮動框 }); } else { that.Fun_box(); //>關閉浮動框 } } }); }); }, ~~~
                  <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>

                              哎呀哎呀视频在线观看