|
|
@@ -14,9 +14,15 @@ window.$swEvent.setup("bpm.sys.user.dataRightGroup.drgList", { |
|
|
|
const onBeforeSave = () => { |
|
|
|
$model.drgCard.setFormVal("sdrg_content", $model.drgItemList.data.list.rows); |
|
|
|
}; |
|
|
|
|
|
|
|
const onDataRightChange = () => { |
|
|
|
$model.drgItemList.data.list.rows = []; |
|
|
|
}; |
|
|
|
|
|
|
|
return { |
|
|
|
onEditItem, |
|
|
|
onBeforeSave, |
|
|
|
onDataRightChange |
|
|
|
} |
|
|
|
} |
|
|
|
}); |