Former-commit-id: 9fecd6bbc5bb2b40a0f3be47c6d580c2fed1e405
master
wangbing 5 years ago
parent c8f60a7d8d
commit d11b7c5c27

@ -228,7 +228,7 @@
this.formResource.roleId = item.id
new Ajax()
.module("system")
.target("roleResource")
.target("roleRes")
.data({roleId: item.id, pageSize: 0})
.find(function (response) {
if (response.errors.length > 0) {
@ -254,7 +254,7 @@
onCheck: function (item, status) {
new Ajax()
.module("system")
.target("roleResource")
.target("roleRes")
.method("check")
.data({
roleId: this.formResource.roleId,
@ -272,7 +272,7 @@
onLoadTree: function () {
new Ajax()
.module("system")
.target("resource")
.target("res")
.method("tree")
.data({})
.post(function (response) {

Loading…
Cancel
Save

Powered by TurnKey Linux.