@newview/base-vue 1.1.9 → 1.2.1

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/dist/base-vue.js CHANGED
@@ -152,18 +152,18 @@ class BaseInstance {
152
152
  });
153
153
  }
154
154
  }
155
- const propDefine$7 = {
155
+ const propDefine$8 = {
156
156
  count: {
157
157
  type: Number,
158
158
  default: 0
159
159
  }
160
160
  };
161
- const _sfc_main$6 = defineComponent({
161
+ const _sfc_main$7 = defineComponent({
162
162
  name: "Root",
163
163
  components: {},
164
164
  emits: [""],
165
165
  // 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
166
- props: propDefine$7,
166
+ props: propDefine$8,
167
167
  setup(props, ctx) {
168
168
  return new RootInstance(props, ctx);
169
169
  }
@@ -236,24 +236,24 @@ const _export_sfc = (sfc, props) => {
236
236
  }
237
237
  return target;
238
238
  };
239
- const _hoisted_1$6 = { class: "root" };
240
- function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
241
- return openBlock(), createElementBlock("div", _hoisted_1$6);
239
+ const _hoisted_1$7 = { class: "root" };
240
+ function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
241
+ return openBlock(), createElementBlock("div", _hoisted_1$7);
242
242
  }
243
- const Root = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["render", _sfc_render$6], ["__scopeId", "data-v-b392b4ac"]]);
244
- const propDefine$6 = {
243
+ const Root = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["render", _sfc_render$7], ["__scopeId", "data-v-b392b4ac"]]);
244
+ const propDefine$7 = {
245
245
  tabPage: {
246
246
  // 要打开的页面信息
247
247
  type: Object,
248
248
  default: () => ({})
249
249
  }
250
250
  };
