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

                # 下拉聯動組件 例如:省市區的三級聯動下拉選擇框 **首先**,聯動組件的數據來源需要有相應的層級關系 ,如 :新建一張表`sys_test_link`,數據如下: | id | pid | name | | --- | --- | --- | | 1 | | 中國 | | 2 | 1 | 山東省 | | 3 | 2 | 濟南市 | | 4 | 3 | 歷城區 | | 5 | 3 | 長青區 | | 6 | 2 | 青島市 | | 7 | 1 | 安徽省 | | 8 | 7 | 合肥市 | | 9 | 8 | 包河區 | | 10 | 8 | 廬陽區 | | 11 | 7 | 黃山市 | | ... | | | **online配置**, 新增字段,province,city,area 在級聯下拉的第一個字段province上配置, 頁面屬性 -----> 控件類型 -----> 聯動組件 校驗字段 ----> 字典table --->配置json,格式如下 ``` { table: "sys_test_link", txt: "name", key: "id", linkField: "city,area", idField: "id", pidField: "pid", condition:"pid = '1'" } ``` 配置描述: | 名稱 | 描述 | | --- | --- | | table | 數據庫表名 | | txt | 控件顯示的值 | | key | 控件需要存儲的值 | | linkField | 級聯組件的其他字段名稱,上例配置了市,區字段名 | | idField | 數據的標識 | | pidField | 上下級關系的表示字段 | | condition | 聯動組件 第一個下拉框的數據查詢條件 | ## 示例: 1. 配置三個字段 ![](https://img.kancloud.cn/4c/62/4c62535b577e6bb219ca3172c52d37e0_1141x547.png) 2. 配置第一個為聯動控件 ![](https://img.kancloud.cn/d1/44/d1441f2f7c76b97598d0e31895186990_955x523.png) 3. 配置聯動參數 ``` { table: "sys_test_link", txt: "name", key: "id", linkField: "city,area", idField: "id", pidField: "pid", condition: "pid= '1'" } ``` ![](https://img.kancloud.cn/35/ba/35bace1deee2206391bdd2af86196202_1334x411.png) 測試效果: ![](https://img.kancloud.cn/cf/ae/cfaebe4a6d4dff40e18e8b1821d41b0e_940x278.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>

                              哎呀哎呀视频在线观看