ps-toolkit-ui 0.0.89 → 0.0.90
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/bundles/ps-toolkit-ui.umd.js +7 -2
- package/bundles/ps-toolkit-ui.umd.js.map +1 -1
- package/bundles/ps-toolkit-ui.umd.min.js +1 -1
- package/bundles/ps-toolkit-ui.umd.min.js.map +1 -1
- package/esm2015/lib/classes/table.class.js +8 -3
- package/fesm2015/ps-toolkit-ui.js +7 -2
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
|
@@ -7206,8 +7206,6 @@
|
|
|
7206
7206
|
p.Action = option.Action;
|
|
7207
7207
|
p.Accesses = option.Accesses;
|
|
7208
7208
|
opt.modal.table.permissions = p;
|
|
7209
|
-
console.log(p, 'p');
|
|
7210
|
-
console.log(p.getUrl(), p.getUrl());
|
|
7211
7209
|
if (opt.modal.table.form) {
|
|
7212
7210
|
opt.modal.table.form.url = p.getUrl() + 'Insert';
|
|
7213
7211
|
opt.modal.table.form.baseUrl = p.getUrl() + 'Insert';
|
|
@@ -7215,6 +7213,13 @@
|
|
|
7215
7213
|
opt.modal.table.set();
|
|
7216
7214
|
}
|
|
7217
7215
|
if (opt.modal.form) {
|
|
7216
|
+
var p = new PermissionClass();
|
|
7217
|
+
p.RelatedId = btn.row.Id;
|
|
7218
|
+
p.Area = _this.permissions.Area;
|
|
7219
|
+
p.Controller = _this.permissions.Controller;
|
|
7220
|
+
p.Action = option.Action;
|
|
7221
|
+
p.Accesses = option.Accesses;
|
|
7222
|
+
console.log(p.getUrl(), 'p.getUrl()');
|
|
7218
7223
|
console.log(opt.modal.form, 'opt.modal.form');
|
|
7219
7224
|
console.log(opt.modal.form.baseUrl, 'opt.modal.form.baseUrl');
|
|
7220
7225
|
opt.modal.form.name = option.Name;
|