251
- const _sfc_main$5 = defineComponent({
251
+ const _sfc_main$6 = defineComponent({
252
252
  name: "LinkPanel",
253
253
  components: {},
254
254
  emits: [""],
255
255
  // 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
256
- props: propDefine$6,
256
+ props: propDefine$7,
257
257
  setup(props, ctx) {
258
258
  return new LinkPanelInstance(props, ctx);
259
259
  }
@@ -323,17 +323,17 @@ class LinkPanelInstance extends BaseInstance {
323
323
  //#endregion 业务逻辑二 END
324
324
  }
325
325
  const LinkPanel_vue_vue_type_style_index_0_scoped_37023fbf_lang = "";
326
- const _hoisted_1$5 = { class: "link-panel" };
327
- const _hoisted_2$2 = ["src", "title"];
328
- function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
326
+ const _hoisted_1$6 = { class: "link-panel" };
327
+ const _hoisted_2$3 = ["src", "title"];
328
+ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
329
329
  const _component_Spin = resolveComponent("Spin");
330
- return openBlock(), createElementBlock("div", _hoisted_1$5, [
330
+ return openBlock(), createElementBlock("div", _hoisted_1$6, [
331
331
  withDirectives(createElementVNode("iframe", {
332
332
  src: _ctx.tabPage.path,
333
333
  class: "link-ifr",
334
334
  title: _ctx.tabPage.path,
335
335
  ref: "ifrPanel"
336
- }, null, 8, _hoisted_2$2), [
336
+ }, null, 8, _hoisted_2$3), [
337
337
  [vShow, !_ctx.loading]
338
338
  ]),
339
339
  createVNode(_component_Spin, {
@@ -343,7 +343,274 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
343
343
  }, null, 8, ["show"])
344
344
  ]);
345
345
  }
346
- const LinkPanel = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["render", _sfc_render$5], ["__scopeId", "data-v-37023fbf"]]);
346
+ const LinkPanel = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["render", _sfc_render$6], ["__scopeId", "data-v-37023fbf"]]);
347
+ const propDefine$6 = {};
348
+ const _sfc_main$5 = defineComponent({
349
+ name: "noFondPage",
350
+ components: {},
351
+ emits: [""],
352
+ // 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
353
+ props: propDefine$6,
354
+ setup(props, ctx) {
355
+ return new noFondPage$1(props, ctx);
356
+ }
357
+ });
358
+ let noFondPage$1 = class noFondPage extends BaseInstance {
359
+ // API实例化
360
+ // private platformApi: PlatformApi = new PlatformApi();
361
+ // 全局属性
362
+ constructor(props, ctx) {
363
+ super();
364
+ __publicField(this, "props");
365
+ __publicField(this, "ctx");
366
+ this.props = props;
367
+ this.ctx = ctx;
368
+ }
369
+ };
370
+ const _hoisted_1$5 = {
371
+ class: "nv-flex-col nv-full",
372
+ style: { "font-size": "30px", "color": "#ccc", "align-items": "center", "justify-content": "center" }
373
+ };
374
+ const _hoisted_2$2 = /* @__PURE__ */ createElementVNode("svg", {
375
+ t: "1628837319071",
376
+ class: "icon",
377
+ viewBox: "0 0 2538 1024",
378
+ version: "1.1",
379
+ xmlns: "http://www.w3.org/2000/svg",
380
+ "p-id": "8648",
381
+ width: "600"
382
+ }, [
383
+ /* @__PURE__ */ createElementVNode("path", {
384
+ d: "M127.82465799 723.813699h2085.873972c35.068493 0 63.824658-29.457534 63.824658-65.227398 0-36.471233-28.756164-65.227397-63.824658-65.227397H127.82465799c-35.068493 0-63.824658 29.457534-63.824658 65.227397 0 36.471233 28.756164 65.227397 63.824658 65.227398zM453.96164399 953.863014h301.589041c20.339726 0 37.172603-16.832877 37.172603-37.873973 0-21.041096-16.832877-37.873973-37.172603-37.873973h-301.589041c-20.339726 0-37.172603 16.832877-37.172603 37.873973 0.70137 21.041096 16.832877 37.873973 37.172603 37.873973zM2325.21643799 650.871233h247.583562c16.832877 0 30.158904-14.027397 30.158904-31.561644s-13.326027-31.561644-30.158904-31.561644h-247.583562c-16.832877 0-30.158904 14.027397-30.158904 31.561644s13.326027 31.561644 30.158904 31.561644z",
385
+ fill: "#EBF7FF",
386
+ "p-id": "8649"
387
+ }),
388
+ /* @__PURE__ */ createElementVNode("path", {
389
+ d: "M210.58630099 848.657534h2186.169863c36.471233 0 65.227397-29.457534 65.227398-65.227397 0-36.471233-29.457534-65.227397-65.227398-65.227397H210.58630099c-36.471233 0-65.227397 29.457534-65.227397 65.227397-0.70137 35.769863 28.756164 65.227397 65.227397 65.227397z",
390
+ fill: "#EBF7FF",
391
+ "p-id": "8650"
392
+ }),
393
+ /* @__PURE__ */ createElementVNode("path", {
394
+ d: "M1040.59908632 335.254795h-16.131506V152.19726c0-37.873973 1.40274-60.317808 4.208219-93.282192H912.94977132c-14.728767 21.742466-25.249315 35.769863-52.602739 67.331507L738.30867532 268.624658c-28.756164 33.665753-28.756164 33.665753-54.005479 61.720547v100.997261c21.041096-1.40274 36.471233-2.10411 73.643836-2.10411h159.912328v27.353425c0 27.353425-1.40274 51.2-4.208219 70.136986h116.427397c-3.506849-21.742466-4.208219-37.873973-4.208219-69.435616v-28.054795h16.832877c17.534247 0 38.575342 1.40274 55.408219 3.506849V330.345205c-21.041096 2.805479-39.978082 4.909589-57.512329 4.90959z m-122.739726-64.526028v65.227397h-114.323287l82.060274-100.29589c15.430137-18.936986 23.846575-30.158904 35.068493-46.290411-2.10411 25.249315-2.805479 56.109589-2.80548 81.358904zM1504.90593632 163.419178c-8.416438-22.443836-22.443836-44.186301-41.380822-62.421918-34.367123-33.665753-82.060274-52.60274-137.468493-52.602739-70.838356 0-129.753425 31.561644-164.120548 89.073972-21.742466 35.769863-35.769863 96.789041-35.769863 155.70411 0 45.589041 7.013699 89.073973 21.742465 129.052055 8.416438 22.443836 22.443836 44.186301 41.380822 62.421917 34.367123 34.367123 81.358904 52.60274 136.767124 52.60274 71.539726 0 131.156164-31.561644 164.821917-87.671233 21.742466-35.769863 35.769863-97.490411 35.769863-156.405479 0.70137-46.290411-7.013699-89.775342-21.742465-129.753425zM1327.45936032 441.863014c-56.109589 0-84.865753-51.90137-84.865753-152.89863 0-91.879452 30.860274-145.183562 84.164384-145.183562 54.706849 0 84.164384 50.49863 84.164383 147.287671 0 99.594521-28.054795 150.794521-83.463014 150.794521zM1913.10319632 335.254795h-16.131507V152.19726c0-37.873973 1.40274-60.317808 4.208219-93.282192h-115.726027c-14.728767 21.742466-25.249315 35.769863-52.60274 67.331507l-122.739726 143.079452c-28.756164 33.665753-28.756164 33.665753-54.005479 61.720548v100.997261c21.041096-1.40274 36.471233-2.10411 73.643835-2.10411H1789.66210032v27.353425c0 27.353425-1.40274 51.2-4.208219 70.136986H1901.88127832c-3.506849-21.742466-4.208219-37.873973-4.208219-69.435616v-28.054795h16.832877c17.534247 0 38.575342 1.40274 55.408219 3.506849V330.345205c-20.339726 2.805479-39.276712 4.909589-56.810959 4.90959z m-122.739726-64.526028v65.227397h-114.323288l82.060274-100.29589c15.430137-18.936986 23.846575-30.158904 35.068493-46.290411-2.10411 25.249315-2.805479 56.109589-2.805479 81.358904zM2298.15525132 537.950685l-257.40274-0.70137V280.547945c142.378082 0 257.40274 115.024658 257.40274 257.40274zM234.72511432 537.950685c0-206.90411 167.627397-374.531507 375.232877-374.531507v373.128767l-375.232877 1.40274z",
395
+ fill: "#CFF0FF",
396
+ "p-id": "8651"
397
+ }),
398
+ /* @__PURE__ */ createElementVNode("path", {
399
+ d: "M952.460274 740.646575c42.082192-8.416438 73.643836-25.950685 71.539726-39.978082-2.805479-14.027397-39.276712-18.936986-81.358904-10.520548s-73.643836 25.950685-71.539726 39.978082m176.043835-142.378082c42.082192-8.416438 73.643836-25.950685 71.539727-39.978082-2.805479-14.027397-39.276712-18.936986-81.358905-10.520548-42.082192 8.416438-73.643836 25.950685-71.539726 39.978082m758.180822 218.126028c24.547945-9.117808 40.679452-21.041096 38.575343-31.561644-2.805479-14.027397-39.276712-18.936986-81.358904-10.520548-42.082192 8.416438-73.643836 25.950685-71.539726 39.978082m394.169863-49.79726c24.547945-9.117808 40.679452-21.041096 38.575342-31.561644-2.805479-14.027397-39.276712-18.936986-81.358904-10.520548-42.082192 8.416438-73.643836 25.950685-71.539726 39.978082m124.142466-75.747945c42.082192-8.416438 73.643836-25.950685 71.539726-39.978082-2.805479-14.027397-39.276712-18.936986-81.358904-10.520548-42.082192 8.416438-73.643836 25.950685-71.539726 39.978082",
400
+ fill: "#396B99",
401
+ "p-id": "8652"
402
+ }),
403
+ /* @__PURE__ */ createElementVNode("path", {
404
+ d: "M1069.589041 590.553425c0-88.372603-71.539726-159.912329-159.912329-159.912329s-159.912329 71.539726-159.912328 159.912329",
405
+ fill: "#F9DA3E",
406
+ "p-id": "8653"
407
+ }),
408
+ /* @__PURE__ */ createElementVNode("path", {
409
+ d: "M573.019178 318.421918l204.8 204.8-31.561644 31.561644-204.8-204.8 31.561644-31.561644z m-61.720548 58.915068L716.09863 582.136986l-31.561644 31.561644-204.8-204.8 31.561644-31.561644z m-63.123288 61.019178l204.8 204.8-31.561643 31.561644L416.613699 469.917808l31.561643-31.561644z m-61.019178 61.019178l204.8 204.8-31.561643 31.561644-204.8-204.8 31.561643-31.561644z m-51.901369 70.838357L540.054795 775.013699l-31.561644 31.561643-204.8-204.8 31.561644-31.561643z",
410
+ fill: "#CFF0FF",
411
+ "p-id": "8654"
412
+ }),
413
+ /* @__PURE__ */ createElementVNode("path", {
414
+ d: "M2054.89680366 665.6c0-129.753425-105.205479-234.958904-234.958904-234.958904s-234.958904 105.205479-234.958904 234.958904",
415
+ fill: "#568EC8",
416
+ "p-id": "8655"
417
+ }),
418
+ /* @__PURE__ */ createElementVNode("path", {
419
+ d: "M1102.553425 616.50411c0-28.756164-23.846575-51.90137-52.60274-51.90137-29.457534 0-52.60274 23.145205-52.60274 51.90137m509.895891-37.873973c0-37.873973-30.860274-68.032877-69.435617-68.032877s-69.435616 30.860274-69.435616 68.032877",
420
+ fill: "#396B99",
421
+ "p-id": "8656"
422
+ }),
423
+ /* @__PURE__ */ createElementVNode("path", {
424
+ d: "M1643.309589 741.347945c0-82.761644-68.734247-150.794521-152.89863-150.79452s-152.89863 67.331507-152.89863 150.79452",
425
+ fill: "#78C5FD",
426
+ "p-id": "8657"
427
+ }),
428
+ /* @__PURE__ */ createElementVNode("path", {
429
+ d: "M1723.265753 795.353425c0-44.186301-35.769863-79.956164-79.956164-79.956165s-79.956164 35.769863-79.956164 79.956165",
430
+ fill: "#396B99",
431
+ "p-id": "8658"
432
+ }),
433
+ /* @__PURE__ */ createElementVNode("path", {
434
+ d: "M651.572603 791.145205l-152.197261 0.70137c0-124.142466 100.29589-184.460274 224.438357-184.460274v138.871233",
435
+ fill: "#0E1D80",
436
+ "fill-opacity": ".1",
437
+ "p-id": "8659"
438
+ }),
439
+ /* @__PURE__ */ createElementVNode("path", {
440
+ d: "M449.16894933 791.846575c0-124.142466 100.29589-224.438356 224.438357-224.438356v223.736986",
441
+ fill: "#78C5FD",
442
+ "p-id": "8660"
443
+ }),
444
+ /* @__PURE__ */ createElementVNode("path", {
445
+ d: "M1997.50137 744.854795c0-79.956164-64.526027-144.482192-144.482192-144.482192v143.780822",
446
+ fill: "#F9DA3E",
447
+ "p-id": "8661"
448
+ }),
449
+ /* @__PURE__ */ createElementVNode("path", {
450
+ d: "M1798.312329 627.726027c0 6.312329 4.208219 11.221918 9.117808 11.221918s9.117808-4.909589 9.117808-11.221918-4.208219-11.221918-9.117808-11.221917-9.117808 4.909589-9.117808 11.221917zM1763.243836 627.726027c0 6.312329 4.208219 11.221918 9.117808 11.221918 4.909589 0 9.117808-4.909589 9.117808-11.221918s-4.208219-11.221918-9.117808-11.221917c-4.909589 0-9.117808 4.909589-9.117808 11.221917zM1728.175342 627.726027c0 6.312329 4.208219 11.221918 9.117809 11.221918 4.909589 0 9.117808-4.909589 9.117808-11.221918 0-6.312329-4.208219-11.221918-9.117808-11.221917-4.909589 0-9.117808 4.909589-9.117809 11.221917zM1690.30137 627.726027c0 6.312329 4.208219 11.221918 9.117808 11.221918 4.909589 0 9.117808-4.909589 9.117808-11.221918s-4.208219-11.221918-9.117808-11.221917c-4.909589 0-9.117808 4.909589-9.117808 11.221917zM1655.232877 627.726027c0 6.312329 4.208219 11.221918 9.117808 11.221918 4.909589 0 9.117808-4.909589 9.117808-11.221918s-4.208219-11.221918-9.117808-11.221917c-4.909589 0-9.117808 4.909589-9.117808 11.221917zM1798.312329 594.761644c0 6.312329 4.208219 11.221918 9.117808 11.221918s9.117808-4.909589 9.117808-11.221918-4.208219-11.221918-9.117808-11.221918-9.117808 4.909589-9.117808 11.221918zM1763.243836 594.761644c0 6.312329 4.208219 11.221918 9.117808 11.221918 4.909589 0 9.117808-4.909589 9.117808-11.221918s-4.208219-11.221918-9.117808-11.221918c-4.909589 0-9.117808 4.909589-9.117808 11.221918zM1728.175342 594.761644c0 6.312329 4.208219 11.221918 9.117809 11.221918 4.909589 0 9.117808-4.909589 9.117808-11.221918 0-6.312329-4.208219-11.221918-9.117808-11.221918-4.909589 0-9.117808 4.909589-9.117809 11.221918zM1690.30137 594.761644c0 6.312329 4.208219 11.221918 9.117808 11.221918 4.909589 0 9.117808-4.909589 9.117808-11.221918s-4.208219-11.221918-9.117808-11.221918c-4.909589 0-9.117808 4.909589-9.117808 11.221918zM1798.312329 559.693151c0 6.312329 4.208219 11.221918 9.117808 11.221917s9.117808-4.909589 9.117808-11.221917-4.208219-11.221918-9.117808-11.221918-9.117808 4.909589-9.117808 11.221918zM1763.243836 559.693151c0 6.312329 4.208219 11.221918 9.117808 11.221917 4.909589 0 9.117808-4.909589 9.117808-11.221917s-4.208219-11.221918-9.117808-11.221918c-4.909589 0-9.117808 4.909589-9.117808 11.221918zM1728.175342 559.693151c0 6.312329 4.208219 11.221918 9.117809 11.221917 4.909589 0 9.117808-4.909589 9.117808-11.221917 0-6.312329-4.208219-11.221918-9.117808-11.221918-4.909589 0-9.117808 4.909589-9.117809 11.221918zM1798.312329 523.923288c0 6.312329 4.208219 11.221918 9.117808 11.221917s9.117808-4.909589 9.117808-11.221917-4.208219-11.221918-9.117808-11.221918-9.117808 5.610959-9.117808 11.221918zM1763.243836 523.923288c0 6.312329 4.208219 11.221918 9.117808 11.221917 4.909589 0 9.117808-4.909589 9.117808-11.221917s-4.208219-11.221918-9.117808-11.221918c-4.909589 0.70137-9.117808 5.610959-9.117808 11.221918zM1798.312329 488.854795c0 6.312329 4.909589 11.221918 11.221918 11.221917 6.312329 0 11.221918-4.909589 11.221917-11.221917s-4.909589-11.221918-11.221917-11.221918c-6.312329 0-11.221918 4.909589-11.221918 11.221918z",
451
+ fill: "#CFF0FF",
452
+ "p-id": "8662"
453
+ }),
454
+ /* @__PURE__ */ createElementVNode("path", {
455
+ d: "M1077.30411 851.463014c0 18.936986 65.227397 34.367123 145.884931 34.367123s145.884932-15.430137 145.884932-34.367123-65.227397-34.367123-145.884932-34.367124-145.884932 15.430137-145.884931 34.367124z",
456
+ fill: "#396B99",
457
+ "p-id": "8663"
458
+ }),
459
+ /* @__PURE__ */ createElementVNode("path", {
460
+ d: "M1173.391781 723.813699c11.221918 24.547945 0.70137 132.558904-2.80548 132.558904l-6.312328 0.70137-4.20822-52.60274s-12.624658-68.734247-13.326027-74.345206l18.235616-11.221917 8.416439 4.909589z",
461
+ fill: "#396B99",
462
+ "p-id": "8664"
463
+ }),
464
+ /* @__PURE__ */ createElementVNode("path", {
465
+ d: "M1139.024658 718.20274l12.624657 11.221918c4.909589 0.70137-13.326027 120.635616-21.041096 125.545205l-6.312329-0.70137v-60.317808c0-11.923288-6.312329-51.90137-2.805479-71.539726",
466
+ fill: "#396B99",
467
+ "p-id": "8665"
468
+ }),
469
+ /* @__PURE__ */ createElementVNode("path", {
470
+ d: "M1136.219178 640.350685l17.534247 4.909589-0.70137-10.520548-13.326028-10.520548c0 5.610959-3.506849 16.131507-3.506849 16.131507z",
471
+ fill: "#FFE4A8",
472
+ "p-id": "8666"
473
+ }),
474
+ /* @__PURE__ */ createElementVNode("path", {
475
+ d: "M1153.753425 635.441096s-7.715068-4.909589-9.819178-7.715069c-5.610959-4.909589 8.416438-23.145205 13.326027-23.145205l11.923288 5.610959 2.805479 7.013698-2.104109 11.221918-3.50685-0.70137-5.610959 9.117809-7.013698-1.40274z",
476
+ fill: "#FFE4A8",
477
+ "p-id": "8667"
478
+ }),
479
+ /* @__PURE__ */ createElementVNode("path", {
480
+ d: "M1171.989041 615.80274c-3.506849 0-14.728767-4.909589-14.728767-7.013699 0.70137 2.10411-3.506849 10.520548-7.013699 10.520548s-10.520548-9.117808-11.221917-3.506849c0.70137 1.40274 3.506849 15.430137 0 14.027397-14.027397-3.506849-8.416438-39.276712 18.235616-35.769863 36.471233 10.520548 18.235616 21.742466 14.728767 21.742466z",
481
+ fill: "#396B99",
482
+ "p-id": "8668"
483
+ }),
484
+ /* @__PURE__ */ createElementVNode("path", {
485
+ d: "M1139.024658 622.816438c-2.805479-3.506849 0-10.520548 3.506849-10.520548 2.10411 0 4.909589 1.40274 5.610959 3.50685 2.805479 12.624658-4.208219 15.430137-9.117808 7.013698z",
486
+ fill: "#FFE4A8",
487
+ "p-id": "8669"
488
+ }),
489
+ /* @__PURE__ */ createElementVNode("path", {
490
+ d: "M1162.871233 638.947945c4.208219 1.40274 9.117808 9.819178 9.117808 14.027397 0.70137 4.909589-0.70137 19.638356-0.70137 19.638357l18.936987-6.312329-0.70137 6.312329s-13.326027 9.819178-18.936987 11.923287c-2.10411 0.70137-5.610959 0-7.013698-0.70137-7.715068-4.208219-15.430137-19.638356-14.027398-30.860274 0-0.70137-2.10411-17.534247 13.326028-14.027397z",
491
+ fill: "#78C5FD",
492
+ "p-id": "8670"
493
+ }),
494
+ /* @__PURE__ */ createElementVNode("path", {
495
+ d: "M1119.386301 739.243836c10.520548 7.013699 49.79726 7.013699 56.810959-0.70137 4.909589-17.534247-5.610959-89.073973-12.624657-95.386302 0-1.40274-9.117808-5.610959-9.117808-5.610959s-14.728767-5.610959-19.638357-2.805479c-7.715068 9.117808-23.145205 86.969863-15.430137 104.50411z",
496
+ fill: "#568EC8",
497
+ "p-id": "8671"
498
+ }),
499
+ /* @__PURE__ */ createElementVNode("path", {
500
+ d: "M1109.567123 636.843836c-0.70137 3.506849 1.40274 4.208219 4.208219 5.610959 7.715068 3.506849 1.40274 21.041096-11.923287 35.068493-16.131507 16.832877 5.610959 47.693151 23.846575 33.665753 5.610959-4.208219 4.208219-16.832877 4.208219-16.832877v-48.39452l3.50685-2.10411 7.715068 4.208219c-4.909589 11.923288-4.909589 21.742466 0 24.547946 2.10411 1.40274 3.506849 1.40274 5.610959 0 0.70137-2.805479 4.208219-14.728767 1.40274-28.756165-4.909589-11.221918-37.172603-17.534247-38.575343-7.013698z",
501
+ fill: "#396B99",
502
+ "p-id": "8672"
503
+ }),
504
+ /* @__PURE__ */ createElementVNode("path", {
505
+ d: "M1131.309589 641.753425c-19.638356 14.728767-9.117808 58.213699-3.506849 59.616438 11.221918 2.10411 37.172603-12.624658 37.172602-12.624658l-0.701369-5.610958-26.652055-0.70137s8.416438-31.561644 2.805479-38.575343c-1.40274-1.40274-4.208219-2.10411-9.117808-2.104109z",
506
+ fill: "#78C5FD",
507
+ "p-id": "8673"
508
+ }),
509
+ /* @__PURE__ */ createElementVNode("path", {
510
+ d: "M1165.676712 667.00274c1.40274 2.10411 4.208219 2.10411 4.909589 0 0.70137 0-1.40274-27.353425-7.715068-29.457535-2.805479-2.10411-7.013699 0.70137-4.909589 2.10411 6.312329 1.40274 8.416438 28.756164 7.715068 27.353425z",
511
+ fill: "#396B99",
512
+ "p-id": "8674"
513
+ }),
514
+ /* @__PURE__ */ createElementVNode("path", {
515
+ d: "M1190.926027 657.884932l-21.742465-3.50685-3.50685 39.276713 21.742466 3.506849 11.221918-3.506849 7.013699-42.783562-14.728768 7.013699z",
516
+ fill: "#FFE4A8",
517
+ "p-id": "8675"
518
+ }),
519
+ /* @__PURE__ */ createElementVNode("path", {
520
+ d: "M1192.328767 657.884932l2.10411 0.701369-7.013699 39.276713-2.10411-0.70137 7.013699-39.276712z",
521
+ fill: "#F49130",
522
+ "p-id": "8676"
523
+ }),
524
+ /* @__PURE__ */ createElementVNode("path", {
525
+ d: "M1172.690411 682.432877c1.40274 2.10411 0.70137 4.208219-1.40274 5.610959-1.40274 1.40274-7.013699 1.40274-7.715068 0.701369-1.40274-1.40274-2.805479-3.506849-2.10411-5.610958 0.70137-2.805479 9.117808-4.208219 11.221918-0.70137z",
526
+ fill: "#FFE4A8",
527
+ "p-id": "8677"
528
+ }),
529
+ /* @__PURE__ */ createElementVNode("path", {
530
+ d: "M1143.934247 861.983562c1.40274-2.10411-7.715068-7.715068-12.624658-9.819178l-8.416438-0.70137c-0.70137 2.805479-4.909589 6.312329-3.50685 8.416438 2.10411 2.10411 22.443836 4.208219 24.547946 2.10411z m42.082191-2.10411c1.40274-2.10411-8.416438-5.610959-13.326027-7.013699l-8.416438-0.701369c-0.70137 2.10411-4.909589 4.909589-2.80548 7.013698 2.10411 2.10411 23.145205 2.805479 24.547945 0.70137zM1327.693151 859.879452c-3.506849 2.805479-25.249315 1.40274-26.652055 0-1.40274-1.40274 1.40274-9.819178 1.40274-9.819178h11.221917c0-0.70137 17.534247 6.312329 14.027398 9.819178z m-108.712329-7.013699c3.506849 0-1.40274-18.936986-1.40274-18.936986l-7.013698-6.312329s-8.416438 2.805479-8.416439 5.610959c-0.70137 2.805479 13.326027 19.638356 16.832877 19.638356z",
531
+ fill: "#F49130",
532
+ "p-id": "8678"
533
+ }),
534
+ /* @__PURE__ */ createElementVNode("path", {
535
+ d: "M1279.29863 732.931507l23.846575-2.80548c7.715068 18.235616 11.923288 39.978082 13.326028 62.421918l-3.506849 58.915069-10.520548 2.805479-4.20822-54.706849c0.70137 0.70137-19.638356-39.276712-18.936986-66.630137z",
536
+ fill: "#396B99",
537
+ "p-id": "8679"
538
+ }),
539
+ /* @__PURE__ */ createElementVNode("path", {
540
+ d: "M1247.736986 730.126027v58.915069l-38.575342 39.978082 6.312329 9.819178s46.991781-32.964384 56.810959-46.290411c4.208219-5.610959 14.027397-61.720548 14.027397-61.720548h-38.575343z",
541
+ fill: "#396B99",
542
+ "p-id": "8680"
543
+ }),
544
+ /* @__PURE__ */ createElementVNode("path", {
545
+ d: "M1290.520548 630.531507l4.909589-2.80548s8.416438 7.715068 7.715068 9.117809-4.909589 4.208219-7.013698 0.701369c-2.10411-2.805479-5.610959-7.013699-5.610959-7.013698z",
546
+ fill: "#FFE4A8",
547
+ "p-id": "8681"
548
+ }),
549
+ /* @__PURE__ */ createElementVNode("path", {
550
+ d: "M1295.430137 637.545205l8.416438-1.402739s8.416438 12.624658 7.013699 16.832876c-1.40274 4.208219-16.131507 15.430137-16.131507 15.430137l-8.416438-11.923287 12.624657-8.416439-3.506849-10.520548z",
551
+ fill: "#78C5FD",
552
+ "p-id": "8682"
553
+ }),
554
+ /* @__PURE__ */ createElementVNode("path", {
555
+ d: "M1263.868493 645.260274l18.936986 4.909589-1.402739-11.923288-16.131507-9.819178-1.40274 16.832877z",
556
+ fill: "#FFE4A8",
557
+ "p-id": "8683"
558
+ }),
559
+ /* @__PURE__ */ createElementVNode("path", {
560
+ d: "M1293.326027 675.419178c1.40274 2.10411 4.208219 2.10411 4.909589 0 0.70137 0-1.40274-26.652055-7.715068-29.457534-2.805479-2.10411-7.013699 0.70137-4.909589 2.104109 6.312329 1.40274 9.117808 28.054795 7.715068 27.353425z",
561
+ fill: "#396B99",
562
+ "p-id": "8684"
563
+ }),
564
+ /* @__PURE__ */ createElementVNode("path", {
565
+ d: "M1264.569863 643.857534c4.208219-1.40274 21.041096 2.10411 23.145205 4.208219 2.10411 2.10411 9.819178 21.041096 11.923288 28.756165 5.610959 17.534247 16.832877 65.928767 12.624658 70.838356-4.208219 5.610959-58.213699 7.013699-65.928767 2.805479-6.312329-3.506849-2.10411-61.019178 2.805479-80.657534 2.805479-7.715068 10.520548-24.547945 15.430137-25.950685z",
566
+ fill: "#568EC8",
567
+ "p-id": "8685"
568
+ }),
569
+ /* @__PURE__ */ createElementVNode("path", {
570
+ d: "M1218.279452 799.561644c-0.70137-0.70137-0.70137-1.40274 0-2.10411l101.69863-105.205479c0.70137-0.70137 1.40274-0.70137 2.10411 0 0.70137 0.70137 0.70137 1.40274 0 2.104109L1220.383562 799.561644h-2.10411z",
571
+ fill: "#1B5A89",
572
+ "p-id": "8686"
573
+ }),
574
+ /* @__PURE__ */ createElementVNode("path", {
575
+ d: "M1279.29863 704.876712h23.846575l0.70137 6.312329-24.547945 3.506849v-9.819178z",
576
+ fill: "#FFE4A8",
577
+ "p-id": "8687"
578
+ }),
579
+ /* @__PURE__ */ createElementVNode("path", {
580
+ d: "M1237.917808 648.065753c-0.70137 3.506849 1.40274 4.909589 4.909589 6.312329 9.117808 3.506849 2.10411 23.846575-12.624657 38.575343-17.534247 18.936986 7.715068 52.60274 27.353424 37.172602 6.312329-4.909589 4.208219-18.235616 4.20822-18.235616l-1.40274-53.30411 3.506849-2.805479 9.117808 4.208219c-4.909589 13.326027-4.909589 23.846575 0.70137 27.353425 2.10411 1.40274 3.506849 1.40274 5.610959 0 1.40274-3.506849 4.208219-16.131507 1.40274-31.561644-5.610959-14.027397-41.380822-19.638356-42.783562-7.715069z",
581
+ fill: "#396B99",
582
+ "p-id": "8688"
583
+ }),
584
+ /* @__PURE__ */ createElementVNode("path", {
585
+ d: "M1261.764384 652.273973c-6.312329 5.610959-9.117808 16.131507-11.221918 27.353424-2.805479 31.561644 7.013699 40.679452 11.221918 40.679452 4.208219 0 22.443836-2.805479 22.443835-2.805479l-0.70137-12.624658-16.131507-0.70137s8.416438-21.742466 7.013699-39.978082c0-4.909589-4.208219-15.430137-12.624657-11.923287z",
586
+ fill: "#78C5FD",
587
+ "p-id": "8689"
588
+ }),
589
+ /* @__PURE__ */ createElementVNode("path", {
590
+ d: "M1310.860274 701.369863c2.10411 0.70137 2.10411 3.506849 2.10411 3.506849-0.70137 2.10411-4.208219 7.715068-6.312329 7.715069-2.10411 0-7.715068-2.10411-4.909589-5.610959 2.10411-4.208219 7.013699-6.312329 9.117808-5.610959z m-24.547945-58.915068l5.610959-9.117809 4.208219-0.70137-1.40274-18.235616-13.326027-9.117808-16.131507 9.117808-0.70137 18.936986c6.312329 7.715068 21.742466 9.117808 21.742466 9.117809z",
591
+ fill: "#FFE4A8",
592
+ "p-id": "8690"
593
+ }),
594
+ /* @__PURE__ */ createElementVNode("path", {
595
+ d: "M1274.389041 596.865753c7.715068-1.40274 16.131507-0.70137 20.339726 3.50685 4.208219 4.208219 6.312329 11.923288 0 16.131507-7.013699 0.70137-7.715068 2.805479-14.728767-0.70137 0 0-0.70137 3.506849-2.805479 6.312328-2.10411 3.506849-8.416438 1.40274-8.416439 1.40274s0 9.819178-7.013698 9.819178c-12.624658-1.40274-9.117808-30.860274 12.624657-36.471233z",
596
+ fill: "#396B99",
597
+ "p-id": "8691"
598
+ }),
599
+ /* @__PURE__ */ createElementVNode("path", {
600
+ d: "M1275.090411 625.621918c0-2.10411 0-4.909589-2.10411-5.610959-2.805479-2.10411-5.610959 0-5.610959 2.805479-0.70137 2.805479 1.40274 5.610959 3.50685 6.312329 2.10411 1.40274 4.208219-0.70137 4.208219-3.506849z",
601
+ fill: "#FFDB73",
602
+ "p-id": "8692"
603
+ })
604
+ ], -1);
605
+ const _hoisted_3$1 = /* @__PURE__ */ createElementVNode("div", { style: { "margin-top": "30px" } }, "抱歉,该功能暂未开放,请联系管理员", -1);
606
+ const _hoisted_4$1 = [
607
+ _hoisted_2$2,
608
+ _hoisted_3$1
609
+ ];
610
+ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
611
+ return openBlock(), createElementBlock("div", _hoisted_1$5, _hoisted_4$1);
612
+ }
613
+ const noFondPage2 = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["render", _sfc_render$5]]);
347
614
  const propDefine$5 = {};
