|
@@ -0,0 +1,22 @@
|
|
1
|
+import { getCookie } from "./cookiehelper.js";
|
|
2
|
+import { initListIndex } from "./list.index.js";
|
|
3
|
+
|
|
4
|
+initListIndex();
|
|
5
|
+
|
|
6
|
+$('#detailBtn').click(function () {
|
|
7
|
+ $('.bdy-ul').addClass('d-none');
|
|
8
|
+ // Unibase.Themes.Compact.Components.Notification.Instance().loadReminderDetails(105013010001972,105010260000090,'Details','null',6,0,null)
|
|
9
|
+ const cookie = getCookie('_idty');
|
|
10
|
+ if (cookie) {
|
|
11
|
+ const {
|
|
12
|
+ unibaseId,
|
|
13
|
+ tenantId,
|
|
14
|
+ userId
|
|
15
|
+ } = JSON.parse(cookie);
|
|
16
|
+ debugger;
|
|
17
|
+ $('#detailIframe').html(
|
|
18
|
+ `<iframe width="100%" style="min-height:746px" name="srcframe" id="srcframe" class="srcframe" src="http://localhost:1188/#/${unibaseId}/${tenantId}/${userId}/106457720000011/100010270000325/loadDetail"></iframe>`
|
|
19
|
+ );
|
|
20
|
+ }
|
|
21
|
+
|
|
22
|
+});
|