bl-common-vue3 3.8.48 → 3.8.49
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/package.json
CHANGED
|
@@ -1620,6 +1620,11 @@ export default defineComponent({
|
|
|
1620
1620
|
type: Boolean,
|
|
1621
1621
|
default: false,
|
|
1622
1622
|
},
|
|
1623
|
+
// 导入成功后的回调
|
|
1624
|
+
importSuccessCallback: {
|
|
1625
|
+
type: Function,
|
|
1626
|
+
default: () => {},
|
|
1627
|
+
},
|
|
1623
1628
|
},
|
|
1624
1629
|
components: {
|
|
1625
1630
|
PlusOutlined,
|
|
@@ -2680,7 +2685,10 @@ export default defineComponent({
|
|
|
2680
2685
|
getDictionaryMap();
|
|
2681
2686
|
};
|
|
2682
2687
|
|
|
2683
|
-
const handleImportSuccess = () => {
|
|
2688
|
+
const handleImportSuccess = async () => {
|
|
2689
|
+
if(props.importSuccessCallback && typeof props.importSuccessCallback === 'function'){
|
|
2690
|
+
await props.importSuccessCallback();
|
|
2691
|
+
}
|
|
2684
2692
|
loadData();
|
|
2685
2693
|
state.importVisible = false;
|
|
2686
2694
|
};
|
|
@@ -3231,34 +3239,32 @@ export default defineComponent({
|
|
|
3231
3239
|
|
|
3232
3240
|
const handleApprovalClick = (alias) => {
|
|
3233
3241
|
state.getApprovalProcess = false;
|
|
3234
|
-
|
|
3235
|
-
|
|
3236
|
-
|
|
3237
|
-
|
|
3238
|
-
|
|
3239
|
-
|
|
3240
|
-
|
|
3241
|
-
|
|
3242
|
-
|
|
3243
|
-
|
|
3244
|
-
|
|
3245
|
-
|
|
3246
|
-
|
|
3247
|
-
|
|
3248
|
-
height: "100%",
|
|
3249
|
-
},
|
|
3250
|
-
destroyOnClose: true,
|
|
3251
|
-
},
|
|
3252
|
-
microId: "org_workApproval_ApprovalProcessDesign",
|
|
3253
|
-
app: "workApproval",
|
|
3254
|
-
url: `/approval/processDesignMain?${urlParams}`,
|
|
3255
|
-
params: {
|
|
3256
|
-
isMainDrawer: true,
|
|
3257
|
-
closeDesign: () => {},
|
|
3242
|
+
let urlParams = `${props.approvalProcessType}=${alias}`;
|
|
3243
|
+
window.microApp.forceDispatch({
|
|
3244
|
+
type: "SetChildDrawerList",
|
|
3245
|
+
info: {
|
|
3246
|
+
props: {
|
|
3247
|
+
title: t("CustomTable.index.909124-2"),
|
|
3248
|
+
maskCloseable: true,
|
|
3249
|
+
visible: true,
|
|
3250
|
+
closable: true,
|
|
3251
|
+
width: 1200,
|
|
3252
|
+
bodyStyle: {
|
|
3253
|
+
padding: "15px",
|
|
3254
|
+
background: "#fff",
|
|
3255
|
+
height: "100%",
|
|
3258
3256
|
},
|
|
3257
|
+
destroyOnClose: true,
|
|
3259
3258
|
},
|
|
3260
|
-
|
|
3261
|
-
|
|
3259
|
+
microId: "org_workApproval_ApprovalProcessDesign",
|
|
3260
|
+
app: "workApproval",
|
|
3261
|
+
url: `/approval/processDesignMain?${urlParams}`,
|
|
3262
|
+
params: {
|
|
3263
|
+
isMainDrawer: true,
|
|
3264
|
+
closeDesign: () => {},
|
|
3265
|
+
},
|
|
3266
|
+
},
|
|
3267
|
+
});
|
|
3262
3268
|
};
|
|
3263
3269
|
|
|
3264
3270
|
const i18nMapShow = computed(() => {
|