348
615
  const _sfc_main$4 = defineComponent({
349
616
  name: "LinkMain",
@@ -440,10 +707,14 @@ class LinkMainInstance extends BaseInstance {
440
707
  let component;
441
708
  if (data.loadMode == 0) {
442
709
  const menu = this.storageInfo.getMenuComponts().find((item) => item.path == data.path);
443
- if (typeof menu.component == "function") {
444
- component = shallowRef(menu.component());
710
+ if (menu) {
711
+ if (typeof menu.component == "function") {
712
+ component = shallowRef(menu.component());
713
+ } else {
714
+ component = shallowRef(menu.component);
715
+ }
445
716
  } else {
446
- component = shallowRef(menu.component);
717
+ component = shallowRef(noFondPage2);
447
718
  }
448
719
  }
449
720
  this.pages.value.push({
@@ -574,7 +845,7 @@ class FreeLoginCenterInstance extends BaseInstance {
574
845
  async init() {
575
846
  let linkParam = this.getRequestParam();
576
847
  if (linkParam && linkParam.u && linkParam.t) {
577
- let result = this.utilities.parseApiResult(await request(`/PermissionApi/OAuth/OAuthByToken?account=${decodeURIComponent(linkParam.u)}&token=${decodeURIComponent(linkParam.t)}`, {
848
+ let result = this.utilities.parseApiResult(await request(`/PermissionApi/ThirdOAuth/OAuthByToken?account=${decodeURIComponent(linkParam.u)}&token=${decodeURIComponent(linkParam.t)}`, {
578
849
  method: "post",
579
850
  data: {}
580
851
  }));
@@ -806,10 +1077,14 @@ class LocalLoaderInstance extends BaseInstance {
806
1077
  let component;
807
1078
  if (data.loadMode == 0) {
808
1079
  const menu = this.storageInfo.getMenuComponts().find((item) => item.path == data.path);
809
- if (typeof menu.component == "function") {
810
- component = shallowRef(menu.component());
1080
+ if (menu) {
1081
+ if (typeof menu.component == "function") {
1082
+ component = shallowRef(menu.component());
1083
+ } else {
1084
+ component = shallowRef(menu.component);
1085
+ }
811
1086
  } else {
812
- component = shallowRef(menu.component);
1087
+ component = shallowRef(noFondPage2);
813
1088
  }
814
1089
  }
815
1090
  this.pages.value.push({
@@ -1 +1 @@
1
- var __defProp=Object.defineProperty,__defNormalProp=(e,t,o)=>t in e?__defProp(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,__publicField=(e,t,o)=>(__defNormalProp(e,"symbol"!=typeof t?t+"":t,o),o);!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("vue"),require("view-ui-plus"),require("@newview/tools"),require("@newview/infrastructure"),require("mitt"),require("vue-router"),require("vxe-table"),require("axios")):"function"==typeof define&&define.amd?define(["exports","vue","view-ui-plus","@newview/tools","@newview/infrastructure","mitt","vue-router","vxe-table","axios"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).BaseVue={},e.Vue,e.viewUiPlus,e.tools$1,e.infrastructure,e.mitt,e.VueRouter,e.VxeTable,e.axios)}(this,(function(e,t,o,s,i,a,n,r,l){"use strict";class c{constructor(){__publicField(this,"info",(e=>{o.Message.info(e)})),__publicField(this,"success",(e=>{o.Message.success(e)})),__publicField(this,"warning",(e=>{o.Message.warning(e)})),__publicField(this,"error",(e=>{o.Message.error(e)}))}}const d=new c;class u{constructor(){__publicField(this,"zIndex",1e4),__publicField(this,"confirm",(e=>{e["z-index"]=this.zIndex,o.Modal.confirm(e)})),__publicField(this,"info",(e=>{e["z-index"]=this.zIndex,o.Modal.info(e)})),__publicField(this,"success",(e=>{e["z-index"]=this.zIndex,o.Modal.success(e)})),__publicField(this,"warning",(e=>{e["z-index"]=this.zIndex,o.Modal.warning(e)})),__publicField(this,"error",(e=>{e["z-index"]=this.zIndex,o.Modal.error(e)}))}}const p=new u,h=a();class f{constructor(){__publicField(this,"utilities",new s.Utilities),__publicField(this,"storageInfo",i.storageInfo)}getEnterBIMParam(e){var t,o;return e+this.utilities.stringHelper.encryptAES(JSON.stringify({token:this.storageInfo.getToken(),userId:null==(t=this.storageInfo.getUser())?void 0:t.Id,projectId:null==(o=this.storageInfo.getCurrentPlatform())?void 0:o.Id}),"d2140707ca3a469c8527e546fe961276")}}class m{constructor(){__publicField(this,"message",new c),__publicField(this,"modal",new u),__publicField(this,"utilities",new s.Utilities),__publicField(this,"storageInfo",i.storageInfo),__publicField(this,"openObserve",i.openObserve),__publicField(this,"bus",h),__publicField(this,"OtherCommon",new f),__publicField(this,"doInputControl",(e=>{this.utilities.isNull(e)||(e.target.readOnly=!1)}))}}const g={count:{type:Number,default:0}},v=t.defineComponent({name:"Root",components:{},emits:[""],props:g,setup:(e,t)=>new P(e,t)});class P extends m{constructor(e,t){super(),__publicField(this,"props"),__publicField(this,"ctx"),__publicField(this,"router"),this.props=e,this.ctx=t,this.useRoot()}useRoot(){this.router=n.useRouter(),this.goPage()}goPage(){const e=this.getQueryString("linkMain");if(!this.utilities.isNull(e))return void this.router.replace("/LinkMain");const t=this.storageInfo.getToken();this.utilities.isNull(t)?this.router.replace("/Login"):this.router.replace(this.storageInfo.getCurrentDefaultPath())}getQueryString(e){let t=window.location.href.indexOf("?"),o=window.location.href.substring(t+1,window.location.href.length).split("&");for(const s of o){let t=s.split("=");if(t[0]==e)return t[1]}return""}}const _=(e,t)=>{const o=e.__vccOpts||e;for(const[s,i]of t)o[s]=i;return o},b={class:"root"};const I=_(v,[["render",function(e,o,s,i,a,n){return t.openBlock(),t.createElementBlock("div",b)}],["__scopeId","data-v-b392b4ac"]]),N={tabPage:{type:Object,default:()=>({})}},k=t.defineComponent({name:"LinkPanel",components:{},emits:[""],props:N,setup:(e,t)=>new w(e,t)});class w extends m{constructor(e,o){super(),__publicField(this,"props"),__publicField(this,"ctx"),__publicField(this,"loading",t.ref(!0)),__publicField(this,"ifrPanel",t.ref()),this.props=e,this.ctx=o,this.useLinkPanel()}useLinkPanel(){t.onMounted((()=>{this.bindLoadEvent()}))}bindLoadEvent(){const e=this.ifrPanel.value;e.attachEvent?e.attachEvent("onload",(()=>{this.doLoaded(e)})):e.onload=()=>{this.doLoaded(e)}}doLoaded(e){this.loading.value=!1,setTimeout((()=>{const t={token:this.storageInfo.getToken(),user:JSON.stringify(this.storageInfo.getUser()),currentPlatform:JSON.stringify(this.storageInfo.getCurrentPlatform()),currentBusiness:JSON.stringify(this.storageInfo.getCurrentBusiness()),currentModule:JSON.stringify(this.storageInfo.getCurrentModule())};e.contentWindow.postMessage(t,"*")}),20)}}const F={class:"link-panel"},B=["src","title"];const L=_(k,[["render",function(e,o,s,i,a,n){const r=t.resolveComponent("Spin");return t.openBlock(),t.createElementBlock("div",F,[t.withDirectives(t.createElementVNode("iframe",{src:e.tabPage.path,class:"link-ifr",title:e.tabPage.path,ref:"ifrPanel"},null,8,B),[[t.vShow,!e.loading]]),t.createVNode(r,{size:"large",fix:"",show:e.loading},null,8,["show"])])}],["__scopeId","data-v-37023fbf"]]),M=t.defineComponent({name:"LinkMain",components:{LinkPanel:L},emits:[""],props:{},setup:(e,t)=>new x(e,t)});class x extends m{constructor(e,o){super(),__publicField(this,"props"),__publicField(this,"ctx"),__publicField(this,"pages",t.ref([])),__publicField(this,"activePath",t.ref("")),this.props=e,this.ctx=o,this.useLinkMain()}useLinkMain(){const e=e=>{this.receiveMessage(e)};window.addEventListener("message",e),t.onUnmounted((()=>{window.removeEventListener("message",e)}))}receiveMessage(e){if(e.source!=window.parent.window.parent)return;const t=e.data;switch(t.command){case"initStorageInfo":this.initStorageInfo(t.data);break;case"pushPage":this.pushPage(t.data);break;case"clearAllPage":this.clearAllPage(t.data);break;case"closePage":this.closePage(t.data);break;case"activePage":this.activePage(t.data);break;case"closePageByCommand":this.closePageByCommand(t.data)}}initStorageInfo(e){const t=e.token,o=this.utilities.isNull(e.user)?void 0:JSON.parse(e.user),s=this.utilities.isNull(e.currentPlatform)?void 0:JSON.parse(e.currentPlatform),i=this.utilities.isNull(e.currentBusiness)?void 0:JSON.parse(e.currentBusiness),a=this.utilities.isNull(e.currentModule)?void 0:JSON.parse(e.currentModule);this.storageInfo.setToken(t),this.storageInfo.setUser(o),this.storageInfo.setCurrentPlatform(s),this.storageInfo.setCurrentBusiness(i),this.storageInfo.setCurrentModule(a)}pushPage(e){let o;if(0==e.loadMode){const s=this.storageInfo.getMenuComponts().find((t=>t.path==e.path));o="function"==typeof s.component?t.shallowRef(s.component()):t.shallowRef(s.component)}this.pages.value.push({path:e.path,loadMode:e.loadMode,param:e.param,operates:e.operates,component:o})}clearAllPage(e){this.pages.value=[]}closePage(e){const t=this.pages.value.findIndex((t=>t.path==e.path));this.pages.value.splice(t,1)}activePage(e){this.activePath.value=e.path}closePageByCommand(e){const t=this.pages.value.findIndex((e=>e.path==this.activePath.value));switch(e.command){case"left":if(0==t||1==t)return;this.pages.value.splice(1,t-1);break;case"right":if(t==this.pages.value.length-1)return;this.pages.value.splice(t+1);break;case"other":const e=this.pages.value.findIndex((e=>e.path==this.activePath.value)),o=this.pages.value[0];if(0==e)this.pages.value=[o];else{const t=this.pages.value[e];this.pages.value=[o,t]}break;case"all":this.pages.value.splice(1)}}}const C={class:"line-main"};const y=_(M,[["render",function(e,o,s,i,a,n){const r=t.resolveComponent("LinkPanel");return t.openBlock(),t.createElementBlock("div",C,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.pages,(o=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:o.path},[0==o.loadMode?t.withDirectives((t.openBlock(),t.createBlock(t.resolveDynamicComponent(o.component),{key:0,linkParam:o.param,operates:o.operates},null,8,["linkParam","operates"])),[[t.vShow,o.path==e.activePath]]):t.createCommentVNode("",!0),1==o.loadMode?t.withDirectives((t.openBlock(),t.createBlock(r,{key:1,tabPage:o},null,8,["tabPage"])),[[t.vShow,o.path==e.activePath]]):t.createCommentVNode("",!0)],64)))),128))])}],["__scopeId","data-v-026a2cc9"]]),S=t.defineComponent({name:"FreeLoginCenter",components:{},emits:[""],props:{},setup:(e,t)=>new O(e,t)});class O extends m{constructor(e,o){super(),__publicField(this,"props"),__publicField(this,"ctx"),__publicField(this,"router"),__publicField(this,"errTip",t.ref("")),this.props=e,this.ctx=o,this.router=n.useRouter(),this.init()}async init(){let e=this.getRequestParam();if(e&&e.u&&e.t){let t=this.utilities.parseApiResult(await i.request(`/PermissionApi/OAuth/OAuthByToken?account=${decodeURIComponent(e.u)}&token=${decodeURIComponent(e.t)}`,{method:"post",data:{}}));if(t&&t.Token){this.storageInfo.setToken(t.Token),this.storageInfo.setUser(t.User),this.storageInfo.setPlatforms(t.Platforms),localStorage.setItem("needChangePsw",t.NeedChangePsw);const e=this.storageInfo.getPlatforms();if(!this.utilities.isNull(e)&&e.length>0){const t=e.find((e=>e.PlatformNo==this.storageInfo.getPlatformNo()));this.storageInfo.setCurrentPlatform(this.utilities.isNull(t)?e[0]:t)}const o=this.storageInfo.getCurrentPlatform();!this.utilities.isNull(o)&&o.Modules.length>0&&this.storageInfo.setCurrentBusiness(o.Modules[0]),this.router.replace("/")}else this.errLogin()}else this.errLogin()}errLogin(){this.router.replace("/Login")}getRequestParam(){let e=window.location.href.split("?")[1];if(!e)return!1;let t={};return e.split("&").forEach((e=>{0==e.indexOf("u=")?t.u=e.replace("u=",""):0==e.indexOf("t=")&&(t.t=e.replace("t=",""))})),t}}const E=e=>(t.pushScopeId("data-v-08b85823"),e=e(),t.popScopeId(),e),U={class:"nv-full nv-pos-a"},A={key:0,style:{"text-align":"center","padding-top":"20%","font-size":"25px"}},R={key:1,class:"loader"},T=[E((()=>t.createElementVNode("div",{class:"loader-inner line-scale"},[t.createElementVNode("div"),t.createElementVNode("div"),t.createElementVNode("div"),t.createElementVNode("div"),t.createElementVNode("div")],-1))),E((()=>t.createElementVNode("div",null,"正在初始化数据,请稍候...",-1)))];const V=_(S,[["render",function(e,o,s,i,a,n){return t.openBlock(),t.createElementBlock("div",U,[e.errTip?(t.openBlock(),t.createElementBlock("div",A,t.toDisplayString(e.errTip),1)):(t.openBlock(),t.createElementBlock("div",R,T))])}],["__scopeId","data-v-08b85823"]]);let z;const q={loaderInfor:{type:Object,default:()=>({})}},J=t.defineComponent({name:"LocalLoader",components:{LinkPanel:L},emits:[""],props:q,setup:(e,t)=>new D(e,t)});class D extends m{constructor(e,o){super(),__publicField(this,"props"),__publicField(this,"ctx"),__publicField(this,"pages",t.ref([])),__publicField(this,"activePath",t.ref("")),this.props=e,this.ctx=o,this.useBusiness()}useBusiness(){t.onMounted((()=>{})),t.onUnmounted((()=>{h.off("pushPage"),h.off("clearAllPage"),h.off("closePage"),h.off("activePage"),h.off("closePageByCommand")})),h.on("pushPage",(e=>{this.pushPage(e)})),h.on("clearAllPage",(e=>{this.clearAllPage(e)})),h.on("closePage",(e=>{this.closePage(e)})),h.on("activePage",(e=>{this.activePage(e)})),h.on("closePageByCommand",(e=>{this.closePageByCommand(e)}))}pushPage(e){if(e.platformNo!=this.props.loaderInfor.platformNo)return;let o;if(0==e.loadMode){const s=this.storageInfo.getMenuComponts().find((t=>t.path==e.path));o="function"==typeof s.component?t.shallowRef(s.component()):t.shallowRef(s.component)}this.pages.value.push({path:e.path,loadMode:e.loadMode,param:e.param,operates:e.operates,component:o})}clearAllPage(e){e.platformNo==this.props.loaderInfor.platformNo&&(this.pages.value=[])}closePage(e){if(e.platformNo!=this.props.loaderInfor.platformNo)return;const t=this.pages.value.findIndex((t=>t.path==e.path));this.pages.value.splice(t,1)}activePage(e){e.platformNo==this.props.loaderInfor.platformNo&&(this.activePath.value=e.path)}closePageByCommand(e){if(e.platformNo!=this.props.loaderInfor.platformNo)return;const t=this.pages.value.findIndex((e=>e.path==this.activePath.value));switch(e.command){case"left":if(0==t||1==t)return;this.pages.value.splice(1,t-1);break;case"right":if(t==this.pages.value.length-1)return;this.pages.value.splice(t+1);break;case"other":const e=this.pages.value.findIndex((e=>e.path==this.activePath.value)),o=this.pages.value[0];if(0==e)this.pages.value=[o];else{const t=this.pages.value[e];this.pages.value=[o,t]}break;case"all":this.pages.value.splice(1)}}}const W={class:"local-loader"};const j=_(J,[["render",function(e,o,s,i,a,n){const r=t.resolveComponent("LinkPanel");return t.openBlock(),t.createElementBlock("div",W,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.pages,(o=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:o.path},[0==o.loadMode?t.withDirectives((t.openBlock(),t.createBlock(t.resolveDynamicComponent(o.component),{key:0,linkParam:o.param,operates:o.operates},null,8,["linkParam","operates"])),[[t.vShow,o.path==e.activePath]]):t.createCommentVNode("",!0),1==o.loadMode?t.withDirectives((t.openBlock(),t.createBlock(r,{key:1,tabPage:o},null,8,["tabPage"])),[[t.vShow,o.path==e.activePath]]):t.createCommentVNode("",!0)],64)))),128))])}],["__scopeId","data-v-1ff2be67"]]),$={loaderInfor:{type:Object,default:()=>({})}},Q=t.defineComponent({name:"WebLoader",components:{},emits:["loaded"],props:$,setup:(e,t)=>new H(e,t)});class H extends m{constructor(e,o){super(),__publicField(this,"props"),__publicField(this,"ctx"),__publicField(this,"commandStack",[]),__publicField(this,"loading",t.ref(!0)),__publicField(this,"ifrWeb",t.ref()),__publicField(this,"ifrId",t.ref("")),__publicField(this,"doLoaded",(()=>{t.nextTick((()=>{this.ctx.emit("loaded",this.props.loaderInfor.platformNo),this.loading.value=!1,this.sendMessage("initStorageInfo",{token:this.storageInfo.getToken(),user:JSON.stringify(this.storageInfo.getUser()),currentPlatform:JSON.stringify(this.storageInfo.getCurrentPlatform()),currentBusiness:JSON.stringify(this.storageInfo.getCurrentBusiness()),currentModule:JSON.stringify(this.storageInfo.getCurrentModule())}),this.sendStackCommand()}))})),__publicField(this,"getIfrUrl",(()=>this.props.loaderInfor.url+(-1!=this.props.loaderInfor.url.indexOf("?")?"&":"?")+"linkMain=true")),this.props=e,this.ctx=o,this.useWebLoader()}useWebLoader(){this.ifrId.value=this.utilities.getUniqueCode(),t.onUnmounted((()=>{h.off("pushPage"),h.off("clearAllPage"),h.off("closePage"),h.off("activePage"),h.off("closePageByCommand")})),h.on("pushPage",(e=>{this.pushPage(e)})),h.on("clearAllPage",(e=>{this.clearAllPage(e)})),h.on("closePage",(e=>{this.closePage(e)})),h.on("activePage",(e=>{this.activePage(e)})),h.on("closePageByCommand",(e=>{this.closePageByCommand(e)}))}sendMessage(e,t){if(this.loading.value)return void this.commandStack.push({command:e,data:t});const o={command:e,data:t};document.getElementById(this.ifrId.value).contentWindow.postMessage(o,"*")}sendStackCommand(){for(const e of this.commandStack)this.sendMessage(e.command,e.data);this.commandStack=[]}pushPage(e){e.platformNo==this.props.loaderInfor.platformNo&&this.sendMessage("pushPage",e)}clearAllPage(e){e.platformNo==this.props.loaderInfor.platformNo&&this.sendMessage("clearAllPage",e)}closePage(e){e.platformNo==this.props.loaderInfor.platformNo&&this.sendMessage("closePage",e)}activePage(e){e.platformNo==this.props.loaderInfor.platformNo&&this.sendMessage("activePage",e)}closePageByCommand(e){e.platformNo==this.props.loaderInfor.platformNo&&this.sendMessage("closePageByCommand",e)}}const G={class:"web-loader"},K=["id","src","title"];const X=_(Q,[["render",function(e,o,s,i,a,n){const r=t.resolveComponent("Spin");return t.openBlock(),t.createElementBlock("div",G,[t.createElementVNode("iframe",{id:e.ifrId,src:e.getIfrUrl(),class:"web-ifr",title:e.loaderInfor.platformNo,onLoad:o[0]||(o[0]=(...t)=>e.doLoaded&&e.doLoaded(...t))},null,40,K),t.createVNode(r,{size:"large",fix:"",show:e.loading},null,8,["show"])])}],["__scopeId","data-v-12870e01"]]),Y=t.defineComponent({name:"LoaderManage",components:{LocalLoader:j,WebLoader:X},emits:["loaded"],props:{},setup:(e,t)=>new Z(e,t)});let Z=class extends m{constructor(e,o){super(),__publicField(this,"props"),__publicField(this,"ctx"),__publicField(this,"pages",[]),__publicField(this,"loaderStack",t.ref([])),__publicField(this,"currentPlatformNo",t.ref("")),__publicField(this,"doLoaded",(e=>{const t=this.loaderStack.value.find((t=>t.platformNo==e));this.utilities.isNull(t)||(t.isloaded=!0,this.ctx.emit("loaded",t))})),__publicField(this,"loadPlatform",((e,t)=>{if(this.currentPlatformNo.value=t,-1!=this.loaderStack.value.findIndex((e=>e.platformNo==t)))return;if(!e)return;const o=this.isLocal(e,t);this.loaderStack.value.push({url:e,platformNo:t,isloaded:!!o,isLocal:o})})),__publicField(this,"pushPage",((e,t,o,s)=>{this.pages.push({path:e,loadMode:t,param:o,operates:s,component:void 0});const i={platformNo:this.currentPlatformNo.value,path:e,loadMode:t,param:o,operates:s};h.emit("pushPage",i)})),__publicField(this,"clearAllPage",(()=>{this.pages=[];const e={platformNo:this.currentPlatformNo.value};h.emit("clearAllPage",e)})),__publicField(this,"closePage",(e=>{const t=this.pages.findIndex((t=>t.path==e));this.pages.splice(t,1);const o={platformNo:this.currentPlatformNo.value,path:e};h.emit("closePage",o)})),__publicField(this,"activePage",(e=>{const t={platformNo:this.currentPlatformNo.value,path:e};h.emit("activePage",t)})),__publicField(this,"closePageByCommand",(e=>{const t={platformNo:this.currentPlatformNo.value,command:e};h.emit("closePageByCommand",t)})),this.props=e,this.ctx=o,this.useBusinessLoader()}useBusinessLoader(){t.onMounted((()=>{})),t.onUnmounted((()=>{}))}isLocal(e,t){if(!e)return!0;if(t==this.storageInfo.getPlatformNo())return!0;const o=new URL(e),s=new URL(location.href);return o.host==s.host&&o.port==s.host}};const ee={class:"loader-manage"};const te=_(Y,[["render",function(e,o,s,i,a,n){const r=t.resolveComponent("LocalLoader"),l=t.resolveComponent("WebLoader");return t.openBlock(),t.createElementBlock("div",ee,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.loaderStack,(o=>t.withDirectives((t.openBlock(),t.createElementBlock("div",{key:o.platformNo,class:"loader-manage_content"},[o.isLocal?(t.openBlock(),t.createBlock(r,{key:0,loaderInfor:o},null,8,["loaderInfor"])):(t.openBlock(),t.createBlock(l,{key:1,loaderInfor:o,onLoaded:e.doLoaded},null,8,["loaderInfor","onLoaded"]))],512)),[[t.vShow,o.platformNo==e.currentPlatformNo]]))),128))])}],["__scopeId","data-v-ee346895"]]);t.defineComponent({name:"LoaderManage",components:{LocalLoader:j,WebLoader:X},emits:["loaded"],props:{},setup:(e,t)=>new oe(e,t)});class oe extends m{constructor(e,o){super(),__publicField(this,"props"),__publicField(this,"ctx"),__publicField(this,"pages",[]),__publicField(this,"loaderStack",t.ref([])),__publicField(this,"currentPlatformNo",t.ref("")),__publicField(this,"doLoaded",(e=>{const t=this.loaderStack.value.find((t=>t.platformNo==e));this.utilities.isNull(t)||(t.isloaded=!0,this.ctx.emit("loaded",t))})),__publicField(this,"loadPlatform",((e,t)=>{if(this.currentPlatformNo.value=t,-1!=this.loaderStack.value.findIndex((e=>e.platformNo==t)))return;if(!e)return;const o=this.isLocal(e,t);this.loaderStack.value.push({url:e,platformNo:t,isloaded:!!o,isLocal:o})})),__publicField(this,"pushPage",((e,t,o,s)=>{this.pages.push({path:e,loadMode:t,param:o,operates:s,component:void 0});const i={platformNo:this.currentPlatformNo.value,path:e,loadMode:t,param:o,operates:s};h.emit("pushPage",i)})),__publicField(this,"clearAllPage",(()=>{this.pages=[];const e={platformNo:this.currentPlatformNo.value};h.emit("clearAllPage",e)})),__publicField(this,"closePage",(e=>{const t=this.pages.findIndex((t=>t.path==e));this.pages.splice(t,1);const o={platformNo:this.currentPlatformNo.value,path:e};h.emit("closePage",o)})),__publicField(this,"activePage",(e=>{const t={platformNo:this.currentPlatformNo.value,path:e};h.emit("activePage",t)})),__publicField(this,"closePageByCommand",(e=>{const t={platformNo:this.currentPlatformNo.value,command:e};h.emit("closePageByCommand",t)})),this.props=e,this.ctx=o,this.useBusinessLoader()}useBusinessLoader(){t.onMounted((()=>{})),t.onUnmounted((()=>{}))}isLocal(e,t){if(!e)return!0;if(t==this.storageInfo.getPlatformNo())return!0;const o=new URL(e),s=new URL(location.href);return o.host==s.host&&o.port==s.host}}e.BaseInstance=m,e.FreeLoginCenter=V,e.LinkMain=y,e.LoaderManage=te,e.LoaderManageInstance=oe,e.MessageInstance=c,e.ModalInstance=u,e.Root=I,e.initWeb=function(e,t,a,n){z=n,e.use(o),e.use(r),(e=>{e.directive("focus",{mounted(e){e.focus(),e.select()}})})(e),i.storageInfo.setPlatformNo(t),i.storageInfo.setMenuComponts(a),l.interceptors.request.use((function(e){const t=i.storageInfo.getToken();!s.utilities.isNull(t)&&s.utilities.isNull(e.headers.Authorization)&&(e.headers.Authorization="Bearer "+t);const o=i.storageInfo.getPlatformNo();s.utilities.isNull(o)||(e.headers.PlatformNo=o);const a=i.storageInfo.getCurrentPlatform();s.utilities.isNull(a)||(e.headers.PlatformId=a.Id,e.headers.PlatformName=encodeURI(a.PlatformName));const n=i.storageInfo.getUser();s.utilities.isNull(n)||(e.headers.UserId=n.Id,e.headers.UserName=encodeURI(`${n.UserName}(${n.Account})`));const r=i.storageInfo.getCurrentModule();return s.utilities.isNull(r)||(e.headers.MenuId=r.Id,e.headers.MenuName=encodeURI(r.ModuleName),e.headers.MenuPath=encodeURI(r.ModuleUrl)),e}),(function(e){return Promise.reject(e)})),l.interceptors.response.use((function(e){return e}),(function(e){return e.response&&e.response.data&&"401"==e.response.data.code?(i.storageInfo.removeAll(),z.push("/Login")):i.openObserve.error("请求异常",e),Promise.reject(e)})),function(){const e=window;if(s.utilities.isNull(e.openObserveOption))return;const t=e.openObserveOption;i.openObserve.init(t)}(),i.openObserve.info(`${t} 初始化完成`,{platformNo:t})},e.message=d,e.modal=p,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})}));
1
+ var __defProp=Object.defineProperty,__defNormalProp=(e,t,o)=>t in e?__defProp(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,__publicField=(e,t,o)=>(__defNormalProp(e,"symbol"!=typeof t?t+"":t,o),o);!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("vue"),require("view-ui-plus"),require("@newview/tools"),require("@newview/infrastructure"),require("mitt"),require("vue-router"),require("vxe-table"),require("axios")):"function"==typeof define&&define.amd?define(["exports","vue","view-ui-plus","@newview/tools","@newview/infrastructure","mitt","vue-router","vxe-table","axios"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).BaseVue={},e.Vue,e.viewUiPlus,e.tools$1,e.infrastructure,e.mitt,e.VueRouter,e.VxeTable,e.axios)}(this,(function(e,t,o,s,i,a,l,n,r){"use strict";class c{constructor(){__publicField(this,"info",(e=>{o.Message.info(e)})),__publicField(this,"success",(e=>{o.Message.success(e)})),__publicField(this,"warning",(e=>{o.Message.warning(e)})),__publicField(this,"error",(e=>{o.Message.error(e)}))}}const d=new c;class p{constructor(){__publicField(this,"zIndex",1e4),__publicField(this,"confirm",(e=>{e["z-index"]=this.zIndex,o.Modal.confirm(e)})),__publicField(this,"info",(e=>{e["z-index"]=this.zIndex,o.Modal.info(e)})),__publicField(this,"success",(e=>{e["z-index"]=this.zIndex,o.Modal.success(e)})),__publicField(this,"warning",(e=>{e["z-index"]=this.zIndex,o.Modal.warning(e)})),__publicField(this,"error",(e=>{e["z-index"]=this.zIndex,o.Modal.error(e)}))}}const u=new p,h=a();class f{constructor(){__publicField(this,"utilities",new s.Utilities),__publicField(this,"storageInfo",i.storageInfo)}getEnterBIMParam(e){var t,o;return e+this.utilities.stringHelper.encryptAES(JSON.stringify({token:this.storageInfo.getToken(),userId:null==(t=this.storageInfo.getUser())?void 0:t.Id,projectId:null==(o=this.storageInfo.getCurrentPlatform())?void 0:o.Id}),"d2140707ca3a469c8527e546fe961276")}}class m{constructor(){__publicField(this,"message",new c),__publicField(this,"modal",new p),__publicField(this,"utilities",new s.Utilities),__publicField(this,"storageInfo",i.storageInfo),__publicField(this,"openObserve",i.openObserve),__publicField(this,"bus",h),__publicField(this,"OtherCommon",new f),__publicField(this,"doInputControl",(e=>{this.utilities.isNull(e)||(e.target.readOnly=!1)}))}}const g={count:{type:Number,default:0}},v=t.defineComponent({name:"Root",components:{},emits:[""],props:g,setup:(e,t)=>new P(e,t)});class P extends m{constructor(e,t){super(),__publicField(this,"props"),__publicField(this,"ctx"),__publicField(this,"router"),this.props=e,this.ctx=t,this.useRoot()}useRoot(){this.router=l.useRouter(),this.goPage()}goPage(){const e=this.getQueryString("linkMain");if(!this.utilities.isNull(e))return void this.router.replace("/LinkMain");const t=this.storageInfo.getToken();this.utilities.isNull(t)?this.router.replace("/Login"):this.router.replace(this.storageInfo.getCurrentDefaultPath())}getQueryString(e){let t=window.location.href.indexOf("?"),o=window.location.href.substring(t+1,window.location.href.length).split("&");for(const s of o){let t=s.split("=");if(t[0]==e)return t[1]}return""}}const _=(e,t)=>{const o=e.__vccOpts||e;for(const[s,i]of t)o[s]=i;return o},N={class:"root"};const M=_(v,[["render",function(e,o,s,i,a,l){return t.openBlock(),t.createElementBlock("div",N)}],["__scopeId","data-v-b392b4ac"]]),b={tabPage:{type:Object,default:()=>({})}},F=t.defineComponent({name:"LinkPanel",components:{},emits:[""],props:b,setup:(e,t)=>new I(e,t)});class I extends m{constructor(e,o){super(),__publicField(this,"props"),__publicField(this,"ctx"),__publicField(this,"loading",t.ref(!0)),__publicField(this,"ifrPanel",t.ref()),this.props=e,this.ctx=o,this.useLinkPanel()}useLinkPanel(){t.onMounted((()=>{this.bindLoadEvent()}))}bindLoadEvent(){const e=this.ifrPanel.value;e.attachEvent?e.attachEvent("onload",(()=>{this.doLoaded(e)})):e.onload=()=>{this.doLoaded(e)}}doLoaded(e){this.loading.value=!1,setTimeout((()=>{const t={token:this.storageInfo.getToken(),user:JSON.stringify(this.storageInfo.getUser()),currentPlatform:JSON.stringify(this.storageInfo.getCurrentPlatform()),currentBusiness:JSON.stringify(this.storageInfo.getCurrentBusiness()),currentModule:JSON.stringify(this.storageInfo.getCurrentModule())};e.contentWindow.postMessage(t,"*")}),20)}}const k={class:"link-panel"},B=["src","title"];const E=_(F,[["render",function(e,o,s,i,a,l){const n=t.resolveComponent("Spin");return t.openBlock(),t.createElementBlock("div",k,[t.withDirectives(t.createElementVNode("iframe",{src:e.tabPage.path,class:"link-ifr",title:e.tabPage.path,ref:"ifrPanel"},null,8,B),[[t.vShow,!e.loading]]),t.createVNode(n,{size:"large",fix:"",show:e.loading},null,8,["show"])])}],["__scopeId","data-v-37023fbf"]]),w=t.defineComponent({name:"noFondPage",components:{},emits:[""],props:{},setup:(e,t)=>new z(e,t)});let z=class extends m{constructor(e,t){super(),__publicField(this,"props"),__publicField(this,"ctx"),this.props=e,this.ctx=t}};const C={class:"nv-flex-col nv-full",style:{"font-size":"30px",color:"#ccc","align-items":"center","justify-content":"center"}},L=[t.createElementVNode("svg",{t:"1628837319071",class:"icon",viewBox:"0 0 2538 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"8648",width:"600"},[t.createElementVNode("path",{d:"M127.82465799 723.813699h2085.873972c35.068493 0 63.824658-29.457534 63.824658-65.227398 0-36.471233-28.756164-65.227397-63.824658-65.227397H127.82465799c-35.068493 0-63.824658 29.457534-63.824658 65.227397 0 36.471233 28.756164 65.227397 63.824658 65.227398zM453.96164399 953.863014h301.589041c20.339726 0 37.172603-16.832877 37.172603-37.873973 0-21.041096-16.832877-37.873973-37.172603-37.873973h-301.589041c-20.339726 0-37.172603 16.832877-37.172603 37.873973 0.70137 21.041096 16.832877 37.873973 37.172603 37.873973zM2325.21643799 650.871233h247.583562c16.832877 0 30.158904-14.027397 30.158904-31.561644s-13.326027-31.561644-30.158904-31.561644h-247.583562c-16.832877 0-30.158904 14.027397-30.158904 31.561644s13.326027 31.561644 30.158904 31.561644z",fill:"#EBF7FF","p-id":"8649"}),t.createElementVNode("path",{d:"M210.58630099 848.657534h2186.169863c36.471233 0 65.227397-29.457534 65.227398-65.227397 0-36.471233-29.457534-65.227397-65.227398-65.227397H210.58630099c-36.471233 0-65.227397 29.457534-65.227397 65.227397-0.70137 35.769863 28.756164 65.227397 65.227397 65.227397z",fill:"#EBF7FF","p-id":"8650"}),t.createElementVNode("path",{d:"M1040.59908632 335.254795h-16.131506V152.19726c0-37.873973 1.40274-60.317808 4.208219-93.282192H912.94977132c-14.728767 21.742466-25.249315 35.769863-52.602739 67.331507L738.30867532 268.624658c-28.756164 33.665753-28.756164 33.665753-54.005479 61.720547v100.997261c21.041096-1.40274 36.471233-2.10411 73.643836-2.10411h159.912328v27.353425c0 27.353425-1.40274 51.2-4.208219 70.136986h116.427397c-3.506849-21.742466-4.208219-37.873973-4.208219-69.435616v-28.054795h16.832877c17.534247 0 38.575342 1.40274 55.408219 3.506849V330.345205c-21.041096 2.805479-39.978082 4.909589-57.512329 4.90959z m-122.739726-64.526028v65.227397h-114.323287l82.060274-100.29589c15.430137-18.936986 23.846575-30.158904 35.068493-46.290411-2.10411 25.249315-2.805479 56.109589-2.80548 81.358904zM1504.90593632 163.419178c-8.416438-22.443836-22.443836-44.186301-41.380822-62.421918-34.367123-33.665753-82.060274-52.60274-137.468493-52.602739-70.838356 0-129.753425 31.561644-164.120548 89.073972-21.742466 35.769863-35.769863 96.789041-35.769863 155.70411 0 45.589041 7.013699 89.073973 21.742465 129.052055 8.416438 22.443836 22.443836 44.186301 41.380822 62.421917 34.367123 34.367123 81.358904 52.60274 136.767124 52.60274 71.539726 0 131.156164-31.561644 164.821917-87.671233 21.742466-35.769863 35.769863-97.490411 35.769863-156.405479 0.70137-46.290411-7.013699-89.775342-21.742465-129.753425zM1327.45936032 441.863014c-56.109589 0-84.865753-51.90137-84.865753-152.89863 0-91.879452 30.860274-145.183562 84.164384-145.183562 54.706849 0 84.164384 50.49863 84.164383 147.287671 0 99.594521-28.054795 150.794521-83.463014 150.794521zM1913.10319632 335.254795h-16.131507V152.19726c0-37.873973 1.40274-60.317808 4.208219-93.282192h-115.726027c-14.728767 21.742466-25.249315 35.769863-52.60274 67.331507l-122.739726 143.079452c-28.756164 33.665753-28.756164 33.665753-54.005479 61.720548v100.997261c21.041096-1.40274 36.471233-2.10411 73.643835-2.10411H1789.66210032v27.353425c0 27.353425-1.40274 51.2-4.208219 70.136986H1901.88127832c-3.506849-21.742466-4.208219-37.873973-4.208219-69.435616v-28.054795h16.832877c17.534247 0 38.575342 1.40274 55.408219 3.506849V330.345205c-20.339726 2.805479-39.276712 4.909589-56.810959 4.90959z m-122.739726-64.526028v65.227397h-114.323288l82.060274-100.29589c15.430137-18.936986 23.846575-30.158904 35.068493-46.290411-2.10411 25.249315-2.805479 56.109589-2.805479 81.358904zM2298.15525132 537.950685l-257.40274-0.70137V280.547945c142.378082 0 257.40274 115.024658 257.40274 257.40274zM234.72511432 537.950685c0-206.90411 167.627397-374.531507 375.232877-374.531507v373.128767l-375.232877 1.40274z",fill:"#CFF0FF","p-id":"8651"}),t.createElementVNode("path",{d:"M952.460274 740.646575c42.082192-8.416438 73.643836-25.950685 71.539726-39.978082-2.805479-14.027397-39.276712-18.936986-81.358904-10.520548s-73.643836 25.950685-71.539726 39.978082m176.043835-142.378082c42.082192-8.416438 73.643836-25.950685 71.539727-39.978082-2.805479-14.027397-39.276712-18.936986-81.358905-10.520548-42.082192 8.416438-73.643836 25.950685-71.539726 39.978082m758.180822 218.126028c24.547945-9.117808 40.679452-21.041096 38.575343-31.561644-2.805479-14.027397-39.276712-18.936986-81.358904-10.520548-42.082192 8.416438-73.643836 25.950685-71.539726 39.978082m394.169863-49.79726c24.547945-9.117808 40.679452-21.041096 38.575342-31.561644-2.805479-14.027397-39.276712-18.936986-81.358904-10.520548-42.082192 8.416438-73.643836 25.950685-71.539726 39.978082m124.142466-75.747945c42.082192-8.416438 73.643836-25.950685 71.539726-39.978082-2.805479-14.027397-39.276712-18.936986-81.358904-10.520548-42.082192 8.416438-73.643836 25.950685-71.539726 39.978082",fill:"#396B99","p-id":"8652"}),t.createElementVNode("path",{d:"M1069.589041 590.553425c0-88.372603-71.539726-159.912329-159.912329-159.912329s-159.912329 71.539726-159.912328 159.912329",fill:"#F9DA3E","p-id":"8653"}),t.createElementVNode("path",{d:"M573.019178 318.421918l204.8 204.8-31.561644 31.561644-204.8-204.8 31.561644-31.561644z m-61.720548 58.915068L716.09863 582.136986l-31.561644 31.561644-204.8-204.8 31.561644-31.561644z m-63.123288 61.019178l204.8 204.8-31.561643 31.561644L416.613699 469.917808l31.561643-31.561644z m-61.019178 61.019178l204.8 204.8-31.561643 31.561644-204.8-204.8 31.561643-31.561644z m-51.901369 70.838357L540.054795 775.013699l-31.561644 31.561643-204.8-204.8 31.561644-31.561643z",fill:"#CFF0FF","p-id":"8654"}),t.createElementVNode("path",{d:"M2054.89680366 665.6c0-129.753425-105.205479-234.958904-234.958904-234.958904s-234.958904 105.205479-234.958904 234.958904",fill:"#568EC8","p-id":"8655"}),t.createElementVNode("path",{d:"M1102.553425 616.50411c0-28.756164-23.846575-51.90137-52.60274-51.90137-29.457534 0-52.60274 23.145205-52.60274 51.90137m509.895891-37.873973c0-37.873973-30.860274-68.032877-69.435617-68.032877s-69.435616 30.860274-69.435616 68.032877",fill:"#396B99","p-id":"8656"}),t.createElementVNode("path",{d:"M1643.309589 741.347945c0-82.761644-68.734247-150.794521-152.89863-150.79452s-152.89863 67.331507-152.89863 150.79452",fill:"#78C5FD","p-id":"8657"}),t.createElementVNode("path",{d:"M1723.265753 795.353425c0-44.186301-35.769863-79.956164-79.956164-79.956165s-79.956164 35.769863-79.956164 79.956165",fill:"#396B99","p-id":"8658"}),t.createElementVNode("path",{d:"M651.572603 791.145205l-152.197261 0.70137c0-124.142466 100.29589-184.460274 224.438357-184.460274v138.871233",fill:"#0E1D80","fill-opacity":".1","p-id":"8659"}),t.createElementVNode("path",{d:"M449.16894933 791.846575c0-124.142466 100.29589-224.438356 224.438357-224.438356v223.736986",fill:"#78C5FD","p-id":"8660"}),t.createElementVNode("path",{d:"M1997.50137 744.854795c0-79.956164-64.526027-144.482192-144.482192-144.482192v143.780822",fill:"#F9DA3E","p-id":"8661"}),t.createElementVNode("path",{d:"M1798.312329 627.726027c0 6.312329 4.208219 11.221918 9.117808 11.221918s9.117808-4.909589 9.117808-11.221918-4.208219-11.221918-9.117808-11.221917-9.117808 4.909589-9.117808 11.221917zM1763.243836 627.726027c0 6.312329 4.208219 11.221918 9.117808 11.221918 4.909589 0 9.117808-4.909589 9.117808-11.221918s-4.208219-11.221918-9.117808-11.221917c-4.909589 0-9.117808 4.909589-9.117808 11.221917zM1728.175342 627.726027c0 6.312329 4.208219 11.221918 9.117809 11.221918 4.909589 0 9.117808-4.909589 9.117808-11.221918 0-6.312329-4.208219-11.221918-9.117808-11.221917-4.909589 0-9.117808 4.909589-9.117809 11.221917zM1690.30137 627.726027c0 6.312329 4.208219 11.221918 9.117808 11.221918 4.909589 0 9.117808-4.909589 9.117808-11.221918s-4.208219-11.221918-9.117808-11.221917c-4.909589 0-9.117808 4.909589-9.117808 11.221917zM1655.232877 627.726027c0 6.312329 4.208219 11.221918 9.117808 11.221918 4.909589 0 9.117808-4.909589 9.117808-11.221918s-4.208219-11.221918-9.117808-11.221917c-4.909589 0-9.117808 4.909589-9.117808 11.221917zM1798.312329 594.761644c0 6.312329 4.208219 11.221918 9.117808 11.221918s9.117808-4.909589 9.117808-11.221918-4.208219-11.221918-9.117808-11.221918-9.117808 4.909589-9.117808 11.221918zM1763.243836 594.761644c0 6.312329 4.208219 11.221918 9.117808 11.221918 4.909589 0 9.117808-4.909589 9.117808-11.221918s-4.208219-11.221918-9.117808-11.221918c-4.909589 0-9.117808 4.909589-9.117808 11.221918zM1728.175342 594.761644c0 6.312329 4.208219 11.221918 9.117809 11.221918 4.909589 0 9.117808-4.909589 9.117808-11.221918 0-6.312329-4.208219-11.221918-9.117808-11.221918-4.909589 0-9.117808 4.909589-9.117809 11.221918zM1690.30137 594.761644c0 6.312329 4.208219 11.221918 9.117808 11.221918 4.909589 0 9.117808-4.909589 9.117808-11.221918s-4.208219-11.221918-9.117808-11.221918c-4.909589 0-9.117808 4.909589-9.117808 11.221918zM1798.312329 559.693151c0 6.312329 4.208219 11.221918 9.117808 11.221917s9.117808-4.909589 9.117808-11.221917-4.208219-11.221918-9.117808-11.221918-9.117808 4.909589-9.117808 11.221918zM1763.243836 559.693151c0 6.312329 4.208219 11.221918 9.117808 11.221917 4.909589 0 9.117808-4.909589 9.117808-11.221917s-4.208219-11.221918-9.117808-11.221918c-4.909589 0-9.117808 4.909589-9.117808 11.221918zM1728.175342 559.693151c0 6.312329 4.208219 11.221918 9.117809 11.221917 4.909589 0 9.117808-4.909589 9.117808-11.221917 0-6.312329-4.208219-11.221918-9.117808-11.221918-4.909589 0-9.117808 4.909589-9.117809 11.221918zM1798.312329 523.923288c0 6.312329 4.208219 11.221918 9.117808 11.221917s9.117808-4.909589 9.117808-11.221917-4.208219-11.221918-9.117808-11.221918-9.117808 5.610959-9.117808 11.221918zM1763.243836 523.923288c0 6.312329 4.208219 11.221918 9.117808 11.221917 4.909589 0 9.117808-4.909589 9.117808-11.221917s-4.208219-11.221918-9.117808-11.221918c-4.909589 0.70137-9.117808 5.610959-9.117808 11.221918zM1798.312329 488.854795c0 6.312329 4.909589 11.221918 11.221918 11.221917 6.312329 0 11.221918-4.909589 11.221917-11.221917s-4.909589-11.221918-11.221917-11.221918c-6.312329 0-11.221918 4.909589-11.221918 11.221918z",fill:"#CFF0FF","p-id":"8662"}),t.createElementVNode("path",{d:"M1077.30411 851.463014c0 18.936986 65.227397 34.367123 145.884931 34.367123s145.884932-15.430137 145.884932-34.367123-65.227397-34.367123-145.884932-34.367124-145.884932 15.430137-145.884931 34.367124z",fill:"#396B99","p-id":"8663"}),t.createElementVNode("path",{d:"M1173.391781 723.813699c11.221918 24.547945 0.70137 132.558904-2.80548 132.558904l-6.312328 0.70137-4.20822-52.60274s-12.624658-68.734247-13.326027-74.345206l18.235616-11.221917 8.416439 4.909589z",fill:"#396B99","p-id":"8664"}),t.createElementVNode("path",{d:"M1139.024658 718.20274l12.624657 11.221918c4.909589 0.70137-13.326027 120.635616-21.041096 125.545205l-6.312329-0.70137v-60.317808c0-11.923288-6.312329-51.90137-2.805479-71.539726",fill:"#396B99","p-id":"8665"}),t.createElementVNode("path",{d:"M1136.219178 640.350685l17.534247 4.909589-0.70137-10.520548-13.326028-10.520548c0 5.610959-3.506849 16.131507-3.506849 16.131507z",fill:"#FFE4A8","p-id":"8666"}),t.createElementVNode("path",{d:"M1153.753425 635.441096s-7.715068-4.909589-9.819178-7.715069c-5.610959-4.909589 8.416438-23.145205 13.326027-23.145205l11.923288 5.610959 2.805479 7.013698-2.104109 11.221918-3.50685-0.70137-5.610959 9.117809-7.013698-1.40274z",fill:"#FFE4A8","p-id":"8667"}),t.createElementVNode("path",{d:"M1171.989041 615.80274c-3.506849 0-14.728767-4.909589-14.728767-7.013699 0.70137 2.10411-3.506849 10.520548-7.013699 10.520548s-10.520548-9.117808-11.221917-3.506849c0.70137 1.40274 3.506849 15.430137 0 14.027397-14.027397-3.506849-8.416438-39.276712 18.235616-35.769863 36.471233 10.520548 18.235616 21.742466 14.728767 21.742466z",fill:"#396B99","p-id":"8668"}),t.createElementVNode("path",{d:"M1139.024658 622.816438c-2.805479-3.506849 0-10.520548 3.506849-10.520548 2.10411 0 4.909589 1.40274 5.610959 3.50685 2.805479 12.624658-4.208219 15.430137-9.117808 7.013698z",fill:"#FFE4A8","p-id":"8669"}),t.createElementVNode("path",{d:"M1162.871233 638.947945c4.208219 1.40274 9.117808 9.819178 9.117808 14.027397 0.70137 4.909589-0.70137 19.638356-0.70137 19.638357l18.936987-6.312329-0.70137 6.312329s-13.326027 9.819178-18.936987 11.923287c-2.10411 0.70137-5.610959 0-7.013698-0.70137-7.715068-4.208219-15.430137-19.638356-14.027398-30.860274 0-0.70137-2.10411-17.534247 13.326028-14.027397z",fill:"#78C5FD","p-id":"8670"}),t.createElementVNode("path",{d:"M1119.386301 739.243836c10.520548 7.013699 49.79726 7.013699 56.810959-0.70137 4.909589-17.534247-5.610959-89.073973-12.624657-95.386302 0-1.40274-9.117808-5.610959-9.117808-5.610959s-14.728767-5.610959-19.638357-2.805479c-7.715068 9.117808-23.145205 86.969863-15.430137 104.50411z",fill:"#568EC8","p-id":"8671"}),t.createElementVNode("path",{d:"M1109.567123 636.843836c-0.70137 3.506849 1.40274 4.208219 4.208219 5.610959 7.715068 3.506849 1.40274 21.041096-11.923287 35.068493-16.131507 16.832877 5.610959 47.693151 23.846575 33.665753 5.610959-4.208219 4.208219-16.832877 4.208219-16.832877v-48.39452l3.50685-2.10411 7.715068 4.208219c-4.909589 11.923288-4.909589 21.742466 0 24.547946 2.10411 1.40274 3.506849 1.40274 5.610959 0 0.70137-2.805479 4.208219-14.728767 1.40274-28.756165-4.909589-11.221918-37.172603-17.534247-38.575343-7.013698z",fill:"#396B99","p-id":"8672"}),t.createElementVNode("path",{d:"M1131.309589 641.753425c-19.638356 14.728767-9.117808 58.213699-3.506849 59.616438 11.221918 2.10411 37.172603-12.624658 37.172602-12.624658l-0.701369-5.610958-26.652055-0.70137s8.416438-31.561644 2.805479-38.575343c-1.40274-1.40274-4.208219-2.10411-9.117808-2.104109z",fill:"#78C5FD","p-id":"8673"}),t.createElementVNode("path",{d:"M1165.676712 667.00274c1.40274 2.10411 4.208219 2.10411 4.909589 0 0.70137 0-1.40274-27.353425-7.715068-29.457535-2.805479-2.10411-7.013699 0.70137-4.909589 2.10411 6.312329 1.40274 8.416438 28.756164 7.715068 27.353425z",fill:"#396B99","p-id":"8674"}),t.createElementVNode("path",{d:"M1190.926027 657.884932l-21.742465-3.50685-3.50685 39.276713 21.742466 3.506849 11.221918-3.506849 7.013699-42.783562-14.728768 7.013699z",fill:"#FFE4A8","p-id":"8675"}),t.createElementVNode("path",{d:"M1192.328767 657.884932l2.10411 0.701369-7.013699 39.276713-2.10411-0.70137 7.013699-39.276712z",fill:"#F49130","p-id":"8676"}),t.createElementVNode("path",{d:"M1172.690411 682.432877c1.40274 2.10411 0.70137 4.208219-1.40274 5.610959-1.40274 1.40274-7.013699 1.40274-7.715068 0.701369-1.40274-1.40274-2.805479-3.506849-2.10411-5.610958 0.70137-2.805479 9.117808-4.208219 11.221918-0.70137z",fill:"#FFE4A8","p-id":"8677"}),t.createElementVNode("path",{d:"M1143.934247 861.983562c1.40274-2.10411-7.715068-7.715068-12.624658-9.819178l-8.416438-0.70137c-0.70137 2.805479-4.909589 6.312329-3.50685 8.416438 2.10411 2.10411 22.443836 4.208219 24.547946 2.10411z m42.082191-2.10411c1.40274-2.10411-8.416438-5.610959-13.326027-7.013699l-8.416438-0.701369c-0.70137 2.10411-4.909589 4.909589-2.80548 7.013698 2.10411 2.10411 23.145205 2.805479 24.547945 0.70137zM1327.693151 859.879452c-3.506849 2.805479-25.249315 1.40274-26.652055 0-1.40274-1.40274 1.40274-9.819178 1.40274-9.819178h11.221917c0-0.70137 17.534247 6.312329 14.027398 9.819178z m-108.712329-7.013699c3.506849 0-1.40274-18.936986-1.40274-18.936986l-7.013698-6.312329s-8.416438 2.805479-8.416439 5.610959c-0.70137 2.805479 13.326027 19.638356 16.832877 19.638356z",fill:"#F49130","p-id":"8678"}),t.createElementVNode("path",{d:"M1279.29863 732.931507l23.846575-2.80548c7.715068 18.235616 11.923288 39.978082 13.326028 62.421918l-3.506849 58.915069-10.520548 2.805479-4.20822-54.706849c0.70137 0.70137-19.638356-39.276712-18.936986-66.630137z",fill:"#396B99","p-id":"8679"}),t.createElementVNode("path",{d:"M1247.736986 730.126027v58.915069l-38.575342 39.978082 6.312329 9.819178s46.991781-32.964384 56.810959-46.290411c4.208219-5.610959 14.027397-61.720548 14.027397-61.720548h-38.575343z",fill:"#396B99","p-id":"8680"}),t.createElementVNode("path",{d:"M1290.520548 630.531507l4.909589-2.80548s8.416438 7.715068 7.715068 9.117809-4.909589 4.208219-7.013698 0.701369c-2.10411-2.805479-5.610959-7.013699-5.610959-7.013698z",fill:"#FFE4A8","p-id":"8681"}),t.createElementVNode("path",{d:"M1295.430137 637.545205l8.416438-1.402739s8.416438 12.624658 7.013699 16.832876c-1.40274 4.208219-16.131507 15.430137-16.131507 15.430137l-8.416438-11.923287 12.624657-8.416439-3.506849-10.520548z",fill:"#78C5FD","p-id":"8682"}),t.createElementVNode("path",{d:"M1263.868493 645.260274l18.936986 4.909589-1.402739-11.923288-16.131507-9.819178-1.40274 16.832877z",fill:"#FFE4A8","p-id":"8683"}),t.createElementVNode("path",{d:"M1293.326027 675.419178c1.40274 2.10411 4.208219 2.10411 4.909589 0 0.70137 0-1.40274-26.652055-7.715068-29.457534-2.805479-2.10411-7.013699 0.70137-4.909589 2.104109 6.312329 1.40274 9.117808 28.054795 7.715068 27.353425z",fill:"#396B99","p-id":"8684"}),t.createElementVNode("path",{d:"M1264.569863 643.857534c4.208219-1.40274 21.041096 2.10411 23.145205 4.208219 2.10411 2.10411 9.819178 21.041096 11.923288 28.756165 5.610959 17.534247 16.832877 65.928767 12.624658 70.838356-4.208219 5.610959-58.213699 7.013699-65.928767 2.805479-6.312329-3.506849-2.10411-61.019178 2.805479-80.657534 2.805479-7.715068 10.520548-24.547945 15.430137-25.950685z",fill:"#568EC8","p-id":"8685"}),t.createElementVNode("path",{d:"M1218.279452 799.561644c-0.70137-0.70137-0.70137-1.40274 0-2.10411l101.69863-105.205479c0.70137-0.70137 1.40274-0.70137 2.10411 0 0.70137 0.70137 0.70137 1.40274 0 2.104109L1220.383562 799.561644h-2.10411z",fill:"#1B5A89","p-id":"8686"}),t.createElementVNode("path",{d:"M1279.29863 704.876712h23.846575l0.70137 6.312329-24.547945 3.506849v-9.819178z",fill:"#FFE4A8","p-id":"8687"}),t.createElementVNode("path",{d:"M1237.917808 648.065753c-0.70137 3.506849 1.40274 4.909589 4.909589 6.312329 9.117808 3.506849 2.10411 23.846575-12.624657 38.575343-17.534247 18.936986 7.715068 52.60274 27.353424 37.172602 6.312329-4.909589 4.208219-18.235616 4.20822-18.235616l-1.40274-53.30411 3.506849-2.805479 9.117808 4.208219c-4.909589 13.326027-4.909589 23.846575 0.70137 27.353425 2.10411 1.40274 3.506849 1.40274 5.610959 0 1.40274-3.506849 4.208219-16.131507 1.40274-31.561644-5.610959-14.027397-41.380822-19.638356-42.783562-7.715069z",fill:"#396B99","p-id":"8688"}),t.createElementVNode("path",{d:"M1261.764384 652.273973c-6.312329 5.610959-9.117808 16.131507-11.221918 27.353424-2.805479 31.561644 7.013699 40.679452 11.221918 40.679452 4.208219 0 22.443836-2.805479 22.443835-2.805479l-0.70137-12.624658-16.131507-0.70137s8.416438-21.742466 7.013699-39.978082c0-4.909589-4.208219-15.430137-12.624657-11.923287z",fill:"#78C5FD","p-id":"8689"}),t.createElementVNode("path",{d:"M1310.860274 701.369863c2.10411 0.70137 2.10411 3.506849 2.10411 3.506849-0.70137 2.10411-4.208219 7.715068-6.312329 7.715069-2.10411 0-7.715068-2.10411-4.909589-5.610959 2.10411-4.208219 7.013699-6.312329 9.117808-5.610959z m-24.547945-58.915068l5.610959-9.117809 4.208219-0.70137-1.40274-18.235616-13.326027-9.117808-16.131507 9.117808-0.70137 18.936986c6.312329 7.715068 21.742466 9.117808 21.742466 9.117809z",fill:"#FFE4A8","p-id":"8690"}),t.createElementVNode("path",{d:"M1274.389041 596.865753c7.715068-1.40274 16.131507-0.70137 20.339726 3.50685 4.208219 4.208219 6.312329 11.923288 0 16.131507-7.013699 0.70137-7.715068 2.805479-14.728767-0.70137 0 0-0.70137 3.506849-2.805479 6.312328-2.10411 3.506849-8.416438 1.40274-8.416439 1.40274s0 9.819178-7.013698 9.819178c-12.624658-1.40274-9.117808-30.860274 12.624657-36.471233z",fill:"#396B99","p-id":"8691"}),t.createElementVNode("path",{d:"M1275.090411 625.621918c0-2.10411 0-4.909589-2.10411-5.610959-2.805479-2.10411-5.610959 0-5.610959 2.805479-0.70137 2.805479 1.40274 5.610959 3.50685 6.312329 2.10411 1.40274 4.208219-0.70137 4.208219-3.506849z",fill:"#FFDB73","p-id":"8692"})],-1),t.createElementVNode("div",{style:{"margin-top":"30px"}},"抱歉,该功能暂未开放,请联系管理员",-1)];const x=_(w,[["render",function(e,o,s,i,a,l){return t.openBlock(),t.createElementBlock("div",C,L)}]]),V=t.defineComponent({name:"LinkMain",components:{LinkPanel:E},emits:[""],props:{},setup:(e,t)=>new y(e,t)});class y extends m{constructor(e,o){super(),__publicField(this,"props"),__publicField(this,"ctx"),__publicField(this,"pages",t.ref([])),__publicField(this,"activePath",t.ref("")),this.props=e,this.ctx=o,this.useLinkMain()}useLinkMain(){const e=e=>{this.receiveMessage(e)};window.addEventListener("message",e),t.onUnmounted((()=>{window.removeEventListener("message",e)}))}receiveMessage(e){if(e.source!=window.parent.window.parent)return;const t=e.data;switch(t.command){case"initStorageInfo":this.initStorageInfo(t.data);break;case"pushPage":this.pushPage(t.data);break;case"clearAllPage":this.clearAllPage(t.data);break;case"closePage":this.closePage(t.data);break;case"activePage":this.activePage(t.data);break;case"closePageByCommand":this.closePageByCommand(t.data)}}initStorageInfo(e){const t=e.token,o=this.utilities.isNull(e.user)?void 0:JSON.parse(e.user),s=this.utilities.isNull(e.currentPlatform)?void 0:JSON.parse(e.currentPlatform),i=this.utilities.isNull(e.currentBusiness)?void 0:JSON.parse(e.currentBusiness),a=this.utilities.isNull(e.currentModule)?void 0:JSON.parse(e.currentModule);this.storageInfo.setToken(t),this.storageInfo.setUser(o),this.storageInfo.setCurrentPlatform(s),this.storageInfo.setCurrentBusiness(i),this.storageInfo.setCurrentModule(a)}pushPage(e){let o;if(0==e.loadMode){const s=this.storageInfo.getMenuComponts().find((t=>t.path==e.path));o=s?"function"==typeof s.component?t.shallowRef(s.component()):t.shallowRef(s.component):t.shallowRef(x)}this.pages.value.push({path:e.path,loadMode:e.loadMode,param:e.param,operates:e.operates,component:o})}clearAllPage(e){this.pages.value=[]}closePage(e){const t=this.pages.value.findIndex((t=>t.path==e.path));this.pages.value.splice(t,1)}activePage(e){this.activePath.value=e.path}closePageByCommand(e){const t=this.pages.value.findIndex((e=>e.path==this.activePath.value));switch(e.command){case"left":if(0==t||1==t)return;this.pages.value.splice(1,t-1);break;case"right":if(t==this.pages.value.length-1)return;this.pages.value.splice(t+1);break;case"other":const e=this.pages.value.findIndex((e=>e.path==this.activePath.value)),o=this.pages.value[0];if(0==e)this.pages.value=[o];else{const t=this.pages.value[e];this.pages.value=[o,t]}break;case"all":this.pages.value.splice(1)}}}const S={class:"line-main"};const A=_(V,[["render",function(e,o,s,i,a,l){const n=t.resolveComponent("LinkPanel");return t.openBlock(),t.createElementBlock("div",S,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.pages,(o=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:o.path},[0==o.loadMode?t.withDirectives((t.openBlock(),t.createBlock(t.resolveDynamicComponent(o.component),{key:0,linkParam:o.param,operates:o.operates},null,8,["linkParam","operates"])),[[t.vShow,o.path==e.activePath]]):t.createCommentVNode("",!0),1==o.loadMode?t.withDirectives((t.openBlock(),t.createBlock(n,{key:1,tabPage:o},null,8,["tabPage"])),[[t.vShow,o.path==e.activePath]]):t.createCommentVNode("",!0)],64)))),128))])}],["__scopeId","data-v-026a2cc9"]]),O=t.defineComponent({name:"FreeLoginCenter",components:{},emits:[""],props:{},setup:(e,t)=>new U(e,t)});class U extends m{constructor(e,o){super(),__publicField(this,"props"),__publicField(this,"ctx"),__publicField(this,"router"),__publicField(this,"errTip",t.ref("")),this.props=e,this.ctx=o,this.router=l.useRouter(),this.init()}async init(){let e=this.getRequestParam();if(e&&e.u&&e.t){let t=this.utilities.parseApiResult(await i.request(`/PermissionApi/ThirdOAuth/OAuthByToken?account=${decodeURIComponent(e.u)}&token=${decodeURIComponent(e.t)}`,{method:"post",data:{}}));if(t&&t.Token){this.storageInfo.setToken(t.Token),this.storageInfo.setUser(t.User),this.storageInfo.setPlatforms(t.Platforms),localStorage.setItem("needChangePsw",t.NeedChangePsw);const e=this.storageInfo.getPlatforms();if(!this.utilities.isNull(e)&&e.length>0){const t=e.find((e=>e.PlatformNo==this.storageInfo.getPlatformNo()));this.storageInfo.setCurrentPlatform(this.utilities.isNull(t)?e[0]:t)}const o=this.storageInfo.getCurrentPlatform();!this.utilities.isNull(o)&&o.Modules.length>0&&this.storageInfo.setCurrentBusiness(o.Modules[0]),this.router.replace("/")}else this.errLogin()}else this.errLogin()}errLogin(){this.router.replace("/Login")}getRequestParam(){let e=window.location.href.split("?")[1];if(!e)return!1;let t={};return e.split("&").forEach((e=>{0==e.indexOf("u=")?t.u=e.replace("u=",""):0==e.indexOf("t=")&&(t.t=e.replace("t=",""))})),t}}const R=e=>(t.pushScopeId("data-v-08b85823"),e=e(),t.popScopeId(),e),D={class:"nv-full nv-pos-a"},T={key:0,style:{"text-align":"center","padding-top":"20%","font-size":"25px"}},q={key:1,class:"loader"},J=[R((()=>t.createElementVNode("div",{class:"loader-inner line-scale"},[t.createElementVNode("div"),t.createElementVNode("div"),t.createElementVNode("div"),t.createElementVNode("div"),t.createElementVNode("div")],-1))),R((()=>t.createElementVNode("div",null,"正在初始化数据,请稍候...",-1)))];const j=_(O,[["render",function(e,o,s,i,a,l){return t.openBlock(),t.createElementBlock("div",D,[e.errTip?(t.openBlock(),t.createElementBlock("div",T,t.toDisplayString(e.errTip),1)):(t.openBlock(),t.createElementBlock("div",q,J))])}],["__scopeId","data-v-08b85823"]]);let W;const H={loaderInfor:{type:Object,default:()=>({})}},$=t.defineComponent({name:"LocalLoader",components:{LinkPanel:E},emits:[""],props:H,setup:(e,t)=>new Q(e,t)});class Q extends m{constructor(e,o){super(),__publicField(this,"props"),__publicField(this,"ctx"),__publicField(this,"pages",t.ref([])),__publicField(this,"activePath",t.ref("")),this.props=e,this.ctx=o,this.useBusiness()}useBusiness(){t.onMounted((()=>{})),t.onUnmounted((()=>{h.off("pushPage"),h.off("clearAllPage"),h.off("closePage"),h.off("activePage"),h.off("closePageByCommand")})),h.on("pushPage",(e=>{this.pushPage(e)})),h.on("clearAllPage",(e=>{this.clearAllPage(e)})),h.on("closePage",(e=>{this.closePage(e)})),h.on("activePage",(e=>{this.activePage(e)})),h.on("closePageByCommand",(e=>{this.closePageByCommand(e)}))}pushPage(e){if(e.platformNo!=this.props.loaderInfor.platformNo)return;let o;if(0==e.loadMode){const s=this.storageInfo.getMenuComponts().find((t=>t.path==e.path));o=s?"function"==typeof s.component?t.shallowRef(s.component()):t.shallowRef(s.component):t.shallowRef(x)}this.pages.value.push({path:e.path,loadMode:e.loadMode,param:e.param,operates:e.operates,component:o})}clearAllPage(e){e.platformNo==this.props.loaderInfor.platformNo&&(this.pages.value=[])}closePage(e){if(e.platformNo!=this.props.loaderInfor.platformNo)return;const t=this.pages.value.findIndex((t=>t.path==e.path));this.pages.value.splice(t,1)}activePage(e){e.platformNo==this.props.loaderInfor.platformNo&&(this.activePath.value=e.path)}closePageByCommand(e){if(e.platformNo!=this.props.loaderInfor.platformNo)return;const t=this.pages.value.findIndex((e=>e.path==this.activePath.value));switch(e.command){case"left":if(0==t||1==t)return;this.pages.value.splice(1,t-1);break;case"right":if(t==this.pages.value.length-1)return;this.pages.value.splice(t+1);break;case"other":const e=this.pages.value.findIndex((e=>e.path==this.activePath.value)),o=this.pages.value[0];if(0==e)this.pages.value=[o];else{const t=this.pages.value[e];this.pages.value=[o,t]}break;case"all":this.pages.value.splice(1)}}}const G={class:"local-loader"};const K=_($,[["render",function(e,o,s,i,a,l){const n=t.resolveComponent("LinkPanel");return t.openBlock(),t.createElementBlock("div",G,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.pages,(o=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:o.path},[0==o.loadMode?t.withDirectives((t.openBlock(),t.createBlock(t.resolveDynamicComponent(o.component),{key:0,linkParam:o.param,operates:o.operates},null,8,["linkParam","operates"])),[[t.vShow,o.path==e.activePath]]):t.createCommentVNode("",!0),1==o.loadMode?t.withDirectives((t.openBlock(),t.createBlock(n,{key:1,tabPage:o},null,8,["tabPage"])),[[t.vShow,o.path==e.activePath]]):t.createCommentVNode("",!0)],64)))),128))])}],["__scopeId","data-v-1ff2be67"]]),X={loaderInfor:{type:Object,default:()=>({})}},Y=t.defineComponent({name:"WebLoader",components:{},emits:["loaded"],props:X,setup:(e,t)=>new Z(e,t)});class Z extends m{constructor(e,o){super(),__publicField(this,"props"),__publicField(this,"ctx"),__publicField(this,"commandStack",[]),__publicField(this,"loading",t.ref(!0)),__publicField(this,"ifrWeb",t.ref()),__publicField(this,"ifrId",t.ref("")),__publicField(this,"doLoaded",(()=>{t.nextTick((()=>{this.ctx.emit("loaded",this.props.loaderInfor.platformNo),this.loading.value=!1,this.sendMessage("initStorageInfo",{token:this.storageInfo.getToken(),user:JSON.stringify(this.storageInfo.getUser()),currentPlatform:JSON.stringify(this.storageInfo.getCurrentPlatform()),currentBusiness:JSON.stringify(this.storageInfo.getCurrentBusiness()),currentModule:JSON.stringify(this.storageInfo.getCurrentModule())}),this.sendStackCommand()}))})),__publicField(this,"getIfrUrl",(()=>this.props.loaderInfor.url+(-1!=this.props.loaderInfor.url.indexOf("?")?"&":"?")+"linkMain=true")),this.props=e,this.ctx=o,this.useWebLoader()}useWebLoader(){this.ifrId.value=this.utilities.getUniqueCode(),t.onUnmounted((()=>{h.off("pushPage"),h.off("clearAllPage"),h.off("closePage"),h.off("activePage"),h.off("closePageByCommand")})),h.on("pushPage",(e=>{this.pushPage(e)})),h.on("clearAllPage",(e=>{this.clearAllPage(e)})),h.on("closePage",(e=>{this.closePage(e)})),h.on("activePage",(e=>{this.activePage(e)})),h.on("closePageByCommand",(e=>{this.closePageByCommand(e)}))}sendMessage(e,t){if(this.loading.value)return void this.commandStack.push({command:e,data:t});const o={command:e,data:t};document.getElementById(this.ifrId.value).contentWindow.postMessage(o,"*")}sendStackCommand(){for(const e of this.commandStack)this.sendMessage(e.command,e.data);this.commandStack=[]}pushPage(e){e.platformNo==this.props.loaderInfor.platformNo&&this.sendMessage("pushPage",e)}clearAllPage(e){e.platformNo==this.props.loaderInfor.platformNo&&this.sendMessage("clearAllPage",e)}closePage(e){e.platformNo==this.props.loaderInfor.platformNo&&this.sendMessage("closePage",e)}activePage(e){e.platformNo==this.props.loaderInfor.platformNo&&this.sendMessage("activePage",e)}closePageByCommand(e){e.platformNo==this.props.loaderInfor.platformNo&&this.sendMessage("closePageByCommand",e)}}const ee={class:"web-loader"},te=["id","src","title"];const oe=_(Y,[["render",function(e,o,s,i,a,l){const n=t.resolveComponent("Spin");return t.openBlock(),t.createElementBlock("div",ee,[t.createElementVNode("iframe",{id:e.ifrId,src:e.getIfrUrl(),class:"web-ifr",title:e.loaderInfor.platformNo,onLoad:o[0]||(o[0]=(...t)=>e.doLoaded&&e.doLoaded(...t))},null,40,te),t.createVNode(n,{size:"large",fix:"",show:e.loading},null,8,["show"])])}],["__scopeId","data-v-12870e01"]]),se=t.defineComponent({name:"LoaderManage",components:{LocalLoader:K,WebLoader:oe},emits:["loaded"],props:{},setup:(e,t)=>new ie(e,t)});let ie=class extends m{constructor(e,o){super(),__publicField(this,"props"),__publicField(this,"ctx"),__publicField(this,"pages",[]),__publicField(this,"loaderStack",t.ref([])),__publicField(this,"currentPlatformNo",t.ref("")),__publicField(this,"doLoaded",(e=>{const t=this.loaderStack.value.find((t=>t.platformNo==e));this.utilities.isNull(t)||(t.isloaded=!0,this.ctx.emit("loaded",t))})),__publicField(this,"loadPlatform",((e,t)=>{if(this.currentPlatformNo.value=t,-1!=this.loaderStack.value.findIndex((e=>e.platformNo==t)))return;if(!e)return;const o=this.isLocal(e,t);this.loaderStack.value.push({url:e,platformNo:t,isloaded:!!o,isLocal:o})})),__publicField(this,"pushPage",((e,t,o,s)=>{this.pages.push({path:e,loadMode:t,param:o,operates:s,component:void 0});const i={platformNo:this.currentPlatformNo.value,path:e,loadMode:t,param:o,operates:s};h.emit("pushPage",i)})),__publicField(this,"clearAllPage",(()=>{this.pages=[];const e={platformNo:this.currentPlatformNo.value};h.emit("clearAllPage",e)})),__publicField(this,"closePage",(e=>{const t=this.pages.findIndex((t=>t.path==e));this.pages.splice(t,1);const o={platformNo:this.currentPlatformNo.value,path:e};h.emit("closePage",o)})),__publicField(this,"activePage",(e=>{const t={platformNo:this.currentPlatformNo.value,path:e};h.emit("activePage",t)})),__publicField(this,"closePageByCommand",(e=>{const t={platformNo:this.currentPlatformNo.value,command:e};h.emit("closePageByCommand",t)})),this.props=e,this.ctx=o,this.useBusinessLoader()}useBusinessLoader(){t.onMounted((()=>{})),t.onUnmounted((()=>{}))}isLocal(e,t){if(!e)return!0;if(t==this.storageInfo.getPlatformNo())return!0;const o=new URL(e),s=new URL(location.href);return o.host==s.host&&o.port==s.host}};const ae={class:"loader-manage"};const le=_(se,[["render",function(e,o,s,i,a,l){const n=t.resolveComponent("LocalLoader"),r=t.resolveComponent("WebLoader");return t.openBlock(),t.createElementBlock("div",ae,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.loaderStack,(o=>t.withDirectives((t.openBlock(),t.createElementBlock("div",{key:o.platformNo,class:"loader-manage_content"},[o.isLocal?(t.openBlock(),t.createBlock(n,{key:0,loaderInfor:o},null,8,["loaderInfor"])):(t.openBlock(),t.createBlock(r,{key:1,loaderInfor:o,onLoaded:e.doLoaded},null,8,["loaderInfor","onLoaded"]))],512)),[[t.vShow,o.platformNo==e.currentPlatformNo]]))),128))])}],["__scopeId","data-v-ee346895"]]);t.defineComponent({name:"LoaderManage",components:{LocalLoader:K,WebLoader:oe},emits:["loaded"],props:{},setup:(e,t)=>new ne(e,t)});class ne extends m{constructor(e,o){super(),__publicField(this,"props"),__publicField(this,"ctx"),__publicField(this,"pages",[]),__publicField(this,"loaderStack",t.ref([])),__publicField(this,"currentPlatformNo",t.ref("")),__publicField(this,"doLoaded",(e=>{const t=this.loaderStack.value.find((t=>t.platformNo==e));this.utilities.isNull(t)||(t.isloaded=!0,this.ctx.emit("loaded",t))})),__publicField(this,"loadPlatform",((e,t)=>{if(this.currentPlatformNo.value=t,-1!=this.loaderStack.value.findIndex((e=>e.platformNo==t)))return;if(!e)return;const o=this.isLocal(e,t);this.loaderStack.value.push({url:e,platformNo:t,isloaded:!!o,isLocal:o})})),__publicField(this,"pushPage",((e,t,o,s)=>{this.pages.push({path:e,loadMode:t,param:o,operates:s,component:void 0});const i={platformNo:this.currentPlatformNo.value,path:e,loadMode:t,param:o,operates:s};h.emit("pushPage",i)})),__publicField(this,"clearAllPage",(()=>{this.pages=[];const e={platformNo:this.currentPlatformNo.value};h.emit("clearAllPage",e)})),__publicField(this,"closePage",(e=>{const t=this.pages.findIndex((t=>t.path==e));this.pages.splice(t,1);const o={platformNo:this.currentPlatformNo.value,path:e};h.emit("closePage",o)})),__publicField(this,"activePage",(e=>{const t={platformNo:this.currentPlatformNo.value,path:e};h.emit("activePage",t)})),__publicField(this,"closePageByCommand",(e=>{const t={platformNo:this.currentPlatformNo.value,command:e};h.emit("closePageByCommand",t)})),this.props=e,this.ctx=o,this.useBusinessLoader()}useBusinessLoader(){t.onMounted((()=>{})),t.onUnmounted((()=>{}))}isLocal(e,t){if(!e)return!0;if(t==this.storageInfo.getPlatformNo())return!0;const o=new URL(e),s=new URL(location.href);return o.host==s.host&&o.port==s.host}}e.BaseInstance=m,e.FreeLoginCenter=j,e.LinkMain=A,e.LoaderManage=le,e.LoaderManageInstance=ne,e.MessageInstance=c,e.ModalInstance=p,e.Root=M,e.initWeb=function(e,t,a,l){W=l,e.use(o),e.use(n),(e=>{e.directive("focus",{mounted(e){e.focus(),e.select()}})})(e),i.storageInfo.setPlatformNo(t),i.storageInfo.setMenuComponts(a),r.interceptors.request.use((function(e){const t=i.storageInfo.getToken();!s.utilities.isNull(t)&&s.utilities.isNull(e.headers.Authorization)&&(e.headers.Authorization="Bearer "+t);const o=i.storageInfo.getPlatformNo();s.utilities.isNull(o)||(e.headers.PlatformNo=o);const a=i.storageInfo.getCurrentPlatform();s.utilities.isNull(a)||(e.headers.PlatformId=a.Id,e.headers.PlatformName=encodeURI(a.PlatformName));const l=i.storageInfo.getUser();s.utilities.isNull(l)||(e.headers.UserId=l.Id,e.headers.UserName=encodeURI(`${l.UserName}(${l.Account})`));const n=i.storageInfo.getCurrentModule();return s.utilities.isNull(n)||(e.headers.MenuId=n.Id,e.headers.MenuName=encodeURI(n.ModuleName),e.headers.MenuPath=encodeURI(n.ModuleUrl)),e}),(function(e){return Promise.reject(e)})),r.interceptors.response.use((function(e){return e}),(function(e){return e.response&&e.response.data&&"401"==e.response.data.code?(i.storageInfo.removeAll(),W.push("/Login")):i.openObserve.error("请求异常",e),Promise.reject(e)})),function(){const e=window;if(s.utilities.isNull(e.openObserveOption))return;const t=e.openObserveOption;i.openObserve.init(t)}(),i.openObserve.info(`${t} 初始化完成`,{platformNo:t})},e.message=d,e.modal=u,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})}));