@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 +21 -0
- package/dist/index.system.min.js +1 -1
- package/dist/index.system.min.js.map +1 -1
- package/out/interface/controller/controller/control/i-panel.controller.d.ts +7 -0
- package/out/interface/controller/controller/control/i-panel.controller.d.ts.map +1 -1
- package/out/interface/controller/controller/control/panel-item/i-panel-data-container.controller.d.ts +7 -0
- package/out/interface/controller/controller/control/panel-item/i-panel-data-container.controller.d.ts.map +1 -1
- package/out/logic-scheduler/trigger/timer-trigger.d.ts +1 -2
- package/out/logic-scheduler/trigger/timer-trigger.d.ts.map +1 -1
- package/out/service/service/work-flow/work-flow.service.d.ts +11 -0
- package/out/service/service/work-flow/work-flow.service.d.ts.map +1 -1
- package/out/service/service/work-flow/work-flow.service.js +15 -0
- package/package.json +5 -5
- package/src/interface/controller/controller/control/i-panel.controller.ts +8 -0
- package/src/interface/controller/controller/control/panel-item/i-panel-data-container.controller.ts +8 -0
- package/src/logic-scheduler/trigger/timer-trigger.ts +2 -2
- package/src/service/service/work-flow/work-flow.service.ts +28 -0
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":
|