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

                企業??AI智能體構建引擎,智能編排和調試,一鍵部署,支持知識庫和私有化部署方案 廣告
                html中添加 ~~~ <el-form-item label="分類:" prop="type_id"> <el-select v-model="form.type_id" placeholder="分類" class="interval" filterable :filter-method="search" @focus="get_query" @blur="clearMap"> <el-option v-for="item in list" :key="item.id" :label="item.name" :value="item.id"> </el-option> <el-pagination @current-change="handleCurrentChange" :current-page.sync="page" :page-size="limit" layout="total, prev, pager, next" :total="totalnum"> </el-pagination> </el-select> </el-form-item> ~~~ data->return中添加 ~~~ list:[],//數據集 totalnum:0,//總條數賦值字段 field:'id,name',//查詢字段 map:[],//查詢條件 order:'id desc',//排序 page: 1,//當前頁 limit:10,//每頁條數 ~~~ methods中添加 ![](https://img.kancloud.cn/b3/2e/b32ebdb0c00d6bf6daeff4c10e1e6131_1135x757.png) ~~~ search(val){ this.map = []; this.map.push(['name','like','%'+val+'%']); this.get_query(); }, get_query(){ // this.map.push(['mark','=',1]); this.$http.post('/TypeController/index',{'page':this.page,'limit':this.limit,'order':this.order,'field':this.field,'_is_query':1,'map':this.map}).then(res => { this.totalnum=res.data.count; this.list=res.data.data; }); }, handleCurrentChange(val) { this.page=val; this.get_query(); }, clearMap(){ this.map = []; }, ~~~ watch->data中添加 ![](https://img.kancloud.cn/7b/ce/7bceef53b88ceedfed76da3ac14a4630_1061x818.png) ~~~ this.order = 'FIELD(id,'+this.form.type_id+') desc'; this.get_query(); ~~~ 對應model中添加 將對應字段轉為數組 ![](https://img.kancloud.cn/90/39/90397badffc74d21c94baaa4ded52e0a_1021x530.png) ~~~ $product = explode(',',$info['product_id']); if($product){ unset($info['product_id']); foreach ($product as $key=>$value){ $info['product_id'][$key] = (int)$value; } } ~~~
                  <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>

                              哎呀哎呀视频在线观看