Browse Source

数据权限

4.0
yaoq 2 years ago
parent
commit
3fcbd59f0d
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      smtweb-framework/bpm/src/main/resources/static/event/bpm/sys/user/dataRightGroup/drgList.js

+ 6
- 0
smtweb-framework/bpm/src/main/resources/static/event/bpm/sys/user/dataRightGroup/drgList.js View File

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

const onDataRightChange = () => {
$model.drgItemList.data.list.rows = [];
};

return { return {
onEditItem, onEditItem,
onBeforeSave, onBeforeSave,
onDataRightChange
} }
} }
}); });

Loading…
Cancel
Save