ps-toolkit-ui 0.0.125 → 0.0.126
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 +5 -5
- 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/components/table/row/table.row.component.js +6 -6
- package/fesm2015/ps-toolkit-ui.js +5 -5
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
|
@@ -2635,7 +2635,7 @@
|
|
|
2635
2635
|
var e_2, _a;
|
|
2636
2636
|
if (opt.modal.table) {
|
|
2637
2637
|
var p = new PermissionClass();
|
|
2638
|
-
p.RelatedId = btn.row.Id;
|
|
2638
|
+
p.RelatedId = btn.row.Data.Id;
|
|
2639
2639
|
p.Area = _this.table.permissions.Area;
|
|
2640
2640
|
p.Controller = _this.table.permissions.Controller;
|
|
2641
2641
|
p.Action = option.Action;
|
|
@@ -2649,8 +2649,8 @@
|
|
|
2649
2649
|
}
|
|
2650
2650
|
if (opt.modal.form) {
|
|
2651
2651
|
opt.modal.form.name = option.Name;
|
|
2652
|
-
opt.modal.form.url = opt.modal.form.baseUrl + 'Update/' + btn.row.Id;
|
|
2653
|
-
opt.modal.form.loadData(opt.modal.form.baseUrl + 'Get/' + btn.row.Id);
|
|
2652
|
+
opt.modal.form.url = opt.modal.form.baseUrl + 'Update/' + btn.row.Data.Id;
|
|
2653
|
+
opt.modal.form.loadData(opt.modal.form.baseUrl + 'Get/' + btn.row.Data.Id);
|
|
2654
2654
|
opt.modal.form.onSuccessBase = function () {
|
|
2655
2655
|
opt.modal.hide();
|
|
2656
2656
|
};
|
|
@@ -2661,7 +2661,7 @@
|
|
|
2661
2661
|
var r = _c.value;
|
|
2662
2662
|
if (r.table) {
|
|
2663
2663
|
var p = new PermissionClass();
|
|
2664
|
-
p.RelatedId = btn.row.Id;
|
|
2664
|
+
p.RelatedId = btn.row.Data.Id;
|
|
2665
2665
|
p.Area = _this.table.permissions.Area;
|
|
2666
2666
|
p.Controller = _this.table.permissions.Controller;
|
|
2667
2667
|
p.Action = r.name;
|
|
@@ -2710,7 +2710,7 @@
|
|
|
2710
2710
|
p.Area = _this.table.permissions.Area;
|
|
2711
2711
|
p.Controller = _this.table.permissions.Controller;
|
|
2712
2712
|
p.Action = option.Action;
|
|
2713
|
-
_this.table.showConfirm(_this.table.l(option.Action + 'Confirm'), p.getUrl() + '/' + btn.row.Id, null, function () {
|
|
2713
|
+
_this.table.showConfirm(_this.table.l(option.Action + 'Confirm'), p.getUrl() + '/' + btn.row.Data.Id, null, function () {
|
|
2714
2714
|
_this.table.load();
|
|
2715
2715
|
});
|
|
2716
2716
|
};
|