@steedos-widgets/amis-lib 6.10.5 → 6.10.6
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/cjs/tsconfig.tsbuildinfo +1 -1
- package/dist/index.cjs.js +9 -5
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +9 -5
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +2 -2
- package/dist/index.umd.js.map +1 -1
- package/package.json +2 -2
package/dist/index.esm.js
CHANGED
|
@@ -5796,10 +5796,14 @@ function getBatchDelete(objectName){
|
|
|
5796
5796
|
if(payload.errors){
|
|
5797
5797
|
payload.data.deleteErrorMessage = [];
|
|
5798
5798
|
payload.errors.forEach(function(error){
|
|
5799
|
-
|
|
5800
|
-
|
|
5801
|
-
|
|
5802
|
-
|
|
5799
|
+
try {
|
|
5800
|
+
let errorRecord = error.path.map(function (item) {
|
|
5801
|
+
return item.split('delete__')[1].to_float() + 1;
|
|
5802
|
+
}).toString();
|
|
5803
|
+
payload.data.deleteErrorMessage.push("第" + errorRecord + "条记录删除出现异常,报错信息为(" + (window.t ? window.t(error.message) : error.message) + ")");
|
|
5804
|
+
} catch (error) {
|
|
5805
|
+
console.llg(error)
|
|
5806
|
+
}
|
|
5803
5807
|
})
|
|
5804
5808
|
}
|
|
5805
5809
|
return payload;
|
|
@@ -21252,7 +21256,7 @@ const getInstanceInfo = async (props) => {
|
|
|
21252
21256
|
const only_cc_opinion = fieldStep.show_cc && !fieldStep.show_handler;
|
|
21253
21257
|
const stepApproves = getTraceApprovesByStep(instance, flowVersion, fieldStep.name, only_cc_opinion);
|
|
21254
21258
|
for (const approve of stepApproves) {
|
|
21255
|
-
let userName = approve.
|
|
21259
|
+
let userName = approve.handler_name;
|
|
21256
21260
|
approve.isOpinionOfField = isOpinionOfField(approve, field);
|
|
21257
21261
|
if (approve.isOpinionOfField) {
|
|
21258
21262
|
approve.isMyApprove = isMyApprove({ approve, only_cc_opinion, box, currentApprove: userApprove, field });
|