@lambo-design-mobile/workflow-approve 1.0.0-beta.22 → 1.0.0-beta.23
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/CHANGELOG.md +11 -0
- package/api.js +83 -23
- package/package.json +1 -1
- package/src/FlowApproval.vue +563 -63
- package/src/FlowApproval1.vue +1186 -0
- package/src/FlowNodeCell.vue +2 -2
- package/src/SelectHandle.vue +83 -38
- package/src/SelectHandleCard.vue +5 -1
- package/src/SelectOrganize.vue +8 -4
- package/src/js/global.js +21 -7
- package/src/utils/const.js +36 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,15 @@
|
|
|
1
1
|
# Changelog
|
|
2
|
+
## [1.0.0-beta.23](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/compare/@lambo-design-mobile/workflow-approve@1.0.0-beta.22...@lambo-design-mobile/workflow-approve@1.0.0-beta.23) (2026-02-26)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### ✨ Features | 新功能
|
|
6
|
+
|
|
7
|
+
* **审批组件:** 选人框loading状态优化 ([16fa491](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/16fa49143aab45eeb8fea99eb3c1ba398e2e05bc))
|
|
8
|
+
* **审批组件:** 增加驳回后控制流程流转功能 ([fb2e23d](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/fb2e23deaa909ba070d369d31ede1d7d579af543))
|
|
9
|
+
* **审批组件:** 增加会签表决功能、已办状态拉齐、审批驳回名称按流程设计展示、选人逻辑优化 ([8123fb2](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/8123fb21076ac301c1c6d433df437e6ffefbe526))
|
|
10
|
+
* **审批组件:** 增加委派功能 ([13cc053](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/13cc05359fc2d621becafba3948532fd57ae7c1e))
|
|
11
|
+
* **审批组件:** 增加选人范围处理、会签加减签功能 ([71832ed](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/commit/71832edb54c0ab93d334b95c7c56ea2c6368736b))
|
|
12
|
+
|
|
2
13
|
## [1.0.0-beta.22](http://git.inspur.com/ecbh/lambo-design/lambo-design/-/compare/@lambo-design-mobile/workflow-approve@1.0.0-beta.21...@lambo-design-mobile/workflow-approve@1.0.0-beta.22) (2026-01-29)
|
|
3
14
|
|
|
4
15
|
|
package/api.js
CHANGED
|
@@ -61,6 +61,9 @@ export const getProcessTodoList = (offset, limit, searchForm = {}) => {
|
|
|
61
61
|
taskName: searchForm.taskName || '',
|
|
62
62
|
procType: searchForm.procType || '',
|
|
63
63
|
businessTopic: searchForm.businessTopic || '',
|
|
64
|
+
taskNode: searchForm.taskNode || '',
|
|
65
|
+
taskId: searchForm.taskId || '',
|
|
66
|
+
auditGroup: searchForm.auditGroup || '',
|
|
64
67
|
};
|
|
65
68
|
return ajax.request({
|
|
66
69
|
url: config.smartFlowServerContext + "/manage/processTodo/list",
|
|
@@ -122,19 +125,6 @@ export const getProcessHis = (applyId, instanceId, procId, taskId) => {
|
|
|
122
125
|
})
|
|
123
126
|
}
|
|
124
127
|
|
|
125
|
-
// 获取操作按钮
|
|
126
|
-
export const getHandleButtons = (procId, taskNode) => {
|
|
127
|
-
const params = {
|
|
128
|
-
procId: procId,
|
|
129
|
-
taskNode: taskNode,
|
|
130
|
-
}
|
|
131
|
-
return ajax.request({
|
|
132
|
-
url: config.smartFlowServerContext + "/manage/approvalCenter/getNodeData",
|
|
133
|
-
method: 'post',
|
|
134
|
-
params: params,
|
|
135
|
-
})
|
|
136
|
-
}
|
|
137
|
-
|
|
138
128
|
|
|
139
129
|
// 获取流程图xml
|
|
140
130
|
export const printData = (applyId, instanceId, procId) => {
|
|
@@ -287,18 +277,18 @@ export const getUserList = (offset, limit, searchForm = {}) => {
|
|
|
287
277
|
isAdmin: searchForm.isAdmin || '',
|
|
288
278
|
};
|
|
289
279
|
return ajax.request({
|
|
290
|
-
url: config.smartFlowServerContext + "/manage/
|
|
280
|
+
url: config.smartFlowServerContext + "/manage/user/getAssigneeList",
|
|
291
281
|
method: 'get',
|
|
292
282
|
params: params
|
|
293
283
|
})
|
|
294
284
|
}
|
|
295
285
|
|
|
296
|
-
export const getOrgRootTree = () => {
|
|
286
|
+
export const getOrgRootTree = (organTreeType) => {
|
|
297
287
|
const params = {
|
|
298
|
-
|
|
288
|
+
bizOrganTreeType: organTreeType,
|
|
299
289
|
};
|
|
300
290
|
return ajax.request({
|
|
301
|
-
url: config.
|
|
291
|
+
url: config.smartFlowServerContext + "/manage/organ/getOrgRootTree",
|
|
302
292
|
method: 'get',
|
|
303
293
|
params: params,
|
|
304
294
|
});
|
|
@@ -306,11 +296,11 @@ export const getOrgRootTree = () => {
|
|
|
306
296
|
|
|
307
297
|
export const getOrgSubNodes = (organCode) => {
|
|
308
298
|
const params = {
|
|
309
|
-
|
|
310
|
-
|
|
299
|
+
orgTreeType: "00",
|
|
300
|
+
code: organCode,
|
|
311
301
|
};
|
|
312
302
|
return ajax.request({
|
|
313
|
-
url: config.
|
|
303
|
+
url: config.smartFlowServerContext + "/manage/organ/getOrgSubNodes",
|
|
314
304
|
method: 'get',
|
|
315
305
|
params: params,
|
|
316
306
|
});
|
|
@@ -329,18 +319,88 @@ export const getPosition = (positionId) => {
|
|
|
329
319
|
|
|
330
320
|
export const getRole = (roleId) => {
|
|
331
321
|
return ajax.request({
|
|
332
|
-
url: config.
|
|
322
|
+
url: config.smartFlowServerContext + "/manage/role/get/" + roleId,
|
|
333
323
|
method: 'get',
|
|
334
324
|
})
|
|
335
325
|
}
|
|
336
326
|
|
|
337
327
|
export const getOrgan = (organId) => {
|
|
338
|
-
const
|
|
328
|
+
const params = {
|
|
339
329
|
orgTreeType: "00",
|
|
340
330
|
};
|
|
341
331
|
return ajax.request({
|
|
342
|
-
url: config.
|
|
332
|
+
url: config.smartFlowServerContext + "/manage/organ/get/" + organId,
|
|
333
|
+
method: 'get',
|
|
334
|
+
params
|
|
335
|
+
})
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
export const getTransferRange = ({procType, procId, taskNode, applyId, taskId, instanceId, auditGroup, actionType}) => {
|
|
339
|
+
const data = {
|
|
340
|
+
procType: procType,
|
|
341
|
+
procId: procId,
|
|
342
|
+
taskNode: taskNode,
|
|
343
|
+
applyId: applyId,
|
|
344
|
+
taskId: taskId,
|
|
345
|
+
processInstanceId: instanceId,
|
|
346
|
+
auditGroup: auditGroup,
|
|
347
|
+
actionType: actionType,
|
|
348
|
+
}
|
|
349
|
+
return ajax.request({
|
|
350
|
+
url: config.smartFlowServerContext + "/manage/nodeConfig/getTransferRange",
|
|
343
351
|
method: 'post',
|
|
344
352
|
data
|
|
345
353
|
})
|
|
346
354
|
}
|
|
355
|
+
|
|
356
|
+
|
|
357
|
+
export const updateMultitaskInstance = (taskId, applyId, assignees, updateType) => {
|
|
358
|
+
const params = {
|
|
359
|
+
taskId: taskId,
|
|
360
|
+
applyId: applyId,
|
|
361
|
+
assignees: assignees,
|
|
362
|
+
updateType: updateType
|
|
363
|
+
};
|
|
364
|
+
return ajax.request({
|
|
365
|
+
url: config.smartFlowServerContext + "/manage/processTodo/updateMultitaskInstance",
|
|
366
|
+
method: 'post',
|
|
367
|
+
params: params,
|
|
368
|
+
});
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
export const getUnapprovedListOfMultiNode = (taskId) => {
|
|
372
|
+
const params = {
|
|
373
|
+
taskId: taskId,
|
|
374
|
+
};
|
|
375
|
+
return ajax.request({
|
|
376
|
+
url: config.smartFlowServerContext + "/manage/processTodo/getUnapprovedListOfMultiNode",
|
|
377
|
+
method: 'get',
|
|
378
|
+
params: params,
|
|
379
|
+
});
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
export const getProcessAttributes = (procId, taskNode) => {
|
|
383
|
+
const params = {
|
|
384
|
+
procId: procId,
|
|
385
|
+
taskNode: taskNode,
|
|
386
|
+
};
|
|
387
|
+
return ajax.request({
|
|
388
|
+
url: config.smartFlowServerContext + "/manage/processTodo/getProcessAttributes",
|
|
389
|
+
method: 'get',
|
|
390
|
+
params: params,
|
|
391
|
+
});
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
export const listAll = (procId, applyId, taskNode, taskId) => {
|
|
395
|
+
const params = {
|
|
396
|
+
procId: procId,
|
|
397
|
+
applyId: applyId,
|
|
398
|
+
taskNode: taskNode,
|
|
399
|
+
taskId: taskId,
|
|
400
|
+
};
|
|
401
|
+
return ajax.request({
|
|
402
|
+
url: config.smartFlowServerContext + "/manage/processTodo/listAll",
|
|
403
|
+
method: 'get',
|
|
404
|
+
params: params,
|
|
405
|
+
});
|
|
406
|
+
}
|