@ibiz-template/runtime 0.1.22 → 0.1.23-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.esm.js CHANGED
@@ -11009,6 +11009,25 @@ var WorkFlowService = class {
11009
11009
  }
11010
11010
  );
11011
11011
  }
11012
+ /**
11013
+ * 后加签
11014
+ *
11015
+ * @author lxm
11016
+ * @date 2022-09-30 17:09:51
11017
+ * @param {IParams} context 路径参数
11018
+ * @param {IParams} params 请求参数
11019
+ * @param {IData} data 数据
11020
+ * @returns {*} {Promise<IHttpResponse<IData>>}
11021
+ */
11022
+ async wfAddStepAfter(context, params, data) {
11023
+ return ibiz.net.post(
11024
+ "".concat(this.getBaseUrl(), "/").concat(context[this.model.codeName.toLowerCase()], "/tasks/").concat(params.taskId, "/aftersign"),
11025
+ {
11026
+ ...params,
11027
+ activedata: this.getActiveData(data, context)
11028
+ }
11029
+ );
11030
+ }
11012
11031
  /**
11013
11032
  * 回退
11014
11033
  *
@@ -11068,6 +11087,8 @@ var WorkFlowService = class {
11068
11087
  return this.wfReassign(context, params, data);
11069
11088
  case "addstepbefore":
11070
11089
  return this.wfAddStepBefore(context, params, data);
11090
+ case "addstepafter":
11091
+ return this.wfAddStepAfter(context, params, data);
11071
11092
  case "sendback":
11072
11093
  return this.wfSendBack(context, params, data);
11073
11094
  case "sendcopy":