gds-plus-design-vue 1.1.30 → 1.1.32

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.
@@ -630,7 +630,7 @@ const constantRouterMap = [{
630
630
  {
631
631
  path: "login",
632
632
  name: "login",
633
- component: () => import("./main.9b8d971e.mjs"),
633
+ component: () => import("./main.5e6d15a6.mjs"),
634
634
  meta: {
635
635
  title: "\u767B\u5F55",
636
636
  transKey: "gd.login.title"
@@ -1333,7 +1333,7 @@ function translateLanguageName(s, t, a) {
1333
1333
  o ? o = o[l] : o = null;
1334
1334
  }), o || a;
1335
1335
  }
1336
- const userLogo_vue_vue_type_style_index_0_scoped_7552ffc1_lang = "", _sfc_main$5Y = {
1336
+ const userLogo_vue_vue_type_style_index_0_scoped_494b8635_lang = "", _sfc_main$5Y = {
1337
1337
  props: {
1338
1338
  basicAttribute: {
1339
1339
  type: Object,
@@ -1366,7 +1366,7 @@ var _sfc_render$5Y = function() {
1366
1366
  _sfc_staticRenderFns$5Y,
1367
1367
  !1,
1368
1368
  null,
1369
- "7552ffc1",
1369
+ "494b8635",
1370
1370
  null,
1371
1371
  null
1372
1372
  );
@@ -4295,7 +4295,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
4295
4295
  }, {}] }, {}, [10])(10);
4296
4296
  });
4297
4297
  })(jszip_min);
4298
- const JSZip$1 = jszip_min.exports, main_vue_vue_type_style_index_0_scoped_f5e83663_lang = "";
4298
+ const JSZip$1 = jszip_min.exports, main_vue_vue_type_style_index_0_scoped_48bb3c35_lang = "";
4299
4299
  var outTime = null;
