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

                ThinkChat2.0新版上線,更智能更精彩,支持會話、畫圖、視頻、閱讀、搜索等,送10W Token,即刻開啟你的AI之旅 廣告
                系統上每個模塊都接口文件,系統都是調用如下,**請認真閱讀**: 一、**模塊接口文件**,一個模塊有以下5個基本接口頁面。 ![](https://img.kancloud.cn/9b/16/9b16da1bf53ad1ba0d95cd5c83b2197b_332x100.png) 1、流程模塊接口文件:webmain/model/flow/模塊編號Model.php,此文件繼承核心流程文件webmain/model/flow/flow.php,可重寫里面方法,用于流程處理,如保存后發送通知,流程自定義審核人,列表頁面字段顯示過濾,流程處理中回調,如下圖 ![](https://img.kancloud.cn/de/26/de2638e97cd5a2216fc14e1eb7a4ebc7_567x455.png) ![](https://img.kancloud.cn/7a/6d/7a6d3ad414c1edb0640b4e8dd21922bb_668x460.png) ![](https://img.kancloud.cn/29/80/2980d990caa87353a347ab68f5473bef_816x362.png) 2、模塊錄入接口文件:webmain/flow/input/mode\_模塊編號Action.php,用于流程模塊錄入數據讀取接口,錄入數據保存前判斷等。下拉框數據源編寫。 3、模塊錄入JS文件:webmain/flow/input/inputjs/mode\_模塊編號.js,用于錄入頁面上各個元素處理交互,如聯動下拉框等,這個js幫助可以查看文件:webmain/flow/input/inputjs/mode\_demo.js。 4、模塊接口常用方法 ``` //流程接口,數據替換方法,如要將uid轉為姓名。 public function flowrsreplace($rs) { $urs = m('admin')->getone($rs['uid']); $rs['name'] = $urs['name']; //得到姓名 $rs['deptname'] = $urs['deptname']; //得到部門名稱 return $rs; } //例子2,$lx,0默認,1詳情展示,2列表顯示 public function flowrsreplace($rs,$lx=0) { //如0,替換否,1替換為1 if($rs["abc"]=="0")$rs["abc"]="否"; if($rs["abc"]=="1")$rs["abc"]="是"; return $rs; } //條件過濾(v1.3.0以后少用到)到流程模塊條件下設置條件的 //$lx是從atype參數傳過來的,$uid用戶Id protected function flowbillwhere($uid, $lx) { $where = "and 1=1"; return array( "where" => $where ); } ``` 子表的替換flowsubdata重寫,如圖 ![](https://img.kancloud.cn/ef/1c/ef1c8780ed752a4ee82798006a3e6f88_765x265.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>

                              哎呀哎呀视频在线观看