ps-toolkit-ui 1.4.30 → 1.4.33
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 +3 -3
- 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 +4 -4
- package/fesm2015/ps-toolkit-ui.js +3 -3
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
|
@@ -2654,9 +2654,8 @@
|
|
|
2654
2654
|
_this.changeRows.emit(_this.row.Data);
|
|
2655
2655
|
}
|
|
2656
2656
|
else {
|
|
2657
|
-
console.log(option, 'option option option');
|
|
2658
2657
|
_this.confirmShow.emit({
|
|
2659
|
-
action:
|
|
2658
|
+
action: option.Action,
|
|
2660
2659
|
url: _this.getOptionUrl(option.Url, _this.table.permissions.RelatedId, _this.row.Data.Id),
|
|
2661
2660
|
accept: function () {
|
|
2662
2661
|
if (_this.table.hasChildren && _this.table.childrenAutoLoad && _this.row.Data.ParentId != null) {
|
|
@@ -2716,6 +2715,7 @@
|
|
|
2716
2715
|
p.Controller = option.Controller;
|
|
2717
2716
|
p.Action = r.name;
|
|
2718
2717
|
p.Accesses = _this.row.Options.filter(function (x) { return x.ParentId === option.Id; });
|
|
2718
|
+
console.log(p.Accesses, 'p.Accesses');
|
|
2719
2719
|
r.table.permissions = p;
|
|
2720
2720
|
if (r.table.form) {
|
|
2721
2721
|
r.table.form.url = option.Url + 'insert';
|
|
@@ -2751,7 +2751,7 @@
|
|
|
2751
2751
|
p.Area = _this.table.permissions.Area;
|
|
2752
2752
|
p.Controller = option.Controller;
|
|
2753
2753
|
p.Action = option.Action;
|
|
2754
|
-
_this.table.showConfirm(_this.table.l(option.Action + 'Confirm'), option.Url
|
|
2754
|
+
_this.table.showConfirm(_this.table.l(option.Action + 'Confirm'), option.Url.replace('{}', _this.row.Data.Id), null, function () {
|
|
2755
2755
|
_this.table.load();
|
|
2756
2756
|
});
|
|
2757
2757
|
};
|