4300
4300
  const _sfc_main$5W = {
4301
4301
  name: "GdSideNavMenu",
@@ -4325,7 +4325,7 @@ const _sfc_main$5W = {
4325
4325
  },
4326
4326
  styled() {
4327
4327
  let s = this.sidebar ? "68px" : "172px";
4328
- return this.navMenuTheme === "fold" && (s = this.sidebar ? "68px" : "230px"), {
4328
+ return this.navMenuTheme === "fold" && (s = this.sidebar ? "68px" : "245px"), {
4329
4329
  width: s,
4330
4330
  "--bjmenuvar": "#1d2126"
4331
4331
  };
@@ -4473,7 +4473,7 @@ var _sfc_render$5W = function() {
4473
4473
  _sfc_staticRenderFns$5W,
4474
4474
  !1,
4475
4475
  null,
4476
- "f5e83663",
4476
+ "48bb3c35",
4477
4477
  null,
4478
4478
  null
4479
4479
  );
@@ -6441,7 +6441,7 @@ var _sfc_render$5Q = function() {
6441
6441
  null,
6442
6442
  null
6443
6443
  );
6444
- const MultiTab = __component__$5Q.exports, main_vue_vue_type_style_index_0_scoped_0d38f190_lang = "", _sfc_main$5P = {
6444
+ const MultiTab = __component__$5Q.exports, main_vue_vue_type_style_index_0_scoped_56768b14_lang = "", _sfc_main$5P = {
6445
6445
  name: "GdGlobalHeader",
6446
6446
  props: {
6447
6447
  basicAttribute: {
@@ -6455,7 +6455,7 @@ const MultiTab = __component__$5Q.exports, main_vue_vue_type_style_index_0_scope
6455
6455
  computed: {
6456
6456
  style() {
6457
6457
  let s = this.sidebar ? "68px" : "172px";
6458
- return this.navMenuTheme === "fold" && (s = this.sidebar ? "68px" : "230px"), `margin-left:${s}`;
6458
+ return this.navMenuTheme === "fold" && (s = this.sidebar ? "68px" : "245px"), `margin-left:${s}`;
6459
6459
  },
6460
6460
  apps() {
6461
6461
  return this.userInfo.apps;
@@ -6481,7 +6481,7 @@ var _sfc_render$5P = function() {
6481
6481
  _sfc_staticRenderFns$5P,
6482
6482
  !1,
6483
6483
  null,
6484
- "0d38f190",
6484
+ "56768b14",
6485
6485
  null,
6486
6486
  null
6487
6487
  );
@@ -6489,7 +6489,7 @@ const GDpackage$1a = __component__$5P.exports;
6489
6489
  GDpackage$1a.install = function(s) {
6490
6490
  s.component(GDpackage$1a.name, GDpackage$1a);
6491
6491
  };
6492
- const main_vue_vue_type_style_index_0_scoped_d0dbd9b6_lang = "", _sfc_main$5O = {
6492
+ const main_vue_vue_type_style_index_0_scoped_19f6c779_lang = "", _sfc_main$5O = {
6493
6493
  name: "GdBasicLayout",
6494
6494
  data() {
6495
6495
  return {
@@ -6508,7 +6508,7 @@ const main_vue_vue_type_style_index_0_scoped_d0dbd9b6_lang = "", _sfc_main$5O =
6508
6508
  },
6509
6509
  contentPaddingLeft() {
6510
6510
  let s = this.sidebar ? "68px" : "172px";
6511
- return this.navMenuTheme === "fold" && (s = this.sidebar ? "68px" : "230px"), s;
6511
+ return this.navMenuTheme === "fold" && (s = this.sidebar ? "68px" : "245px"), s;
6512
6512
  },
6513
6513
  stylem() {
6514
6514
  return `padding-left:${this.contentPaddingLeft};`;
@@ -6542,7 +6542,7 @@ var _sfc_render$5O = function() {
6542
6542
  _sfc_staticRenderFns$5O,
6543
6543
  !1,
6544
6544
  null,
6545
- "d0dbd9b6",
6545
+ "19f6c779",
6546
6546
  null,
6547
6547
  null
6548
6548
  );
@@ -6959,7 +6959,7 @@ const GDpackage$15 = __component__$5J.exports;
6959
6959
  GDpackage$15.install = function(s) {
6960
6960
  s.component(GDpackage$15.name, GDpackage$15);
6961
6961
  };
6962
- const main_vue_vue_type_style_index_0_scoped_b1bcb3b6_lang = "", _sfc_main$5I = {
6962
+ const main_vue_vue_type_style_index_0_scoped_e133611c_lang = "", _sfc_main$5I = {
6963
6963
  name: "GdBasicLayoutTop",
6964
6964
  data() {
6965
6965
  return {
@@ -6979,7 +6979,7 @@ const main_vue_vue_type_style_index_0_scoped_b1bcb3b6_lang = "", _sfc_main$5I =
6979
6979
  if (this.apps.length === 0)
6980
6980
  return "0px";
6981
6981
  let s = this.sidebar ? "68px" : "172px";
6982
- return this.navMenuTheme === "fold" && (s = this.sidebar ? "68px" : "230px"), s;
6982
+ return this.navMenuTheme === "fold" && (s = this.sidebar ? "68px" : "245px"), s;
6983
6983
  },
6984
6984
  stylem() {
6985
6985
  return `padding-left:${this.contentPaddingLeft};`;
@@ -7000,7 +7000,7 @@ var _sfc_render$5I = function() {
7000
7000
  _sfc_staticRenderFns$5I,
7001
7001
  !1,
7002
7002
  null,
7003
- "b1bcb3b6",
7003
+ "e133611c",
7004
7004
  null,
7005
7005
  null
7006
7006
  );
@@ -23816,6 +23816,10 @@ const iconsList = [{
23816
23816
  "gd-icon-jia",
23817
23817
  "gd-icon-jian2",
23818
23818
  "gd-icon-shanchu2",
23819
+ "gd-icon-76xinzeng",
23820
+ "gd-icon-bianji5",
23821
+ "gd-icon-bianji4",
23822
+ "gd-icon-yulan",
23819
23823
  "gd-icon-tuichudenglu",
23820
23824
  "gd-icon-wenjianxiazai",
23821
23825
  "gd-icon-wenjiandaoru",
@@ -98596,11 +98600,19 @@ const GDpackage$l = __component__$2$.exports;
98596
98600
  GDpackage$l.install = function(s) {
98597
98601
  s.component(GDpackage$l.name, GDpackage$l);
98598
98602
  };
98599
- const editForm_vue_vue_type_style_index_0_scoped_b860b667_lang = "", _sfc_main$2_ = {
98603
+ const editForm_vue_vue_type_style_index_0_scoped_d6dc911f_lang = "", _sfc_main$2_ = {
98600
98604
  props: {
98601
98605
  openPermissions: {
98602
98606
  type: Boolean,
98603
98607
  default: !0
98608
+ },
98609
+ modalAppendToBody: {
98610
+ type: Boolean,
98611
+ default: !0
98612
+ },
98613
+ appendToBody: {
98614
+ type: Boolean,
98615
+ default: !0
98604
98616
  }
98605
98617
  },
98606
98618
  data() {
@@ -98762,7 +98774,7 @@ const editForm_vue_vue_type_style_index_0_scoped_b860b667_lang = "", _sfc_main$2
98762
98774
  };
98763
98775
  var _sfc_render$2_ = function() {
98764
98776
  var t = this, a = t._self._c;
98765
- return a("el-dialog", { class: t.fullScreen ? "gd-dialog" : "gd-dialog gd-dialog-fangda", attrs: { width: t.width, visible: t.visible, footer: null, top: "80px", "append-to-body": "" }, on: { "update:visible": function(r) {
98777
+ return a("el-dialog", { class: t.fullScreen ? "gd-dialog" : "gd-dialog gd-dialog-fangda", attrs: { width: t.width, visible: t.visible, footer: null, top: "80px", "modal-append-to-body": t.modalAppendToBody, "append-to-body": t.appendToBody }, on: { "update:visible": function(r) {
98766
98778
  t.visible = r;
98767
98779
  }, closed: t.handleCancel } }, [a("template", { slot: "title" }, [a("div", { staticClass: "gd-dialog-head" }, [a("div", { staticClass: "dialog-head-title" }, [t._v(t._s(t.title))]), a("div", { staticClass: "dialog-head-btn" }, [a("gd-btn-list", { attrs: { sysViewButtons: t.sysViewButtons }, on: { functionName: t.doEvent } })], 1), a("div", { staticClass: "dialog-head-operate" }, [a("i", { staticClass: "gd-icons active-color", class: t.fullScreen ? "gd-icon-quanpingsuoxiao" : "gd-icon-fangda", on: { click: t.toggleFullscreen } })]), t.confirmLoading ? a("div", { staticClass: "gd-dialog-meng" }) : t._e()])]), a("div", { directives: [{ name: "loading", rawName: "v-loading", value: t.confirmLoading, expression: "confirmLoading" }] }, [a("div", { class: t.fullScreen ? "modal-bodyq" : "modal-body" }, [a("el-form", { ref: "ruleForm", attrs: { rules: t.rules, model: t.ruleFormData, "label-width": "160px" }, nativeOn: { submit: function(r) {
98768
98780
  r.preventDefault();
@@ -98787,7 +98799,7 @@ var _sfc_render$2_ = function() {
98787
98799
  _sfc_staticRenderFns$2_,
98788
98800
  !1,
98789
98801
  null,
98790
- "b860b667",
98802
+ "d6dc911f",
98791
98803
  null,
98792
98804
  null
98793
98805
  );
@@ -111171,7 +111183,9 @@ const operationMenus = __component__$2g.exports, abilityItems = [{
111171
111183
  margin: [0, 0, 0, 0]
111172
111184
  },
111173
111185
  fieldContext: [],
111186
+ foreignContext: [],
111174
111187
  customCss: "",
111188
+ customClass: "",
111175
111189
  defined: {
111176
111190
  pc: {},
111177
111191
  mobile: {}
@@ -111204,6 +111218,8 @@ const operationMenus = __component__$2g.exports, abilityItems = [{
111204
111218
  callbackComponents: "",
111205
111219
  callbackFunction: ""
111206
111220
  },
111221
+ customCss: "",
111222
+ customClass: "",
111207
111223
  defined: {
111208
111224
  pc: {},
111209
111225
  mobile: {}
@@ -111225,6 +111241,8 @@ const operationMenus = __component__$2g.exports, abilityItems = [{
111225
111241
  padding: [0, 0, 0, 0],
111226
111242
  margin: [0, 0, 0, 0]
111227
111243
  },
111244
+ customCss: "",
111245
+ customClass: "",
111228
111246
  defined: {
111229
111247
  pc: {},
111230
111248
  mobile: {}
@@ -111243,6 +111261,8 @@ const operationMenus = __component__$2g.exports, abilityItems = [{
111243
111261
  margin: [0, 0, 0, 0],
111244
111262
  labelUnit: "%"
111245
111263
  },
111264
+ customCss: "",
111265
+ customClass: "",
111246
111266
  defined: {
111247
111267
  pc: {},
111248
111268
  mobile: {}
@@ -111263,10 +111283,12 @@ const operationMenus = __component__$2g.exports, abilityItems = [{
111263
111283
  width: "100",
111264
111284
  height: "1",
111265
111285
  padding: [0, 0, 0, 0],
111286
+ margin: [0, 0, 0, 0],
111266
111287
  labelUnit: "%",
111267
111288
  bjColor: "transparent"
111268
111289
  },
111269
111290
  customCss: "",
111291
+ customClass: "",
111270
111292
  defined: {
111271
111293
  pc: {},
111272
111294
  mobile: {}
@@ -111282,7 +111304,8 @@ const operationMenus = __component__$2g.exports, abilityItems = [{
111282
111304
  transKey: null,
111283
111305
  flexWidth: 100,
111284
111306
  flexUnit: "%",
111285
- columnContextName: []
111307
+ columnContextName: [],
111308
+ foreignContextName: ""
111286
111309
  },
111287
111310
  css: {
111288
111311
  maxLineClamp: void 0,
@@ -111301,6 +111324,7 @@ const operationMenus = __component__$2g.exports, abilityItems = [{
111301
111324
  },
111302
111325
  fieldContext: [],
111303
111326
  customCss: "",
111327
+ customClass: "",
111304
111328
  defined: {
111305
111329
  pc: {},
111306
111330
  mobile: {}
@@ -111319,7 +111343,8 @@ const operationMenus = __component__$2g.exports, abilityItems = [{
111319
111343
  mode: "center",
111320
111344
  iconShow: !1,
111321
111345
  columnContextName: [],
111322
- subtransContextName: []
111346
+ subtransContextName: [],
111347
+ foreignContextName: ""
111323
111348
  },
111324
111349
  css: {
111325
111350
  bjColor: "transparent",
@@ -111329,6 +111354,7 @@ const operationMenus = __component__$2g.exports, abilityItems = [{
111329
111354
  },
111330
111355
  fieldContext: [],
111331
111356
  customCss: "",
111357
+ customClass: "",
111332
111358
  defined: {
111333
111359
  pc: {},
111334
111360
  mobile: {}
@@ -111343,7 +111369,8 @@ const operationMenus = __component__$2g.exports, abilityItems = [{
111343
111369
  icon: "gd-icon-group-line",
111344
111370
  flexWidth: 100,
111345
111371
  flexUnit: "%",
111346
- columnContextName: []
111372
+ columnContextName: [],
111373
+ foreignContextName: ""
111347
111374
  },
111348
111375
  css: {
111349
111376
  bjColor: "transparent",
@@ -111357,6 +111384,7 @@ const operationMenus = __component__$2g.exports, abilityItems = [{
111357
111384
  lineHeight: 24
111358
111385
  },
111359
111386
  fieldContext: [],
111387
+ foreignContext: [],
111360
111388
  interac: {
111361
111389
  formMode: "systemsMethod",
111362
111390
  sysFunctionName: "sysBaseAdd",
@@ -111373,6 +111401,7 @@ const operationMenus = __component__$2g.exports, abilityItems = [{
111373
111401
  callbackFunction: ""
111374
111402
  },
111375
111403
  customCss: "",
111404
+ customClass: "",
111376
111405
  defined: {
111377
111406
  pc: {},
111378
111407
  mobile: {}
@@ -111393,11 +111422,13 @@ const operationMenus = __component__$2g.exports, abilityItems = [{
111393
111422
  height: "30",
111394
111423
  padding: [0, 0, 0, 0],
111395
111424
  margin: [0, 0, 0, 0],
111425
+ radius: [0, 0, 0, 0],
111396
111426
  labelUnit: "px",
111397
111427
  objectFit: "contain"
111398
111428
  },
111399
111429
  fieldContext: [],
111400
111430
  customCss: "",
111431
+ customClass: "",
111401
111432
  defined: {
111402
111433
  pc: {},
111403
111434
  mobile: {}
@@ -111423,6 +111454,7 @@ const operationMenus = __component__$2g.exports, abilityItems = [{
111423
111454
  },
111424
111455
  fieldContext: [],
111425
111456
  customCss: "",
111457
+ customClass: "",
111426
111458
  defined: {
111427
111459
  pc: {},
111428
111460
  mobile: {}
@@ -111442,6 +111474,7 @@ const operationMenus = __component__$2g.exports, abilityItems = [{
111442
111474
  css: {
111443
111475
  padding: [0, 0, 0, 0],
111444
111476
  margin: [0, 0, 0, 0],
111477
+ radius: [0, 0, 0, 0],
111445
111478
  align: "left",
111446
111479
  fontSize: 12,
111447
111480
  fontStyle: "normal",
@@ -111452,6 +111485,7 @@ const operationMenus = __component__$2g.exports, abilityItems = [{
111452
111485
  },
111453
111486
  fieldContext: [],
111454
111487
  customCss: "",
111488
+ customClass: "",
111455
111489
  defined: {
111456
111490
  pc: {},
111457
111491
  mobile: {}
@@ -111475,6 +111509,7 @@ const operationMenus = __component__$2g.exports, abilityItems = [{
111475
111509
  },
111476
111510
  fieldContext: [],
111477
111511
  customCss: "",
111512
+ customClass: "",
111478
111513
  defined: {
111479
111514
  pc: {},
111480
111515
  mobile: {}
@@ -111497,10 +111532,12 @@ const operationMenus = __component__$2g.exports, abilityItems = [{
111497
111532
  height: 100,
111498
111533
  padding: [0, 0, 0, 0],
111499
111534
  margin: [0, 0, 0, 0],
111535
+ radius: [0, 0, 0, 0],
111500
111536
  labelUnit: "px"
111501
111537
  },
111502
111538
  fieldContext: [],
111503
111539
  customCss: "",
111540
+ customClass: "",
111504
111541
  argument: !0,
111505
111542
  defined: {
111506
111543
  pc: {
@@ -111541,8 +111578,13 @@ const operationMenus = __component__$2g.exports, abilityItems = [{
111541
111578
  viewWeights: "2"
111542
111579
  },
111543
111580
  formList: [],
111544
- css: {},
111581
+ css: {
111582
+ padding: [0, 0, 0, 0],
111583
+ margin: [0, 0, 0, 0],
111584
+ radius: [0, 0, 0, 0]
111585
+ },
111545
111586
  customCss: "",
111587
+ customClass: "",
111546
111588
  defined: {
111547
111589
  pc: {},
111548
111590
  mobile: {}
@@ -111564,7 +111606,9 @@ const operationMenus = __component__$2g.exports, abilityItems = [{
111564
111606
  layoutDirection: "column",
111565
111607
  columnsNumber: 2,
111566
111608
  columnsWidth: 100,
111567
- spacing: 0
111609
+ spacing: 0,
111610
+ foreignContextName: "",
111611
+ foreignBind: []
111568
111612
  },
111569
111613
  list: [],
111570
111614
  css: {
@@ -111576,7 +111620,9 @@ const operationMenus = __component__$2g.exports, abilityItems = [{
111576
111620
  radius: [0, 0, 0, 0]
111577
111621
  },
111578
111622
  fieldContext: [],
111623
+ foreignContext: [],
111579
111624
  customCss: "",
111625
+ customClass: "",
111580
111626
  defined: {
111581
111627
  pc: {},
111582
111628
  mobile: {}
@@ -111596,7 +111642,13 @@ const operationMenus = __component__$2g.exports, abilityItems = [{
111596
111642
  colon: !0,
111597
111643
  border: 1
111598
111644
  },
111599
- css: {},
111645
+ css: {
111646
+ padding: [0, 0, 0, 0],
111647
+ margin: [0, 0, 0, 0],
111648
+ radius: [0, 0, 0, 0]
111649
+ },
111650
+ customCss: "",
111651
+ customClass: "",
111600
111652
  defined: {
111601
111653
  pc: {},
111602
111654
  mobile: {}
@@ -111617,8 +111669,13 @@ const operationMenus = __component__$2g.exports, abilityItems = [{
111617
111669
  relativeHeight: 100
111618
111670
  },
111619
111671
  fkData: [],
111620
- css: {},
111672
+ css: {
111673
+ padding: [0, 0, 0, 0],
111674
+ margin: [0, 0, 0, 0],
111675
+ radius: [0, 0, 0, 0]
111676
+ },
111621
111677
  customCss: "",
111678
+ customClass: "",
111622
111679
  defined: {
111623
111680
  pc: {},
111624
111681
  mobile: {}
@@ -111637,9 +111694,13 @@ const operationMenus = __component__$2g.exports, abilityItems = [{
111637
111694
  },
111638
111695
  css: {
111639
111696
  color: "#333",
111640
- fontSize: "14"
111697
+ fontSize: "14",
111698
+ padding: [0, 0, 0, 0],
111699
+ margin: [0, 0, 0, 0],
111700
+ radius: [0, 0, 0, 0]
111641
111701
  },
111642
111702
  customCss: "",
111703
+ customClass: "",
111643
111704
  defined: {
111644
111705
  pc: {},
111645
111706
  mobile: {}
@@ -112281,6 +112342,7 @@ const operationMenus = __component__$2g.exports, abilityItems = [{
112281
112342
  },
112282
112343
  fieldContext: [],
112283
112344
  customCss: "",
112345
+ customClass: "",
112284
112346
  defined: {
112285
112347
  pc: {},
112286
112348
  mobile: {}
@@ -112309,8 +112371,14 @@ const operationMenus = __component__$2g.exports, abilityItems = [{
112309
112371
  label: "",
112310
112372
  icon: "gd-icon-ziyuansu"
112311
112373
  }],
112312
- css: {},
112374
+ css: {
112375
+ bjColor: "#fff",
112376
+ padding: [0, 0, 0, 0],
112377
+ margin: [0, 0, 0, 0],
112378
+ radius: [0, 0, 0, 0]
112379
+ },
112313
112380
  customCss: "",
112381
+ customClass: "",
112314
112382
  defined: {
112315
112383
  pc: {},
112316
112384
  mobile: {}
@@ -112344,8 +112412,14 @@ const operationMenus = __component__$2g.exports, abilityItems = [{
112344
112412
  icon: "gd-icon-ziyuansu",
112345
112413
  hidden: !1
112346
112414
  }],
112347
- css: {},
112415
+ css: {
112416
+ bjColor: "#fff",
112417
+ padding: [0, 0, 0, 0],
112418
+ margin: [0, 0, 0, 0],
112419
+ radius: [0, 0, 0, 0]
112420
+ },
112348
112421
  customCss: "",
112422
+ customClass: "",
112349
112423
  defined: {
112350
112424
  pc: {},
112351
112425
  mobile: {}
@@ -112362,9 +112436,14 @@ const operationMenus = __component__$2g.exports, abilityItems = [{
112362
112436
  transKey: null
112363
112437
  },
112364
112438
  list: [],
112365
- css: {},
112366
- customCss: "",
112439
+ css: {
112440
+ bjColor: "#fff",
112441
+ padding: [0, 0, 0, 0],
112442
+ margin: [0, 0, 0, 0],
112443
+ radius: [0, 0, 0, 0]
112444
+ },
112367
112445
  customCss: "",
112446
+ customClass: "",
112368
112447
  defined: {
112369
112448
  pc: {},
112370
112449
  mobile: {}
@@ -112403,6 +112482,7 @@ const operationMenus = __component__$2g.exports, abilityItems = [{
112403
112482
  }],
112404
112483
  css: {},
112405
112484
  customCss: "",
112485
+ customClass: "",
112406
112486
  defined: {
112407
112487
  pc: {},
112408
112488
  mobile: {}
@@ -112426,8 +112506,14 @@ const operationMenus = __component__$2g.exports, abilityItems = [{
112426
112506
  ruleFormKey: [],
112427
112507
  field: [],
112428
112508
  list: [],
112429
- css: {},
112509
+ css: {
112510
+ bjColor: "#fff",
112511
+ padding: [0, 0, 0, 0],
112512
+ margin: [0, 0, 0, 0],
112513
+ radius: [0, 0, 0, 0]
112514
+ },
112430
112515
  customCss: "",
112516
+ customClass: "",
112431
112517
  defined: {
112432
112518
  pc: {
112433
112519
  labelPosition: "right"
@@ -112451,8 +112537,14 @@ const operationMenus = __component__$2g.exports, abilityItems = [{
112451
112537
  heightMode: "fill",
112452
112538
  height: 300
112453
112539
  },
112454
- css: {},
112540
+ css: {
112541
+ bjColor: "#fff",
112542
+ padding: [0, 0, 0, 0],
112543
+ margin: [0, 0, 0, 0],
112544
+ radius: [0, 0, 0, 0]
112545
+ },
112455
112546
  customCss: "",
112547
+ customClass: "",
112456
112548
  defined: {
112457
112549
  pc: {},
112458
112550
  mobile: {}
@@ -112497,6 +112589,7 @@ const operationMenus = __component__$2g.exports, abilityItems = [{
112497
112589
  },
112498
112590
  fieldContext: [],
112499
112591
  customCss: "",
112592
+ customClass: "",
112500
112593
  defined: {
112501
112594
  pc: {},
112502
112595
  mobile: {}
@@ -112814,6 +112907,7 @@ const operationMenus = __component__$2g.exports, abilityItems = [{
112814
112907
  },
112815
112908
  css: {},
112816
112909
  customCss: "",
112910
+ customClass: "",
112817
112911
  defined: {
112818
112912
  pc: {},
112819
112913
  mobile: {}
@@ -112831,6 +112925,7 @@ const operationMenus = __component__$2g.exports, abilityItems = [{
112831
112925
  props: "record (Object);tableData (Object);id (Strng/Number);parameterData (Object)",
112832
112926
  css: {},
112833
112927
  customCss: "",
112928
+ customClass: "",
112834
112929
  webList: [],
112835
112930
  defined: {
112836
112931
  pc: {},
@@ -112876,6 +112971,7 @@ const operationMenus = __component__$2g.exports, abilityItems = [{
112876
112971
  heiType: "auto"
112877
112972
  },
112878
112973
  customCss: "",
112974
+ customClass: "",
112879
112975
  defined: {
112880
112976
  pc: {},
112881
112977
  mobile: {}
@@ -112985,7 +113081,7 @@ var _sfc_render$2f = function s() {
112985
113081
  null,
112986
113082
  null
112987
113083
  );
112988
- const collapseItem = __component__$2f.exports, main_vue_vue_type_style_index_0_scoped_872f9cac_lang = "", _sfc_main$2e = {
113084
+ const collapseItem = __component__$2f.exports, main_vue_vue_type_style_index_0_scoped_1478e23c_lang = "", _sfc_main$2e = {
112989
113085
  props: {
112990
113086
  table: {
112991
113087
  type: Object,
@@ -113077,7 +113173,7 @@ const collapseItem = __component__$2f.exports, main_vue_vue_type_style_index_0_s
113077
113173
  },
113078
113174
  getType(s) {
113079
113175
  let t = { val: "input", arr: ["input", "textarea"], data: [] };
113080
- ["input", "textarea"].includes(s.effecttype) ? Object.assign(t, { val: s.effecttype, arr: ["input", "textarea"] }) : ["radio"].includes(s.effecttype) ? Object.assign(t, { val: s.effecttype, arr: ["radio", "select"] }) : ["switch"].includes(s.effecttype) ? Object.assign(t, { val: s.effecttype, arr: ["switch"] }) : ["inputnumber", "currency", "double"].includes(s.effecttype) ? Object.assign(t, { val: "inputNumber", arr: ["inputNumber"] }) : ["checkbox"].includes(s.effecttype) ? Object.assign(t, { val: s.effecttype, arr: ["checkbox", "selectMultiple"] }) : ["select"].includes(s.effecttype) ? Object.assign(t, { val: s.effecttype, arr: ["radio", "select"] }) : ["fk", "user", "participants", "about"].includes(s.effecttype) ? Object.assign(t, { val: "select", arr: ["select"] }) : ["editor"].includes(s.effecttype) ? Object.assign(t, { val: "editor", arr: ["editor"] }) : ["file"].includes(s.effecttype) ? Object.assign(t, { val: "uploadFile", arr: ["uploadFile"] }) : ["image"].includes(s.effecttype) ? Object.assign(t, { val: "uploadImg", arr: ["uploadImg"] }) : ["datepicker"].includes(s.effecttype) && Object.assign(t, { val: "datePicker", arr: ["datePicker"] });
113176
+ ["input", "textarea"].includes(s.effecttype) ? Object.assign(t, { val: s.effecttype, arr: ["input", "textarea"] }) : ["radio"].includes(s.effecttype) ? Object.assign(t, { val: s.effecttype, arr: ["radio", "select"] }) : ["switch"].includes(s.effecttype) ? Object.assign(t, { val: s.effecttype, arr: ["switch"] }) : ["inputnumber", "currency", "double"].includes(s.effecttype) ? Object.assign(t, { val: "inputNumber", arr: ["inputNumber"] }) : ["checkbox"].includes(s.effecttype) ? Object.assign(t, { val: s.effecttype, arr: ["checkbox", "selectMultiple"] }) : ["select"].includes(s.effecttype) ? Object.assign(t, { val: s.effecttype, arr: ["radio", "select"] }) : ["fk", "user", "participants", "about"].includes(s.effecttype) ? Object.assign(t, { val: "select", arr: ["select"] }) : ["editor"].includes(s.effecttype) ? Object.assign(t, { val: "editor", arr: ["editor"] }) : ["file"].includes(s.effecttype) ? Object.assign(t, { val: "uploadFile", arr: ["uploadFile"] }) : ["image"].includes(s.effecttype) ? Object.assign(t, { val: "uploadImg", arr: ["uploadImg"] }) : ["datepicker"].includes(s.effecttype) && Object.assign(t, { val: "datePicker", arr: ["datePicker", "timePicker"] });
113081
113177
  const a = formItems.filter((o) => t.arr.includes(o.type));
113082
113178
  let r = JSON.parse(JSON.stringify(a));
113083
113179
  return r.forEach((o, l) => {
@@ -113113,7 +113209,7 @@ var _sfc_render$2e = function s() {
113113
113209
  _sfc_staticRenderFns$2e,
113114
113210
  !1,
113115
113211
  null,
113116
- "872f9cac",
113212
+ "1478e23c",
113117
113213
  null,
113118
113214
  null
113119
113215
  );
@@ -113492,7 +113588,7 @@ var _sfc_render$2a = function s() {
113492
113588
  null,
113493
113589
  null
113494
113590
  );
113495
- const sideHeader = __component__$2a.exports, sideMenus_vue_vue_type_style_index_0_scoped_8804c2be_lang = "", _sfc_main$29 = {
113591
+ const sideHeader = __component__$2a.exports, sideMenus_vue_vue_type_style_index_0_scoped_dc36b6af_lang = "", _sfc_main$29 = {
113496
113592
  props: {
113497
113593
  navParameters: {
113498
113594
  type: Object,
@@ -113529,7 +113625,7 @@ const sideHeader = __component__$2a.exports, sideMenus_vue_vue_type_style_index_
113529
113625
  var _sfc_render$29 = function s() {
113530
113626
  var t = this, a = t._self._c;
113531
113627
  return a("div", { staticClass: "side-menus" }, [t.navParameters.logoOpen ? [a("div", { directives: [{ name: "show", rawName: "v-show", value: t.options.mode === "imageWithText", expression: "options.mode === 'imageWithText'" }], staticClass: "logo" }, [a("div", { staticClass: "picture" }, [t.options.smallPicture ? a("img", { directives: [{ name: "lazyImg", rawName: "v-lazyImg", value: t.options.smallPicture, expression: "options.smallPicture" }], staticStyle: { width: "42px", height: "42px" }, attrs: { "data-url": t.options.smallPicture } }) : t._e()]), t.collapsed ? a("div", { staticClass: "company" }, [a("div", { staticClass: "title line1", style: t.tstyle }, [t._v(t._s(t.options.title))]), a("div", { staticClass: "ytitle line1", style: t.ystyle }, [t._v(t._s(t.options.subtitle))])]) : t._e()]), a("div", { directives: [{ name: "show", rawName: "v-show", value: t.options.mode !== "imageWithText", expression: "options.mode !== 'imageWithText'" }], staticClass: "logo" }, [a("div", { directives: [{ name: "show", rawName: "v-show", value: !t.collapsed, expression: "!collapsed" }], staticClass: "picture" }, [t.options.smallPicture ? a("img", { directives: [{ name: "lazyImg", rawName: "v-lazyImg", value: t.options.smallPicture, expression: "options.smallPicture" }], staticStyle: { width: "42px", height: "42px" }, attrs: { "data-url": t.options.smallPicture } }) : t._e()]), a("div", { directives: [{ name: "show", rawName: "v-show", value: t.collapsed, expression: "collapsed" }], staticClass: "bpicture" }, [t.options.bigPicture ? a("img", { directives: [{ name: "lazyImg", rawName: "v-lazyImg", value: t.options.bigPicture, expression: "options.bigPicture" }], staticStyle: { width: "100%", height: "44px" }, attrs: { "data-url": t.options.bigPicture } }) : t._e()])])] : t._e(), a("div", { staticClass: "list" }, t._l(t.list, function(r, o) {
113532
- return a("div", { key: o, staticClass: "item", class: t.collapsed ? "" : "item-open" }, [a("i", { staticClass: "gd-icons", class: r.icon }), t.collapsed ? a("div", { staticClass: "name" }, [t._v(t._s(r.name))]) : t._e()]);
113628
+ return a("div", { key: o, staticClass: "item", class: t.collapsed ? "" : "item-open" }, [a("i", { staticClass: "gd-icons", class: r.icon }), t.collapsed ? a("div", { staticClass: "name line1" }, [t._v(t._s(t.$i18nt(`Dynamics.${r.transkey}`, r.name)))]) : t._e()]);
113533
113629
  }), 0)], 2);
113534
113630
  }, _sfc_staticRenderFns$29 = [], __component__$29 = /* @__PURE__ */ normalizeComponent(
113535
113631
  _sfc_main$29,
@@ -113537,7 +113633,7 @@ var _sfc_render$29 = function s() {
113537
113633
  _sfc_staticRenderFns$29,
113538
113634
  !1,
113539
113635
  null,
113540
- "8804c2be",
113636
+ "dc36b6af",
113541
113637
  null,
113542
113638
  null
113543
113639
  );
@@ -113921,7 +114017,7 @@ function getProperti(s, t) {
113921
114017
  return "";
113922
114018
  }
113923
114019
  }
113924
- const textContent_vue_vue_type_style_index_0_scoped_1fcb9e4f_lang = "", _sfc_main$22 = {
114020
+ const textContent_vue_vue_type_style_index_0_scoped_37061f12_lang = "", _sfc_main$22 = {
113925
114021
  props: {
113926
114022
  record: {
113927
114023
  type: Object,
@@ -113970,6 +114066,7 @@ const textContent_vue_vue_type_style_index_0_scoped_1fcb9e4f_lang = "", _sfc_mai
113970
114066
  },
113971
114067
  methods: {},
113972
114068
  mounted() {
114069
+ this.record.fieldContext.length > 0 && (this.record.fieldContext = this.fieldContext);
113973
114070
  }
113974
114071
  };
113975
114072
  var _sfc_render$22 = function s() {
@@ -113981,7 +114078,7 @@ var _sfc_render$22 = function s() {
113981
114078
  _sfc_staticRenderFns$22,
113982
114079
  !1,
113983
114080
  null,
113984
- "1fcb9e4f",
114081
+ "37061f12",
113985
114082
  null,
113986
114083
  null
113987
114084
  );
@@ -114104,7 +114201,7 @@ function getQueries(s, t, a) {
114104
114201
  type: "number"
114105
114202
  }), {
114106
114203
  id: s.syscodegenconfig.id,
114107
- transKey: s.syscodegenconfig.transkey,
114204
+ transKey: `Dynamics.${s.syscodegenconfig.transkey}`,
114108
114205
  prop: s.syscodegenconfig.columnname,
114109
114206
  label: s.syscodegenconfig.columncomment,
114110
114207
  effectType: getEffectType(s.syscodegenconfig.effecttype),
@@ -114174,7 +114271,42 @@ function getFormatTime(s) {
114174
114271
  function formatNumber(s) {
114175
114272
  return s = s.toString(), s[1] ? s : "0" + s;
114176
114273
  }
114177
- const unifiedComponents_vue_vue_type_style_index_0_scoped_b9dca614_lang = "", _sfc_main$20 = {
114274
+ const sysOverallFun = [
114275
+ {
114276
+ name: "\u65B0\u589E",
114277
+ code: "sysBaseAdd",
114278
+ transKey: "gd.btn.add",
114279
+ type: ["form"],
114280
+ callback: !0
114281
+ },
114282
+ {
114283
+ name: "\u7F16\u8F91",
114284
+ code: "sysBaseEdit",
114285
+ transKey: "gd.btn.edit",
114286
+ type: ["form"],
114287
+ callback: !0
114288
+ },
114289
+ {
114290
+ name: "\u67E5\u8BE2",
114291
+ code: "sysBaseQuery",
114292
+ transKey: "gd.btn.query",
114293
+ type: ["view"],
114294
+ callback: !0
114295
+ },
114296
+ {
114297
+ name: "\u5220\u9664",
114298
+ code: "sysBaseDel",
114299
+ transKey: "gd.btn.del",
114300
+ type: ["view"],
114301
+ callback: !0
114302
+ },
114303
+ {
114304
+ name: "\u81EA\u5B9A\u4E49",
114305
+ code: "sysBaseCustom",
114306
+ transKey: "gd.settings.custom",
114307
+ type: ["view", "form"]
114308
+ }
114309
+ ], unifiedComponents_vue_vue_type_style_index_0_scoped_79476d37_lang = "", _sfc_main$20 = {
114178
114310
  props: {
114179
114311
  record: {
114180
114312
  type: Object,
@@ -114203,6 +114335,25 @@ const unifiedComponents_vue_vue_type_style_index_0_scoped_b9dca614_lang = "", _s
114203
114335
  };
114204
114336
  },
114205
114337
  computed: {
114338
+ ids() {
114339
+ const s = this.itemData.id ? this.itemData.id : uuid$1();
114340
+ let t = "";
114341
+ for (let a in this.itemData)
114342
+ a !== "id" && this.itemData[a] === s && (t = a);
114343
+ return this.foreignContextName.length === 0 ? t : t + "_" + s;
114344
+ },
114345
+ getRecord() {
114346
+ const s = this.foreignContextName.length === 0 ? {} : { foreign: { fkValue: this.itemData.id, fkName: this.foreignContextName[0] } }, t = this.foreignContextName.length === 0 ? {} : { foreign: this.foreignContextName[0], saved: !0 };
114347
+ return Object.assign(this.record, s, {
114348
+ options: Object.assign(this.options, t)
114349
+ });
114350
+ },
114351
+ openMode() {
114352
+ return this.foreignContextName.length === 0 ? 1 : 3;
114353
+ },
114354
+ foreignContextName() {
114355
+ return this.options.foreignContextName ? this.options.foreignContextName.split(",") : [];
114356
+ },
114206
114357
  getTitle() {
114207
114358
  return this.btnItems.transKey || this.btnItems.displayName ? this.$i18nt(`Dynamics.${this.btnItems.transKey}`, this.btnItems.displayName) : this.$i18nt("gd.basics.screen", "\u7B5B\u9009");
114208
114359
  },
@@ -114216,6 +114367,9 @@ const unifiedComponents_vue_vue_type_style_index_0_scoped_b9dca614_lang = "", _s
114216
114367
  const s = this.tableLists.filter((t) => t.tablename === this.btnItems.table)[0];
114217
114368
  return s || { tablename: this.btnItems.table };
114218
114369
  },
114370
+ options() {
114371
+ return this.record.options;
114372
+ },
114219
114373
  hig() {
114220
114374
  return this.screenHeight - 68;
114221
114375
  },
@@ -114223,10 +114377,9 @@ const unifiedComponents_vue_vue_type_style_index_0_scoped_b9dca614_lang = "", _s
114223
114377
  },
114224
114378
  methods: {
114225
114379
  sysBaseDel(s) {
114226
- console.log(s);
114227
114380
  const t = s.columnContextName ? s.columnContextName : [], a = t[t.length - 1], r = this.itemData[a];
114228
114381
  let o = this;
114229
- if (console.log(a, r), !r) {
114382
+ if (!r) {
114230
114383
  this.$message.warning(this.$i18nt("gd.https.delTip", "\u8BF7\u9009\u62E9\u8981\u5220\u9664\u7684\u6570\u636E!"));
114231
114384
  return;
114232
114385
  }
@@ -114257,16 +114410,29 @@ const unifiedComponents_vue_vue_type_style_index_0_scoped_b9dca614_lang = "", _s
114257
114410
  });
114258
114411
  },
114259
114412
  refresh() {
114260
- this.btnItems.formMode === "systemsMethod" && this.btnItems.callbackComponents && this.btnItems.callbackFunction && this.record.doEvent && this.record.doEvent({ key: this.btnItems.callbackComponents, functionName: this.btnItems.callbackFunction });
114413
+ this.btnItems.formMode === "systemsMethod" && this.btnItems.callbackComponents && this.btnItems.callbackFunction && this.record.doEvent && this.record.doEvent(
114414
+ {
114415
+ key: this.btnItems.callbackComponents,
114416
+ functionName: this.btnItems.callbackFunction,
114417
+ id: this.ids
114418
+ },
114419
+ "callback"
114420
+ );
114261
114421
  },
114262
- async openForm(s) {
114422
+ async openForm(s, t) {
114263
114423
  this.show = !0, this.$nextTick(() => {
114264
114424
  setTimeout(async () => {
114425
+ const a = sysOverallFun.filter((l) => l.code === this.btnItems.sysFunctionName)[0], r = a ? a.transKey : `Dynamics.${this.btnItems.transKey}`, o = a ? a.name : this.btnItems.displayName;
114265
114426
  if (this.$refs.editForm) {
114266
- const t = this.btnItems.btnDataAll.formlist.filter((a) => a.id === this.btnItems.tableComponents)[0];
114267
- await this.$refs.editForm.setFormRecord(t), this.$refs.editForm.open({
114268
- title: this.$i18nt(`Dynamics.${this.btnItems.transKey}`, this.btnItems.displayName)
114269
- }), this.statu = !1, s.close();
114427
+ const l = this.btnItems.btnDataAll.formlist.filter((u) => u.id === this.btnItems.tableComponents)[0];
114428
+ await this.$refs.editForm.setFormRecord(l);
114429
+ let d = t ? {
114430
+ title: this.$i18nt(r, o),
114431
+ id: t
114432
+ } : {
114433
+ title: this.$i18nt(r, o)
114434
+ };
114435
+ this.$refs.editForm.open(d), this.statu = !1, s.close();
114270
114436
  }
114271
114437
  }, 0);
114272
114438
  });
@@ -114274,7 +114440,15 @@ const unifiedComponents_vue_vue_type_style_index_0_scoped_b9dca614_lang = "", _s
114274
114440
  queriesRefresh(s) {
114275
114441
  Object.assign(this.btnItems, {
114276
114442
  queryParam: { ...s }
114277
- }), this.btnItems.formMode === "systemsMethod" && this.btnItems.callbackComponents && this.btnItems.callbackFunction && this.record.doEvent && this.record.doEvent({ key: this.btnItems.callbackComponents, functionName: this.btnItems.callbackFunction, data: s });
114443
+ }), this.btnItems.formMode === "systemsMethod" && this.btnItems.callbackComponents && this.btnItems.callbackFunction && this.record.doEvent && this.record.doEvent(
114444
+ {
114445
+ key: this.btnItems.callbackComponents,
114446
+ functionName: this.btnItems.callbackFunction,
114447
+ data: s,
114448
+ id: this.ids
114449
+ },
114450
+ "callback"
114451
+ );
114278
114452
  },
114279
114453
  openQuery(s) {
114280
114454
  const t = this.btnItems.btnDataAll.viewlist.filter((l) => l.id === this.btnItems.tableComponents)[0];
@@ -114291,7 +114465,7 @@ const unifiedComponents_vue_vue_type_style_index_0_scoped_b9dca614_lang = "", _s
114291
114465
  queryParam: Object.assign(o, r),
114292
114466
  tableQueries: a,
114293
114467
  viewRecord: t
114294
- }), this.visible = !0, console.log(this.btnItems), this.$nextTick(() => {
114468
+ }), this.visible = !0, this.$nextTick(() => {
114295
114469
  setTimeout(() => {
114296
114470
  this.$refs.queriesField && this.$refs.queriesField.init().then((l) => {
114297
114471
  this.statu = !1, s.close();
@@ -114303,6 +114477,13 @@ const unifiedComponents_vue_vue_type_style_index_0_scoped_b9dca614_lang = "", _s
114303
114477
  this.visible = !1;
114304
114478
  },
114305
114479
  sysBaseAdd(s) {
114480
+ this.getTableForm(null);
114481
+ },
114482
+ sysBaseEdit() {
114483
+ const s = this.btnItems.columnContextName ? this.btnItems.columnContextName : [], t = s[s.length - 1], a = this.itemData[t];
114484
+ this.getTableForm(a || null);
114485
+ },
114486
+ getTableForm(s) {
114306
114487
  this.statu = !0;
114307
114488
  const t = this.$message({
114308
114489
  message: this.$i18nt("gd.https.Loading", "\u52A0\u8F7D\u4E2D..."),
@@ -114310,11 +114491,11 @@ const unifiedComponents_vue_vue_type_style_index_0_scoped_b9dca614_lang = "", _s
114310
114491
  iconClass: "el-icon-loading"
114311
114492
  });
114312
114493
  if (this.btnItems.btnDataAll !== void 0 && this.btnItems.fieldData !== void 0) {
114313
- this.fieldData = this.btnItems.fieldData, this.openForm(t);
114494
+ this.fieldData = this.btnItems.fieldData, this.openForm(t, s);
114314
114495
  return;
114315
114496
  }
114316
114497
  Promise.all([this.baseTableData(), this.baseGetLoadData()]).then((a) => {
114317
- a[0].code === 200 ? this.openForm(t) : (this.$message.warning(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + a[0].message), this.statu = !1, t.close());
114498
+ a[0].code === 200 ? this.openForm(t, s) : (this.$message.warning(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + a[0].message), this.statu = !1, t.close());
114318
114499
  });
114319
114500
  },
114320
114501
  sysBaseQuery() {
@@ -114352,16 +114533,23 @@ const unifiedComponents_vue_vue_type_style_index_0_scoped_b9dca614_lang = "", _s
114352
114533
  return this.$options.filters.dictData(s);
114353
114534
  },
114354
114535
  doEvent(s) {
114355
- if (!this.statu && (this.btnItems = s, s.formMode === "systemsMethod")) {
114356
- let t = s.sysFunctionName;
114357
- this[t] && this[t](s);
114536
+ if (!this.statu) {
114537
+ if (this.btnItems = s, s.formMode === "systemsMethod") {
114538
+ let t = s.sysFunctionName;
114539
+ this[t] && this[t](s);
114540
+ return;
114541
+ }
114542
+ if (this.record.doEvent) {
114543
+ const t = s.columnContextName ? s.columnContextName : [], a = t[t.length - 1], r = this.itemData[a];
114544
+ this.record.doEvent({ key: s.componentKey, functionName: s.componentFunction, data: r });
114545
+ }
114358
114546
  }
114359
114547
  }
114360
114548
  }
114361
114549
  };
114362
114550
  var _sfc_render$20 = function s() {
114363
114551
  var t = this, a = t._self._c;
114364
- return a("div", [t.show ? a(t.componentForm, { ref: "editForm", tag: "component", attrs: { fieldData: t.fieldData, tableData: t.tableData, recordRelation: t.record, openMode: 1 }, on: { ok: t.refresh } }) : t._e(), a("el-drawer", { attrs: { visible: t.visible, "close-on-press-escape": !1, "append-to-body": !0, "modal-append-to-body": !1, size: "366px", "custom-class": "gd-drawer-form", wrapperClosable: !1 }, on: { "update:visible": function(r) {
114552
+ return a("div", [t.show ? a(t.componentForm, { ref: "editForm", tag: "component", attrs: { fieldData: t.fieldData, tableData: t.tableData, recordRelation: t.getRecord, openMode: t.openMode }, on: { ok: t.refresh } }) : t._e(), a("el-drawer", { attrs: { visible: t.visible, "close-on-press-escape": !1, "append-to-body": !0, "modal-append-to-body": !1, size: "366px", "custom-class": "gd-drawer-form", wrapperClosable: !1 }, on: { "update:visible": function(r) {
114365
114553
  t.visible = r;
114366
114554
  } } }, [a("template", { slot: "title" }, [a("div", { staticClass: "gd-dialog-head gd-dialog-heads" }, [a("div", { staticClass: "dialog-head-title" }, [t._v(t._s(t.getTitle))]), a("div", { staticClass: "dialog-head-btn" })])]), a("div", [a("gd-table-queries-field", { ref: "queriesField", attrs: { columns: t.btnItems.tableQueries, height: t.hig, queryParam: t.btnItems.queryParam, colse: t.colseQuery, visible: t.visible, openMode: 1, recordRelation: t.record, viewRecord: t.btnItems.viewRecord, openRules: !0, changeTrigger: t.changeTrigger, queriesMode: "drawer" }, on: { save: t.queriesRefresh } })], 1)], 2)], 1);
114367
114555
  }, _sfc_staticRenderFns$20 = [], __component__$20 = /* @__PURE__ */ normalizeComponent(
@@ -114370,11 +114558,11 @@ var _sfc_render$20 = function s() {
114370
114558
  _sfc_staticRenderFns$20,
114371
114559
  !1,
114372
114560
  null,
114373
- "b9dca614",
114561
+ "79476d37",
114374
114562
  null,
114375
114563
  null
114376
114564
  );
114377
- const UnifiedComponents = __component__$20.exports, fonticon_vue_vue_type_style_index_0_scoped_4a2a422a_lang = "", _sfc_main$1$ = {
114565
+ const UnifiedComponents = __component__$20.exports, fonticon_vue_vue_type_style_index_0_scoped_641f80c8_lang = "", _sfc_main$1$ = {
114378
114566
  props: {
114379
114567
  record: {
114380
114568
  type: Object,
@@ -114391,6 +114579,10 @@ const UnifiedComponents = __component__$20.exports, fonticon_vue_vue_type_style_
114391
114579
  fieldContext: {
114392
114580
  type: Array,
114393
114581
  default: () => []
114582
+ },
114583
+ foreignContext: {
114584
+ type: Array,
114585
+ default: () => []
114394
114586
  }
114395
114587
  },
114396
114588
  data() {
@@ -114406,6 +114598,13 @@ const UnifiedComponents = __component__$20.exports, fonticon_vue_vue_type_style_
114406
114598
  },
114407
114599
  deep: !0,
114408
114600
  immediate: !0
114601
+ },
114602
+ foreignContext: {
114603
+ handler(s) {
114604
+ this.record.foreignContext = this.foreignContext;
114605
+ },
114606
+ deep: !0,
114607
+ immediate: !0
114409
114608
  }
114410
114609
  },
114411
114610
  computed: {
@@ -114424,6 +114623,9 @@ const UnifiedComponents = __component__$20.exports, fonticon_vue_vue_type_style_
114424
114623
  doEvent(s) {
114425
114624
  this.develop !== 1 && this.$refs.unifiedComponents.doEvent(Object.assign(this.record.interac, { columnContextName: this.options.columnContextName }));
114426
114625
  }
114626
+ },
114627
+ mounted() {
114628
+ this.record.foreignContext.length > 0 && (this.record.foreignContext = this.foreignContext), this.record.fieldContext.length > 0 && (this.record.fieldContext = this.fieldContext);
114427
114629
  }
114428
114630
  };
114429
114631
  var _sfc_render$1$ = function s() {
@@ -114435,7 +114637,7 @@ var _sfc_render$1$ = function s() {
114435
114637
  _sfc_staticRenderFns$1$,
114436
114638
  !1,
114437
114639
  null,
114438
- "4a2a422a",
114640
+ "641f80c8",
114439
114641
  null,
114440
114642
  null
114441
114643
  );
@@ -117912,7 +118114,7 @@ var _sfc_render$1H = function s() {
117912
118114
  null,
117913
118115
  null
117914
118116
  );
117915
- const detailView = __component__$1H.exports, btnGroup_vue_vue_type_style_index_0_scoped_572c8d0b_lang = "", _sfc_main$1G = {
118117
+ const detailView = __component__$1H.exports, btnGroup_vue_vue_type_style_index_0_scoped_38370c79_lang = "", _sfc_main$1G = {
117916
118118
  props: {
117917
118119
  record: {
117918
118120
  type: Object,
@@ -117929,6 +118131,10 @@ const detailView = __component__$1H.exports, btnGroup_vue_vue_type_style_index_0
117929
118131
  fieldContext: {
117930
118132
  type: Array,
117931
118133
  default: () => []
118134
+ },
118135
+ foreignContext: {
118136
+ type: Array,
118137
+ default: () => []
117932
118138
  }
117933
118139
  },
117934
118140
  data() {
@@ -117941,6 +118147,13 @@ const detailView = __component__$1H.exports, btnGroup_vue_vue_type_style_index_0
117941
118147
  },
117942
118148
  deep: !0,
117943
118149
  immediate: !0
118150
+ },
118151
+ foreignContext: {
118152
+ handler(s) {
118153
+ this.record.foreignContext = this.foreignContext;
118154
+ },
118155
+ deep: !0,
118156
+ immediate: !0
117944
118157
  }
117945
118158
  },
117946
118159
  components: {
@@ -117954,13 +118167,13 @@ const detailView = __component__$1H.exports, btnGroup_vue_vue_type_style_index_0
117954
118167
  displayName: t.displayName,
117955
118168
  show: !t.hide,
117956
118169
  icon: t.icon,
117957
- transKey: t.transKey,
118170
+ transKey: t.transKey ? `Dynamics.${t.transKey}` : t.transKey,
117958
118171
  name: t.permissionsPage ? t.permissionsPage : t.id,
117959
118172
  children: t.sublevel ? t.children : [],
117960
118173
  id: t.id,
117961
118174
  style: fontSize(t)
117962
118175
  };
117963
- const r = t.btType !== "none" ? { btnType: t.btnType } : {};
118176
+ const r = t.btnStyle !== "none" ? { btnType: t.btnType } : {};
117964
118177
  s.push(Object.assign(a, r));
117965
118178
  }), s;
117966
118179
  },
@@ -117987,6 +118200,9 @@ const detailView = __component__$1H.exports, btnGroup_vue_vue_type_style_index_0
117987
118200
  const t = this.columns.filter((a) => a.id === s.item.id)[0];
117988
118201
  !t || this.$refs.unifiedComponents.doEvent(t);
117989
118202
  }
118203
+ },
118204
+ mounted() {
118205
+ this.record.foreignContext.length > 0 && (this.record.foreignContext = this.foreignContext), this.record.fieldContext.length > 0 && (this.record.fieldContext = this.fieldContext);
117990
118206
  }
117991
118207
  };
117992
118208
  var _sfc_render$1G = function s() {
@@ -117998,7 +118214,7 @@ var _sfc_render$1G = function s() {
117998
118214
  _sfc_staticRenderFns$1G,
117999
118215
  !1,
118000
118216
  null,
118001
- "572c8d0b",
118217
+ "38370c79",
118002
118218
  null,
118003
118219
  null
118004
118220
  );
@@ -118457,7 +118673,7 @@ const echartsView = __component__$1B.exports, componentArray = {
118457
118673
  uploadImg,
118458
118674
  echarts: echartsView,
118459
118675
  inputNumber: moneyNumber
118460
- }, layoutItem_vue_vue_type_style_index_0_scoped_b98906d7_lang = "", _sfc_main$1A = {
118676
+ }, layoutItem_vue_vue_type_style_index_0_scoped_2373343d_lang = "", _sfc_main$1A = {
118461
118677
  props: {
118462
118678
  record: {
118463
118679
  type: Object,
@@ -118494,6 +118710,10 @@ const echartsView = __component__$1B.exports, componentArray = {
118494
118710
  fieldContext: {
118495
118711
  type: Array,
118496
118712
  default: () => []
118713
+ },
118714
+ foreignContext: {
118715
+ type: Array,
118716
+ default: () => []
118497
118717
  }
118498
118718
  },
118499
118719
  data() {
@@ -118726,22 +118946,22 @@ var _sfc_render$1A = function s() {
118726
118946
  return a("el-option", { key: r.code, attrs: { label: t.$i18nt(`Dynamics.${r.transkey}`, r.name), value: r.code, disabled: r.disabled } }, [a("span", [t._v(t._s(t.$i18nt(`Dynamics.${r.transkey}`, r.name)))])]);
118727
118947
  }), 1) : t.record.type === "timePicker" ? a("el-time-picker", { style: t.wstyle, attrs: { disabled: t.options.disabled, "value-format": t.fieldFormat, format: t.fieldFormat, placeholder: t.options.placeholder !== void 0 ? t.options.placeholder === "" ? t.options.placeholder : t.$i18nt(`Dynamics.${t.options.placeholderTransKey}`, t.options.placeholder) : t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9") }, on: { change: t.handleChange }, model: { value: t.model[t.columnName], callback: function(r) {
118728
118948
  t.$set(t.model, t.columnName, r);
118729
- }, expression: "model[columnName]" } }) : t.record.type === "datePicker" ? a("el-date-picker", { style: t.wstyle, attrs: { disabled: t.options.disabled, type: t.record.showTime ? "datetime" : "date", "value-format": t.fieldFormat, format: t.fieldFormat, placeholder: t.options.placeholder !== void 0 ? t.options.placeholder === "" ? t.options.placeholder : t.$i18nt(`Dynamics.${t.options.placeholderTransKey}`, t.options.placeholder) : t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9") }, on: { change: t.handleChange }, model: { value: t.model[t.columnName], callback: function(r) {
118949
+ }, expression: "model[columnName]" } }) : t.record.type === "datePicker" ? a("el-date-picker", { style: t.wstyle, attrs: { disabled: t.options.disabled, type: t.options.showTime == !0 ? "datetime" : t.options.format == "4" ? "month" : "date", "value-format": t.fieldFormat, format: t.fieldFormat, placeholder: t.options.placeholder !== void 0 ? t.options.placeholder === "" ? t.options.placeholder : t.$i18nt(`Dynamics.${t.options.placeholderTransKey}`, t.options.placeholder) : t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9") }, on: { change: t.handleChange }, model: { value: t.model[t.columnName], callback: function(r) {
118730
118950
  t.$set(t.model, t.columnName, r);
118731
118951
  }, expression: "model[columnName]" } }) : t.record.type === "uploadImg" ? a(t.componentItem, { ref: "uploadImg", tag: "component", attrs: { record: t.record, develop: t.develop, model: t.model, limit: t.options.limit, disabled: t.options.disabled, prop: t.columnName, fieldContext: t.fieldContext }, on: { change: t.handleChange } }) : t.record.type === "uploadFile" ? a(t.componentItem, { ref: "uploadFile", tag: "component", attrs: { record: t.record, develop: t.develop, model: t.model, limit: t.options.limit, prop: t.columnName, disabled: t.options.disabled, fieldContext: t.fieldContext }, on: { change: t.handleChange } }) : a("el-input", { style: t.wstyle, attrs: { placeholder: t.options.placeholder !== void 0 ? t.options.placeholder === "" ? t.options.placeholder : t.$i18nt(`Dynamics.${t.options.placeholderTransKey}`, t.options.placeholder) : t.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165"), clearable: t.options.clearable, disabled: t.options.disabled, type: t.options.type }, on: { change: t.handleChange }, model: { value: t.model[t.columnName], callback: function(r) {
118732
118952
  t.$set(t.model, t.columnName, r);
118733
- }, expression: "model[columnName]" } })], 2) : t.hasComponentItem ? a(t.componentItem, { key: t.record.key, ref: "componentItem", tag: "component", attrs: { record: t.record, develop: t.develop, height: t.height, model: t.model, tableData: t.tableData, forceRender: t.forceRender, itemData: t.itemData, fieldContext: t.fieldContext }, on: { change: t.handleChange, changeData: t.changeData, fieldData: t.fieldData } }) : a("div", [t._v(t._s(t.record) + t._s(t.record.label) + " " + t._s(t.model[t.columnName]))]);
118953
+ }, expression: "model[columnName]" } })], 2) : t.hasComponentItem ? a(t.componentItem, { key: t.record.key, ref: "componentItem", tag: "component", attrs: { record: t.record, develop: t.develop, height: t.height, model: t.model, tableData: t.tableData, forceRender: t.forceRender, itemData: t.itemData, fieldContext: t.fieldContext, foreignContext: t.foreignContext }, on: { change: t.handleChange, changeData: t.changeData, fieldData: t.fieldData } }) : a("div", [t._v(t._s(t.record) + t._s(t.record.label) + " " + t._s(t.model[t.columnName]))]);
118734
118954
  }, _sfc_staticRenderFns$1A = [], __component__$1A = /* @__PURE__ */ normalizeComponent(
118735
118955
  _sfc_main$1A,
118736
118956
  _sfc_render$1A,
118737
118957
  _sfc_staticRenderFns$1A,
118738
118958
  !1,
118739
118959
  null,
118740
- "b98906d7",
118960
+ "2373343d",
118741
118961
  null,
118742
118962
  null
118743
118963
  );
118744
- const BuildLayoutItem = __component__$1A.exports, layoutItemForm_vue_vue_type_style_index_0_scoped_4abd1ad9_lang = "", _sfc_main$1z = {
118964
+ const BuildLayoutItem = __component__$1A.exports, layoutItemForm_vue_vue_type_style_index_0_scoped_b86593b6_lang = "", _sfc_main$1z = {
118745
118965
  props: {
118746
118966
  record: {
118747
118967
  type: Object,
@@ -118774,6 +118994,10 @@ const BuildLayoutItem = __component__$1A.exports, layoutItemForm_vue_vue_type_st
118774
118994
  fieldContext: {
118775
118995
  type: Array,
118776
118996
  default: () => []
118997
+ },
118998
+ foreignContext: {
118999
+ type: Array,
119000
+ default: () => []
118777
119001
  }
118778
119002
  },
118779
119003
  data() {
@@ -118823,18 +119047,18 @@ var _sfc_render$1z = function s() {
118823
119047
  "datePicker",
118824
119048
  "timePicker",
118825
119049
  "selectMultiple"
118826
- ].includes(t.record.type) ? a("el-form-item", { ref: "formItem", attrs: { rules: t.record.rules, prop: t.columnName } }, [a("span", { attrs: { slot: "label", title: t.$i18nt(`Dynamics.${t.options.transKey}`, t.record.label) }, slot: "label" }, [t.record.lockShow ? [a("el-tooltip", { directives: [{ name: "delTabIndex", rawName: "v-delTabIndex" }], attrs: { placement: "top", "open-delay": 150 } }, [a("div", { attrs: { slot: "content" }, slot: "content" }, [a("div", { style: `color:${t.record.isQuery ? "#52c41a" : "red"};font-size: 12px;` }, [t._v(" " + t._s(t.$i18nt("gd.fieldSecurity.read", "\u8BFB\u53D6")) + " ( "), a("i", { class: t.record.isQuery ? "el-icon-check" : "el-icon-close" }), t._v(" ) ")]), a("div", { style: `color:${t.record.isAdd ? "#52c41a" : "red"};font-size: 12px;` }, [t._v(" " + t._s(t.$i18nt("gd.fieldSecurity.create", "\u521B\u5EFA")) + " ( "), a("i", { class: t.record.isAdd ? "el-icon-check" : "el-icon-close" }), t._v(" ) ")]), a("div", { style: `color:${t.record.isEdit ? "#52c41a" : "red"};font-size: 12px;` }, [t._v(" " + t._s(t.$i18nt("gd.fieldSecurity.update", "\u66F4\u65B0")) + " ( "), a("i", { class: t.record.isEdit ? "el-icon-check" : "el-icon-close" }), t._v(" ) ")])]), a("i", { staticClass: "el-icon-lock" })])] : t._e(), t.record.help ? [a("el-tooltip", { directives: [{ name: "delTabIndex", rawName: "v-delTabIndex" }], attrs: { placement: "top", "open-delay": 150 } }, [a("span", { attrs: { slot: "content" }, domProps: { innerHTML: t._s(t.record.help) }, slot: "content" }), a("i", { staticClass: "el-icon-question" })])] : t._e(), a("span", [t._v(" " + t._s(t.$i18nt(`Dynamics.${t.options.transKey}`, t.record.label)) + " ")])], 2), a("buildLayoutItem", { attrs: { record: t.record, isForm: t.isForm, model: t.model, tableData: t.tableData, outlineTreeData: t.outlineTreeData, develop: t.develop, itemData: t.itemData, fieldContext: t.fieldContext }, on: { lookup: t.lookup, change: t.handleChange } })], 1) : t._e();
119050
+ ].includes(t.record.type) ? a("el-form-item", { ref: "formItem", attrs: { rules: t.record.rules, prop: t.columnName } }, [a("span", { attrs: { slot: "label", title: t.$i18nt(`Dynamics.${t.options.transKey}`, t.record.label) }, slot: "label" }, [t.record.lockShow ? [a("el-tooltip", { directives: [{ name: "delTabIndex", rawName: "v-delTabIndex" }], attrs: { placement: "top", "open-delay": 150 } }, [a("div", { attrs: { slot: "content" }, slot: "content" }, [a("div", { style: `color:${t.record.isQuery ? "#52c41a" : "red"};font-size: 12px;` }, [t._v(" " + t._s(t.$i18nt("gd.fieldSecurity.read", "\u8BFB\u53D6")) + " ( "), a("i", { class: t.record.isQuery ? "el-icon-check" : "el-icon-close" }), t._v(" ) ")]), a("div", { style: `color:${t.record.isAdd ? "#52c41a" : "red"};font-size: 12px;` }, [t._v(" " + t._s(t.$i18nt("gd.fieldSecurity.create", "\u521B\u5EFA")) + " ( "), a("i", { class: t.record.isAdd ? "el-icon-check" : "el-icon-close" }), t._v(" ) ")]), a("div", { style: `color:${t.record.isEdit ? "#52c41a" : "red"};font-size: 12px;` }, [t._v(" " + t._s(t.$i18nt("gd.fieldSecurity.update", "\u66F4\u65B0")) + " ( "), a("i", { class: t.record.isEdit ? "el-icon-check" : "el-icon-close" }), t._v(" ) ")])]), a("i", { staticClass: "el-icon-lock" })])] : t._e(), t.record.help ? [a("el-tooltip", { directives: [{ name: "delTabIndex", rawName: "v-delTabIndex" }], attrs: { placement: "top", "open-delay": 150 } }, [a("span", { attrs: { slot: "content" }, domProps: { innerHTML: t._s(t.record.help) }, slot: "content" }), a("i", { staticClass: "el-icon-question" })])] : t._e(), a("span", [t._v(" " + t._s(t.$i18nt(`Dynamics.${t.options.transKey}`, t.record.label)) + " ")])], 2), a("buildLayoutItem", { attrs: { record: t.record, isForm: t.isForm, model: t.model, tableData: t.tableData, outlineTreeData: t.outlineTreeData, develop: t.develop, itemData: t.itemData, fieldContext: t.fieldContext, foreignContext: t.foreignContext }, on: { lookup: t.lookup, change: t.handleChange } })], 1) : t._e();
118827
119051
  }, _sfc_staticRenderFns$1z = [], __component__$1z = /* @__PURE__ */ normalizeComponent(
118828
119052
  _sfc_main$1z,
118829
119053
  _sfc_render$1z,
118830
119054
  _sfc_staticRenderFns$1z,
118831
119055
  !1,
118832
119056
  null,
118833
- "4abd1ad9",
119057
+ "b86593b6",
118834
119058
  null,
118835
119059
  null
118836
119060
  );
118837
- const BuildLayoutItemForm = __component__$1z.exports, layoutNode_vue_vue_type_style_index_0_scoped_22e7f515_lang = "", _sfc_main$1y = {
119061
+ const BuildLayoutItemForm = __component__$1z.exports, layoutNode_vue_vue_type_style_index_0_scoped_8006bc22_lang = "", _sfc_main$1y = {
118838
119062
  props: {
118839
119063
  record: {
118840
119064
  type: Object,
@@ -118863,6 +119087,10 @@ const BuildLayoutItemForm = __component__$1z.exports, layoutNode_vue_vue_type_st
118863
119087
  fieldContext: {
118864
119088
  type: Array,
118865
119089
  default: () => []
119090
+ },
119091
+ foreignContext: {
119092
+ type: Array,
119093
+ default: () => []
118866
119094
  }
118867
119095
  },
118868
119096
  data() {
@@ -118914,7 +119142,7 @@ var _sfc_render$1y = function s() {
118914
119142
  "datePicker",
118915
119143
  "timePicker",
118916
119144
  "selectMultiple"
118917
- ].includes(t.record.type) ? a("buildLayoutItemForm", { attrs: { record: t.record, isForm: t.isForm, model: t.model, develop: t.develop, fieldContext: t.fieldContext } }) : a("buildLayoutItem", { attrs: { record: t.record, isForm: t.isForm, model: t.model, develop: t.develop, fieldContext: t.fieldContext } })], t.record.key === t.selectItem.key && !t.disabled ? a("div", { staticClass: "drag-delete" }, [a("i", { staticClass: "gd-icons", class: t.record.icon }), a("div", { staticClass: "name line1" }, [t._v(t._s(t.record.key))]), a("div", { staticClass: "shu" }), a("i", { staticClass: "el-icon-delete", on: { click: function(r) {
119145
+ ].includes(t.record.type) ? a("buildLayoutItemForm", { attrs: { record: t.record, isForm: t.isForm, model: t.model, develop: t.develop, fieldContext: t.fieldContext, foreignContext: t.foreignContext } }) : a("buildLayoutItem", { attrs: { record: t.record, isForm: t.isForm, model: t.model, develop: t.develop, fieldContext: t.fieldContext, foreignContext: t.foreignContext } })], t.record.key === t.selectItem.key && !t.disabled ? a("div", { staticClass: "drag-delete" }, [a("i", { staticClass: "gd-icons", class: t.record.icon }), a("div", { staticClass: "name line1" }, [t._v(t._s(t.record.key))]), a("div", { staticClass: "shu" }), a("i", { staticClass: "el-icon-delete", on: { click: function(r) {
118918
119146
  return r.stopPropagation(), t.$emit("handleDelete");
118919
119147
  } } })]) : t._e(), t.develop === 1 ? a("div", { staticClass: "mtabs-kuang" }) : t._e()], 2);
118920
119148
  }, _sfc_staticRenderFns$1y = [], __component__$1y = /* @__PURE__ */ normalizeComponent(
@@ -118923,11 +119151,11 @@ var _sfc_render$1y = function s() {
118923
119151
  _sfc_staticRenderFns$1y,
118924
119152
  !1,
118925
119153
  null,
118926
- "22e7f515",
119154
+ "8006bc22",
118927
119155
  null,
118928
119156
  null
118929
119157
  );
118930
- const layoutNode = __component__$1y.exports, containerPanel_vue_vue_type_style_index_0_scoped_8c4e08d4_lang = "", _sfc_main$1x = {
119158
+ const layoutNode = __component__$1y.exports, containerPanel_vue_vue_type_style_index_0_scoped_3160e6ad_lang = "", _sfc_main$1x = {
118931
119159
  props: {
118932
119160
  record: {
118933
119161
  type: Object,
@@ -118946,6 +119174,9 @@ const layoutNode = __component__$1y.exports, containerPanel_vue_vue_type_style_i
118946
119174
  return {};
118947
119175
  },
118948
119176
  computed: {
119177
+ gclass() {
119178
+ return console.log(this.record.customClass), this.record.customClass ? this.record.customClass : "";
119179
+ },
118949
119180
  heightArea() {
118950
119181
  return this.height;
118951
119182
  },
@@ -118968,14 +119199,14 @@ const layoutNode = __component__$1y.exports, containerPanel_vue_vue_type_style_i
118968
119199
  };
118969
119200
  var _sfc_render$1x = function s() {
118970
119201
  var t = this, a = t._self._c;
118971
- return a("div", { staticClass: "container-panel", style: t.wstyle }, [a("div", { staticClass: "container-content", style: t.style }, [t._t("containerItem", null, { containerStyle: t.heiType })], 2)]);
119202
+ return a("div", { staticClass: "container-panel", class: t.gclass, style: t.wstyle }, [a("div", { staticClass: "container-content", style: t.style }, [t._t("containerItem", null, { containerStyle: t.heiType })], 2)]);
118972
119203
  }, _sfc_staticRenderFns$1x = [], __component__$1x = /* @__PURE__ */ normalizeComponent(
118973
119204
  _sfc_main$1x,
118974
119205
  _sfc_render$1x,
118975
119206
  _sfc_staticRenderFns$1x,
118976
119207
  !1,
118977
119208
  null,
118978
- "8c4e08d4",
119209
+ "3160e6ad",
118979
119210
  null,
118980
119211
  null
118981
119212
  );
@@ -119024,7 +119255,7 @@ var _sfc_render$1w = function s() {
119024
119255
  null,
119025
119256
  null
119026
119257
  );
119027
- const FlexLayout = __component__$1w.exports, dataList_vue_vue_type_style_index_0_scoped_1d7e3404_lang = "", _sfc_main$1v = {
119258
+ const FlexLayout = __component__$1w.exports, dataList_vue_vue_type_style_index_0_scoped_a00ad03a_lang = "", _sfc_main$1v = {
119028
119259
  props: {
119029
119260
  record: {
119030
119261
  type: Object,
@@ -119037,6 +119268,10 @@ const FlexLayout = __component__$1w.exports, dataList_vue_vue_type_style_index_0
119037
119268
  itemData: {
119038
119269
  type: Object,
119039
119270
  default: () => ({})
119271
+ },
119272
+ foreignContext: {
119273
+ type: Array,
119274
+ default: () => []
119040
119275
  }
119041
119276
  },
119042
119277
  data() {
@@ -119044,6 +119279,7 @@ const FlexLayout = __component__$1w.exports, dataList_vue_vue_type_style_index_0
119044
119279
  confirmLoading: !1,
119045
119280
  fieldData: [],
119046
119281
  fieldContext: [],
119282
+ foreignContextList: [],
119047
119283
  queryParam: {},
119048
119284
  pageNo: 1,
119049
119285
  list: [],
@@ -119059,9 +119295,51 @@ const FlexLayout = __component__$1w.exports, dataList_vue_vue_type_style_index_0
119059
119295
  },
119060
119296
  deep: !0,
119061
119297
  immediate: !0
119298
+ },
119299
+ itemData: {
119300
+ handler(s) {
119301
+ this.getForeignData();
119302
+ },
119303
+ deep: !0,
119304
+ immediate: !0
119305
+ },
119306
+ foreignContext: {
119307
+ handler(s) {
119308
+ this.record.foreignContext = this.foreignContext;
119309
+ },
119310
+ deep: !0,
119311
+ immediate: !0
119062
119312
  }
119063
119313
  },
119064
119314
  computed: {
119315
+ executeIds() {
119316
+ const s = this.itemData.id ? this.itemData.id : uuid$1();
119317
+ let t = "";
119318
+ for (let a in this.itemData)
119319
+ a !== "id" && this.itemData[a] === s && (t = a);
119320
+ return t ? t + "_" + s : this.ids;
119321
+ },
119322
+ ids() {
119323
+ return uuid$1();
119324
+ },
119325
+ foreignContextName() {
119326
+ return this.options.foreignContextName ? this.options.foreignContextName.split(",") : [];
119327
+ },
119328
+ relationData() {
119329
+ let s = [];
119330
+ return (this.options.foreignBind ? this.options.foreignBind : []).forEach((a) => {
119331
+ const r = a.pageSizeMode === "followSystem" ? this.tablePageSize : a.pageSize;
119332
+ s.push({
119333
+ pageNo: 1,
119334
+ pageSize: r || 10,
119335
+ tableId: a.tableId,
119336
+ viewId: a.viewId,
119337
+ viewType: 1,
119338
+ refKeyName: a.refKeyName,
119339
+ fkName: a.fkName
119340
+ });
119341
+ }), s;
119342
+ },
119065
119343
  getDataList() {
119066
119344
  const s = this.options.columnsNumber ? this.options.columnsNumber : 1;
119067
119345
  return this.develop == 1 ? this.record.list.length === 0 ? 1 : s > 10 ? 10 : s : this.list;
@@ -119129,11 +119407,24 @@ const FlexLayout = __component__$1w.exports, dataList_vue_vue_type_style_index_0
119129
119407
  loadMore() {
119130
119408
  this.loading || this.list.length >= this.totalRows || (this.pageNo += 1, this.getPageList());
119131
119409
  },
119410
+ getForeignData() {
119411
+ if (this.develop == 1 || this.foreignContextName.length === 0)
119412
+ return;
119413
+ const t = `${this.foreignContextName[0]}${this.foreignContextName[1]}`.replace(/_|-/g, "").toLowerCase(), a = this.itemData[t];
119414
+ this.executeEventBind();
119415
+ let r = a ? a.rows : [];
119416
+ r.map((o) => {
119417
+ let l = /* @__PURE__ */ new Map();
119418
+ return l.set(this.executeIds, o.id), Object.assign(o, Object.fromEntries(l)), o;
119419
+ }), this.list = r, this.totalRows = a ? a.totalrows : 0, this.statu = this.totalRows === 0, this.pageNo = 1;
119420
+ },
119132
119421
  getContext() {
119133
- this.fieldData.length > 0 || !!!this.options.view.id || this.baseGetLoadData();
119422
+ this.develop == 2 || this.confirmLoading || this.fieldData.length > 0 || !!!this.options.view.id || (this.confirmLoading = !0, Promise.all([this.baseGetLoadData(), this.getCodeGenerateView()]).then((t) => {
119423
+ this.confirmLoading = !1;
119424
+ }));
119134
119425
  },
119135
119426
  init() {
119136
- if (console.log(this.record), this.develop == 1) {
119427
+ if (this.develop == 1) {
119137
119428
  this.getContext();
119138
119429
  return;
119139
119430
  }
@@ -119141,7 +119432,7 @@ const FlexLayout = __component__$1w.exports, dataList_vue_vue_type_style_index_0
119141
119432
  console.log("\u6570\u636E\u672A\u914D\u7F6E\uFF01");
119142
119433
  return;
119143
119434
  }
119144
- this.confirmLoading = !0, Promise.all([this.baseGetTableView(), this.baseGetLoadData()]).then((s) => {
119435
+ this.foreignContextName.length > 0 || Promise.all([this.baseGetTableView(), this.baseGetLoadData()]).then((s) => {
119145
119436
  this.pageLoading();
119146
119437
  });
119147
119438
  },
@@ -119157,12 +119448,15 @@ const FlexLayout = __component__$1w.exports, dataList_vue_vue_type_style_index_0
119157
119448
  },
119158
119449
  switchingDate(this.queryParam, this.fieldData)
119159
119450
  );
119160
- basePage(t).then((a) => {
119451
+ this.relationData.length > 0 && Object.assign(t, { relation: this.relationData }), this.foreignContextName.length > 0 && Object.assign(t, { fkValue: this.itemData.id, fkName: this.foreignContextName[0] }), basePage(t).then((a) => {
119161
119452
  if (a.code === 200) {
119162
- let r = a.data.rows;
119163
- this.list = s || this.pageNo === 1 ? r : this.list.concat(r), this.totalRows = a.data.totalrows, this.statu = a.data.totalrows === 0;
119453
+ let r = a.data.rows.map((o) => {
119454
+ let l = /* @__PURE__ */ new Map();
119455
+ return l.set(this.ids, o.id), Object.assign(o, Object.fromEntries(l)), o;
119456
+ });
119457
+ this.list = s || this.pageNo === 1 ? r : this.list.concat(r), this.totalRows = a.data.totalrows, this.statu = this.totalRows === 0;
119164
119458
  }
119165
- this.loading = !1, this.confirmLoading = !1;
119459
+ this.loading = !1, this.confirmLoading = !1, this.record.hideLoad && this.record.hideLoad(this.record.key);
119166
119460
  });
119167
119461
  },
119168
119462
  baseGetTableView() {
@@ -119186,6 +119480,20 @@ const FlexLayout = __component__$1w.exports, dataList_vue_vue_type_style_index_0
119186
119480
  }
119187
119481
  }), this.fieldContext = s;
119188
119482
  },
119483
+ getCodeGenerateView() {
119484
+ return codeGenerateView({ tableId: this.tableData.id }).then((s) => {
119485
+ if (s.code === 200) {
119486
+ let t = [];
119487
+ s.data.forEach((a) => {
119488
+ t.push({
119489
+ label: `${a.contacttable.tablename} (${a.columnname})`,
119490
+ value: `${a.columnname},${a.contacttable.tablename},${this.record.key}`
119491
+ });
119492
+ }), this.foreignContextList = t;
119493
+ }
119494
+ return s;
119495
+ });
119496
+ },
119189
119497
  getColumnsList(s, t) {
119190
119498
  if (s.effecttype == "about" && s.columnname === (s.relations + "_abouttable").toLowerCase())
119191
119499
  return !1;
@@ -119198,16 +119506,22 @@ const FlexLayout = __component__$1w.exports, dataList_vue_vue_type_style_index_0
119198
119506
  value: a,
119199
119507
  label: this.$i18nt(`Dynamics.${s.transkey}`, s.columncomment)
119200
119508
  };
119509
+ },
119510
+ executeEventBind() {
119511
+ const t = (this.record.executeEvent ? this.record.executeEvent : []).filter((a) => a.id !== this.executeIds);
119512
+ this.record.executeEvent = t.concat([
119513
+ { id: this.executeIds, executeEvent: this.executeEvent, ids: this.ids, parentId: this.itemData.id }
119514
+ ]);
119201
119515
  }
119202
119516
  },
119203
- created() {
119204
- this.init(), this.develop == 2 && (this.record.executeEvent = this.executeEvent);
119517
+ mounted() {
119518
+ this.init(), this.develop == 2 && this.executeEventBind(), this.record.foreignContext.length > 0 && (this.record.foreignContext = this.foreignContext), this.record.hasLoad && this.record.hasLoad(this.record.key);
119205
119519
  }
119206
119520
  };
119207
119521
  var _sfc_render$1v = function s() {
119208
119522
  var t = this, a = t._self._c;
119209
119523
  return a("div", { directives: [{ name: "loading", rawName: "v-loading", value: t.confirmLoading, expression: "confirmLoading" }], staticClass: "gd-data-list" }, [a("div", { style: t.style }, t._l(t.getDataList, function(r, o) {
119210
- return a("div", { staticClass: "flexd-items", style: t.istyle }, [t._t("listItem", null, { index: o, itemStyle: t.itemStyle, row: r, fieldContext: t.fieldContext })], 2);
119524
+ return a("div", { staticClass: "flexd-items", style: t.istyle }, [t._t("listItem", null, { index: o, itemStyle: t.itemStyle, row: r, fieldContext: t.fieldContext, foreignContext: t.foreignContextList })], 2);
119211
119525
  }), 0), t.totalRows > 0 ? a("div", { staticClass: "list-more", class: t.totalRows > 0 && t.list.length >= t.totalRows ? "" : "active-item" }, [t.loading ? a("i", { staticClass: "el-icon-loading" }) : t._e(), a("div", { staticClass: "more-title", on: { click: t.loadMore } }, [t._v(t._s(t.moreTitle))])]) : t._e(), t.statu ? a("div", { staticClass: "empty-control" }, [a("i", { staticClass: "el-icon-receiving" }), a("div", { staticClass: "empty-title" }, [t._v(t._s(t.$i18nt("el.select.noData", "\u65E0\u6570\u636E")))])]) : t._e()]);
119212
119526
  }, _sfc_staticRenderFns$1v = [], __component__$1v = /* @__PURE__ */ normalizeComponent(
119213
119527
  _sfc_main$1v,
@@ -119215,7 +119529,7 @@ var _sfc_render$1v = function s() {
119215
119529
  _sfc_staticRenderFns$1v,
119216
119530
  !1,
119217
119531
  null,
119218
- "1d7e3404",
119532
+ "a00ad03a",
119219
119533
  null,
119220
119534
  null
119221
119535
  );
@@ -119381,7 +119695,7 @@ var _sfc_render$1t = function s() {
119381
119695
  null,
119382
119696
  null
119383
119697
  );
119384
- const drawerPanel = __component__$1t.exports, layoutItem_vue_vue_type_style_index_0_scoped_f18c8385_lang = "", _sfc_main$1s = {
119698
+ const drawerPanel = __component__$1t.exports, layoutItem_vue_vue_type_style_index_0_scoped_e18abab7_lang = "", _sfc_main$1s = {
119385
119699
  name: "layoutItem",
119386
119700
  props: {
119387
119701
  record: {
@@ -119415,6 +119729,10 @@ const drawerPanel = __component__$1t.exports, layoutItem_vue_vue_type_style_inde
119415
119729
  fieldContext: {
119416
119730
  type: Array,
119417
119731
  default: () => []
119732
+ },
119733
+ foreignContext: {
119734
+ type: Array,
119735
+ default: () => []
119418
119736
  }
119419
119737
  },
119420
119738
  data() {
@@ -119490,7 +119808,7 @@ var _sfc_render$1s = function s() {
119490
119808
  animation: 180,
119491
119809
  handle: ".drag-move"
119492
119810
  }, !1), [a("transition-group", { staticClass: "list-main", attrs: { tag: "div", name: "list" } }, [t._l(r.list, function(l) {
119493
- return [a("layoutItem", { key: l.key, staticClass: "drag-move", attrs: { selectItem: t.selectItem, record: l, isForm: t.isForm, model: t.model, develop: t.develop, disabled: t.disabled, fieldContext: t.fieldContext }, on: { "update:selectItem": function(d) {
119811
+ return [a("layoutItem", { key: l.key, staticClass: "drag-move", attrs: { selectItem: t.selectItem, record: l, isForm: t.isForm, model: t.model, develop: t.develop, disabled: t.disabled, fieldContext: t.fieldContext, foreignContext: t.foreignContext }, on: { "update:selectItem": function(d) {
119494
119812
  t.selectItem = d;
119495
119813
  }, "update:select-item": function(d) {
119496
119814
  t.selectItem = d;
@@ -119517,7 +119835,7 @@ var _sfc_render$1s = function s() {
119517
119835
  animation: 180,
119518
119836
  handle: ".drag-move"
119519
119837
  }, !1), [a("transition-group", { staticClass: "list-main list-mains", attrs: { tag: "div", name: "list" } }, [t._l(r.list, function(l) {
119520
- return [a("layoutItem", { key: l.key, staticClass: "drag-move", attrs: { selectItem: t.selectItem, record: l, isForm: t.isForm, model: t.model, develop: t.develop, disabled: t.disabled, fieldContext: t.fieldContext }, on: { "update:selectItem": function(d) {
119838
+ return [a("layoutItem", { key: l.key, staticClass: "drag-move", attrs: { selectItem: t.selectItem, record: l, isForm: t.isForm, model: t.model, develop: t.develop, disabled: t.disabled, fieldContext: t.fieldContext, foreignContext: t.foreignContext }, on: { "update:selectItem": function(d) {
119521
119839
  t.selectItem = d;
119522
119840
  }, "update:select-item": function(d) {
119523
119841
  t.selectItem = d;
@@ -119546,7 +119864,7 @@ var _sfc_render$1s = function s() {
119546
119864
  animation: 180,
119547
119865
  handle: ".drag-move"
119548
119866
  }, !1), [a("transition-group", { staticClass: "list-main", attrs: { tag: "div", name: "list" } }, [t._l(r.list, function(l) {
119549
- return [a("layoutItem", { key: l.key, staticClass: "drag-move", attrs: { selectItem: t.selectItem, record: l, isForm: t.isForm, model: t.model, develop: t.develop, disabled: t.disabled, fieldContext: t.fieldContext }, on: { "update:selectItem": function(d) {
119867
+ return [a("layoutItem", { key: l.key, staticClass: "drag-move", attrs: { selectItem: t.selectItem, record: l, isForm: t.isForm, model: t.model, develop: t.develop, disabled: t.disabled, fieldContext: t.fieldContext, foreignContext: t.foreignContext }, on: { "update:selectItem": function(d) {
119550
119868
  t.selectItem = d;
119551
119869
  }, "update:select-item": function(d) {
119552
119870
  t.selectItem = d;
@@ -119572,7 +119890,7 @@ var _sfc_render$1s = function s() {
119572
119890
  animation: 180,
119573
119891
  handle: ".drag-move"
119574
119892
  }, !1), [a("transition-group", { staticClass: "list-main", attrs: { tag: "div", name: "list" } }, [t._l(t.record.list, function(r) {
119575
- return [a("layoutItem", { key: r.key, staticClass: "drag-move", attrs: { selectItem: t.selectItem, record: r, isForm: t.isForm, model: t.model, develop: t.develop, disabled: t.disabled, fieldContext: t.fieldContext }, on: { "update:selectItem": function(o) {
119893
+ return [a("layoutItem", { key: r.key, staticClass: "drag-move", attrs: { selectItem: t.selectItem, record: r, isForm: t.isForm, model: t.model, develop: t.develop, disabled: t.disabled, fieldContext: t.fieldContext, foreignContext: t.foreignContext }, on: { "update:selectItem": function(o) {
119576
119894
  t.selectItem = o;
119577
119895
  }, "update:select-item": function(o) {
119578
119896
  t.selectItem = o;
@@ -119599,7 +119917,7 @@ var _sfc_render$1s = function s() {
119599
119917
  animation: 180,
119600
119918
  handle: ".drag-move"
119601
119919
  }, !1), [a("transition-group", { staticClass: "list-main", attrs: { tag: "div", name: "list" } }, [t._l(t.record.list, function(r) {
119602
- return [a("layoutItem", { key: r.key, staticClass: "drag-move", attrs: { selectItem: t.selectItem, record: r, isForm: !0, model: t.record.ruleForm, develop: t.develop, disabled: t.disabled, fieldContext: t.fieldContext }, on: { "update:selectItem": function(o) {
119920
+ return [a("layoutItem", { key: r.key, staticClass: "drag-move", attrs: { selectItem: t.selectItem, record: r, isForm: !0, model: t.record.ruleForm, develop: t.develop, disabled: t.disabled, fieldContext: t.fieldContext, foreignContext: t.foreignContext }, on: { "update:selectItem": function(o) {
119603
119921
  t.selectItem = o;
119604
119922
  }, "update:select-item": function(o) {
119605
119923
  t.selectItem = o;
@@ -119626,7 +119944,7 @@ var _sfc_render$1s = function s() {
119626
119944
  animation: 180,
119627
119945
  handle: ".drag-move"
119628
119946
  }, !1), [a("transition-group", { staticClass: "list-main", attrs: { tag: "div", name: "list" } }, [t._l(t.record.list, function(r) {
119629
- return [a("layoutItem", { key: r.key, staticClass: "drag-move", attrs: { selectItem: t.selectItem, record: r, isForm: !0, model: t.record.ruleForm, develop: t.develop, disabled: t.disabled, fieldContext: t.fieldContext }, on: { "update:selectItem": function(o) {
119947
+ return [a("layoutItem", { key: r.key, staticClass: "drag-move", attrs: { selectItem: t.selectItem, record: r, isForm: !0, model: t.record.ruleForm, develop: t.develop, disabled: t.disabled, fieldContext: t.fieldContext, foreignContext: t.foreignContext }, on: { "update:selectItem": function(o) {
119630
119948
  t.selectItem = o;
119631
119949
  }, "update:select-item": function(o) {
119632
119950
  t.selectItem = o;
@@ -119656,7 +119974,7 @@ var _sfc_render$1s = function s() {
119656
119974
  animation: 180,
119657
119975
  handle: ".drag-move"
119658
119976
  }, !1), [a("transition-group", { staticClass: "list-main", style: r, attrs: { tag: "div", name: "list" } }, [t._l(t.record.list, function(o) {
119659
- return [a("layoutItem", { key: o.key, staticClass: "drag-move", attrs: { selectItem: t.selectItem, record: o, isForm: t.isForm, model: t.model, develop: t.develop, disabled: t.disabled, fieldContext: t.fieldContext }, on: { "update:selectItem": function(l) {
119977
+ return [a("layoutItem", { key: o.key, staticClass: "drag-move", attrs: { selectItem: t.selectItem, record: o, isForm: t.isForm, model: t.model, develop: t.develop, disabled: t.disabled, fieldContext: t.fieldContext, foreignContext: t.foreignContext }, on: { "update:selectItem": function(l) {
119660
119978
  t.selectItem = l;
119661
119979
  }, "update:select-item": function(l) {
119662
119980
  t.selectItem = l;
@@ -119668,7 +119986,7 @@ var _sfc_render$1s = function s() {
119668
119986
  })], 2)], 1)];
119669
119987
  } }]) }), t.record.key === t.selectItem.key && !t.disabled ? a("div", { staticClass: "drag-delete" }, [a("i", { staticClass: "gd-icons", class: t.record.icon }), a("div", { staticClass: "name line1" }, [t._v(t._s(t.record.key))]), a("div", { staticClass: "shu" }), a("i", { staticClass: "el-icon-delete", on: { click: function(r) {
119670
119988
  return r.stopPropagation(), t.$emit("handleDelete");
119671
- } } })]) : t._e(), t.develop === 1 ? a("div", { staticClass: "mtabs-kuang" }) : t._e()], 1)] : t.record.type === "flexLayout" ? [a("div", { staticClass: "mtabs-box", class: { active: t.record.key === t.selectItem.key }, on: { click: function(r) {
119989
+ } } })]) : t._e(), t.develop === 1 ? a("div", { staticClass: "mtabs-kuang" }) : t._e()], 1)] : t.record.type === "flexLayout" ? [a("div", { staticClass: "mtabs-box", class: { active: t.record.key === t.selectItem.key && !t.disabled }, on: { click: function(r) {
119672
119990
  return r.stopPropagation(), t.handleSelectItem(t.record);
119673
119991
  } } }, [a("flexLayout", { staticClass: "grid-row grid-collapse", attrs: { selectItem: t.selectItem, record: t.record, height: t.height }, on: { "update:selectItem": function(r) {
119674
119992
  t.selectItem = r;
@@ -119687,7 +120005,7 @@ var _sfc_render$1s = function s() {
119687
120005
  animation: 180,
119688
120006
  handle: ".drag-move1"
119689
120007
  }, !1), [a("transition-group", { staticClass: "list-main", style: r, attrs: { tag: "div", name: "list" } }, [t._l(t.record.list, function(o) {
119690
- return [a("layoutItem", { key: o.key, staticClass: "drag-move1", attrs: { selectItem: t.selectItem, record: o, isForm: t.isForm, model: t.model, develop: t.develop, disabled: t.disabled, fieldContext: t.fieldContext }, on: { "update:selectItem": function(l) {
120008
+ return [a("layoutItem", { key: o.key, staticClass: "drag-move1", attrs: { selectItem: t.selectItem, record: o, isForm: t.isForm, model: t.model, develop: t.develop, disabled: t.disabled, fieldContext: t.fieldContext, foreignContext: t.foreignContext }, on: { "update:selectItem": function(l) {
119691
120009
  t.selectItem = l;
119692
120010
  }, "update:select-item": function(l) {
119693
120011
  t.selectItem = l;
@@ -119699,42 +120017,42 @@ var _sfc_render$1s = function s() {
119699
120017
  })], 2)], 1)];
119700
120018
  } }]) }), t.record.key === t.selectItem.key && !t.disabled ? a("div", { staticClass: "drag-delete" }, [a("i", { staticClass: "gd-icons", class: t.record.icon }), a("div", { staticClass: "name line1" }, [t._v(t._s(t.record.key))]), a("div", { staticClass: "shu" }), a("i", { staticClass: "el-icon-delete", on: { click: function(r) {
119701
120019
  return r.stopPropagation(), t.$emit("handleDelete");
119702
- } } })]) : t._e(), t.develop === 1 ? a("div", { staticClass: "mtabs-kuang" }) : t._e()], 1)] : t.record.type === "dataList" ? [a("div", { staticClass: "mtabs-box", class: { active: t.record.key === t.selectItem.key }, on: { click: function(r) {
120020
+ } } })]) : t._e(), t.develop === 1 ? a("div", { staticClass: "mtabs-kuang" }) : t._e()], 1)] : t.record.type === "dataList" ? [a("div", { staticClass: "mtabs-box", class: { active: t.record.key === t.selectItem.key && !t.disabled }, on: { click: function(r) {
119703
120021
  return r.stopPropagation(), t.handleSelectItem(t.record);
119704
- } } }, [a("dataList", { staticClass: "grid-row grid-collapse", attrs: { selectItem: t.selectItem, record: t.record, height: t.height }, on: { "update:selectItem": function(r) {
120022
+ } } }, [a("dataList", { staticClass: "grid-row grid-collapse", attrs: { selectItem: t.selectItem, record: t.record, height: t.height, foreignContext: t.foreignContext }, on: { "update:selectItem": function(r) {
119705
120023
  t.selectItem = r;
119706
120024
  }, "update:select-item": function(r) {
119707
120025
  t.selectItem = r;
119708
- } }, scopedSlots: t._u([{ key: "listItem", fn: function({ index: r, itemStyle: o, fieldContext: l }) {
119709
- return [r === 0 ? a("draggable", t._b({ staticClass: "draggable-box", attrs: { tag: "div", disabled: t.disabled }, on: { start: function(d) {
119710
- return t.$emit("dragStart", d, t.record.list);
119711
- }, add: function(d) {
119712
- return t.$emit("handleColAdd", d, t.record.list, !0);
119713
- } }, model: { value: t.record.list, callback: function(d) {
119714
- t.$set(t.record, "list", d);
120026
+ } }, scopedSlots: t._u([{ key: "listItem", fn: function({ index: r, itemStyle: o, fieldContext: l, foreignContext: d }) {
120027
+ return [r === 0 ? a("draggable", t._b({ staticClass: "draggable-box", attrs: { tag: "div", disabled: t.disabled }, on: { start: function(u) {
120028
+ return t.$emit("dragStart", u, t.record.list);
120029
+ }, add: function(u) {
120030
+ return t.$emit("handleColAdd", u, t.record.list, !0);
120031
+ } }, model: { value: t.record.list, callback: function(u) {
120032
+ t.$set(t.record, "list", u);
119715
120033
  }, expression: "record.list" } }, "draggable", {
119716
120034
  group: "gd-draggable",
119717
120035
  ghostClass: "moving",
119718
120036
  animation: 180,
119719
120037
  handle: ".drag-move1"
119720
- }, !1), [a("transition-group", { staticClass: "list-main", style: o, attrs: { tag: "div", name: "list" } }, [t._l(t.record.list, function(d) {
119721
- return [a("layoutItem", { key: d.key, staticClass: "drag-move1", attrs: { selectItem: t.selectItem, record: d, isForm: t.isForm, model: t.model, develop: t.develop, disabled: t.disabled, fieldContext: l }, on: { "update:selectItem": function(u) {
119722
- t.selectItem = u;
119723
- }, "update:select-item": function(u) {
119724
- t.selectItem = u;
119725
- }, handleSelectItem: t.handleSelectItem, handleColAdd: t.handleColAdd, handleCopy: function(u) {
120038
+ }, !1), [a("transition-group", { staticClass: "list-main", style: o, attrs: { tag: "div", name: "list" } }, [t._l(t.record.list, function(u) {
120039
+ return [a("layoutItem", { key: u.key, staticClass: "drag-move1", attrs: { selectItem: t.selectItem, record: u, isForm: t.isForm, model: t.model, develop: t.develop, disabled: t.disabled, fieldContext: l, foreignContext: d }, on: { "update:selectItem": function(f) {
120040
+ t.selectItem = f;
120041
+ }, "update:select-item": function(f) {
120042
+ t.selectItem = f;
120043
+ }, handleSelectItem: t.handleSelectItem, handleColAdd: t.handleColAdd, handleCopy: function(f) {
119726
120044
  return t.$emit("handleCopy");
119727
- }, handleDelete: function(u) {
120045
+ }, handleDelete: function(f) {
119728
120046
  return t.$emit("handleDelete");
119729
120047
  } } })];
119730
- })], 2)], 1) : a("div", [t._l(t.record.list, function(d) {
119731
- return [a("layoutItem", { key: d.key, staticClass: "drag-move1", attrs: { selectItem: t.selectItem, record: d, isForm: t.isForm, model: t.model, develop: t.develop, disabled: !0 }, on: { "update:selectItem": function(u) {
119732
- t.selectItem = u;
119733
- }, "update:select-item": function(u) {
119734
- t.selectItem = u;
119735
- }, handleSelectItem: t.handleSelectItem, handleColAdd: t.handleColAdd, handleCopy: function(u) {
120048
+ })], 2)], 1) : a("div", [t._l(t.record.list, function(u) {
120049
+ return [a("layoutItem", { key: u.key, staticClass: "drag-move1", attrs: { selectItem: t.selectItem, record: u, isForm: t.isForm, model: t.model, develop: t.develop, disabled: !0 }, on: { "update:selectItem": function(f) {
120050
+ t.selectItem = f;
120051
+ }, "update:select-item": function(f) {
120052
+ t.selectItem = f;
120053
+ }, handleSelectItem: t.handleSelectItem, handleColAdd: t.handleColAdd, handleCopy: function(f) {
119736
120054
  return t.$emit("handleCopy");
119737
- }, handleDelete: function(u) {
120055
+ }, handleDelete: function(f) {
119738
120056
  return t.$emit("handleDelete");
119739
120057
  } } })];
119740
120058
  })], 2)];
@@ -119759,7 +120077,7 @@ var _sfc_render$1s = function s() {
119759
120077
  animation: 180,
119760
120078
  handle: ".drag-move"
119761
120079
  }, !1), [a("transition-group", { style: r, attrs: { tag: "div", name: "list" } }, [t._l(t.record.list, function(o) {
119762
- return [a("layoutItem", { key: o.key, staticClass: "drag-move", attrs: { selectItem: t.selectItem, record: o, isForm: t.isForm, model: t.model, develop: t.develop, fieldContext: t.fieldContext }, on: { "update:selectItem": function(l) {
120080
+ return [a("layoutItem", { key: o.key, staticClass: "drag-move", attrs: { selectItem: t.selectItem, record: o, isForm: t.isForm, model: t.model, develop: t.develop, fieldContext: t.fieldContext, foreignContext: t.foreignContext }, on: { "update:selectItem": function(l) {
119763
120081
  t.selectItem = l;
119764
120082
  }, "update:select-item": function(l) {
119765
120083
  t.selectItem = l;
@@ -119792,7 +120110,7 @@ var _sfc_render$1s = function s() {
119792
120110
  animation: 180,
119793
120111
  handle: ".drag-move"
119794
120112
  }, !1), [a("transition-group", { style: r, attrs: { tag: "div", name: "list" } }, [t._l(t.record.list, function(o) {
119795
- return [a("layoutItem", { key: o.key, staticClass: "drag-move", attrs: { selectItem: t.selectItem, record: o, isForm: t.isForm, model: t.model, develop: t.develop, fieldContext: t.fieldContext }, on: { "update:selectItem": function(l) {
120113
+ return [a("layoutItem", { key: o.key, staticClass: "drag-move", attrs: { selectItem: t.selectItem, record: o, isForm: t.isForm, model: t.model, develop: t.develop, fieldContext: t.fieldContext, foreignContext: t.foreignContext }, on: { "update:selectItem": function(l) {
119796
120114
  t.selectItem = l;
119797
120115
  }, "update:select-item": function(l) {
119798
120116
  t.selectItem = l;
@@ -119806,7 +120124,7 @@ var _sfc_render$1s = function s() {
119806
120124
  return [t.record.key === t.selectItem.key ? a("div", { staticClass: "drag-deletes" }, [a("i", { staticClass: "gd-icons", class: t.record.icon }), a("div", { staticClass: "name line1" }, [t._v(t._s(t.record.key))]), a("div", { staticClass: "shu" }), a("i", { staticClass: "el-icon-delete", on: { click: function(r) {
119807
120125
  return r.stopPropagation(), t.$emit("handleDelete");
119808
120126
  } } })]) : t._e()];
119809
- }, proxy: !0 }]) })], 1)] : a("layoutNode", { key: t.record.key, attrs: { selectItem: t.selectItem, record: t.record, isForm: t.isForm, model: t.model, develop: t.develop, disabled: t.disabled, fieldContext: t.fieldContext }, on: { "update:selectItem": function(r) {
120127
+ }, proxy: !0 }]) })], 1)] : a("layoutNode", { key: t.record.key, attrs: { selectItem: t.selectItem, record: t.record, isForm: t.isForm, model: t.model, develop: t.develop, disabled: t.disabled, fieldContext: t.fieldContext, foreignContext: t.foreignContext }, on: { "update:selectItem": function(r) {
119810
120128
  t.selectItem = r;
119811
120129
  }, "update:select-item": function(r) {
119812
120130
  t.selectItem = r;
@@ -119821,7 +120139,7 @@ var _sfc_render$1s = function s() {
119821
120139
  _sfc_staticRenderFns$1s,
119822
120140
  !1,
119823
120141
  null,
119824
- "f18c8385",
120142
+ "e18abab7",
119825
120143
  null,
119826
120144
  null
119827
120145
  );
@@ -120129,7 +120447,7 @@ var _sfc_render$1q = function s() {
120129
120447
  null,
120130
120448
  null
120131
120449
  );
120132
- const pCheckbox = __component__$1q.exports, generatorForm_vue_vue_type_style_index_0_scoped_1b20497d_lang = "", _sfc_main$1p = {
120450
+ const pCheckbox = __component__$1q.exports, generatorForm_vue_vue_type_style_index_0_scoped_bc976e6f_lang = "", _sfc_main$1p = {
120133
120451
  data() {
120134
120452
  return {
120135
120453
  type: "checkbox",
@@ -120274,7 +120592,7 @@ const pCheckbox = __component__$1q.exports, generatorForm_vue_vue_type_style_ind
120274
120592
  },
120275
120593
  getType(s) {
120276
120594
  let t = { val: "input", arr: ["input", "textarea"], data: [] };
120277
- ["input", "textarea"].includes(s.effecttype) ? Object.assign(t, { val: s.effecttype, arr: ["input", "textarea"] }) : ["radio"].includes(s.effecttype) ? Object.assign(t, { val: s.effecttype, arr: ["radio", "select"] }) : ["switch"].includes(s.effecttype) ? Object.assign(t, { val: s.effecttype, arr: ["switch"] }) : ["inputnumber", "currency", "double"].includes(s.effecttype) ? Object.assign(t, { val: "inputNumber", arr: ["inputNumber"] }) : ["checkbox"].includes(s.effecttype) ? Object.assign(t, { val: s.effecttype, arr: ["checkbox", "selectMultiple"] }) : ["select"].includes(s.effecttype) ? Object.assign(t, { val: s.effecttype, arr: ["radio", "select"] }) : ["fk", "user", "participants", "about"].includes(s.effecttype) ? Object.assign(t, { val: "select", arr: ["select"] }) : ["editor"].includes(s.effecttype) ? Object.assign(t, { val: "editor", arr: ["editor"] }) : ["file"].includes(s.effecttype) ? Object.assign(t, { val: "uploadFile", arr: ["uploadFile"] }) : ["image"].includes(s.effecttype) ? Object.assign(t, { val: "uploadImg", arr: ["uploadImg"] }) : ["datepicker"].includes(s.effecttype) && Object.assign(t, { val: "datePicker", arr: ["datePicker"] });
120595
+ ["input", "textarea"].includes(s.effecttype) ? Object.assign(t, { val: s.effecttype, arr: ["input", "textarea"] }) : ["radio"].includes(s.effecttype) ? Object.assign(t, { val: s.effecttype, arr: ["radio", "select"] }) : ["switch"].includes(s.effecttype) ? Object.assign(t, { val: s.effecttype, arr: ["switch"] }) : ["inputnumber", "currency", "double"].includes(s.effecttype) ? Object.assign(t, { val: "inputNumber", arr: ["inputNumber"] }) : ["checkbox"].includes(s.effecttype) ? Object.assign(t, { val: s.effecttype, arr: ["checkbox", "selectMultiple"] }) : ["select"].includes(s.effecttype) ? Object.assign(t, { val: s.effecttype, arr: ["radio", "select"] }) : ["fk", "user", "participants", "about"].includes(s.effecttype) ? Object.assign(t, { val: "select", arr: ["select"] }) : ["editor"].includes(s.effecttype) ? Object.assign(t, { val: "editor", arr: ["editor"] }) : ["file"].includes(s.effecttype) ? Object.assign(t, { val: "uploadFile", arr: ["uploadFile"] }) : ["image"].includes(s.effecttype) ? Object.assign(t, { val: "uploadImg", arr: ["uploadImg"] }) : ["datepicker"].includes(s.effecttype) && Object.assign(t, { val: "datePicker", arr: ["datePicker", "timePicker"] });
120278
120596
  const a = formItems.filter((o) => t.arr.includes(o.type));
120279
120597
  let r = JSON.parse(JSON.stringify(a));
120280
120598
  return r.forEach((o, l) => {
@@ -120344,7 +120662,7 @@ var _sfc_render$1p = function s() {
120344
120662
  _sfc_staticRenderFns$1p,
120345
120663
  !1,
120346
120664
  null,
120347
- "1b20497d",
120665
+ "bc976e6f",
120348
120666
  null,
120349
120667
  null
120350
120668
  );
@@ -120455,7 +120773,7 @@ var _sfc_render$1o = function s() {
120455
120773
  null,
120456
120774
  null
120457
120775
  );
120458
- const propertiesForm = __component__$1o.exports, propertiesCss_vue_vue_type_style_index_0_scoped_51444626_lang = "", _sfc_main$1n = {
120776
+ const propertiesForm = __component__$1o.exports, propertiesCss_vue_vue_type_style_index_0_scoped_f239182a_lang = "", _sfc_main$1n = {
120459
120777
  props: {
120460
120778
  selectItem: {
120461
120779
  type: Object,
@@ -120473,7 +120791,7 @@ const propertiesForm = __component__$1o.exports, propertiesCss_vue_vue_type_styl
120473
120791
  return this.selectItem.css || {};
120474
120792
  },
120475
120793
  predefine() {
120476
- return ["#F5222D", "#52C41A", "#FAAD14", "#13C2C2", "#1890FF", "#722ED1", "#eee"];
120794
+ return ["#F5222D", "#52C41A", "#FAAD14", "#13C2C2", "#1890FF", "#722ED1", "#eee", "#333", "#666", "#999"];
120477
120795
  },
120478
120796
  ...mapGetters(["primaryColor"])
120479
120797
  },
@@ -120511,11 +120829,11 @@ var _sfc_render$1n = function s() {
120511
120829
  t.$set(t.cssValue, "bjColor", r);
120512
120830
  }, expression: "cssValue.bjColor" } })], 1)], 1) : t._e(), t.getTypeofC("color") ? a("el-form-item", { attrs: { label: t.selectItem.type == "statistic" ? t.$i18nt("gd.page.numericalColor", "\u6570\u503C\u989C\u8272") : t.$i18nt("gd.page.fontcolor", "\u5B57\u4F53\u989C\u8272") } }, [a("el-input", { model: { value: t.cssValue.color, callback: function(r) {
120513
120831
  t.$set(t.cssValue, "color", r);
120514
- }, expression: "cssValue.color" } }, [a("el-color-picker", { staticClass: "theme-picker", staticStyle: { "margin-right": "-5px" }, attrs: { slot: "suffix", "popper-class": "theme-picker-dropdown" }, slot: "suffix", model: { value: t.cssValue.color, callback: function(r) {
120832
+ }, expression: "cssValue.color" } }, [a("el-color-picker", { staticClass: "theme-picker", staticStyle: { "margin-right": "-5px" }, attrs: { slot: "suffix", predefine: t.predefine, "popper-class": "theme-picker-dropdown" }, slot: "suffix", model: { value: t.cssValue.color, callback: function(r) {
120515
120833
  t.$set(t.cssValue, "color", r);
120516
120834
  }, expression: "cssValue.color" } })], 1)], 1) : t._e(), t.getTypeofC("titleColor") ? a("el-form-item", { attrs: { label: t.selectItem.type == "statistic" ? t.$i18nt("gd.page.numericalColor", "\u6570\u503C\u989C\u8272") : t.$i18nt("gd.page.fontcolor", "\u5B57\u4F53\u989C\u8272") } }, [a("el-input", { model: { value: t.cssValue.titleColor, callback: function(r) {
120517
120835
  t.$set(t.cssValue, "titleColor", r);
120518
- }, expression: "cssValue.titleColor" } }, [a("el-color-picker", { staticClass: "theme-picker", staticStyle: { "margin-right": "-5px" }, attrs: { slot: "suffix", "popper-class": "theme-picker-dropdown" }, slot: "suffix", model: { value: t.cssValue.titleColor, callback: function(r) {
120836
+ }, expression: "cssValue.titleColor" } }, [a("el-color-picker", { staticClass: "theme-picker", staticStyle: { "margin-right": "-5px" }, attrs: { slot: "suffix", predefine: t.predefine, "popper-class": "theme-picker-dropdown" }, slot: "suffix", model: { value: t.cssValue.titleColor, callback: function(r) {
120519
120837
  t.$set(t.cssValue, "titleColor", r);
120520
120838
  }, expression: "cssValue.titleColor" } })], 1)], 1) : t._e(), t.getTypeofC("fontSize") ? a("el-form-item", { attrs: { label: t.$i18nt("gd.page.fontSize", "\u5B57\u4F53\u5927\u5C0F") } }, [a("el-input", { model: { value: t.cssValue.fontSize, callback: function(r) {
120521
120839
  t.$set(t.cssValue, "fontSize", r);
@@ -120523,7 +120841,7 @@ var _sfc_render$1n = function s() {
120523
120841
  t.$set(t.cssValue, "align", r);
120524
120842
  }, expression: "cssValue.align" } }, [a("el-radio-button", { attrs: { label: "left" } }, [t._v(t._s(t.$i18nt("gd.page.alignLeft", "\u5DE6\u5BF9\u9F50")))]), a("el-radio-button", { attrs: { label: "center" } }, [t._v(t._s(t.$i18nt("gd.page.center", "\u5C45\u4E2D")))]), a("el-radio-button", { attrs: { label: "right" } }, [t._v(t._s(t.$i18nt("gd.page.alignRight", "\u53F3\u5BF9\u9F50")))])], 1)], 1) : t._e(), t.getTypeofC("fontWeight") ? a("el-form-item", { attrs: { label: t.$i18nt("gd.page.fontWeight", "\u5B57\u4F53\u52A0\u7C97") } }, [a("el-radio-group", { model: { value: t.cssValue.fontWeight, callback: function(r) {
120525
120843
  t.$set(t.cssValue, "fontWeight", r);
120526
- }, expression: "cssValue.fontWeight" } }, [a("el-radio-button", { attrs: { label: "lighter" } }, [t._v(t._s(t.$i18nt("gd.page.lighter", "\u7EC6")))]), a("el-radio-button", { attrs: { label: "normal" } }, [t._v(t._s(t.$i18nt("gd.page.fontNormal", "\u9ED8\u8BA4")))]), a("el-radio-button", { attrs: { label: "bolder" } }, [t._v(t._s(t.$i18nt("gd.page.bolder", "\u7C97")) + "\u7C97")])], 1)], 1) : t._e(), t.getTypeofC("fontStyle") ? a("el-form-item", { attrs: { label: t.$i18nt("gd.page.italic", "\u659C\u4F53") } }, [a("el-radio-group", { model: { value: t.cssValue.fontStyle, callback: function(r) {
120844
+ }, expression: "cssValue.fontWeight" } }, [a("el-radio-button", { attrs: { label: "lighter" } }, [t._v(t._s(t.$i18nt("gd.page.lighter", "\u7EC6")))]), a("el-radio-button", { attrs: { label: "normal" } }, [t._v(t._s(t.$i18nt("gd.page.fontNormal", "\u9ED8\u8BA4")))]), a("el-radio-button", { attrs: { label: "bolder" } }, [t._v(t._s(t.$i18nt("gd.page.bolder", "\u7C97")))])], 1)], 1) : t._e(), t.getTypeofC("fontStyle") ? a("el-form-item", { attrs: { label: t.$i18nt("gd.page.italic", "\u659C\u4F53") } }, [a("el-radio-group", { model: { value: t.cssValue.fontStyle, callback: function(r) {
120527
120845
  t.$set(t.cssValue, "fontStyle", r);
120528
120846
  }, expression: "cssValue.fontStyle" } }, [a("el-radio-button", { attrs: { label: "normal" } }, [t._v(t._s(t.$i18nt("gd.page.fontStyleNormal", "\u5E38\u89C4")))]), a("el-radio-button", { attrs: { label: "italic" } }, [t._v(t._s(t.$i18nt("gd.page.italic", "\u659C\u4F53")))])], 1)], 1) : t._e(), t.getTypeofC("textDecoration") ? a("el-form-item", { attrs: { label: t.$i18nt("gd.page.textModification", "\u6587\u672C\u4FEE\u9970") } }, [a("el-radio-group", { model: { value: t.cssValue.textDecoration, callback: function(r) {
120529
120847
  t.$set(t.cssValue, "textDecoration", r);
@@ -120577,14 +120895,16 @@ var _sfc_render$1n = function s() {
120577
120895
  t.$set(t.cssValue, "fontWeight", r);
120578
120896
  }, expression: "cssValue.fontWeight" } }, [a("el-option", { attrs: { value: "normal", label: t.$i18nt("gd.page.defaultPositioning", "\u9ED8\u8BA4\u5B9A\u4F4D") } }), a("el-option", { attrs: { value: "normal", label: t.$i18nt("gd.page.relativePositioning", "\u76F8\u5BF9\u5B9A\u4F4D") } }), a("el-option", { attrs: { value: "normal", label: t.$i18nt("gd.page.absolutePositioning", "\u200C\u7EDD\u5BF9\u5B9A\u4F4D") } }), a("el-option", { attrs: { value: "normal", label: t.$i18nt("gd.page.fixedPositioning", "\u56FA\u5B9A\u5B9A\u4F4D") } }), a("el-option", { attrs: { value: "normal", label: t.$i18nt("gd.page.viscousPositioning", "\u7C98\u6027\u5B9A\u4F4D") } })], 1)], 1) : t._e(), t.selectItem.customCss !== void 0 ? a("el-form-item", { attrs: { label: t.$i18nt("gd.page.customStyle", "\u81EA\u5B9A\u4E49\u6837\u5F0F") } }, [a("el-input", { attrs: { type: "textarea", rows: 3, placeholder: t.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165") }, model: { value: t.selectItem.customCss, callback: function(r) {
120579
120897
  t.$set(t.selectItem, "customCss", r);
120580
- }, expression: "selectItem.customCss" } })], 1) : t._e()], 1);
120898
+ }, expression: "selectItem.customCss" } })], 1) : t._e(), t.selectItem.customClass !== void 0 ? a("el-form-item", { attrs: { label: t.$i18nt("gd.page.customClass", "\u81EA\u5B9A\u4E49Class") } }, [a("el-input", { attrs: { type: "textarea", rows: 3, placeholder: t.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165") }, model: { value: t.selectItem.customClass, callback: function(r) {
120899
+ t.$set(t.selectItem, "customClass", r);
120900
+ }, expression: "selectItem.customClass" } })], 1) : t._e()], 1);
120581
120901
  }, _sfc_staticRenderFns$1n = [], __component__$1n = /* @__PURE__ */ normalizeComponent(
120582
120902
  _sfc_main$1n,
120583
120903
  _sfc_render$1n,
120584
120904
  _sfc_staticRenderFns$1n,
120585
120905
  !1,
120586
120906
  null,
120587
- "51444626",
120907
+ "f239182a",
120588
120908
  null,
120589
120909
  null
120590
120910
  );
@@ -120915,11 +121235,15 @@ const properitesImg = __component__$1k.exports, btnConfig$1 = [
120915
121235
  permissionsTable: "teamShare",
120916
121236
  permissionsPage: ""
120917
121237
  }
120918
- ], generatorTable_vue_vue_type_style_index_0_scoped_411336ad_lang = "", _sfc_main$1j = {
121238
+ ], generatorTable_vue_vue_type_style_index_0_scoped_dcdae513_lang = "", _sfc_main$1j = {
120919
121239
  props: {
120920
121240
  hasProp: {
120921
121241
  type: Array,
120922
121242
  default: () => ["tableName", "viewId", "formId"]
121243
+ },
121244
+ viewType: {
121245
+ type: Array,
121246
+ default: () => [1]
120923
121247
  }
120924
121248
  },
120925
121249
  data() {
@@ -120964,7 +121288,7 @@ const properitesImg = __component__$1k.exports, btnConfig$1 = [
120964
121288
  },
120965
121289
  table() {
120966
121290
  const s = this.tableLists.filter((t) => t.tablename === this.ruleFormData.tableName)[0];
120967
- return s ? Object.assign(s, { tableName: s.tablename }) : { tableName: "" };
121291
+ return s ? { tableName: s.tablename, id: s.id, tablename: s.tablename, busname: s.busname, transkey: s.transkey } : { tableName: "" };
120968
121292
  },
120969
121293
  viewData() {
120970
121294
  let s = {};
@@ -121022,7 +121346,7 @@ const properitesImg = __component__$1k.exports, btnConfig$1 = [
121022
121346
  viewId: "",
121023
121347
  btn: ["add", "edit", "del", "importData", "exportData"]
121024
121348
  }), sysViewList$1({ sysCodeGenId: this.table.id }).then((s) => {
121025
- s.code === 200 && (this.viewList = s.data.filter((t) => t.type === 1));
121349
+ s.code === 200 && (this.viewList = s.data.filter((t) => this.viewType.includes(t.type)));
121026
121350
  }), sysFormList({ sysCodeGenId: this.table.id }).then((s) => {
121027
121351
  s.code === 200 && (this.formList = s.data);
121028
121352
  });
@@ -121086,11 +121410,11 @@ var _sfc_render$1j = function s() {
121086
121410
  _sfc_staticRenderFns$1j,
121087
121411
  !1,
121088
121412
  null,
121089
- "411336ad",
121413
+ "dcdae513",
121090
121414
  null,
121091
121415
  null
121092
121416
  );
121093
- const generatorTable = __component__$1j.exports, propertiesList_vue_vue_type_style_index_0_scoped_c2d47a32_lang = "", _sfc_main$1i = {
121417
+ const generatorTable = __component__$1j.exports, propertiesList_vue_vue_type_style_index_0_scoped_a8ba79d1_lang = "", _sfc_main$1i = {
121094
121418
  props: {
121095
121419
  selectItem: {
121096
121420
  type: Object,
@@ -121099,7 +121423,8 @@ const generatorTable = __component__$1j.exports, propertiesList_vue_vue_type_sty
121099
121423
  },
121100
121424
  data() {
121101
121425
  return {
121102
- hasProp: ["tableName", "viewId"]
121426
+ hasProp: ["tableName", "viewId"],
121427
+ viewType: [1, 2, 3, 4]
121103
121428
  };
121104
121429
  },
121105
121430
  components: { generatorTable },
@@ -121124,7 +121449,7 @@ const generatorTable = __component__$1j.exports, propertiesList_vue_vue_type_sty
121124
121449
  return Object.keys(a).includes(s);
121125
121450
  },
121126
121451
  saveTable(s) {
121127
- Object.assign(this.options, {
121452
+ console.log(s), Object.assign(this.options, {
121128
121453
  table: s.table,
121129
121454
  view: s.view
121130
121455
  });
@@ -121158,14 +121483,14 @@ var _sfc_render$1i = function s() {
121158
121483
  t.$set(t.options, "pageSizeMode", r);
121159
121484
  }, expression: "options.pageSizeMode" } }, [a("el-radio-button", { attrs: { label: "followSystem" } }, [t._v(t._s(t.$i18nt("gd.page.followSystem", "\u8DDF\u968F\u7CFB\u7EDF")))]), a("el-radio-button", { attrs: { label: "customize" } }, [t._v(t._s(t.$i18nt("gd.page.customize", "\u81EA\u5B9A\u4E49")))])], 1), a("el-input-number", { staticStyle: { width: "100%", "margin-top": "6px" }, attrs: { disabled: t.options.pageSizeMode === "followSystem", "controls-position": "right", max: 50, min: 1 }, model: { value: t.options.pageSize, callback: function(r) {
121160
121485
  t.$set(t.options, "pageSize", r);
121161
- }, expression: "options.pageSize" } })], 1) : t._e()], a("el-divider"), a("generatorTable", { ref: "generatorTable", attrs: { hasProp: t.hasProp }, on: { ok: t.saveTable } })], 2);
121486
+ }, expression: "options.pageSize" } })], 1) : t._e()], a("el-divider"), a("generatorTable", { ref: "generatorTable", attrs: { hasProp: t.hasProp, viewType: t.viewType }, on: { ok: t.saveTable } })], 2);
121162
121487
  }, _sfc_staticRenderFns$1i = [], __component__$1i = /* @__PURE__ */ normalizeComponent(
121163
121488
  _sfc_main$1i,
121164
121489
  _sfc_render$1i,
121165
121490
  _sfc_staticRenderFns$1i,
121166
121491
  !1,
121167
121492
  null,
121168
- "c2d47a32",
121493
+ "a8ba79d1",
121169
121494
  null,
121170
121495
  null
121171
121496
  );
@@ -122400,19 +122725,19 @@ const propertiesDetail = __component__$19.exports, dataListFun = {
122400
122725
  type: "dataList",
122401
122726
  name: "\u5217\u8868",
122402
122727
  funList: [{
122403
- transKey: null,
122728
+ transKey: "gd.function.reloadData",
122404
122729
  code: "pageLoading",
122405
122730
  name: "\u91CD\u65B0\u52A0\u8F7D\u6570\u636E"
122406
122731
  }, {
122407
- transKey: null,
122732
+ transKey: "gd.function.refreshData",
122408
122733
  code: "refresh",
122409
122734
  name: "\u5237\u65B0\u6570\u636E"
122410
122735
  }, {
122411
- transKey: null,
122736
+ transKey: "gd.function.downLoadData",
122412
122737
  code: "loadMore",
122413
122738
  name: "\u4E0B\u62C9\u52A0\u8F7D\u6570\u636E"
122414
122739
  }, {
122415
- transKey: null,
122740
+ transKey: "gd.function.deleteIdData",
122416
122741
  code: "del",
122417
122742
  name: "\u6839\u636EID\u5220\u9664\u6570\u636E"
122418
122743
  }]
@@ -122420,66 +122745,42 @@ const propertiesDetail = __component__$19.exports, dataListFun = {
122420
122745
  type: "table",
122421
122746
  name: "\u89C6\u56FE",
122422
122747
  funList: [{
122423
- transKey: null,
122748
+ transKey: "gd.btn.add",
122424
122749
  code: "add",
122425
122750
  name: "\u65B0\u589E"
122426
122751
  }, {
122427
- transKey: null,
122752
+ transKey: "gd.btn.edit",
122428
122753
  code: "edit",
122429
122754
  name: "\u7F16\u8F91"
122430
122755
  }, {
122431
- transKey: null,
122756
+ transKey: "gd.btn.del",
122432
122757
  code: "del",
122433
122758
  name: "\u5220\u9664"
122434
122759
  }, {
122435
- transKey: null,
122760
+ transKey: "gd.btn.refresh",
122436
122761
  code: "refresh",
122437
122762
  name: "\u5237\u65B0"
122438
122763
  }]
122439
122764
  }, getComponentsFun = [dataListFun].concat([tableFun]), sysComponentsFun = [{
122440
- transKey: null,
122765
+ transKey: "gd.function.previewComponents",
122441
122766
  type: "GdFilePreview",
122442
122767
  ref: "filePreview",
122443
122768
  name: "\u9884\u89C8\u7EC4\u4EF6",
122444
122769
  funList: [{
122445
- transKey: null,
122770
+ transKey: "gd.function.filePreview",
122446
122771
  code: "gd-file-preview",
122447
122772
  name: "\u6587\u4EF6\u9884\u89C8"
122448
122773
  }]
122449
- }], sysOverallFun = [
122450
- {
122451
- name: "\u65B0\u589E/\u7F16\u8F91",
122452
- code: "sysBaseAdd",
122453
- transKey: "gd.btn.add",
122454
- type: ["form"],
122455
- callback: !0
122456
- },
122457
- {
122458
- name: "\u67E5\u8BE2",
122459
- code: "sysBaseQuery",
122460
- transKey: "gd.btn.query",
122461
- type: ["view"],
122462
- callback: !0
122463
- },
122464
- {
122465
- name: "\u5220\u9664",
122466
- code: "sysBaseDel",
122467
- transKey: "gd.btn.del",
122468
- type: ["view"],
122469
- callback: !0
122470
- },
122471
- {
122472
- name: "\u81EA\u5B9A\u4E49",
122473
- code: "sysBaseCustom",
122474
- transKey: "gd.settings.custom",
122475
- type: ["view", "form"]
122476
- }
122477
- ], propertiesBtn_vue_vue_type_style_index_0_scoped_e5508d4c_lang = "", _sfc_main$18 = {
122774
+ }], propertiesBtn_vue_vue_type_style_index_0_scoped_3a2ba9f3_lang = "", _sfc_main$18 = {
122478
122775
  props: {
122479
122776
  selectItem: {
122480
122777
  type: Object,
122481
122778
  required: !0
122482
122779
  },
122780
+ data: {
122781
+ type: Object,
122782
+ required: !0
122783
+ },
122483
122784
  outlineTreeData: {
122484
122785
  type: Object,
122485
122786
  default: () => ({})
@@ -122489,14 +122790,17 @@ const propertiesDetail = __component__$19.exports, dataListFun = {
122489
122790
  return {};
122490
122791
  },
122491
122792
  computed: {
122793
+ languageMessages() {
122794
+ return this.$i18n.messages;
122795
+ },
122492
122796
  styleList() {
122493
122797
  return [
122494
- { name: "\u9ED8\u8BA4", code: "none", transKey: "gd.page.btnPrimary" },
122495
- { name: "\u8DDF\u968F", code: "primary", transKey: "gd.page.btnPrimary" },
122496
- { name: "\u6210\u529F", code: "success ", transKey: "gd.page.btnSuccess " },
122497
- { name: "\u8B66\u544A", code: "warning ", transKey: "gd.page.btnWarning " },
122498
- { name: "\u5371\u9669", code: "danger ", transKey: "gd.page.btnDanger " },
122499
- { name: "\u4FE1\u606F", code: "info", transKey: "gd.page.btnInfo" }
122798
+ { name: "\u9ED8\u8BA4", code: "none", transKey: "gd.basics.default" },
122799
+ { name: "\u8DDF\u968F", code: "primary", transKey: "gd.basics.follow" },
122800
+ { name: "\u6210\u529F", code: "success ", transKey: "gd.error.success" },
122801
+ { name: "\u8B66\u544A", code: "warning ", transKey: "gd.form.alertWarning" },
122802
+ { name: "\u5371\u9669", code: "danger ", transKey: "gd.basics.danger" },
122803
+ { name: "\u4FE1\u606F", code: "info", transKey: "gd.basics.information" }
122500
122804
  ];
122501
122805
  },
122502
122806
  functionList() {
@@ -122524,6 +122828,19 @@ const propertiesDetail = __component__$19.exports, dataListFun = {
122524
122828
  iconSelector: GDpackage$Q
122525
122829
  },
122526
122830
  methods: {
122831
+ lookupSeled(s, t) {
122832
+ console.log(s, t);
122833
+ let a = [];
122834
+ s.langs.forEach((r) => {
122835
+ a.push({ name: r.languagename, val: r.description, code: r.languagecode });
122836
+ }), s.langs.filter((r) => r.languagecode == this.language)[0], t.transKey = s.name, t.langs = a, this.data.addTransKey !== void 0 && (this.data.addTransKey = this.data.addTransKey.concat([s.name]));
122837
+ },
122838
+ getTransKey(s) {
122839
+ let t = `STF_P${this.selectItem.type}_${s.id}`, a = [];
122840
+ for (let r in this.languageMessages)
122841
+ a.push({ name: transKeyCodeName(r), val: s.displayName, code: r });
122842
+ return JSON.stringify({ name: t, langs: a });
122843
+ },
122527
122844
  dialogFun(s) {
122528
122845
  const t = this.componentsList.filter((r) => r.key === s.callbackComponents)[0];
122529
122846
  if (!t)
@@ -122599,7 +122916,7 @@ const propertiesDetail = __component__$19.exports, dataListFun = {
122599
122916
  permissionsPage: "",
122600
122917
  componentKey: "",
122601
122918
  formMode: "systemsMethod",
122602
- btnstyle: "primary",
122919
+ btnStyle: "primary",
122603
122920
  children: [],
122604
122921
  btType: "none",
122605
122922
  sublevel: !1,
@@ -122613,7 +122930,9 @@ const propertiesDetail = __component__$19.exports, dataListFun = {
122613
122930
  callbackComponents: "",
122614
122931
  callbackFunction: "",
122615
122932
  fontSize: 12,
122616
- columnContextName: ""
122933
+ columnContextName: "",
122934
+ foreignContextName: "",
122935
+ langs: []
122617
122936
  };
122618
122937
  this.selectItem.btnList = this.selectItem.btnList.concat([s]);
122619
122938
  },
@@ -122648,9 +122967,9 @@ const propertiesDetail = __component__$19.exports, dataListFun = {
122648
122967
  };
122649
122968
  var _sfc_render$18 = function s() {
122650
122969
  var t = this, a = t._self._c;
122651
- return a("div", [a("el-form-item", { attrs: { label: t.$i18nt("gd.page.cuttingModed", "\u7C7B\u578B") } }, [a("el-radio-group", { model: { value: t.options.btnType, callback: function(r) {
122970
+ return a("div", [a("el-form-item", { attrs: { label: t.$i18nt("gd.view.type", "\u7C7B\u578B") } }, [a("el-radio-group", { model: { value: t.options.btnType, callback: function(r) {
122652
122971
  t.$set(t.options, "btnType", r);
122653
- }, expression: "options.btnType" } }, [a("el-radio-button", { attrs: { label: "btn", disabled: t.btnDisabled } }, [t._v(t._s(t.$i18nt("gd.page.btndd", "\u6309\u94AE")))]), a("el-radio-button", { attrs: { label: "butGroup" } }, [t._v(t._s(t.$i18nt("gd.page.butGroupdd", "\u6309\u94AE\u7EC4")))])], 1)], 1), t.selectItem.type == "btnGroup" ? a("el-form-item", { staticStyle: { "margin-bottom": "0 !important" }, attrs: { label: t.$i18nt("gd.page.buttonConfiguration", "\u6309\u94AE\u914D\u7F6E") } }, [a("div", { staticClass: "generator-items" }, [t.selectItem.btnList.length > 0 ? [a("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: t.$i18nt("gd.page.empty", "\u6E05\u7A7A"), placement: "top" } }, [a("el-popconfirm", { attrs: { title: t.$i18nt("gd.page.emptyButton", "\u6E05\u7A7A\u6309\u94AE") }, on: { confirm: t.clearBtn } }, [a("i", { staticClass: "el-icon-delete", attrs: { slot: "reference" }, slot: "reference" })])], 1), a("el-divider", { attrs: { direction: "vertical" } })] : t._e(), t.options.btnType == "btn" && t.selectItem.btnList.length < 1 || t.options.btnType == "butGroup" ? a("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: t.$i18nt("gd.page.add", "\u65B0\u589E"), placement: "top" } }, [a("i", { staticClass: "el-icon-plus", on: { click: t.addBtn } })]) : t._e()], 2)]) : t._e(), a("div", { staticClass: "generator-kuang" }, [a("draggable", t._b({ model: { value: t.selectItem.btnList, callback: function(r) {
122972
+ }, expression: "options.btnType" } }, [a("el-radio-button", { attrs: { label: "btn", disabled: t.btnDisabled } }, [t._v(t._s(t.$i18nt("gd.btnConfig.btn", "\u6309\u94AE")))]), a("el-radio-button", { attrs: { label: "butGroup" } }, [t._v(t._s(t.$i18nt("gd.btnConfig.btnGroup", "\u6309\u94AE\u7EC4")))])], 1)], 1), t.selectItem.type == "btnGroup" ? a("el-form-item", { staticStyle: { "margin-bottom": "0 !important" }, attrs: { label: t.$i18nt("gd.page.buttonConfiguration", "\u6309\u94AE\u914D\u7F6E"), "label-width": "200px" } }, [a("div", { staticClass: "generator-items" }, [t.selectItem.btnList.length > 0 ? [a("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: t.$i18nt("gd.page.empty", "\u6E05\u7A7A"), placement: "top" } }, [a("el-popconfirm", { attrs: { title: t.$i18nt("gd.page.emptyButton", "\u6E05\u7A7A\u6309\u94AE") }, on: { confirm: t.clearBtn } }, [a("i", { staticClass: "el-icon-delete", attrs: { slot: "reference" }, slot: "reference" })])], 1), a("el-divider", { attrs: { direction: "vertical" } })] : t._e(), t.options.btnType == "btn" && t.selectItem.btnList.length < 1 || t.options.btnType == "butGroup" ? a("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: t.$i18nt("gd.page.add", "\u65B0\u589E"), placement: "top" } }, [a("i", { staticClass: "el-icon-plus", on: { click: t.addBtn } })]) : t._e()], 2)]) : t._e(), a("div", { staticClass: "generator-kuang" }, [a("draggable", t._b({ model: { value: t.selectItem.btnList, callback: function(r) {
122654
122973
  t.$set(t.selectItem, "btnList", r);
122655
122974
  }, expression: "selectItem.btnList" } }, "draggable", {
122656
122975
  animation: 300,
@@ -122658,25 +122977,29 @@ var _sfc_render$18 = function s() {
122658
122977
  }, !1), [t._l(t.selectItem.btnList, function(r, o) {
122659
122978
  return [a("el-popover", { attrs: { placement: "left", trigger: "click" } }, [a("div", { staticClass: "generator-list", attrs: { slot: "reference" }, slot: "reference" }, [a("i", { staticClass: "el-icon-rank active-color drag-move" }), a("div", { staticClass: "sku" }, [r.icon !== "" ? a("i", { staticClass: "gd-icons", class: r.icon }) : t._e(), t._v(" " + t._s(t.$i18nt(`Dynamics.${r.transKey}`, r.displayName)) + " ")]), a("i", { staticClass: "el-icon-delete rdelete", on: { click: function(l) {
122660
122979
  return l.stopPropagation(), t.delBtn(o);
122661
- } } })]), a("div", { staticClass: "generator-config" }, [a("div", { staticClass: "config-items" }, [a("div", { staticClass: "l" }, [t._v(t._s(t.$i18nt("gd.page.text", "\u6587\u672C")))]), a("div", { staticClass: "r" }, [a("el-input", { attrs: { placeholder: t.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165") }, model: { value: r.displayName, callback: function(l) {
122662
- t.$set(r, "displayName", l);
122663
- }, expression: "item.displayName" } })], 1)]), a("div", { staticClass: "config-items" }, [a("div", { staticClass: "l" }, [t._v(t._s(t.$i18nt("gd.page.icon", "\u56FE\u6807")))]), a("div", { staticClass: "r rs" }, [a("el-input", { attrs: { placeholder: t.$i18nt("gd.placeholder.inputcontent", "\u8BF7\u8F93\u5165\u5185\u5BB9"), size: "mini", clearable: "" }, model: { value: r.icon, callback: function(l) {
122980
+ } } })]), a("div", { staticClass: "generator-config" }, [a("div", { staticClass: "config-items" }, [a("div", { staticClass: "l" }, [t._v(t._s(t.$i18nt("gd.page.text", "\u6587\u672C")))]), a("div", { staticClass: "r" }, [r.transKey ? r.transKey ? a("gd-translation", { ref: "gdTranslation", refInFor: !0, attrs: { recordData: r, transKey: t.getTransKey(r), name: "displayName", type: 2, appendToBody: !1, modalAppendToBody: !1, keyI18n: "transKey" }, on: { lookupSeled: (l) => t.lookupSeled(l, r) } }) : t._e() : a("gd-translation", { ref: "gdTranslation", refInFor: !0, attrs: { recordData: r, transKey: t.getTransKey(r), name: "displayName", keyI18n: "transKey", type: 3, appendToBody: !1, modalAppendToBody: !1 }, on: { lookupSeled: (l) => t.lookupSeled(l, r) } })], 1)]), a("div", { staticClass: "config-items" }, [a("div", { staticClass: "l" }, [t._v(t._s(t.$i18nt("gd.page.icon", "\u56FE\u6807")))]), a("div", { staticClass: "r rs" }, [a("el-input", { attrs: { placeholder: t.$i18nt("gd.placeholder.inputcontent", "\u8BF7\u8F93\u5165\u5185\u5BB9"), size: "mini", clearable: "" }, model: { value: r.icon, callback: function(l) {
122664
122981
  t.$set(r, "icon", l);
122665
122982
  }, expression: "item.icon" } }, [r.icon ? a("i", { staticClass: "el-input__icon gd-icons active-color", class: r.icon, staticStyle: { "font-size": "18px" }, attrs: { slot: "prefix" }, slot: "prefix" }) : t._e()]), a("div", { staticClass: "item-operator-cao flex" }, [a("el-popover", { ref: `popoverItem${o}`, refInFor: !0, attrs: { trigger: "click", placement: "right" } }, [a("i", { staticClass: "el-icon-search", attrs: { slot: "reference" }, slot: "reference" }), a("iconSelector", { ref: "iconSelector", refInFor: !0, attrs: { mode: "popover" }, on: { change: function(l) {
122666
122983
  return t.popoverClosed(o);
122667
122984
  } }, model: { value: r.icon, callback: function(l) {
122668
122985
  t.$set(r, "icon", l);
122669
- }, expression: "item.icon" } })], 1)], 1)], 1)]), a("div", { staticClass: "config-items" }, [a("div", { staticClass: "l" }, [t._v(t._s(t.$i18nt("gd.page.boundFieldd", "\u7ED1\u5B9A\u503C")))]), a("div", { staticClass: "r" }, [a("el-cascader", { staticStyle: { width: "100%" }, attrs: { options: t.selectItem.fieldContext }, scopedSlots: t._u([{ key: "default", fn: function({ node: l, data: d }) {
122986
+ }, expression: "item.icon" } })], 1)], 1)], 1)]), a("div", { staticClass: "config-items" }, [a("div", { staticClass: "l" }, [t._v(t._s(t.$i18nt("gd.page.fontSize", "\u5B57\u4F53\u5927\u5C0F")))]), a("div", { staticClass: "r" }, [a("el-input", { model: { value: r.fontSize, callback: function(l) {
122987
+ t.$set(r, "fontSize", l);
122988
+ }, expression: "item.fontSize" } }, [a("template", { slot: "append" }, [t._v("px")])], 2)], 1)]), t.selectItem.fieldContext && t.selectItem.fieldContext.length > 0 ? a("div", { staticClass: "config-items" }, [a("div", { staticClass: "l" }, [t._v(t._s(t.$i18nt("gd.page.bindValue", "\u7ED1\u5B9A\u503C")))]), a("div", { staticClass: "r" }, [a("el-cascader", { staticStyle: { width: "100%" }, attrs: { options: t.selectItem.fieldContext }, scopedSlots: t._u([{ key: "default", fn: function({ node: l, data: d }) {
122670
122989
  return [a("span", [t._v(t._s(t.$i18nt(`Dynamics.${d.transKey}`, d.columnComment)))])];
122671
122990
  } }], null, !0), model: { value: r.columnContextName, callback: function(l) {
122672
122991
  t.$set(r, "columnContextName", l);
122673
- }, expression: "item.columnContextName" } })], 1)]), a("div", { staticClass: "config-items" }, [a("div", { staticClass: "l ls" }, [t._v(t._s(t.$i18nt("gd.page.interactive", "\u4EA4\u4E92")))])]), a("div", { staticClass: "config-kuang" }, [a("div", { staticClass: "config-items" }, [a("div", { staticClass: "l" }, [t._v(t._s(t.$i18nt("gd.page.interactiveMode", "\u4EA4\u4E92\u65B9\u5F0F")))]), a("div", { staticClass: "r" }, [a("el-radio-group", { attrs: { size: "mini" }, model: { value: r.formMode, callback: function(l) {
122992
+ }, expression: "item.columnContextName" } })], 1)]) : t._e(), t.selectItem.foreignContext && t.selectItem.foreignContext.length > 0 ? a("div", { staticClass: "config-items" }, [a("div", { staticClass: "l" }, [t._v(t._s(t.$i18nt("gd.page.associationBinding", "\u5173\u8054\u7ED1\u5B9A")))]), a("div", { staticClass: "r" }, [a("el-select", { staticStyle: { width: "100%" }, attrs: { placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9") }, model: { value: r.foreignContextName, callback: function(l) {
122993
+ t.$set(r, "foreignContextName", l);
122994
+ }, expression: "item.foreignContextName" } }, [t._l(t.selectItem.foreignContext, function(l) {
122995
+ return [a("el-option", { attrs: { label: l.label, value: l.value } })];
122996
+ })], 2)], 1)]) : t._e(), a("div", { staticClass: "config-items" }, [a("div", { staticClass: "l ls" }, [t._v(t._s(t.$i18nt("gd.page.interactive", "\u4EA4\u4E92")))])]), a("div", { staticClass: "config-kuang" }, [a("div", { staticClass: "config-items" }, [a("div", { staticClass: "l" }, [t._v(t._s(t.$i18nt("gd.page.interactiveMode", "\u4EA4\u4E92\u65B9\u5F0F")))]), a("div", { staticClass: "r" }, [a("el-radio-group", { attrs: { size: "mini" }, model: { value: r.formMode, callback: function(l) {
122674
122997
  t.$set(r, "formMode", l);
122675
122998
  }, expression: "item.formMode" } }, [a("el-radio-button", { attrs: { label: "systemsMethod" } }, [t._v(" " + t._s(t.$i18nt("gd.page.systemsMethod", "\u7CFB\u7EDF\u65B9\u6CD5")) + " ")]), a("el-radio-button", { attrs: { label: "componentMethod" } }, [t._v(" " + t._s(t.$i18nt("gd.page.componentMethod", "\u7EC4\u4EF6\u65B9\u6CD5")) + " ")])], 1)], 1)]), r.formMode === "systemsMethod" ? [a("div", { staticClass: "config-items" }, [a("div", { staticClass: "l" }, [t._v(t._s(t.$i18nt("gd.form.associationTable", "\u5173\u8054\u8868")))]), a("div", { staticClass: "r" }, [a("el-select", { staticStyle: { width: "100%" }, attrs: { placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), filterable: "" }, on: { change: (l) => t.changeSysMethod(l, r) }, model: { value: r.table, callback: function(l) {
122676
122999
  t.$set(r, "table", l);
122677
123000
  }, expression: "item.table" } }, t._l(t.tableLists, function(l) {
122678
- return a("el-option", { key: l.tablename, attrs: { label: t.$i18nt(`Dynamics.${l.transkey}`, l.busname), value: l.tablename } }, [a("span", [t._v(t._s(t.$i18nt(`Dynamics.${l.transkey}`, l.busname)) + " " + t._s(l.tablename))])]);
122679
- }), 1)], 1)]), a("div", { staticClass: "config-items" }, [a("div", { staticClass: "l" }, [t._v(t._s(t.$i18nt("gd.form.associatedComponents", "\u5173\u8054\u7EC4\u4EF6")))]), a("div", { staticClass: "r" }, [a("el-select", { staticStyle: { width: "100%" }, attrs: { placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), filterable: "" }, on: { change: (l) => t.changeTableComponents(l, r) }, model: { value: r.tableComponents, callback: function(l) {
123001
+ return a("el-option", { key: l.tablename, attrs: { label: t.$i18nt(`Dynamics.${l.transkey}`, l.busname), value: l.tablename } }, [a("span", [t._v(t._s(t.$i18nt(`Dynamics.${l.transkey}`, l.busname)) + " (" + t._s(l.tablename) + ")")])]);
123002
+ }), 1)], 1)]), a("div", { staticClass: "config-items" }, [a("div", { staticClass: "l" }, [t._v(t._s(t.$i18nt("gd.page.associatedComponents", "\u5173\u8054\u7EC4\u4EF6")))]), a("div", { staticClass: "r" }, [a("el-select", { staticStyle: { width: "100%" }, attrs: { placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), filterable: "" }, on: { change: (l) => t.changeTableComponents(l, r) }, model: { value: r.tableComponents, callback: function(l) {
122680
123003
  t.$set(r, "tableComponents", l);
122681
123004
  }, expression: "item.tableComponents" } }, [t._l(r.viewList, function(l) {
122682
123005
  return [a("el-option", { attrs: { label: t.$i18nt(`Dynamics.${l.transkey}`, l.name), value: l.id } }, [a("span", [a("span", { staticClass: "gd-icons gd-icon-shitumoshi" }), t._v(" " + t._s(t.$i18nt(`Dynamics.${l.transkey}`, l.name)) + " ")])])];
@@ -122688,13 +123011,13 @@ var _sfc_render$18 = function s() {
122688
123011
  return [l.type.includes(r.tableComponentsType) ? a("el-option", { attrs: { label: t.$i18nt(l.transKey, l.name), value: l.code } }) : t._e()];
122689
123012
  })], 2)], 1)]) : t._e(), r.sysFunctionName === "sysBaseCustom" ? a("div", { staticClass: "config-items" }, [a("div", { staticClass: "l" }, [t._v(t._s(t.$i18nt("gd.page.customMethod", "\u81EA\u5B9A\u4E49\u65B9\u6CD5")))]), a("div", { staticClass: "r" }, [a("el-input", { attrs: { placeholder: t.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165") }, model: { value: r.functionName, callback: function(l) {
122690
123013
  t.$set(r, "functionName", l);
122691
- }, expression: "item.functionName" } })], 1)]) : t._e(), r.callback ? a("div", { staticClass: "config-items" }, [a("div", { staticClass: "l" }, [t._v(t._s(t.$i18nt("gd.page.customMethod", "\u56DE\u8C03\u7EC4\u4EF6")))]), a("div", { staticClass: "r" }, [a("el-select", { staticStyle: { width: "100%" }, attrs: { placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), clearable: "" }, on: { change: function(l) {
123014
+ }, expression: "item.functionName" } })], 1)]) : t._e(), r.callback ? a("div", { staticClass: "config-items" }, [a("div", { staticClass: "l" }, [t._v(t._s(t.$i18nt("gd.page.callbackComponent", "\u56DE\u8C03\u7EC4\u4EF6")))]), a("div", { staticClass: "r" }, [a("el-select", { staticStyle: { width: "100%" }, attrs: { placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), clearable: "" }, on: { change: function(l) {
122692
123015
  return t.changeCallbackComponents(r);
122693
123016
  } }, model: { value: r.callbackComponents, callback: function(l) {
122694
123017
  t.$set(r, "callbackComponents", l);
122695
123018
  }, expression: "item.callbackComponents" } }, [t._l(t.dialogTree, function(l) {
122696
123019
  return [a("el-option", { attrs: { label: `${t.$i18nt(l.transKey, l.label)} ${l.key}`, value: l.key } }, [a("i", { staticClass: "gd-icons", class: l.icon, staticStyle: { "margin-right": "4px" } }), a("span", [t._v(t._s(t.$i18nt(l.transKey, l.label)) + " " + t._s(l.key))])])];
122697
- })], 2)], 1)]) : t._e(), r.callback ? a("div", { staticClass: "config-items" }, [a("div", { staticClass: "l" }, [t._v(t._s(t.$i18nt("gd.page.callbackFunction", "\u56DE\u8C03\u65B9\u6CD5")))]), a("div", { staticClass: "r" }, [a("el-select", { staticStyle: { width: "100%" }, attrs: { placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), clearable: "" }, model: { value: r.callbackFunction, callback: function(l) {
123020
+ })], 2)], 1)]) : t._e(), r.callback ? a("div", { staticClass: "config-items" }, [a("div", { staticClass: "l" }, [t._v(t._s(t.$i18nt("gd.page.callbackMethod", "\u56DE\u8C03\u65B9\u6CD5")))]), a("div", { staticClass: "r" }, [a("el-select", { staticStyle: { width: "100%" }, attrs: { placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), clearable: "" }, model: { value: r.callbackFunction, callback: function(l) {
122698
123021
  t.$set(r, "callbackFunction", l);
122699
123022
  }, expression: "item.callbackFunction" } }, [t._l(t.dialogFun(r), function(l) {
122700
123023
  return [a("el-option", { attrs: { label: t.$i18nt(l.transKey, l.name), value: l.code } })];
@@ -122702,23 +123025,23 @@ var _sfc_render$18 = function s() {
122702
123025
  return t.changeComponentKey(r);
122703
123026
  } }, model: { value: r.componentKey, callback: function(l) {
122704
123027
  t.$set(r, "componentKey", l);
122705
- }, expression: "item.componentKey" } }, [a("el-option-group", { attrs: { label: t.$i18nt("gd.page.sysComponentsFun", "\u5168\u5C40\u7EC4\u4EF6") } }, [t._l(t.dialogSysTree, function(l) {
123028
+ }, expression: "item.componentKey" } }, [a("el-option-group", { attrs: { label: t.$i18nt("gd.function.globalComponents", "\u5168\u5C40\u7EC4\u4EF6") } }, [t._l(t.dialogSysTree, function(l) {
122706
123029
  return [a("el-option", { attrs: { label: t.$i18nt(l.transKey, l.name), value: l.type } })];
122707
- })], 2), a("el-option-group", { attrs: { label: t.$i18nt("gd.page.PageComponentsFun", "\u9875\u9762\u5185\u7EC4\u4EF6") } }, [t._l(t.dialogTree, function(l) {
123030
+ })], 2), a("el-option-group", { attrs: { label: t.$i18nt("gd.function.pageComponents", "\u9875\u9762\u5185\u7EC4\u4EF6") } }, [t._l(t.dialogTree, function(l) {
122708
123031
  return [a("el-option", { attrs: { label: `${t.$i18nt(l.transKey, l.label)} ${l.key}`, value: l.key } }, [a("i", { staticClass: "gd-icons", class: l.icon, staticStyle: { "margin-right": "4px" } }), a("span", [t._v(t._s(t.$i18nt(l.transKey, l.label)) + " " + t._s(l.key))])])];
122709
123032
  })], 2)], 1)], 1)]), a("div", { staticClass: "config-items" }, [a("div", { staticClass: "l" }, [t._v(t._s(t.$i18nt("gd.page.interactiveMethod", "\u4EA4\u4E92\u65B9\u6CD5")))]), a("div", { staticClass: "r" }, [a("el-select", { staticStyle: { width: "100%" }, attrs: { placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), clearable: "" }, model: { value: r.componentFunction, callback: function(l) {
122710
123033
  t.$set(r, "componentFunction", l);
122711
123034
  }, expression: "item.componentFunction" } }, [t._l(t.dialogComponentFun(r), function(l) {
122712
123035
  return [a("el-option", { attrs: { label: t.$i18nt(l.transKey, l.name), value: l.code } })];
122713
- })], 2)], 1)])] : t._e()], 2), a("div", { staticClass: "config-items" }, [a("div", { staticClass: "l" }, [t._v(t._s(t.$i18nt("gd.page.style", "\u98CE\u683C")))]), a("div", { staticClass: "r" }, [a("el-select", { staticStyle: { width: "100%" }, attrs: { placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), clearable: "" }, model: { value: r.btnstyle, callback: function(l) {
122714
- t.$set(r, "btnstyle", l);
122715
- }, expression: "item.btnstyle" } }, [t._l(t.styleList, function(l, d) {
123036
+ })], 2)], 1)])] : t._e()], 2), a("div", { staticClass: "config-items" }, [a("div", { staticClass: "l" }, [t._v(t._s(t.$i18nt("gd.settings.style", "\u98CE\u683C")))]), a("div", { staticClass: "r" }, [a("el-select", { staticStyle: { width: "100%" }, attrs: { placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), clearable: "" }, model: { value: r.btnStyle, callback: function(l) {
123037
+ t.$set(r, "btnStyle", l);
123038
+ }, expression: "item.btnStyle" } }, [t._l(t.styleList, function(l, d) {
122716
123039
  return [a("el-option", { attrs: { label: t.$i18nt(l.transKey, l.name), value: l.code } })];
122717
- })], 2)], 1)]), a("div", { staticClass: "config-items" }, [a("div", { staticClass: "l" }, [t._v(t._s(t.$i18nt("gd.page.hide", "\u9690\u85CF")))]), a("div", { staticClass: "r" }, [a("el-switch", { attrs: { "active-value": !0, "inactive-value": !1, "active-color": t.primaryColor }, model: { value: r.hide, callback: function(l) {
123040
+ })], 2)], 1)]), a("div", { staticClass: "config-items" }, [a("div", { staticClass: "l" }, [t._v(t._s(t.$i18nt("gd.page.hide", "\u9690\u85CF")))]), a("div", { staticClass: "r", staticStyle: { "text-align": "right" } }, [a("el-switch", { attrs: { "active-value": !0, "inactive-value": !1, "active-color": t.primaryColor }, model: { value: r.hide, callback: function(l) {
122718
123041
  t.$set(r, "hide", l);
122719
123042
  }, expression: "item.hide" } })], 1)]), a("div", { staticClass: "config-items" }, [a("div", { staticClass: "l" }, [t._v(t._s(t.$i18nt("gd.page.pagePermissions", "\u9875\u9762\u6743\u9650")))]), a("div", { staticClass: "r" }, [a("el-input", { attrs: { placeholder: t.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165") }, model: { value: r.permissionsPage, callback: function(l) {
122720
123043
  t.$set(r, "permissionsPage", l);
122721
- }, expression: "item.permissionsPage" } })], 1)]), a("div", { staticClass: "config-items" }, [a("div", { staticClass: "l" }, [t._v(t._s(t.$i18nt("gd.page.openSubbutton", "\u5F00\u542F\u5B50\u6309\u94AE")))]), a("div", { staticClass: "r" }, [a("el-switch", { attrs: { "active-value": !0, "inactive-value": !1, "active-color": t.primaryColor }, model: { value: r.sublevel, callback: function(l) {
123044
+ }, expression: "item.permissionsPage" } })], 1)]), a("div", { staticClass: "config-items" }, [a("div", { staticClass: "l", staticStyle: { flex: "0 0 200px" } }, [t._v(t._s(t.$i18nt("gd.page.openSubbutton", "\u5F00\u542F\u5B50\u6309\u94AE")))]), a("div", { staticClass: "r", staticStyle: { "text-align": "right" } }, [a("el-switch", { attrs: { "active-value": !0, "inactive-value": !1, "active-color": t.primaryColor }, model: { value: r.sublevel, callback: function(l) {
122722
123045
  t.$set(r, "sublevel", l);
122723
123046
  }, expression: "item.sublevel" } })], 1)]), r.sublevel ? a("div", { staticClass: "child-item" }, [a("div", { staticClass: "l ls" }, [t._v(t._s(t.$i18nt("gd.page.subbutton", "\u5B50\u6309\u94AE")))]), a("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: t.$i18nt("gd.page.addition", "\u6DFB\u52A0"), placement: "top-start" } }, [a("i", { staticClass: "el-icon-plus", on: { click: function(l) {
122724
123047
  return t.addBtnChild(o);
@@ -122735,9 +123058,7 @@ var _sfc_render$18 = function s() {
122735
123058
  }, expression: "ite.displayName" } }), a("i", { staticClass: "el-icon-delete rdelete", on: { click: function(u) {
122736
123059
  return t.delChild(d, o);
122737
123060
  } } })], 1)])];
122738
- })], 2)], 1) : t._e()]) : t._e(), a("div", { staticClass: "config-items" }, [a("div", { staticClass: "l" }, [t._v(t._s(t.$i18nt("gd.page.fontSize", "\u5B57\u4F53\u5927\u5C0F")))]), a("div", { staticClass: "r" }, [a("el-input", { model: { value: r.fontSize, callback: function(l) {
122739
- t.$set(r, "fontSize", l);
122740
- }, expression: "item.fontSize" } }, [a("template", { slot: "append" }, [t._v("px")])], 2)], 1)])])])];
123061
+ })], 2)], 1) : t._e()]) : t._e()])])];
122741
123062
  }), t.selectItem.btnList.length === 0 ? a("div", { staticClass: "empty-title" }, [t._v(t._s(t.$i18nt("el.select.noData", "\u65E0\u6570\u636E")))]) : t._e()], 2)], 1), a("el-form-item", { staticStyle: { "margin-bottom": "0 !important" }, attrs: { label: t.$i18nt("gd.page.maximumDisplayNumber", "\u6700\u591A\u663E\u793A\u4E2A\u6570") } }, [a("el-input-number", { staticStyle: { width: "100%" }, attrs: { "controls-position": "right", min: 1, max: 20 }, model: { value: t.options.limit, callback: function(r) {
122742
123063
  t.$set(t.options, "limit", r);
122743
123064
  }, expression: "options.limit" } })], 1), a("div", { staticClass: "gd-btn-divider" }, [a("el-divider")], 1)], 1);
@@ -122747,7 +123068,7 @@ var _sfc_render$18 = function s() {
122747
123068
  _sfc_staticRenderFns$18,
122748
123069
  !1,
122749
123070
  null,
122750
- "e5508d4c",
123071
+ "3a2ba9f3",
122751
123072
  null,
122752
123073
  null
122753
123074
  );
@@ -123421,7 +123742,7 @@ var _sfc_render$14 = function s() {
123421
123742
  null,
123422
123743
  null
123423
123744
  );
123424
- const propertiesTress = __component__$14.exports, propertiesInterac_vue_vue_type_style_index_0_scoped_72135f44_lang = "", _sfc_main$13 = {
123745
+ const propertiesTress = __component__$14.exports, propertiesInterac_vue_vue_type_style_index_0_scoped_2b48e65e_lang = "", _sfc_main$13 = {
123425
123746
  props: {
123426
123747
  selectItem: {
123427
123748
  type: Object,
@@ -123529,7 +123850,7 @@ var _sfc_render$13 = function s() {
123529
123850
  t.$set(t.interac, "table", r);
123530
123851
  }, expression: "interac.table" } }, t._l(t.tableLists, function(r) {
123531
123852
  return a("el-option", { key: r.tablename, attrs: { label: t.$i18nt(`Dynamics.${r.transkey}`, r.busname), value: r.tablename } }, [a("span", [t._v(t._s(t.$i18nt(`Dynamics.${r.transkey}`, r.busname)) + " " + t._s(r.tablename))])]);
123532
- }), 1)], 1), a("el-form-item", { attrs: { label: t.$i18nt("gd.form.associatedComponents", "\u5173\u8054\u7EC4\u4EF6") } }, [a("el-select", { staticStyle: { width: "100%" }, attrs: { placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), filterable: "" }, on: { change: t.changeTableComponents }, model: { value: t.interac.tableComponents, callback: function(r) {
123853
+ }), 1)], 1), a("el-form-item", { attrs: { label: t.$i18nt("gd.page.associatedComponents", "\u5173\u8054\u7EC4\u4EF6") } }, [a("el-select", { staticStyle: { width: "100%" }, attrs: { placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), filterable: "" }, on: { change: t.changeTableComponents }, model: { value: t.interac.tableComponents, callback: function(r) {
123533
123854
  t.$set(t.interac, "tableComponents", r);
123534
123855
  }, expression: "interac.tableComponents" } }, [t._l(t.interac.viewList, function(r) {
123535
123856
  return [a("el-option", { attrs: { label: t.$i18nt(`Dynamics.${r.transkey}`, r.name), value: r.id } }, [a("span", [a("span", { staticClass: "gd-icons gd-icon-shitumoshi" }), t._v(" " + t._s(t.$i18nt(`Dynamics.${r.transkey}`, r.name)) + " ")])])];
@@ -123541,19 +123862,19 @@ var _sfc_render$13 = function s() {
123541
123862
  return [r.type.includes(t.interac.tableComponentsType) ? a("el-option", { attrs: { label: t.$i18nt(r.transKey, r.name), value: r.code } }) : t._e()];
123542
123863
  })], 2)], 1) : t._e(), t.interac.sysFunctionName === "sysBaseCustom" ? a("el-form-item", { attrs: { label: t.$i18nt("gd.page.customMethod", "\u81EA\u5B9A\u4E49\u65B9\u6CD5") } }, [a("el-input", { attrs: { placeholder: t.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165") }, model: { value: t.interac.functionName, callback: function(r) {
123543
123864
  t.$set(t.interac, "functionName", r);
123544
- }, expression: "interac.functionName" } })], 1) : t._e(), t.interac.callback ? a("el-form-item", { attrs: { label: t.$i18nt("gd.page.callbackComponents", "\u56DE\u8C03\u7EC4\u4EF6") } }, [a("el-select", { staticStyle: { width: "100%" }, attrs: { placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), clearable: "" }, on: { change: t.changeCallbackComponents }, model: { value: t.interac.callbackComponents, callback: function(r) {
123865
+ }, expression: "interac.functionName" } })], 1) : t._e(), t.interac.callback ? a("el-form-item", { attrs: { label: t.$i18nt("gd.page.callbackComponent", "\u56DE\u8C03\u7EC4\u4EF6") } }, [a("el-select", { staticStyle: { width: "100%" }, attrs: { placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), clearable: "" }, on: { change: t.changeCallbackComponents }, model: { value: t.interac.callbackComponents, callback: function(r) {
123545
123866
  t.$set(t.interac, "callbackComponents", r);
123546
123867
  }, expression: "interac.callbackComponents" } }, [t._l(t.dialogTree, function(r) {
123547
123868
  return [a("el-option", { attrs: { label: `${t.$i18nt(r.transKey, r.label)} ${r.key}`, value: r.key } }, [a("i", { staticClass: "gd-icons", class: r.icon, staticStyle: { "margin-right": "4px" } }), a("span", [t._v(t._s(t.$i18nt(r.transKey, r.label)) + " " + t._s(r.key))])])];
123548
- })], 2)], 1) : t._e(), t.interac.callback ? a("el-form-item", { attrs: { label: t.$i18nt("gd.page.callbackFunction", "\u56DE\u8C03\u65B9\u6CD5") } }, [a("el-select", { staticStyle: { width: "100%" }, attrs: { placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), clearable: "" }, model: { value: t.interac.callbackFunction, callback: function(r) {
123869
+ })], 2)], 1) : t._e(), t.interac.callback ? a("el-form-item", { attrs: { label: t.$i18nt("gd.page.callbackMethod", "\u56DE\u8C03\u65B9\u6CD5") } }, [a("el-select", { staticStyle: { width: "100%" }, attrs: { placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), clearable: "" }, model: { value: t.interac.callbackFunction, callback: function(r) {
123549
123870
  t.$set(t.interac, "callbackFunction", r);
123550
123871
  }, expression: "interac.callbackFunction" } }, [t._l(t.dialogFun, function(r) {
123551
123872
  return [a("el-option", { attrs: { label: t.$i18nt(r.transKey, r.name), value: r.code } })];
123552
123873
  })], 2)], 1) : t._e()] : t._e(), t.interac.formMode === "componentMethod" ? [a("el-form-item", { attrs: { label: t.$i18nt("gd.page.interactiveComponent", "\u4EA4\u4E92\u7EC4\u4EF6") } }, [a("el-select", { staticStyle: { width: "100%" }, attrs: { placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), clearable: "" }, on: { change: t.changeComponentKey }, model: { value: t.interac.componentKey, callback: function(r) {
123553
123874
  t.$set(t.interac, "componentKey", r);
123554
- }, expression: "interac.componentKey" } }, [a("el-option-group", { attrs: { label: t.$i18nt("gd.page.sysComponentsFun", "\u5168\u5C40\u7EC4\u4EF6") } }, [t._l(t.dialogSysTree, function(r) {
123875
+ }, expression: "interac.componentKey" } }, [a("el-option-group", { attrs: { label: t.$i18nt("gd.function.globalComponents", "\u5168\u5C40\u7EC4\u4EF6") } }, [t._l(t.dialogSysTree, function(r) {
123555
123876
  return [a("el-option", { attrs: { label: t.$i18nt(r.transKey, r.name), value: r.type } })];
123556
- })], 2), a("el-option-group", { attrs: { label: t.$i18nt("gd.page.PageComponentsFun", "\u9875\u9762\u5185\u7EC4\u4EF6") } }, [t._l(t.dialogTree, function(r) {
123877
+ })], 2), a("el-option-group", { attrs: { label: t.$i18nt("gd.function.pageComponents", "\u9875\u9762\u5185\u7EC4\u4EF6") } }, [t._l(t.dialogTree, function(r) {
123557
123878
  return [a("el-option", { attrs: { label: `${t.$i18nt(r.transKey, r.label)} ${r.key}`, value: r.key } }, [a("i", { staticClass: "gd-icons", class: r.icon, staticStyle: { "margin-right": "4px" } }), a("span", [t._v(t._s(t.$i18nt(r.transKey, r.label)) + " " + t._s(r.key))])])];
123558
123879
  })], 2)], 1)], 1), a("el-form-item", { attrs: { label: t.$i18nt("gd.page.interactiveMethod", "\u4EA4\u4E92\u65B9\u6CD5") } }, [a("el-select", { staticStyle: { width: "100%" }, attrs: { placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), clearable: "" }, model: { value: t.interac.componentFunction, callback: function(r) {
123559
123880
  t.$set(t.interac, "componentFunction", r);
@@ -123566,11 +123887,11 @@ var _sfc_render$13 = function s() {
123566
123887
  _sfc_staticRenderFns$13,
123567
123888
  !1,
123568
123889
  null,
123569
- "72135f44",
123890
+ "2b48e65e",
123570
123891
  null,
123571
123892
  null
123572
123893
  );
123573
- const propertiesInterac = __component__$13.exports, properties_vue_vue_type_style_index_0_scoped_e636678b_lang = "", _sfc_main$12 = {
123894
+ const propertiesInterac = __component__$13.exports, properties_vue_vue_type_style_index_0_scoped_486d04a5_lang = "", _sfc_main$12 = {
123574
123895
  props: {
123575
123896
  selectItem: {
123576
123897
  type: Object,
@@ -123869,11 +124190,15 @@ var _sfc_render$12 = function s() {
123869
124190
  t.$set(t.selectItem, "label", r);
123870
124191
  }, expression: "selectItem.label" } }) : t.transKeyshow && !t.selectItem.options.transKey ? a("gd-translation", { ref: "gdTranslation", attrs: { recordData: t.selectItem, transKey: t.getTransKey, name: "label", keyI18n: "transKey", type: 3 }, on: { lookupSeled: t.lookupSeled } }) : t.transKeyshow && t.selectItem.options.transKey ? a("gd-translation", { ref: "gdTranslation", attrs: { recordData: t.selectItem, transKey: t.getTransKey, name: "label", type: 2, keyI18n: "transKey" }, on: { lookupSeled: t.lookupSeled } }) : t._e()], 1) : t._e(), t.selectItem.type === "approval" && t.getTypeof("label", "selectItem") ? a("el-form-item", { attrs: { label: t.$i18nt("gd.page.tag", "\u6807\u7B7E") } }, [t.selectItem.options.transKey === void 0 ? a("el-input", { attrs: { placeholder: t.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165") }, model: { value: t.selectItem.label, callback: function(r) {
123871
124192
  t.$set(t.selectItem, "label", r);
123872
- }, expression: "selectItem.label" } }) : t.transKeyshow && !t.selectItem.options.transKey ? a("gd-translation", { ref: "gdTranslation", attrs: { recordData: t.selectItem, transKey: t.getTransKey, name: "label", keyI18n: "transKey", type: 3 }, on: { lookupSeled: t.lookupSeled } }) : t.transKeyshow && t.selectItem.options.transKey ? a("gd-translation", { ref: "gdTranslation", attrs: { recordData: t.selectItem, transKey: t.getTransKey, name: "label", type: 2, keyI18n: "transKey" }, on: { lookupSeled: t.lookupSeled } }) : t._e()], 1) : t._e(), t.getTypeof("columnContextName") ? a("el-form-item", { attrs: { label: t.$i18nt("gd.page.boundFieldd", "\u7ED1\u5B9A\u503C") } }, [a("el-cascader", { attrs: { options: t.selectItem.fieldContext }, scopedSlots: t._u([{ key: "default", fn: function({ node: r, data: o }) {
124193
+ }, expression: "selectItem.label" } }) : t.transKeyshow && !t.selectItem.options.transKey ? a("gd-translation", { ref: "gdTranslation", attrs: { recordData: t.selectItem, transKey: t.getTransKey, name: "label", keyI18n: "transKey", type: 3 }, on: { lookupSeled: t.lookupSeled } }) : t.transKeyshow && t.selectItem.options.transKey ? a("gd-translation", { ref: "gdTranslation", attrs: { recordData: t.selectItem, transKey: t.getTransKey, name: "label", type: 2, keyI18n: "transKey" }, on: { lookupSeled: t.lookupSeled } }) : t._e()], 1) : t._e(), t.getTypeof("columnContextName") && t.selectItem.fieldContext && t.selectItem.fieldContext.length > 0 ? a("el-form-item", { attrs: { label: t.$i18nt("gd.page.bindValue", "\u7ED1\u5B9A\u503C") } }, [a("el-cascader", { attrs: { options: t.selectItem.fieldContext }, scopedSlots: t._u([{ key: "default", fn: function({ node: r, data: o }) {
123873
124194
  return [a("span", [t._v(t._s(t.$i18nt(`Dynamics.${o.transKey}`, o.columnComment)))])];
123874
124195
  } }], null, !1, 202416743), model: { value: t.options.columnContextName, callback: function(r) {
123875
124196
  t.$set(t.options, "columnContextName", r);
123876
- }, expression: "options.columnContextName" } })], 1) : t._e(), t.getTypeof("columnName") ? a("el-form-item", { attrs: { label: t.$i18nt("gd.page.boundField", "\u7ED1\u5B9A\u5B57\u6BB5") } }, [t.tableName && !t.disabled ? a("el-input", { attrs: { placeholder: t.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165"), disabled: t.options.disabledColumnName && t.disabled }, on: { change: t.changeColumnName }, model: { value: t.options.columnName, callback: function(r) {
124197
+ }, expression: "options.columnContextName" } })], 1) : t._e(), t.getTypeof("foreignContextName") && t.selectItem.foreignContext && t.selectItem.foreignContext.length > 0 ? a("el-form-item", { attrs: { label: t.$i18nt("gd.page.associationBinding", "\u5173\u8054\u7ED1\u5B9A") } }, [a("el-select", { staticStyle: { width: "100%" }, attrs: { placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9") }, model: { value: t.options.foreignContextName, callback: function(r) {
124198
+ t.$set(t.options, "foreignContextName", r);
124199
+ }, expression: "options.foreignContextName" } }, [t._l(t.selectItem.foreignContext, function(r) {
124200
+ return [a("el-option", { attrs: { label: r.label, value: r.value } })];
124201
+ })], 2)], 1) : t._e(), t.getTypeof("columnName") ? a("el-form-item", { attrs: { label: t.$i18nt("gd.page.boundField", "\u7ED1\u5B9A\u5B57\u6BB5") } }, [t.tableName && !t.disabled ? a("el-input", { attrs: { placeholder: t.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165"), disabled: t.options.disabledColumnName && t.disabled }, on: { change: t.changeColumnName }, model: { value: t.options.columnName, callback: function(r) {
123877
124202
  t.$set(t.options, "columnName", r);
123878
124203
  }, expression: "options.columnName" } }, [a("i", { staticClass: "el-input__icon el-icon-search", staticStyle: { cursor: "pointer", "font-size": "16px" }, attrs: { slot: "suffix" }, on: { click: t.searchColumnName }, slot: "suffix" })]) : a("el-input", { attrs: { placeholder: t.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165"), disabled: t.options.disabledColumnName && t.disabled }, model: { value: t.options.columnName, callback: function(r) {
123879
124204
  t.$set(t.options, "columnName", r);
@@ -123943,7 +124268,7 @@ var _sfc_render$12 = function s() {
123943
124268
  return a("el-option", { key: r.code, attrs: { label: t.$i18nt(`Dynamics.${r.transkey}`, r.name), value: r.code } }, [a("span", [t._v(t._s(t.$i18nt(`Dynamics.${r.transkey}`, r.name)))])]);
123944
124269
  }) : [a("el-option", { attrs: { label: "\u9009\u98791", value: "\u9009\u98791" } }), a("el-option", { attrs: { label: "\u9009\u98792", value: "\u9009\u98792" } })]], 2) : t.selectItem.type === "timePicker" ? a("el-time-picker", { attrs: { "value-format": t.fieldFormat, format: t.fieldFormat, placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9") }, model: { value: t.options.defaultValue, callback: function(r) {
123945
124270
  t.$set(t.options, "defaultValue", r);
123946
- }, expression: "options.defaultValue" } }) : t.selectItem.type === "datePicker" ? a("el-date-picker", { attrs: { type: t.options.showTime ? "datetime" : "date", "value-format": t.fieldFormat, format: t.fieldFormat, placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9") }, model: { value: t.options.defaultValue, callback: function(r) {
124271
+ }, expression: "options.defaultValue" } }) : t.selectItem.type === "datePicker" ? a("el-date-picker", { attrs: { type: t.options.showTime == !0 ? "datetime" : t.options.format == "4" ? "month" : "date", "value-format": t.fieldFormat, format: t.fieldFormat, placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9") }, model: { value: t.options.defaultValue, callback: function(r) {
123947
124272
  t.$set(t.options, "defaultValue", r);
123948
124273
  }, expression: "options.defaultValue" } }) : t.selectItem.type === "inputNumber" ? a("el-input-number", { staticStyle: { width: "100%" }, attrs: { "controls-position": "right", min: t.options.min || t.options.min === 0 ? t.options.min : -1 / 0, max: t.options.max || t.options.max === 0 ? t.options.max : 1 / 0, step: t.options.step, precision: t.options.precision, placeholder: t.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165") }, model: { value: t.options.defaultValue, callback: function(r) {
123949
124274
  t.$set(t.options, "defaultValue", r);
@@ -124057,7 +124382,7 @@ var _sfc_render$12 = function s() {
124057
124382
  t.$set(t.options, "autoplay", r);
124058
124383
  }, expression: "options.autoplay" } }) : t._e(), t.getTypeof("loop") ? a("pCheckbox", { attrs: { label: t.$i18nt("gd.page.loopDisplay", "\u5FAA\u73AF\u663E\u793A") }, model: { value: t.options.loop, callback: function(r) {
124059
124384
  t.$set(t.options, "loop", r);
124060
- }, expression: "options.loop" } }) : t._e()], 1) : t._e(), t.selectItem.type == "btnGroup" ? a("propertiesBtn", { key: t.selectItem.key, attrs: { selectItem: t.selectItem, outlineTreeData: t.outlineTreeData } }) : t._e(), t.selectItem.type == "banner" ? a("carouselMap", { attrs: { selectItem: t.selectItem } }) : t._e(), t.selectItem.type == "dataList" ? a("propertiesList", { attrs: { selectItem: t.selectItem } }) : t._e(), t.getTypeof("interac", "selectItem") ? a("propertiesInterac", { attrs: { selectItem: t.selectItem, outlineTreeData: t.outlineTreeData } }) : t._e(), a("propertiesCss", { attrs: { selectItem: t.selectItem } })], 2), a("iconSelector", { ref: "iconSelector", model: { value: t.options.icon, callback: function(r) {
124385
+ }, expression: "options.loop" } }) : t._e()], 1) : t._e(), t.selectItem.type == "btnGroup" ? a("propertiesBtn", { key: t.selectItem.key, attrs: { selectItem: t.selectItem, data: t.data, outlineTreeData: t.outlineTreeData } }) : t._e(), t.selectItem.type == "banner" ? a("carouselMap", { attrs: { selectItem: t.selectItem } }) : t._e(), t.selectItem.type == "dataList" ? a("propertiesList", { attrs: { selectItem: t.selectItem } }) : t._e(), t.getTypeof("interac", "selectItem") ? a("propertiesInterac", { attrs: { selectItem: t.selectItem, outlineTreeData: t.outlineTreeData } }) : t._e(), a("propertiesCss", { attrs: { selectItem: t.selectItem } })], 2), a("iconSelector", { ref: "iconSelector", model: { value: t.options.icon, callback: function(r) {
124061
124386
  t.$set(t.options, "icon", r);
124062
124387
  }, expression: "options.icon" } })], 1)]], 2);
124063
124388
  }, _sfc_staticRenderFns$12 = [], __component__$12 = /* @__PURE__ */ normalizeComponent(
@@ -124066,7 +124391,7 @@ var _sfc_render$12 = function s() {
124066
124391
  _sfc_staticRenderFns$12,
124067
124392
  !1,
124068
124393
  null,
124069
- "e636678b",
124394
+ "486d04a5",
124070
124395
  null,
124071
124396
  null
124072
124397
  );
@@ -127304,7 +127629,7 @@ var _sfc_render$Q = function s() {
127304
127629
  null,
127305
127630
  null
127306
127631
  );
127307
- const tableDescriptions = __component__$Q.exports, main_vue_vue_type_style_index_0_scoped_92dcedf3_lang = "", _sfc_main$P = {
127632
+ const tableDescriptions = __component__$Q.exports, main_vue_vue_type_style_index_0_scoped_d3757a02_lang = "", _sfc_main$P = {
127308
127633
  mixins: [tablesFilter, mixins$i],
127309
127634
  props: {
127310
127635
  mode: {
@@ -127637,29 +127962,6 @@ const tableDescriptions = __component__$Q.exports, main_vue_vue_type_style_index
127637
127962
  },
127638
127963
  getDictionary(s) {
127639
127964
  return this.$options.filters.dictData(s);
127640
- },
127641
- getTransKey(s, t) {
127642
- let a = this.tableLists.filter((d) => d.id == this.record.id)[0], r = a == null ? "" : `_${a.tablename}`, o = `SFO_N${r}_${uuid$1(8)}`;
127643
- t == 1 && (o = `SFO_N${r}_field_${uuid$1(8)}`);
127644
- let l = [
127645
- {
127646
- val: s.columncomment,
127647
- code: "zh_CN"
127648
- },
127649
- {
127650
- val: s.columncomment,
127651
- code: "en_US"
127652
- },
127653
- {
127654
- val: s.columncomment,
127655
- code: "vi_VN"
127656
- },
127657
- {
127658
- val: s.columncomment,
127659
- code: "id_ID"
127660
- }
127661
- ];
127662
- return JSON.stringify({ name: o, langs: l });
127663
127965
  }
127664
127966
  }
127665
127967
  };
@@ -127766,7 +128068,7 @@ var _sfc_render$P = function s() {
127766
128068
  _sfc_staticRenderFns$P,
127767
128069
  !1,
127768
128070
  null,
127769
- "92dcedf3",
128071
+ "d3757a02",
127770
128072
  null,
127771
128073
  null
127772
128074
  );
@@ -134905,7 +135207,7 @@ var _sfc_render$w = function s() {
134905
135207
  null,
134906
135208
  null
134907
135209
  );
134908
- const pageAttribute = __component__$w.exports, main_vue_vue_type_style_index_0_scoped_3be7791b_lang = "", _sfc_main$v = {
135210
+ const pageAttribute = __component__$w.exports, main_vue_vue_type_style_index_0_scoped_5cdcb0a4_lang = "", _sfc_main$v = {
134909
135211
  props: {
134910
135212
  activeKey: {
134911
135213
  type: String,
@@ -135208,10 +135510,10 @@ const pageAttribute = __component__$w.exports, main_vue_vue_type_style_index_0_s
135208
135510
  t ? this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + t.message) : (this.$refs.menuTree.updateTree(this.config, this.config.modeType), this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F"))), this.doneFun(!1);
135209
135511
  });
135210
135512
  },
135211
- editMenus() {
135513
+ async editMenus() {
135212
135514
  this.doneFun(!0);
135213
- const s = this.config.modeType === "directory" ? { ...this.config.options } : { ...this.dataConfig };
135214
- sysMenuEdit(
135515
+ let s = this.config.modeType === "directory" ? { ...this.config.options } : { ...this.dataConfig };
135516
+ this.config.modeType === "page" && (s = await this.foreignMenus(s)), sysMenuEdit(
135215
135517
  Object.assign(
135216
135518
  { ...this.config },
135217
135519
  {
@@ -135225,6 +135527,34 @@ const pageAttribute = __component__$w.exports, main_vue_vue_type_style_index_0_s
135225
135527
  t.success ? (this.$refs.menuTree.updateTree(this.config, this.config.modeType), this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F"))) : this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + t.message), this.doneFun(!1);
135226
135528
  });
135227
135529
  },
135530
+ async foreignMenus(s) {
135531
+ let t = [];
135532
+ const a = (o) => (o = o.filter((l, d) => (l.type === "dataList" && t.push(l), l.columns ? l.columns.forEach((u) => {
135533
+ a(u.list);
135534
+ }) : l.list && a(l.list), !0)), o);
135535
+ await a(s.list);
135536
+ let r = [];
135537
+ return t.forEach((o) => {
135538
+ const l = o.options.foreignContextName ? o.options.foreignContextName.split(",") : [];
135539
+ if (l.length > 0 && o.options.table.id && o.options.view.id) {
135540
+ const d = `${l[0]}${l[1]}`;
135541
+ r.push({
135542
+ key: l[2],
135543
+ fkName: d.replace(/_|-/g, "").toLowerCase(),
135544
+ refKeyName: l[0],
135545
+ pageSize: o.options.pageSize,
135546
+ tableId: o.options.table.id,
135547
+ viewId: o.options.view.id,
135548
+ pageSizeMode: o.options.pageSizeMode
135549
+ });
135550
+ }
135551
+ }), r.length > 0 && t.forEach((o, l) => {
135552
+ const d = r.filter((u) => u.key === o.key);
135553
+ t[l].options = Object.assign(o.options, {
135554
+ foreignBind: d
135555
+ });
135556
+ }), s;
135557
+ },
135228
135558
  sysAppEditData() {
135229
135559
  const s = { ...this.config.options }, t = Object.assign(
135230
135560
  { ...this.config },
@@ -135262,7 +135592,7 @@ var _sfc_render$v = function s() {
135262
135592
  _sfc_staticRenderFns$v,
135263
135593
  !1,
135264
135594
  null,
135265
- "3be7791b",
135595
+ "5cdcb0a4",
135266
135596
  null,
135267
135597
  null
135268
135598
  );
@@ -135476,7 +135806,7 @@ var _sfc_render$s = function s() {
135476
135806
  null,
135477
135807
  null
135478
135808
  );
135479
- const BuildItem = __component__$s.exports, layoutBlocks_vue_vue_type_style_index_0_scoped_ad49c1b9_lang = "", _sfc_main$r = {
135809
+ const BuildItem = __component__$s.exports, layoutBlocks_vue_vue_type_style_index_0_scoped_b22d8784_lang = "", _sfc_main$r = {
135480
135810
  name: "LayoutBlocks",
135481
135811
  props: {
135482
135812
  record: {
@@ -135567,7 +135897,7 @@ var _sfc_render$r = function s() {
135567
135897
  return t.record.type === "tabs" ? a("el-tabs", { staticClass: "grid-row", attrs: { type: t.options.type === "none" ? void 0 : t.options.type, "tab-position": t.options.tabPosition, "before-leave": t.tabClick }, model: { value: t.activeKey, callback: function(r) {
135568
135898
  t.activeKey = r;
135569
135899
  }, expression: "activeKey" } }, [t._l(t.record.columns, function(r, o) {
135570
- return [r.hidden === void 0 || !r.hidden ? a("el-tab-pane", { key: r.key, attrs: { label: t.$i18nt(`${r.transKey}`, r.label), name: r.key } }, [t._l(r.list, function(l) {
135900
+ return [r.hidden === void 0 || !r.hidden ? a("el-tab-pane", { key: r.key, attrs: { label: t.$i18nt(`Dynamics.${r.transKey}`, r.label), name: r.key } }, [t._l(r.list, function(l) {
135571
135901
  return [a("LayoutBlocks", { attrs: { height: t.height, record: l, isForm: t.isForm, model: t.model, tableData: t.tableData, forceRender: t.getForceRender(r, o), itemData: t.itemData }, on: { lookup: t.lookup, change: t.handleChange } })];
135572
135902
  })], 2) : t._e()];
135573
135903
  })], 2) : t.record.type === "grid" ? a("el-row", { staticClass: "grid-row", attrs: { gutter: t.options.gutter ? t.options.gutter : 0 } }, [t._l(t.record.columns, function(r, o) {
@@ -135587,16 +135917,16 @@ var _sfc_render$r = function s() {
135587
135917
  } } }, [t._l(t.record.list, function(r) {
135588
135918
  return [a("LayoutBlocks", { attrs: { height: t.height, record: r, isForm: t.isForm, model: t.model, tableData: t.tableData, forceRender: t.forceRender, itemData: t.itemData }, on: { lookup: t.lookup, change: t.handleChange } })];
135589
135919
  })], 2) : t.record.type === "containerPanel" ? a("ContainerPanel", { staticClass: "grid-row", attrs: { record: t.record, develop: 2, height: t.height }, scopedSlots: t._u([{ key: "containerItem", fn: function({ containerStyle: r }) {
135590
- return [a("div", { style: r }, [t._l(t.record.list, function(o) {
135920
+ return [a("div", { staticClass: "gd-container-panel-container", style: r }, [t._l(t.record.list, function(o) {
135591
135921
  return [a("LayoutBlocks", { attrs: { height: t.height, record: o, isForm: t.isForm, model: t.model, tableData: t.tableData, forceRender: t.forceRender, itemData: t.itemData }, on: { lookup: t.lookup, change: t.handleChange } })];
135592
135922
  })], 2)];
135593
135923
  } }]) }) : t.record.type === "flexLayout" ? a("FlexLayout", { staticClass: "grid-row", attrs: { record: t.record, develop: 2, height: t.height }, scopedSlots: t._u([{ key: "flexItem", fn: function({ flexStyle: r }) {
135594
135924
  return [a("div", { style: r }, [t._l(t.record.list, function(o) {
135595
135925
  return [a("LayoutBlocks", { attrs: { height: t.height, record: o, isForm: t.isForm, model: t.model, tableData: t.tableData, forceRender: t.forceRender, itemData: t.itemData }, on: { lookup: t.lookup, change: t.handleChange } })];
135596
135926
  })], 2)];
135597
- } }]) }) : t.record.type === "dataList" ? a("DataList", { staticClass: "grid-row", attrs: { record: t.record, develop: 2, height: t.height }, scopedSlots: t._u([{ key: "listItem", fn: function({ index: r, row: o }) {
135927
+ } }]) }) : t.record.type === "dataList" ? a("DataList", { staticClass: "grid-row", attrs: { record: t.record, develop: 2, height: t.height, itemData: t.itemData }, scopedSlots: t._u([{ key: "listItem", fn: function({ index: r, row: o }) {
135598
135928
  return [t._l(t.record.list, function(l) {
135599
- return [a("LayoutBlocks", { attrs: { height: t.height, record: l, isForm: t.isForm, model: t.model, tableData: t.tableData, forceRender: t.forceRender, itemData: o }, on: { lookup: t.lookup, change: t.handleChange } })];
135929
+ return [a("LayoutBlocks", { key: `${l.key}_${r}`, attrs: { height: t.height, record: l, isForm: t.isForm, model: t.model, tableData: t.tableData, forceRender: t.forceRender, itemData: o }, on: { lookup: t.lookup, change: t.handleChange } })];
135600
135930
  })];
135601
135931
  } }]) }) : t.record.type === "dialog" || t.record.type === "drawer" ? a("div") : a("BuildItem", { style: t.styled, attrs: { height: t.height, record: t.record, isForm: t.isForm, model: t.model, tableData: t.tableData, forceRender: t.forceRender, itemData: t.itemData }, on: { lookup: t.lookup, change: t.handleChange } });
135602
135932
  }, _sfc_staticRenderFns$r = [], __component__$r = /* @__PURE__ */ normalizeComponent(
@@ -135605,7 +135935,7 @@ var _sfc_render$r = function s() {
135605
135935
  _sfc_staticRenderFns$r,
135606
135936
  !1,
135607
135937
  null,
135608
- "ad49c1b9",
135938
+ "b22d8784",
135609
135939
  null,
135610
135940
  null
135611
135941
  );
@@ -135668,7 +135998,7 @@ var _sfc_render$q = function s() {
135668
135998
  null,
135669
135999
  null
135670
136000
  );
135671
- const BuildBlocks = __component__$q.exports, main_vue_vue_type_style_index_0_scoped_0c42d760_lang = "", _sfc_main$p = {
136001
+ const BuildBlocks = __component__$q.exports, main_vue_vue_type_style_index_0_scoped_f1b2ac51_lang = "", _sfc_main$p = {
135672
136002
  name: "GdPageBuild",
135673
136003
  data() {
135674
136004
  return {
@@ -135699,9 +136029,46 @@ const BuildBlocks = __component__$q.exports, main_vue_vue_type_style_index_0_sco
135699
136029
  },
135700
136030
  components: { BuildBlocks },
135701
136031
  methods: {
135702
- doEvent(s) {
136032
+ baseFilePreview(s) {
136033
+ let t = [];
136034
+ if (isJson(s.data) && (t = JSON.parse(s.data)), t.length === 0) {
136035
+ this.$message.warning(this.$i18nt("gd.https.fileNotFoundTip", "\u672A\u627E\u5230\u6307\u5B9A\u6587\u4EF6"));
136036
+ return;
136037
+ }
136038
+ const a = t[0];
136039
+ let r = { name: a.fileoriginname, fileId: a.id };
136040
+ this.$refs.filePreview.open(r);
136041
+ },
136042
+ doEventDataList(s, t) {
136043
+ const a = t.executeEvent ? t.executeEvent : [];
136044
+ if (a.length === 0)
136045
+ return;
136046
+ if (a.length === 1 && a[0].executeEvent) {
136047
+ a[0].executeEvent(s);
136048
+ return;
136049
+ }
136050
+ const r = a.filter((o) => o.id === s.id)[0];
136051
+ r && r.executeEvent && r.executeEvent(s);
136052
+ },
136053
+ doEvent(s, t = "execute") {
136054
+ if (t === "execute") {
136055
+ this.doEventSys(s);
136056
+ return;
136057
+ }
136058
+ const a = this.allElements.filter((r) => r.key === s.key)[0];
136059
+ if (a && a.type === "dataList") {
136060
+ this.doEventDataList(s, a);
136061
+ return;
136062
+ }
136063
+ a && a.executeEvent && a.executeEvent(s);
136064
+ },
136065
+ doEventSys(s) {
136066
+ if (s.key === "GdFilePreview") {
136067
+ this.baseFilePreview(s);
136068
+ return;
136069
+ }
135703
136070
  const t = this.allElements.filter((a) => a.key === s.key)[0];
135704
- t && t.executeEvent && t.executeEvent(s), console.log(s, t);
136071
+ t && t.executeEvent && t.executeEvent(s);
135705
136072
  },
135706
136073
  eventsCall(s) {
135707
136074
  if (s.functionName === void 0 || s.key === void 0 || s.key === "" || s.key === null)
@@ -135717,7 +136084,7 @@ const BuildBlocks = __component__$q.exports, main_vue_vue_type_style_index_0_sco
135717
136084
  },
135718
136085
  baseLoadElements() {
135719
136086
  let s = [];
135720
- const t = (a) => (a = a.filter((r, o) => (r.done === void 0 && (r.done = this, r.hasLoad = this.hasLoad, r.hideLoad = this.hideLoad, r.eventsCall = this.eventsCall, r.doEvent = this.doEvent), r.type === "table" && (r.config = Object.assign(
136087
+ const t = (a) => (a = a.filter((r, o) => (r.done === void 0 && (r.done = this, r.hasLoad = this.hasLoad, r.hideLoad = this.hideLoad, r.eventsCall = this.eventsCall, r.doEvent = this.doEvent, r.doEventSys = this.doEventSys), r.type === "table" && (r.config = Object.assign(
135721
136088
  { ...this.record },
135722
136089
  {
135723
136090
  pageContent: []
@@ -135733,7 +136100,7 @@ const BuildBlocks = __component__$q.exports, main_vue_vue_type_style_index_0_sco
135733
136100
  this.getHeight().then(() => {
135734
136101
  this.show = !0, this.timeOut = setTimeout(() => {
135735
136102
  this.loading = !1;
135736
- }, 100);
136103
+ }, 300);
135737
136104
  });
135738
136105
  });
135739
136106
  });
@@ -135752,14 +136119,14 @@ const BuildBlocks = __component__$q.exports, main_vue_vue_type_style_index_0_sco
135752
136119
  };
135753
136120
  var _sfc_render$p = function s() {
135754
136121
  var t = this, a = t._self._c;
135755
- return a("div", { directives: [{ name: "loading", rawName: "v-loading", value: t.loading, expression: "loading" }], staticClass: "gd-page-bulid", style: t.style }, [t.loading ? a("div", { staticClass: "bulid-loading" }, [a("gd-view-loading", { attrs: { height: t.height } })], 1) : t._e(), t.show ? a("BuildBlocks", { attrs: { record: t.record, height: t.height } }) : t._e()], 1);
136122
+ return a("div", { directives: [{ name: "loading", rawName: "v-loading", value: t.loading, expression: "loading" }], staticClass: "gd-page-bulid", style: t.style }, [t.loading ? a("div", { staticClass: "bulid-loading" }, [a("gd-view-loading", { attrs: { height: t.height } })], 1) : t._e(), t.show ? a("BuildBlocks", { attrs: { record: t.record, height: t.height } }) : t._e(), a("gd-file-preview", { ref: "filePreview", attrs: { options: {}, hasFullscreen: !0 } })], 1);
135756
136123
  }, _sfc_staticRenderFns$p = [], __component__$p = /* @__PURE__ */ normalizeComponent(
135757
136124
  _sfc_main$p,
135758
136125
  _sfc_render$p,
135759
136126
  _sfc_staticRenderFns$p,
135760
136127
  !1,
135761
136128
  null,
135762
- "0c42d760",
136129
+ "f1b2ac51",
135763
136130
  null,
135764
136131
  null
135765
136132
  );
@@ -137131,7 +137498,7 @@ var _sfc_render$n = function s() {
137131
137498
  null,
137132
137499
  null
137133
137500
  );
137134
- const ProcessFlow = __component__$n.exports, main_vue_vue_type_style_index_0_scoped_885f5ae4_lang = "", _sfc_main$m = {
137501
+ const ProcessFlow = __component__$n.exports, main_vue_vue_type_style_index_0_scoped_3f678498_lang = "", _sfc_main$m = {
137135
137502
  name: "GdFormBuild",
137136
137503
  props: {
137137
137504
  modeType: {
@@ -137296,7 +137663,9 @@ const ProcessFlow = __component__$n.exports, main_vue_vue_type_style_index_0_sco
137296
137663
  return this.confirmLoading = !0, new Promise((t, a) => {
137297
137664
  this.getFormAllData().then((r) => {
137298
137665
  [...r.fkList];
137299
- let o = this.recordRelation.foreign === void 0 ? "" : this.recordRelation.foreign.fkValue, l = !1, d = !1;
137666
+ let o = this.recordRelation.foreign === void 0 ? "" : this.recordRelation.foreign.fkValue;
137667
+ console.log(o, this.recordRelation.foreign, this.recordRelation);
137668
+ let l = !1, d = !1;
137300
137669
  if (this.recordRelation.options && (l = this.recordRelation.options.saved === void 0 ? !1 : this.recordRelation.options.saved, d = this.recordRelation.options.refreshHost === void 0 ? !1 : this.recordRelation.options.refreshHost), this.isRelevance) {
137301
137670
  this.$emit("relationOk", { data: r, fkDataList: this.allField });
137302
137671
  return;
@@ -138214,7 +138583,7 @@ var _sfc_render$m = function s() {
138214
138583
  _sfc_staticRenderFns$m,
138215
138584
  !1,
138216
138585
  null,
138217
- "885f5ae4",
138586
+ "3f678498",
138218
138587
  null,
138219
138588
  null
138220
138589
  );
@@ -144792,7 +145161,7 @@ const GDpackage = __component__$2.exports;
144792
145161
  GDpackage.install = function(s) {
144793
145162
  s.component(GDpackage.name, GDpackage);
144794
145163
  };
144795
- const seach_vue_vue_type_style_index_0_scoped_8e012e3f_lang = "", columns = [
145164
+ const seach_vue_vue_type_style_index_0_scoped_0c55c5fc_lang = "", columns = [
144796
145165
  {
144797
145166
  title: "value",
144798
145167
  dataIndex: "defaulttext",
@@ -144828,7 +145197,16 @@ const seach_vue_vue_type_style_index_0_scoped_8e012e3f_lang = "", columns = [
144828
145197
  }
144829
145198
  ], _sfc_main$1 = {
144830
145199
  name: "GdTranslation",
144831
- props: {},
145200
+ props: {
145201
+ modalAppendToBody: {
145202
+ type: Boolean,
145203
+ default: !0
145204
+ },
145205
+ appendToBody: {
145206
+ type: Boolean,
145207
+ default: !0
145208
+ }
145209
+ },
144832
145210
  data() {
144833
145211
  return {
144834
145212
  labelCol: {
@@ -144974,7 +145352,7 @@ var _sfc_render$1 = function s() {
144974
145352
  return a("span", {}, [t.dictSwitch(r, "translation_type") ? a("el-tag", { attrs: { color: t.dictSwitch(r, "translation_type") } }, [t._v(" " + t._s(t._f("dictType")("translation_type", r)) + " ")]) : a("span", [t._v(t._s(t._f("dictType")("translation_type", r)))])], 1);
144975
145353
  } }, { key: "stateCodes", fn: function(r, o) {
144976
145354
  return a("span", {}, [t.dictSwitch(r, "state_code") ? a("el-tag", { attrs: { color: t.dictSwitch(r, "state_code") } }, [t._v(" " + t._s(t._f("dictType")("state_code", r)) + " ")]) : a("span", [t._v(t._s(t._f("dictType")("state_code", r)))])], 1);
144977
- } }], null, !1, 592479941) }) : t._e()], 1)])], 1), a("editForm", { ref: "editForm", on: { ok: t.handleOk, err: t.handleErr, closed: function(r) {
145355
+ } }], null, !1, 592479941) }) : t._e()], 1)])], 1), a("editForm", { ref: "editForm", attrs: { modalAppendToBody: t.modalAppendToBody, appendToBody: t.appendToBody }, on: { ok: t.handleOk, err: t.handleErr, closed: function(r) {
144978
145356
  return t.$emit("closed");
144979
145357
  } } })], 1);
144980
145358
  }, _sfc_staticRenderFns$1 = [], __component__$1 = /* @__PURE__ */ normalizeComponent(
@@ -144983,11 +145361,11 @@ var _sfc_render$1 = function s() {
144983
145361
  _sfc_staticRenderFns$1,
144984
145362
  !1,
144985
145363
  null,
144986
- "8e012e3f",
145364
+ "0c55c5fc",
144987
145365
  null,
144988
145366
  null
144989
145367
  );
144990
- const seach = __component__$1.exports, main_vue_vue_type_style_index_0_scoped_58c3dc46_lang = "", _sfc_main = {
145368
+ const seach = __component__$1.exports, main_vue_vue_type_style_index_0_scoped_cfffc4c8_lang = "", _sfc_main = {
144991
145369
  name: "GdTranslation",
144992
145370
  props: {
144993
145371
  prefix: {
@@ -145022,6 +145400,14 @@ const seach = __component__$1.exports, main_vue_vue_type_style_index_0_scoped_58
145022
145400
  operational: {
145023
145401
  type: Boolean,
145024
145402
  default: !0
145403
+ },
145404
+ modalAppendToBody: {
145405
+ type: Boolean,
145406
+ default: !0
145407
+ },
145408
+ appendToBody: {
145409
+ type: Boolean,
145410
+ default: !0
145025
145411
  }
145026
145412
  },
145027
145413
  data() {
@@ -145124,14 +145510,14 @@ var _sfc_render = function s() {
145124
145510
  return a("div", { key: o, staticStyle: { color: "#fff" } }, [t._v(" " + t._s(r.name) + ": "), a("span", { style: t.style }, [t._v(t._s(r.val))])]);
145125
145511
  }), 0), a("el-button", { staticClass: "title-more line1", attrs: { disabled: "" } }, [t._v(t._s(t.getTransName))])], 1)], 1) : a("el-input", { style: t.stylei, attrs: { disabled: "", placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), size: "small" }, model: { value: t.recordData[t.name], callback: function(r) {
145126
145512
  t.$set(t.recordData, t.name, r);
145127
- }, expression: "recordData[name]" } }), t.operational ? a("div", { staticClass: "cao_setting", on: { click: t.open } }, [t.type == 3 ? a("i", { staticClass: "el-icon-plus" }) : a("i", { staticClass: "el-icon-search" })]) : t._e(), t.visible ? a("seach", { ref: "seach", on: { lookupSeled: t.lookupSeled, closed: t.closed } }) : t._e()], 1);
145513
+ }, expression: "recordData[name]" } }), t.operational ? a("div", { staticClass: "cao_setting", on: { click: t.open } }, [t.type == 3 ? a("i", { staticClass: "el-icon-plus" }) : a("i", { staticClass: "el-icon-search" })]) : t._e(), t.visible ? a("seach", { ref: "seach", attrs: { modalAppendToBody: t.modalAppendToBody, appendToBody: t.appendToBody }, on: { lookupSeled: t.lookupSeled, closed: t.closed } }) : t._e()], 1);
145128
145514
  }, _sfc_staticRenderFns = [], __component__ = /* @__PURE__ */ normalizeComponent(
145129
145515
  _sfc_main,
145130
145516
  _sfc_render,
145131
145517
  _sfc_staticRenderFns,
145132
145518
  !1,
145133
145519
  null,
145134
- "58c3dc46",
145520
+ "cfffc4c8",
145135
145521
  null,
145136
145522
  null
145137
145523
  );