uepay-mesh 4.0.21 → 4.0.22-beta-2
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/bpm/bpmForm.js +191 -0
- package/bpm/builder.js +76 -72
- package/bpm/config/serverEnums.js +63 -36
- package/bpm/data/bpm.js +45 -5
- package/bpm/data/request.js +49 -49
- package/bpm/form/flow.js +99 -133
- package/bpm/form/options/approve.js +39 -34
- package/bpm/form/options/revoke.js +5 -2
- package/bpm/form/options.js +27 -11
- package/bpm/form/title.js +42 -42
- package/bpm/list/applicantTable.js +9 -5
- package/bpm/list/completeTable.js +9 -4
- package/bpm/list/waitTable.js +9 -4
- package/bpm/list.js +22 -52
- package/index.d.ts +1 -1
- package/index.js +2 -2
- package/mesh/cell/compare/comparePopoverView.js +46 -0
- package/mesh/cell/compare/input/standardCompare.js +28 -7
- package/mesh/cell/compare/picker/imageUpdatePickerCompare.js +15 -6
- package/mesh/cell/compare/picker/timestampDatePickerCompare.js +13 -3
- package/mesh/cell/compare/select/standardSelectCompare.js +13 -3
- package/mesh/cell/compare/switch/standardSwitchCompare.js +13 -5
- package/mesh/crud/remove.js +1 -1
- package/mesh/form/editAbleForm.js +2 -2
- package/mesh/form/loading/parentPosLoading.js +1 -1
- package/mesh/form/options/bpm/collectStateResponse.js +12 -26
- package/mesh/form/options/btn/tip.js +40 -42
- package/mesh/form/options/submitBtn.js +2 -2
- package/mesh/table/standardTable/thColumn/rowEditAbleCell.js +6 -2
- package/package.json +1 -1
|
@@ -339,9 +339,13 @@ function EditComp(_ref7) {
|
|
|
339
339
|
const [value, setValue] = (0, _react.useState)(text);
|
|
340
340
|
function submitRes(res) {
|
|
341
341
|
if (res && 0 < res.code) {
|
|
342
|
-
_antd.message.success('數據提交成功');
|
|
343
342
|
setModify(MODIFY.VIEW);
|
|
344
|
-
|
|
343
|
+
if (1000 === res.code) {
|
|
344
|
+
_antd.message.success(res.msg || '流程提交成功');
|
|
345
|
+
} else {
|
|
346
|
+
_antd.message.success('數據提交成功');
|
|
347
|
+
flush();
|
|
348
|
+
}
|
|
345
349
|
} else {
|
|
346
350
|
_antd.notification.error({
|
|
347
351
|
message: res && res.msg || '網絡故障!'
|