<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智能體構建引擎,智能編排和調試,一鍵部署,支持知識庫和私有化部署方案 廣告
                接口目錄結構: ![](https://img.kancloud.cn/7b/4d/7b4d906d8f3f3411bd484e577f38b179_387x336.png) ### 1.**get** 請求:一般用于查詢數據,需要傳遞對象 ``` //實例1 : 表格查詢接口 export function flowLzTypeList(data) { return request({ url: `/workFlow/type/pageType`, method: 'get', params: data }) } 接口使用: 先引入接口:import {flowLzTypeList,} from "@/api/flow0"; getType() { flowLzTypeList(this.queryInfo).then((res) => { console.log(res); this.typeData = res.list; this.total = res.total; this.queryInfo.pageSize = res.pageSize; this.queryInfo.page = res.pageNum; this.queryInfo.pages = res.pages; }); }, 實例2:修改單條數據時通過id獲取單條數據,接口需要返回查詢的id export function flowLzTypeEditData(data){ return request({ url : `/workFlow/type/selectTypeById`, method : 'get', params : data }) } 接口調用: flowLzTypeEditData({ id: id }).then((res) => { this.addEditForm.lanId = res.lanId; this.addEditForm.remark = res.remark; this.addEditForm.seqNo = res.seqNo; this.editId = res.id; }); 實例三:查詢表格數據,傳遞兩個對象參數 export function flowLzNodeOptActionListQuery(data,nid){ return request({ url : `/workFlow/nodeConAction/pageC/${nid}`, method : 'get', params : data,nid }) } 使用接口: flowLzNodeOptActionListQuery(this.optActionQueryInfo,this.optActionForm.nodeId).then(res=>{ this.optActionData = res.list this.optActionQueryInfo.page = res.pageNum this.optActionQueryInfo.pageSize = res.pageSize this.optActionQueryInfo.pages = res.pages this.optActionTotal = res.total }).catch(()=>{ console.log("請求失敗") }) ``` ### 2.**post**請求:一般用戶提交數據 ``` 實例1 : 提交表單數據 export function flowLzTypeAdd(data){ return request({ url : `/workFlow/type/insertTypeByDto`, method : 'post', data }) } 引入后使用 : //添加類型接口 flowLzTypeAdd(this.addEditForm).then((res) => { this.$message.success("添加類型成功"); this.addEditDialogVisible = false; //重新請求數據 this.getType(); }); 實例2 : 兩個參數 export function flowLzNodesSave(data,wid){ return request({ url : `/workFlow/nodeInfo/insertOrUpdateAll/${wid}`, method : 'post', data }) } 使用 : flowLzNodesSave(this.ruleForm.tableData, this.wid) .then((res) => { console.log(res); this.$message.success("新增節點成功"); this.toThird(); }) .catch((err) => { 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>

                              哎呀哎呀视频在线观看