ps-toolkit-ui 1.4.14 → 1.4.17
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
|
@@ -2612,7 +2612,7 @@
|
|
|
2612
2612
|
if (option.AccessType === exports.PermissionAccessTypeEnum.Update) {
|
|
2613
2613
|
if (this_2.table.form) {
|
|
2614
2614
|
opt.onClick = function () {
|
|
2615
|
-
_this.table.form.url = option.Url
|
|
2615
|
+
_this.table.form.url = option.Url.replace('{}', _this.row.Data.Id);
|
|
2616
2616
|
if (_this.table.hasChildren && _this.row.Data.ParentId != null) {
|
|
2617
2617
|
_this.table.form.onSuccessBase = function () {
|
|
2618
2618
|
_this.table.modal.hide();
|
|
@@ -2684,15 +2684,15 @@
|
|
|
2684
2684
|
p.Accesses = _this.row.Options.filter(function (x) { return x.ParentId === option.Id; });
|
|
2685
2685
|
opt.modal.table.permissions = p;
|
|
2686
2686
|
if (opt.modal.table.form) {
|
|
2687
|
-
opt.modal.table.form.url = option.Url + 'insert';
|
|
2688
|
-
opt.modal.table.form.baseUrl = option.Url + 'insert';
|
|
2687
|
+
opt.modal.table.form.url = option.Url + '-insert';
|
|
2688
|
+
opt.modal.table.form.baseUrl = option.Url + '-insert';
|
|
2689
2689
|
}
|
|
2690
2690
|
opt.modal.table.set();
|
|
2691
2691
|
}
|
|
2692
2692
|
if (opt.modal.form) {
|
|
2693
2693
|
opt.modal.form.name = option.Name;
|
|
2694
|
-
opt.modal.form.url = option.Url
|
|
2695
|
-
opt.modal.form.loadData(option.Url
|
|
2694
|
+
opt.modal.form.url = option.Url.replace('{}', _this.row.Data.Id) + '-update';
|
|
2695
|
+
opt.modal.form.loadData(option.Url.replace('{}', _this.row.Data.Id) + '-get');
|
|
2696
2696
|
opt.modal.form.onSuccessBase = function () {
|
|
2697
2697
|
opt.modal.hide();
|
|
2698
2698
|
};
|