gds-plus-design-vue 1.1.25 → 1.1.27

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.a97228fb.mjs"),
633
+ component: () => import("./main.eb2a51d9.mjs"),
634
634
  meta: {
635
635
  title: "\u767B\u5F55",
636
636
  transKey: "gd.login.title"
@@ -31976,7 +31976,7 @@ function usageBusinessRules({
31976
31976
  if (_ !== -1) {
31977
31977
  const w = g.adapted === void 0 ? ["form", "flowsProcess"] : g.adapted;
31978
31978
  g.list[_].operation.list.forEach((C) => {
31979
- typeof o == "function" && o(C, p, h === "form" ? w : []);
31979
+ typeof o == "function" && o(C, p, h === "form" ? w : [], g);
31980
31980
  });
31981
31981
  }
31982
31982
  }), v;
@@ -106461,7 +106461,7 @@ var _sfc_render$2p = function s() {
106461
106461
  null,
106462
106462
  null
106463
106463
  );
106464
- const StepsDesigner = __component__$2p.exports, index_vue_vue_type_style_index_0_scoped_e32c8065_lang = "", _sfc_main$2o = {
106464
+ const StepsDesigner = __component__$2p.exports, index_vue_vue_type_style_index_0_scoped_6992cda7_lang = "", _sfc_main$2o = {
106465
106465
  props: {
106466
106466
  record: {
106467
106467
  type: Object,
@@ -106621,7 +106621,7 @@ const StepsDesigner = __component__$2p.exports, index_vue_vue_type_style_index_0
106621
106621
  },
106622
106622
  getAuditorType() {
106623
106623
  let t = this.getDictionary("table_flows_mode").filter((r) => r.code == this.record.properties.assigneeType)[0];
106624
- return t ? this.$i18nt(t.transkey, t.name) : t.name;
106624
+ return t ? this.$i18nt(t.transkey, t.name) : this.$i18nt("gd.flow.approval.approverInformationTip", "\u8BF7\u9009\u62E9\u5BA1\u6279\u4EBA");
106625
106625
  },
106626
106626
  maskStyle() {
106627
106627
  return {
@@ -107097,7 +107097,7 @@ var _sfc_render$2o = function s() {
107097
107097
  _sfc_staticRenderFns$2o,
107098
107098
  !1,
107099
107099
  null,
107100
- "e32c8065",
107100
+ "6992cda7",
107101
107101
  null,
107102
107102
  null
107103
107103
  );
@@ -111153,6 +111153,8 @@ const operationMenus = __component__$2e.exports, abilityItems = [{
111153
111153
  padding: [0, 0, 0, 0],
111154
111154
  margin: [0, 0, 0, 0]
111155
111155
  },
111156
+ fieldContext: [],
111157
+ customCss: "",
111156
111158
  defined: {
111157
111159
  pc: {},
111158
111160
  mobile: {}
@@ -111247,7 +111249,8 @@ const operationMenus = __component__$2e.exports, abilityItems = [{
111247
111249
  title: "\u6587\u672C\u5185\u5BB9",
111248
111250
  transKey: null,
111249
111251
  flexWidth: 100,
111250
- flexUnit: "%"
111252
+ flexUnit: "%",
111253
+ columnContextName: []
111251
111254
  },
111252
111255
  css: {
111253
111256
  maxLineClamp: void 0,
@@ -111264,6 +111267,7 @@ const operationMenus = __component__$2e.exports, abilityItems = [{
111264
111267
  fontStyle: "normal",
111265
111268
  textDecoration: "none"
111266
111269
  },
111270
+ fieldContext: [],
111267
111271
  customCss: "",
111268
111272
  defined: {
111269
111273
  pc: {},
@@ -111281,7 +111285,9 @@ const operationMenus = __component__$2e.exports, abilityItems = [{
111281
111285
  subtransKey: null,
111282
111286
  subtitle: "\u526F\u6807\u9898",
111283
111287
  mode: "center",
111284
- iconShow: !1
111288
+ iconShow: !1,
111289
+ columnContextName: [],
111290
+ subtransContextName: []
111285
111291
  },
111286
111292
  css: {
111287
111293
  bjColor: "transparent",
@@ -111289,6 +111295,7 @@ const operationMenus = __component__$2e.exports, abilityItems = [{
111289
111295
  margin: [0, 0, 0, 0],
111290
111296
  radius: [0, 0, 0, 0]
111291
111297
  },
111298
+ fieldContext: [],
111292
111299
  customCss: "",
111293
111300
  defined: {
111294
111301
  pc: {},
@@ -111303,7 +111310,8 @@ const operationMenus = __component__$2e.exports, abilityItems = [{
111303
111310
  options: {
111304
111311
  icon: "gd-icon-group-line",
111305
111312
  flexWidth: 100,
111306
- flexUnit: "%"
111313
+ flexUnit: "%",
111314
+ columnContextName: []
111307
111315
  },
111308
111316
  css: {
111309
111317
  bjColor: "transparent",
@@ -111316,6 +111324,7 @@ const operationMenus = __component__$2e.exports, abilityItems = [{
111316
111324
  align: "center",
111317
111325
  lineHeight: 24
111318
111326
  },
111327
+ fieldContext: [],
111319
111328
  customCss: "",
111320
111329
  defined: {
111321
111330
  pc: {},
@@ -111329,7 +111338,8 @@ const operationMenus = __component__$2e.exports, abilityItems = [{
111329
111338
  transKey: "gd.basiccomponents.image",
111330
111339
  options: {
111331
111340
  filePath: "",
111332
- url: ""
111341
+ url: "",
111342
+ columnContextName: []
111333
111343
  },
111334
111344
  css: {
111335
111345
  width: "30",
@@ -111339,6 +111349,7 @@ const operationMenus = __component__$2e.exports, abilityItems = [{
111339
111349
  labelUnit: "px",
111340
111350
  objectFit: "contain"
111341
111351
  },
111352
+ fieldContext: [],
111342
111353
  customCss: "",
111343
111354
  defined: {
111344
111355
  pc: {},
@@ -111355,13 +111366,15 @@ const operationMenus = __component__$2e.exports, abilityItems = [{
111355
111366
  transKey: null,
111356
111367
  color: "",
111357
111368
  size: "small",
111358
- effect: "light"
111369
+ effect: "light",
111370
+ columnContextName: []
111359
111371
  },
111360
111372
  css: {
111361
111373
  padding: [0, 0, 0, 0],
111362
111374
  margin: [0, 0, 0, 0],
111363
111375
  align: "left"
111364
111376
  },
111377
+ fieldContext: [],
111365
111378
  customCss: "",
111366
111379
  defined: {
111367
111380
  pc: {},
@@ -111376,7 +111389,8 @@ const operationMenus = __component__$2e.exports, abilityItems = [{
111376
111389
  options: {
111377
111390
  title: "\u94FE\u63A5",
111378
111391
  transKey: null,
111379
- linkUrl: ""
111392
+ linkUrl: "",
111393
+ columnContextName: []
111380
111394
  },
111381
111395
  css: {
111382
111396
  padding: [0, 0, 0, 0],
@@ -111389,6 +111403,7 @@ const operationMenus = __component__$2e.exports, abilityItems = [{
111389
111403
  color: "#1456f0",
111390
111404
  radius: [0, 0, 0, 0]
111391
111405
  },
111406
+ fieldContext: [],
111392
111407
  customCss: "",
111393
111408
  defined: {
111394
111409
  pc: {},
@@ -111401,7 +111416,8 @@ const operationMenus = __component__$2e.exports, abilityItems = [{
111401
111416
  icon: "gd-icon-erweima",
111402
111417
  transKey: "gd.basiccomponents.QRcode",
111403
111418
  options: {
111404
- urlQRcode: "https://www.baidu.com/"
111419
+ urlQRcode: "https://www.baidu.com/",
111420
+ columnContextName: []
111405
111421
  },
111406
111422
  css: {
111407
111423
  width: 200,
@@ -111410,6 +111426,7 @@ const operationMenus = __component__$2e.exports, abilityItems = [{
111410
111426
  margin: [0, 0, 0, 0],
111411
111427
  radius: [0, 0, 0, 0]
111412
111428
  },
111429
+ fieldContext: [],
111413
111430
  customCss: "",
111414
111431
  defined: {
111415
111432
  pc: {},
@@ -111435,6 +111452,7 @@ const operationMenus = __component__$2e.exports, abilityItems = [{
111435
111452
  margin: [0, 0, 0, 0],
111436
111453
  labelUnit: "px"
111437
111454
  },
111455
+ fieldContext: [],
111438
111456
  customCss: "",
111439
111457
  argument: !0,
111440
111458
  defined: {
@@ -111490,13 +111508,13 @@ const operationMenus = __component__$2e.exports, abilityItems = [{
111490
111508
  transKey: "gd.datadisplaycomponents.list",
111491
111509
  options: {
111492
111510
  table: {},
111493
- viewId: {},
111511
+ view: {},
111494
111512
  flexWidth: 100,
111495
111513
  flexUnit: "%",
111496
111514
  pageSize: 10,
111497
111515
  pageSizeMode: "customize",
111498
111516
  layoutType: "grid",
111499
- layoutDirection: "vertical",
111517
+ layoutDirection: "column",
111500
111518
  columnsNumber: 2,
111501
111519
  columnsWidth: 100,
111502
111520
  spacing: 0
@@ -111510,6 +111528,7 @@ const operationMenus = __component__$2e.exports, abilityItems = [{
111510
111528
  margin: [0, 0, 0, 0],
111511
111529
  radius: [0, 0, 0, 0]
111512
111530
  },
111531
+ fieldContext: [],
111513
111532
  customCss: "",
111514
111533
  defined: {
111515
111534
  pc: {},
@@ -113812,7 +113831,7 @@ function getProperti(s, t) {
113812
113831
  return "";
113813
113832
  }
113814
113833
  }
113815
- const textContent_vue_vue_type_style_index_0_scoped_f6d62343_lang = "", _sfc_main$20 = {
113834
+ const textContent_vue_vue_type_style_index_0_scoped_b07fe66c_lang = "", _sfc_main$20 = {
113816
113835
  props: {
113817
113836
  record: {
113818
113837
  type: Object,
@@ -113821,12 +113840,33 @@ const textContent_vue_vue_type_style_index_0_scoped_f6d62343_lang = "", _sfc_mai
113821
113840
  develop: {
113822
113841
  type: [Number, String],
113823
113842
  default: 1
113843
+ },
113844
+ itemData: {
113845
+ type: Object,
113846
+ default: () => ({})
113847
+ },
113848
+ fieldContext: {
113849
+ type: Array,
113850
+ default: () => []
113824
113851
  }
113825
113852
  },
113826
113853
  data() {
113827
113854
  return {};
113828
113855
  },
113856
+ watch: {
113857
+ fieldContext: {
113858
+ handler(s) {
113859
+ this.record.fieldContext = this.fieldContext;
113860
+ },
113861
+ deep: !0,
113862
+ immediate: !0
113863
+ }
113864
+ },
113829
113865
  computed: {
113866
+ columnName() {
113867
+ const s = this.options.columnContextName ? this.options.columnContextName : [];
113868
+ return s[s.length - 1];
113869
+ },
113830
113870
  options() {
113831
113871
  return this.record.options;
113832
113872
  },
@@ -113838,18 +113878,20 @@ const textContent_vue_vue_type_style_index_0_scoped_f6d62343_lang = "", _sfc_mai
113838
113878
  return `overflow: hidden;${this.develop == 1 ? "" : `${getCss(this.options)}max-width:100%;`}`;
113839
113879
  }
113840
113880
  },
113841
- methods: {}
113881
+ methods: {},
113882
+ mounted() {
113883
+ }
113842
113884
  };
113843
113885
  var _sfc_render$20 = function s() {
113844
113886
  var t = this, a = t._self._c;
113845
- return a("div", { style: t.wstyle }, [a("div", { style: t.style }, [t._v(" " + t._s(t.$i18nt(`Dynamics.${t.options.transKey}`, t.options.title)) + " ")])]);
113887
+ return a("div", { style: t.wstyle }, [t.develop == 1 ? a("div", { style: t.style }, [t._v(t._s(t.$i18nt(`Dynamics.${t.options.transKey}`, t.options.title)))]) : [t.columnName ? a("div", { style: t.style }, [t._v(t._s(t.itemData[t.columnName]))]) : a("div", { style: t.style }, [t._v(t._s(t.$i18nt(`Dynamics.${t.options.transKey}`, t.options.title)))])]], 2);
113846
113888
  }, _sfc_staticRenderFns$20 = [], __component__$20 = /* @__PURE__ */ normalizeComponent(
113847
113889
  _sfc_main$20,
113848
113890
  _sfc_render$20,
113849
113891
  _sfc_staticRenderFns$20,
113850
113892
  !1,
113851
113893
  null,
113852
- "f6d62343",
113894
+ "b07fe66c",
113853
113895
  null,
113854
113896
  null
113855
113897
  );
@@ -113897,7 +113939,7 @@ var _sfc_render$1$ = function s() {
113897
113939
  null,
113898
113940
  null
113899
113941
  );
113900
- const titleVlaue = __component__$1$.exports, fonticon_vue_vue_type_style_index_0_scoped_00700c98_lang = "", _sfc_main$1_ = {
113942
+ const titleVlaue = __component__$1$.exports, fonticon_vue_vue_type_style_index_0_scoped_12a9467b_lang = "", _sfc_main$1_ = {
113901
113943
  props: {
113902
113944
  record: {
113903
113945
  type: Object,
@@ -113906,35 +113948,57 @@ const titleVlaue = __component__$1$.exports, fonticon_vue_vue_type_style_index_0
113906
113948
  develop: {
113907
113949
  type: [Number, String],
113908
113950
  default: 1
113951
+ },
113952
+ itemData: {
113953
+ type: Object,
113954
+ default: () => ({})
113955
+ },
113956
+ fieldContext: {
113957
+ type: Array,
113958
+ default: () => []
113909
113959
  }
113910
113960
  },
113911
113961
  data() {
113912
113962
  return {};
113913
113963
  },
113964
+ watch: {
113965
+ fieldContext: {
113966
+ handler(s) {
113967
+ this.record.fieldContext = this.fieldContext;
113968
+ },
113969
+ deep: !0,
113970
+ immediate: !0
113971
+ }
113972
+ },
113914
113973
  computed: {
113915
113974
  options() {
113916
113975
  return this.record.options;
113917
113976
  },
113918
113977
  style() {
113919
113978
  const s = this.record.customCss ? this.record.customCss : "";
113920
- return `${getCss(this.record.css)}${s}`;
113979
+ return `${getCss(this.record.css)}cursor: pointer;${s}`;
113921
113980
  },
113922
113981
  wstyle() {
113923
113982
  return `overflow: hidden;${this.develop == 1 ? "" : `${getCss(this.options)}max-width:100%;`}`;
113924
113983
  }
113925
113984
  },
113926
- methods: {}
113985
+ methods: {
113986
+ change() {
113987
+ const s = this.options.columnContextName ? this.options.columnContextName : [], t = s[s.length - 1];
113988
+ console.log(t, this.itemData[t]);
113989
+ }
113990
+ }
113927
113991
  };
113928
113992
  var _sfc_render$1_ = function s() {
113929
113993
  var t = this, a = t._self._c;
113930
- return a("div", { style: t.wstyle }, [a("div", { staticClass: "gd-icons", class: t.options.icon, style: t.style })]);
113994
+ return a("div", { style: t.wstyle }, [a("div", { staticClass: "gd-icons", class: t.options.icon, style: t.style, on: { click: t.change } })]);
113931
113995
  }, _sfc_staticRenderFns$1_ = [], __component__$1_ = /* @__PURE__ */ normalizeComponent(
113932
113996
  _sfc_main$1_,
113933
113997
  _sfc_render$1_,
113934
113998
  _sfc_staticRenderFns$1_,
113935
113999
  !1,
113936
114000
  null,
113937
- "00700c98",
114001
+ "12a9467b",
113938
114002
  null,
113939
114003
  null
113940
114004
  );
@@ -117947,7 +118011,7 @@ const echartsView = __component__$1A.exports, componentArray = {
117947
118011
  uploadImg,
117948
118012
  echarts: echartsView,
117949
118013
  inputNumber: moneyNumber
117950
- }, layoutItem_vue_vue_type_style_index_0_scoped_421ed02f_lang = "", _sfc_main$1z = {
118014
+ }, layoutItem_vue_vue_type_style_index_0_scoped_426835f5_lang = "", _sfc_main$1z = {
117951
118015
  props: {
117952
118016
  record: {
117953
118017
  type: Object,
@@ -117976,6 +118040,14 @@ const echartsView = __component__$1A.exports, componentArray = {
117976
118040
  forceRender: {
117977
118041
  type: Boolean,
117978
118042
  default: !0
118043
+ },
118044
+ itemData: {
118045
+ type: Object,
118046
+ default: () => ({})
118047
+ },
118048
+ fieldContext: {
118049
+ type: Array,
118050
+ default: () => []
117979
118051
  }
117980
118052
  },
117981
118053
  data() {
@@ -118178,7 +118250,7 @@ var _sfc_render$1z = function s() {
118178
118250
  "selectMultiple"
118179
118251
  ].includes(t.record.type) ? a("div", [t.record.type === "textarea" ? 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"), autosize: { minRows: t.options.minRows, maxRows: t.options.maxRows }, type: "textarea", clearable: t.options.clearable, disabled: t.options.disabled }, on: { change: t.handleChange }, model: { value: t.model[t.columnName], callback: function(r) {
118180
118252
  t.$set(t.model, t.columnName, r);
118181
- }, expression: "model[columnName]" } }) : t.record.type === "editor" ? a(t.componentItem, { tag: "component", attrs: { record: t.record, model: t.model }, on: { change: t.handleChange } }) : t.record.type === "inputNumber" ? a(t.componentItem, { tag: "component", attrs: { record: t.record, model: t.model }, on: { change: t.handleChange } }) : t.record.type === "switch" ? a("el-switch", { attrs: { disabled: t.options.disabled, "active-value": 1, "inactive-value": 0, "active-color": t.primaryColor }, on: { change: t.handleChange }, model: { value: t.model[t.columnName], callback: function(r) {
118253
+ }, expression: "model[columnName]" } }) : t.record.type === "editor" ? a(t.componentItem, { tag: "component", attrs: { record: t.record, model: t.model, fieldContext: t.fieldContext }, on: { change: t.handleChange } }) : t.record.type === "inputNumber" ? a(t.componentItem, { tag: "component", attrs: { record: t.record, model: t.model, fieldContext: t.fieldContext }, on: { change: t.handleChange } }) : t.record.type === "switch" ? a("el-switch", { attrs: { disabled: t.options.disabled, "active-value": 1, "inactive-value": 0, "active-color": t.primaryColor }, on: { change: t.handleChange }, model: { value: t.model[t.columnName], callback: function(r) {
118182
118254
  t.$set(t.model, t.columnName, r);
118183
118255
  }, expression: "model[columnName]" } }) : t.record.type === "radio" ? a("el-radio-group", { attrs: { disabled: t.options.disabled }, on: { input: t.handleChange }, model: { value: t.model[t.columnName], callback: function(r) {
118184
118256
  t.$set(t.model, t.columnName, r);
@@ -118210,20 +118282,20 @@ var _sfc_render$1z = function s() {
118210
118282
  t.$set(t.model, t.columnName, r);
118211
118283
  }, 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) {
118212
118284
  t.$set(t.model, t.columnName, r);
118213
- }, 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 }, 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 }, 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) {
118285
+ }, 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) {
118214
118286
  t.$set(t.model, t.columnName, r);
118215
- }, 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 }, 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]))]);
118287
+ }, 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]))]);
118216
118288
  }, _sfc_staticRenderFns$1z = [], __component__$1z = /* @__PURE__ */ normalizeComponent(
118217
118289
  _sfc_main$1z,
118218
118290
  _sfc_render$1z,
118219
118291
  _sfc_staticRenderFns$1z,
118220
118292
  !1,
118221
118293
  null,
118222
- "421ed02f",
118294
+ "426835f5",
118223
118295
  null,
118224
118296
  null
118225
118297
  );
118226
- const BuildLayoutItem = __component__$1z.exports, layoutItemForm_vue_vue_type_style_index_0_scoped_bc86d7ce_lang = "", _sfc_main$1y = {
118298
+ const BuildLayoutItem = __component__$1z.exports, layoutItemForm_vue_vue_type_style_index_0_scoped_4abd1ad9_lang = "", _sfc_main$1y = {
118227
118299
  props: {
118228
118300
  record: {
118229
118301
  type: Object,
@@ -118248,6 +118320,14 @@ const BuildLayoutItem = __component__$1z.exports, layoutItemForm_vue_vue_type_st
118248
118320
  develop: {
118249
118321
  type: [Number, String],
118250
118322
  default: 1
118323
+ },
118324
+ itemData: {
118325
+ type: Object,
118326
+ default: () => ({})
118327
+ },
118328
+ fieldContext: {
118329
+ type: Array,
118330
+ default: () => []
118251
118331
  }
118252
118332
  },
118253
118333
  data() {
@@ -118297,18 +118377,18 @@ var _sfc_render$1y = function s() {
118297
118377
  "datePicker",
118298
118378
  "timePicker",
118299
118379
  "selectMultiple"
118300
- ].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 }, on: { lookup: t.lookup, change: t.handleChange } })], 1) : t._e();
118380
+ ].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();
118301
118381
  }, _sfc_staticRenderFns$1y = [], __component__$1y = /* @__PURE__ */ normalizeComponent(
118302
118382
  _sfc_main$1y,
118303
118383
  _sfc_render$1y,
118304
118384
  _sfc_staticRenderFns$1y,
118305
118385
  !1,
118306
118386
  null,
118307
- "bc86d7ce",
118387
+ "4abd1ad9",
118308
118388
  null,
118309
118389
  null
118310
118390
  );
118311
- const BuildLayoutItemForm = __component__$1y.exports, layoutNode_vue_vue_type_style_index_0_scoped_5e408435_lang = "", _sfc_main$1x = {
118391
+ const BuildLayoutItemForm = __component__$1y.exports, layoutNode_vue_vue_type_style_index_0_scoped_608c4979_lang = "", _sfc_main$1x = {
118312
118392
  props: {
118313
118393
  record: {
118314
118394
  type: Object,
@@ -118333,6 +118413,10 @@ const BuildLayoutItemForm = __component__$1y.exports, layoutNode_vue_vue_type_st
118333
118413
  disabled: {
118334
118414
  type: Boolean,
118335
118415
  default: !1
118416
+ },
118417
+ fieldContext: {
118418
+ type: Array,
118419
+ default: () => []
118336
118420
  }
118337
118421
  },
118338
118422
  data() {
@@ -118389,7 +118473,7 @@ var _sfc_render$1x = function s() {
118389
118473
  "datePicker",
118390
118474
  "timePicker",
118391
118475
  "selectMultiple"
118392
- ].includes(t.record.type) ? a("buildLayoutItemForm", { attrs: { record: t.record, isForm: t.isForm, model: t.model, develop: t.develop } }) : a("buildLayoutItem", { attrs: { record: t.record, isForm: t.isForm, model: t.model, develop: t.develop } })], 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) {
118476
+ ].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) {
118393
118477
  return r.stopPropagation(), t.$emit("handleDelete");
118394
118478
  } } })]) : t._e(), t.develop === 1 ? a("div", { staticClass: "mtabs-kuang" }) : t._e()], 2);
118395
118479
  }, _sfc_staticRenderFns$1x = [], __component__$1x = /* @__PURE__ */ normalizeComponent(
@@ -118398,11 +118482,11 @@ var _sfc_render$1x = function s() {
118398
118482
  _sfc_staticRenderFns$1x,
118399
118483
  !1,
118400
118484
  null,
118401
- "5e408435",
118485
+ "608c4979",
118402
118486
  null,
118403
118487
  null
118404
118488
  );
118405
- const layoutNode = __component__$1x.exports, containerPanel_vue_vue_type_style_index_0_scoped_2bcdbe08_lang = "", _sfc_main$1w = {
118489
+ const layoutNode = __component__$1x.exports, containerPanel_vue_vue_type_style_index_0_scoped_8c4e08d4_lang = "", _sfc_main$1w = {
118406
118490
  props: {
118407
118491
  record: {
118408
118492
  type: Object,
@@ -118428,7 +118512,7 @@ const layoutNode = __component__$1x.exports, containerPanel_vue_vue_type_style_i
118428
118512
  return this.record.options || {};
118429
118513
  },
118430
118514
  wstyle() {
118431
- return `overflow: hidden;${this.develop == 1 ? "" : `${getCss(this.options)}max-width:100%;`}`;
118515
+ return `${this.develop == 1 ? "" : `${getCss(this.options)}max-width:100%;`}`;
118432
118516
  },
118433
118517
  style() {
118434
118518
  const s = this.record.customCss ? this.record.customCss : "";
@@ -118450,7 +118534,7 @@ var _sfc_render$1w = function s() {
118450
118534
  _sfc_staticRenderFns$1w,
118451
118535
  !1,
118452
118536
  null,
118453
- "2bcdbe08",
118537
+ "8c4e08d4",
118454
118538
  null,
118455
118539
  null
118456
118540
  );
@@ -118499,7 +118583,152 @@ var _sfc_render$1v = function s() {
118499
118583
  null,
118500
118584
  null
118501
118585
  );
118502
- const FlexLayout = __component__$1v.exports, dataList_vue_vue_type_style_index_0_scoped_9baaa3f9_lang = "", _sfc_main$1u = {
118586
+ const FlexLayout = __component__$1v.exports;
118587
+ function getColumns(s, t, a) {
118588
+ var h, p, v, g;
118589
+ if (!s.syscodegenconfig && !s.syscodegenconfigfk)
118590
+ return console.log("\u5B57\u6BB5:" + s.name + "\u6570\u636E\u9519\u8BEF!"), null;
118591
+ const r = ["fk", "user"].includes(s.syscodegenconfig.effecttype) ? (h = s.syscodegenconfigfk) == null ? void 0 : h.effecttype : s.syscodegenconfig.effecttype, o = s.syscodegenconfig.effecttype, l = getColumnName(s).toLowerCase(), d = s.align ? s.align.split("&") : [], u = getScopedSlots(o, l, s);
118592
+ let f = {
118593
+ key: l,
118594
+ transKey: `Dynamics.${s.transkey}`,
118595
+ prop: l,
118596
+ label: s.name,
118597
+ width: String(s.width),
118598
+ owidth: String(s.width),
118599
+ columnName: s.syscodegenconfig.columnname,
118600
+ fkEntityName: s.syscodegenconfig.fkentityname,
118601
+ id: s.fieldid,
118602
+ fkId: ["fk", "about", "user"].includes(o) ? (p = s.syscodegenconfigfk) == null ? void 0 : p.id : null,
118603
+ align: d[0] ? d[0] : "center",
118604
+ checked: d[1] ? d[1] == 1 : !0,
118605
+ effectType: r,
118606
+ fieldType: o,
118607
+ gatherConfig: s.gatherconfig == 1,
118608
+ fieldFormat: ["fk", "user"].includes(o) ? (v = s.syscodegenconfigfk) == null ? void 0 : v.fieldformat : s.syscodegenconfig.fieldformat,
118609
+ dictTypeCode: ["fk", "user"].includes(o) ? (g = s.syscodegenconfigfk) == null ? void 0 : g.dicttypecode : s.syscodegenconfig.dicttypecode,
118610
+ dictTypeList: [],
118611
+ maxTagCount: s.maxtagcount ? Number(s.maxtagcount) : 2,
118612
+ sourceFk: !!["fk", "about", "user"].includes(o),
118613
+ displayMode: d[2] ? d[2] : "none",
118614
+ displayPrefix: d[3] ? d[3] : "none",
118615
+ preview: d[4] ? d[4] === "true" : !0,
118616
+ download: d[5] ? d[5] === "true" : !0
118617
+ };
118618
+ return s.orderconfig === 1 && Object.assign(f, {
118619
+ sortable: "custom"
118620
+ }), t < a && Object.assign(f, {
118621
+ fixed: "left"
118622
+ }), ["participants"].includes(o) && Object.assign(f, {
118623
+ showTooltip: !1
118624
+ }), Object.assign(f, u);
118625
+ }
118626
+ function getColumnName(s) {
118627
+ const t = s.syscodegenconfigfk ? s.syscodegenconfigfk.columnname : "";
118628
+ switch (s.syscodegenconfig.effecttype) {
118629
+ case "fk":
118630
+ return t + s.syscodegenconfig.fkentityname + s.syscodegenconfig.columnname;
118631
+ case "user":
118632
+ return t + s.syscodegenconfig.fkentityname + s.syscodegenconfig.columnname;
118633
+ case "about":
118634
+ return s.syscodegenconfig.relations.toLowerCase();
118635
+ default:
118636
+ return s.syscodegenconfig.columnname;
118637
+ }
118638
+ }
118639
+ function getScopedSlots(s, t, a) {
118640
+ var o;
118641
+ if (s == "input")
118642
+ return {};
118643
+ const r = ["fk", "user"].includes(s) ? (o = a.syscodegenconfigfk) == null ? void 0 : o.fieldformat : a.syscodegenconfig.fieldformat;
118644
+ return ["datepicker"].includes(s) && r === 1 ? {} : {
118645
+ type: "slot",
118646
+ slotType: t
118647
+ };
118648
+ }
118649
+ function getQueries(s, t, a) {
118650
+ if (s.syscodegenconfig == null)
118651
+ return !1;
118652
+ let r = s.options ? JSON.parse(s.options) : {}, o = {
118653
+ required: r.required,
118654
+ message: a,
118655
+ trigger: "blur"
118656
+ };
118657
+ return ["inputnumber", "double", " currency"].includes(s.syscodegenconfig.effecttype) && Object.assign(o, {
118658
+ type: "number"
118659
+ }), {
118660
+ id: s.syscodegenconfig.id,
118661
+ transKey: s.syscodegenconfig.transkey,
118662
+ prop: s.syscodegenconfig.columnname,
118663
+ label: s.syscodegenconfig.columncomment,
118664
+ effectType: getEffectType(s.syscodegenconfig.effecttype),
118665
+ dictTypeCode: s.syscodegenconfig.dicttypecode,
118666
+ fkEntityName: s.syscodegenconfig.fkentityname,
118667
+ disabled: s.disabled === void 0 ? !1 : s.disabled,
118668
+ options: r,
118669
+ fieldFormat: s.syscodegenconfig.fieldformat,
118670
+ valueFormat: getFieldFormat(s.syscodegenconfig.fieldformat, t),
118671
+ rules: [o],
118672
+ hasFiltered: !1,
118673
+ filterList: [],
118674
+ fkData: []
118675
+ };
118676
+ }
118677
+ function getFieldFormat(s, t) {
118678
+ if (s === null)
118679
+ return s;
118680
+ const a = t.filter((r) => String(r.code) === String(s))[0];
118681
+ return a ? a.name.replace("DD", "dd") : "yyyy-MM-dd hh:mm:ss";
118682
+ }
118683
+ function getEffectType(s) {
118684
+ let t = s;
118685
+ return ["image", "file"].includes(s) ? t = "input" : ["select", "radio", "switch", "checkbox"].includes(s) ? t = "selectMultiple" : ["fk", "about", "participants", "user"].includes(s) && (t = "selectFkMultiple"), t;
118686
+ }
118687
+ function switchingDate(s, t) {
118688
+ let a = /* @__PURE__ */ new Map();
118689
+ for (var r in s) {
118690
+ let o = s[r] != null && s[r] !== void 0 ? s[r] : "", l = t ? t.filter((u) => u.columnName === r)[0] : null;
118691
+ if ((l ? l.effectType : "input") === "datepicker") {
118692
+ let u = dateProcessing(o, l);
118693
+ u && (a.set(r + "Start", u[0]), a.set(r + "End", u[1]));
118694
+ } else
118695
+ Array.isArray(o) ? o.length > 0 && a.set(r, o.join(",")) : !o == "" && a.set(r, o);
118696
+ }
118697
+ return a.size == 0 ? {} : Object.fromEntries(a);
118698
+ }
118699
+ function dateProcessing(s, t) {
118700
+ return s === "" ? !1 : typeof s == "array" || typeof s == "object" ? s[1] ? [s[0].split(" ")[0] + " 00:00:00", s[1].split(" ")[0] + " 23:59:59"] : !1 : t.fieldFormat == 1 ? [s, s] : [s + " 00:00:00", s + " 23:59:59"];
118701
+ }
118702
+ function hasDefaultVal(s) {
118703
+ let t = /* @__PURE__ */ new Map(), a = getDatepickerVal(s);
118704
+ return ["switch", "select", "radio", "checkbox", "selectMultiple"].includes(s.effectType) && s.options.defaultValueList.length > 0 ? t.set(s.prop, s.options.defaultValueList) : ["datepicker"].includes(s.effectType) && a ? t.set(s.prop, a) : (["input", "textarea", "editor"].includes(s.effectType) && s.options.defaultValue !== "" || ["inputnumber", "double", " currency"].includes(s.effectType) && s.options.defaultValue !== "") && t.set(s.prop, s.options.defaultValue), Object.fromEntries(t);
118705
+ }
118706
+ function getDatepickerVal(s) {
118707
+ if (!["datepicker"].includes(s.effectType))
118708
+ return !1;
118709
+ let t = s.options.displayStyle, a = s.options.defaultInterval.filter((d) => d.type === "interval")[0], r = s.options.defaultInterval.filter((d) => d.type === "equal")[0], o = r.value === "" ? s.options.defaultValue : getTimeDatas(r, t, s), l = a.value === "" ? s.options.defaultValueList : getTimeDatas(a, t, s);
118710
+ return t == 1 ? o === "" ? !1 : o : l.length === 0 ? !1 : l;
118711
+ }
118712
+ function getTimeDatas(s, t, a) {
118713
+ let r = Number(s.value), o = new Date().getTime(), l = o - r * 1e3 * 60 * 60 * 24, d = getFormatTime(o), u = getFormatTime(l), f = `${d.year}-${d.mon}-${d.day} ${d.hours}:${d.min}:${d.sec}`, h = `${u.year}-${u.mon}-${u.day} ${u.hours}:${u.min}:${u.sec}`;
118714
+ return t == 1 ? a.valueFormat.replace("DD", "dd") === "YYYY-MM-dd" ? h.split(" ")[0] : h : [h, f];
118715
+ }
118716
+ function getFormatTime(s) {
118717
+ let a = s.toString().length == 10 ? parseInt(s) * 1e3 : parseInt(s);
118718
+ var r = new Date(a), o = r.getFullYear(), l = r.getMonth() + 1, d = r.getDate(), u = r.getHours(), f = r.getMinutes(), h = r.getSeconds();
118719
+ return {
118720
+ year: o,
118721
+ mon: formatNumber(l),
118722
+ day: formatNumber(d),
118723
+ hours: formatNumber(u),
118724
+ min: formatNumber(f),
118725
+ sec: formatNumber(h)
118726
+ };
118727
+ }
118728
+ function formatNumber(s) {
118729
+ return s = s.toString(), s[1] ? s : "0" + s;
118730
+ }
118731
+ const dataList_vue_vue_type_style_index_0_scoped_e0a762ef_lang = "", _sfc_main$1u = {
118503
118732
  props: {
118504
118733
  record: {
118505
118734
  type: Object,
@@ -118508,47 +118737,179 @@ const FlexLayout = __component__$1v.exports, dataList_vue_vue_type_style_index_0
118508
118737
  develop: {
118509
118738
  type: [Number, String],
118510
118739
  default: 1
118740
+ },
118741
+ itemData: {
118742
+ type: Object,
118743
+ default: () => ({})
118511
118744
  }
118512
118745
  },
118513
118746
  data() {
118514
- return {};
118747
+ return {
118748
+ fieldData: [],
118749
+ fieldContext: [],
118750
+ queryParam: {},
118751
+ pageNo: 1,
118752
+ list: [],
118753
+ totalRows: 0,
118754
+ loading: !1
118755
+ };
118756
+ },
118757
+ watch: {
118758
+ record: {
118759
+ handler(s, t) {
118760
+ t !== void 0 && this.getContext();
118761
+ },
118762
+ deep: !0,
118763
+ immediate: !0
118764
+ }
118515
118765
  },
118516
118766
  computed: {
118767
+ getDataList() {
118768
+ const s = this.options.columnsNumber ? this.options.columnsNumber : 1;
118769
+ return this.develop == 1 ? this.record.list.length === 0 ? 1 : s > 10 ? 10 : s : this.list;
118770
+ },
118771
+ tableData() {
118772
+ const s = this.tableLists.filter((t) => {
118773
+ const a = this.options.table.tableName || this.options.table.tablename;
118774
+ return t.tablename === a;
118775
+ })[0];
118776
+ return s || {};
118777
+ },
118517
118778
  options() {
118518
118779
  return this.record.options;
118519
118780
  },
118520
- getPageSize() {
118521
- return this.options.pageSize && this.options.pageSize > 0 ? this.options.pageSize : 10;
118781
+ show() {
118782
+ const s = !!this.options.table.id, t = !!this.options.view.id;
118783
+ return !(s && t);
118784
+ },
118785
+ itemStyle() {
118786
+ return this.record.list.length === 0 ? "" : "min-height:0px;";
118522
118787
  },
118523
118788
  style() {
118524
- const s = this.record.customCss ? this.record.customCss : "";
118525
- return `display:flex;${getCss(this.record.css)}${this.getHig}min-height: 0px;${s};overflow-x:auto;`;
118789
+ let s = "";
118790
+ if (this.options.layoutType === "grid")
118791
+ s = `display: grid;grid-template-columns: repeat(${this.options.columnsNumber ? this.options.columnsNumber : 1}, minmax(0, 1fr));`;
118792
+ else if (this.options.layoutType === "list") {
118793
+ const r = this.options.layoutDirection === "row" ? "overflow-x: auto;" : "";
118794
+ s = `display: flex;flex-direction:${this.options.layoutDirection};${r}`;
118795
+ }
118796
+ const t = this.record.customCss ? this.record.customCss : "", a = this.options.spacing ? this.options.spacing : 0;
118797
+ return `${s}gap:${a}px;${getCss(this.record.css)}${t}`;
118526
118798
  },
118527
- itemStyle() {
118528
- return "flex:0 0 400px;background-color:#fff;margin-right:10px;height:400px;";
118799
+ istyle() {
118800
+ let s = this.record.list.length === 0 ? "height:60px;background-color:#fff;" : "";
118801
+ if (this.options.layoutType === "list" && this.options.layoutDirection === "row") {
118802
+ const t = this.options.columnsWidth ? this.options.columnsWidth : 80;
118803
+ s += `width:${t}px;`;
118804
+ }
118805
+ return s;
118529
118806
  },
118530
- getHig() {
118531
- let s = this.record.list.length === 0 ? "height:440px;" : "";
118532
- return this.options.flexHeightShow === 1 && (s = `height:${this.optionsfixedHeight}px;`), s;
118807
+ pageSize() {
118808
+ const s = this.options.pageSizeMode === "followSystem" ? this.tablePageSize : this.options.pageSize;
118809
+ return s || 10;
118533
118810
  },
118534
- wstyle() {
118535
- return `overflow: hidden;${this.develop == 1 ? "" : `${getCss(this.options)}max-width:100%;`}`;
118811
+ moreTitle() {
118812
+ let s = "\u6B63\u5728\u52A0\u8F7D\u4E2D...";
118813
+ return this.loading || (s = this.list.length >= this.totalRows ? "\u6682\u65E0\u66F4\u591A\u6570\u636E" : "\u70B9\u51FB\u52A0\u8F7D\u66F4\u591A"), s;
118814
+ },
118815
+ ...mapGetters(["tableLists", "tablePageSize"])
118816
+ },
118817
+ methods: {
118818
+ getContext() {
118819
+ this.fieldData.length > 0 || !!!this.options.view.id || this.baseGetLoadData();
118820
+ },
118821
+ init() {
118822
+ if (console.log(this.record), this.develop == 1) {
118823
+ this.getContext();
118824
+ return;
118825
+ }
118826
+ if (this.show) {
118827
+ console.log("\u6570\u636E\u672A\u914D\u7F6E\uFF01");
118828
+ return;
118829
+ }
118830
+ Promise.all([this.baseGetTableView(), this.baseGetLoadData()]).then((s) => {
118831
+ this.getPageList();
118832
+ });
118833
+ },
118834
+ getPageList(s) {
118835
+ this.loading = !0;
118836
+ let t = Object.assign(
118837
+ {
118838
+ pageNo: s ? 1 : this.pageNo,
118839
+ pageSize: s ? this.pageNo * this.pageSize : this.pageSize,
118840
+ tableId: this.tableData.id,
118841
+ viewId: this.options.view.id,
118842
+ viewType: 1
118843
+ },
118844
+ switchingDate(this.queryParam, this.fieldData)
118845
+ );
118846
+ basePage(t).then((a) => {
118847
+ if (a.code === 200) {
118848
+ let r = a.data.rows;
118849
+ this.list = s || this.pageNo === 1 ? r : this.list.concat(r), this.totalRows = a.data.totalrows;
118850
+ }
118851
+ this.loading = !1;
118852
+ });
118853
+ },
118854
+ getMore() {
118855
+ this.loading || this.list.length >= this.totalRows || (this.pageNo += 1, this.getPageList());
118856
+ },
118857
+ baseGetTableView() {
118858
+ return sysViewDetails({ id: this.options.view.id }).then((s) => (s.code === 200 && (this.viewRecord = s.data), s));
118859
+ },
118860
+ baseGetLoadData() {
118861
+ return onlineFormGetCodeGenerateList({
118862
+ codeGenId: this.tableData.id
118863
+ }).then((s) => (s.code === 200 && (this.fieldData = s.data, this.getFieldColumns()), s));
118864
+ },
118865
+ getFieldColumns() {
118866
+ let s = [];
118867
+ this.fieldData.forEach((t) => {
118868
+ let a = this.getColumnsList(t), r = [];
118869
+ if (t.children && t.children.length > 0 && t.children.forEach((o) => {
118870
+ const l = this.getColumnsList(o, t);
118871
+ r = l ? r.concat([l]) : r;
118872
+ }), a) {
118873
+ const o = r.length > 0 ? { children: r } : {};
118874
+ s.push(Object.assign(a, o));
118875
+ }
118876
+ }), this.fieldContext = s;
118877
+ },
118878
+ getColumnsList(s, t) {
118879
+ if (s.effecttype == "about" && s.columnname === (s.relations + "_abouttable").toLowerCase())
118880
+ return !1;
118881
+ const a = this.tableLists.filter((o) => o.id === s.codegenid)[0], r = t ? `${s.columnname}${t.fkentityname}${t.columnname}` : s.columnname;
118882
+ return {
118883
+ transKey: `Dynamics.${s.transkey}`,
118884
+ effectType: s.effecttype,
118885
+ columnName: r,
118886
+ columnComment: s.columncomment,
118887
+ codegenId: s.codegenid,
118888
+ tableName: a ? a.tablename : "",
118889
+ fkentityName: s.fkentityname,
118890
+ table: a || {},
118891
+ relations: s.relations,
118892
+ value: r,
118893
+ label: this.$i18nt(`Dynamics.${s.transkey}`, s.columncomment)
118894
+ };
118536
118895
  }
118537
118896
  },
118538
- methods: {}
118897
+ created() {
118898
+ this.init();
118899
+ }
118539
118900
  };
118540
118901
  var _sfc_render$1u = function s() {
118541
118902
  var t = this, a = t._self._c;
118542
- return a("div", [a("div", { staticClass: "flexd" }, t._l(10, function(r, o) {
118543
- return a("div", { staticClass: "flexd-items" }, [t._t("listItem", null, { listStyle: t.style, pageSize: t.getPageSize, itemStyle: t.itemStyle, index: o })], 2);
118544
- }), 0)]);
118903
+ return a("div", [a("div", { style: t.style }, t._l(t.getDataList, function(r, o) {
118904
+ return a("div", { staticClass: "flexd-items", style: t.istyle }, [t._t("listItem", null, { index: o, itemStyle: t.itemStyle, row: r, fieldContext: t.fieldContext })], 2);
118905
+ }), 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.getMore } }, [t._v(t._s(t.moreTitle))])]) : t._e()]);
118545
118906
  }, _sfc_staticRenderFns$1u = [], __component__$1u = /* @__PURE__ */ normalizeComponent(
118546
118907
  _sfc_main$1u,
118547
118908
  _sfc_render$1u,
118548
118909
  _sfc_staticRenderFns$1u,
118549
118910
  !1,
118550
118911
  null,
118551
- "9baaa3f9",
118912
+ "e0a762ef",
118552
118913
  null,
118553
118914
  null
118554
118915
  );
@@ -118714,7 +119075,7 @@ var _sfc_render$1s = function s() {
118714
119075
  null,
118715
119076
  null
118716
119077
  );
118717
- const drawerPanel = __component__$1s.exports, layoutItem_vue_vue_type_style_index_0_scoped_ee26183a_lang = "", _sfc_main$1r = {
119078
+ const drawerPanel = __component__$1s.exports, layoutItem_vue_vue_type_style_index_0_scoped_f18c8385_lang = "", _sfc_main$1r = {
118718
119079
  name: "layoutItem",
118719
119080
  props: {
118720
119081
  record: {
@@ -118744,6 +119105,10 @@ const drawerPanel = __component__$1s.exports, layoutItem_vue_vue_type_style_inde
118744
119105
  height: {
118745
119106
  type: Number,
118746
119107
  default: 100
119108
+ },
119109
+ fieldContext: {
119110
+ type: Array,
119111
+ default: () => []
118747
119112
  }
118748
119113
  },
118749
119114
  data() {
@@ -118819,7 +119184,7 @@ var _sfc_render$1r = function s() {
118819
119184
  animation: 180,
118820
119185
  handle: ".drag-move"
118821
119186
  }, !1), [a("transition-group", { staticClass: "list-main", attrs: { tag: "div", name: "list" } }, [t._l(r.list, function(l) {
118822
- 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 }, on: { "update:selectItem": function(d) {
119187
+ 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) {
118823
119188
  t.selectItem = d;
118824
119189
  }, "update:select-item": function(d) {
118825
119190
  t.selectItem = d;
@@ -118846,7 +119211,7 @@ var _sfc_render$1r = function s() {
118846
119211
  animation: 180,
118847
119212
  handle: ".drag-move"
118848
119213
  }, !1), [a("transition-group", { staticClass: "list-main list-mains", attrs: { tag: "div", name: "list" } }, [t._l(r.list, function(l) {
118849
- 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 }, on: { "update:selectItem": function(d) {
119214
+ 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) {
118850
119215
  t.selectItem = d;
118851
119216
  }, "update:select-item": function(d) {
118852
119217
  t.selectItem = d;
@@ -118875,7 +119240,7 @@ var _sfc_render$1r = function s() {
118875
119240
  animation: 180,
118876
119241
  handle: ".drag-move"
118877
119242
  }, !1), [a("transition-group", { staticClass: "list-main", attrs: { tag: "div", name: "list" } }, [t._l(r.list, function(l) {
118878
- 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 }, on: { "update:selectItem": function(d) {
119243
+ 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) {
118879
119244
  t.selectItem = d;
118880
119245
  }, "update:select-item": function(d) {
118881
119246
  t.selectItem = d;
@@ -118901,7 +119266,7 @@ var _sfc_render$1r = function s() {
118901
119266
  animation: 180,
118902
119267
  handle: ".drag-move"
118903
119268
  }, !1), [a("transition-group", { staticClass: "list-main", attrs: { tag: "div", name: "list" } }, [t._l(t.record.list, function(r) {
118904
- 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 }, on: { "update:selectItem": function(o) {
119269
+ 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) {
118905
119270
  t.selectItem = o;
118906
119271
  }, "update:select-item": function(o) {
118907
119272
  t.selectItem = o;
@@ -118928,7 +119293,7 @@ var _sfc_render$1r = function s() {
118928
119293
  animation: 180,
118929
119294
  handle: ".drag-move"
118930
119295
  }, !1), [a("transition-group", { staticClass: "list-main", attrs: { tag: "div", name: "list" } }, [t._l(t.record.list, function(r) {
118931
- 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 }, on: { "update:selectItem": function(o) {
119296
+ 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) {
118932
119297
  t.selectItem = o;
118933
119298
  }, "update:select-item": function(o) {
118934
119299
  t.selectItem = o;
@@ -118955,7 +119320,7 @@ var _sfc_render$1r = function s() {
118955
119320
  animation: 180,
118956
119321
  handle: ".drag-move"
118957
119322
  }, !1), [a("transition-group", { staticClass: "list-main", attrs: { tag: "div", name: "list" } }, [t._l(t.record.list, function(r) {
118958
- 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 }, on: { "update:selectItem": function(o) {
119323
+ 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) {
118959
119324
  t.selectItem = o;
118960
119325
  }, "update:select-item": function(o) {
118961
119326
  t.selectItem = o;
@@ -118966,7 +119331,7 @@ var _sfc_render$1r = function s() {
118966
119331
  } } })];
118967
119332
  })], 2)], 1)], 1), 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) {
118968
119333
  return r.stopPropagation(), t.$emit("handleDelete");
118969
- } } })]) : t._e(), t.develop === 1 ? a("div", { staticClass: "mtabs-kuang" }) : t._e()], 1)] : t.record.type === "containerPanel" ? [a("div", { staticClass: "mtabs-box", class: { active: t.record.key === t.selectItem.key }, on: { click: function(r) {
119334
+ } } })]) : t._e(), t.develop === 1 ? a("div", { staticClass: "mtabs-kuang" }) : t._e()], 1)] : t.record.type === "containerPanel" ? [a("div", { staticClass: "mtabs-box", class: { active: t.record.key === t.selectItem.key && !t.disabled }, on: { click: function(r) {
118970
119335
  return r.stopPropagation(), t.handleSelectItem(t.record);
118971
119336
  } } }, [a("containerPanel", { staticClass: "grid-row grid-collapse", attrs: { selectItem: t.selectItem, record: t.record, height: t.height }, on: { "update:selectItem": function(r) {
118972
119337
  t.selectItem = r;
@@ -118985,7 +119350,7 @@ var _sfc_render$1r = function s() {
118985
119350
  animation: 180,
118986
119351
  handle: ".drag-move"
118987
119352
  }, !1), [a("transition-group", { staticClass: "list-main", style: r, attrs: { tag: "div", name: "list" } }, [t._l(t.record.list, function(o) {
118988
- 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 }, on: { "update:selectItem": function(l) {
119353
+ 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) {
118989
119354
  t.selectItem = l;
118990
119355
  }, "update:select-item": function(l) {
118991
119356
  t.selectItem = l;
@@ -119016,7 +119381,7 @@ var _sfc_render$1r = function s() {
119016
119381
  animation: 180,
119017
119382
  handle: ".drag-move1"
119018
119383
  }, !1), [a("transition-group", { staticClass: "list-main", style: r, attrs: { tag: "div", name: "list" } }, [t._l(t.record.list, function(o) {
119019
- 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 }, on: { "update:selectItem": function(l) {
119384
+ 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) {
119020
119385
  t.selectItem = l;
119021
119386
  }, "update:select-item": function(l) {
119022
119387
  t.selectItem = l;
@@ -119034,36 +119399,36 @@ var _sfc_render$1r = function s() {
119034
119399
  t.selectItem = r;
119035
119400
  }, "update:select-item": function(r) {
119036
119401
  t.selectItem = r;
119037
- } }, scopedSlots: t._u([{ key: "listItem", fn: function({ listStyle: r, itemStyle: o, pageSize: l, index: d }) {
119038
- return [d === 0 ? a("draggable", t._b({ staticClass: "draggable-box", attrs: { tag: "div", disabled: t.disabled }, on: { start: function(u) {
119039
- return t.$emit("dragStart", u, t.record.list);
119040
- }, add: function(u) {
119041
- return t.$emit("handleColAdd", u, t.record.list, !0);
119042
- } }, model: { value: t.record.list, callback: function(u) {
119043
- t.$set(t.record, "list", u);
119402
+ } }, scopedSlots: t._u([{ key: "listItem", fn: function({ index: r, itemStyle: o, fieldContext: l }) {
119403
+ return [r === 0 ? a("draggable", t._b({ staticClass: "draggable-box", attrs: { tag: "div", disabled: t.disabled }, on: { start: function(d) {
119404
+ return t.$emit("dragStart", d, t.record.list);
119405
+ }, add: function(d) {
119406
+ return t.$emit("handleColAdd", d, t.record.list, !0);
119407
+ } }, model: { value: t.record.list, callback: function(d) {
119408
+ t.$set(t.record, "list", d);
119044
119409
  }, expression: "record.list" } }, "draggable", {
119045
119410
  group: "gd-draggable",
119046
119411
  ghostClass: "moving",
119047
119412
  animation: 180,
119048
119413
  handle: ".drag-move1"
119049
- }, !1), [a("transition-group", { staticClass: "list-main", attrs: { tag: "div", name: "list" } }, [t._l(t.record.list, function(u) {
119050
- 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 }, on: { "update:selectItem": function(f) {
119051
- t.selectItem = f;
119052
- }, "update:select-item": function(f) {
119053
- t.selectItem = f;
119054
- }, handleSelectItem: t.handleSelectItem, handleColAdd: t.handleColAdd, handleCopy: function(f) {
119414
+ }, !1), [a("transition-group", { staticClass: "list-main", style: o, attrs: { tag: "div", name: "list" } }, [t._l(t.record.list, function(d) {
119415
+ 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) {
119416
+ t.selectItem = u;
119417
+ }, "update:select-item": function(u) {
119418
+ t.selectItem = u;
119419
+ }, handleSelectItem: t.handleSelectItem, handleColAdd: t.handleColAdd, handleCopy: function(u) {
119055
119420
  return t.$emit("handleCopy");
119056
- }, handleDelete: function(f) {
119421
+ }, handleDelete: function(u) {
119057
119422
  return t.$emit("handleDelete");
119058
119423
  } } })];
119059
- })], 2)], 1) : a("div", [t._l(t.record.list, function(u) {
119060
- 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) {
119061
- t.selectItem = f;
119062
- }, "update:select-item": function(f) {
119063
- t.selectItem = f;
119064
- }, handleSelectItem: t.handleSelectItem, handleColAdd: t.handleColAdd, handleCopy: function(f) {
119424
+ })], 2)], 1) : a("div", [t._l(t.record.list, function(d) {
119425
+ 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) {
119426
+ t.selectItem = u;
119427
+ }, "update:select-item": function(u) {
119428
+ t.selectItem = u;
119429
+ }, handleSelectItem: t.handleSelectItem, handleColAdd: t.handleColAdd, handleCopy: function(u) {
119065
119430
  return t.$emit("handleCopy");
119066
- }, handleDelete: function(f) {
119431
+ }, handleDelete: function(u) {
119067
119432
  return t.$emit("handleDelete");
119068
119433
  } } })];
119069
119434
  })], 2)];
@@ -119088,7 +119453,7 @@ var _sfc_render$1r = function s() {
119088
119453
  animation: 180,
119089
119454
  handle: ".drag-move"
119090
119455
  }, !1), [a("transition-group", { style: r, attrs: { tag: "div", name: "list" } }, [t._l(t.record.list, function(o) {
119091
- return [a("layoutItem", { key: o.key, staticClass: "drag-move", attrs: { selectItem: t.selectItem, record: o, isForm: t.isForm, model: t.model, develop: t.develop }, on: { "update:selectItem": function(l) {
119456
+ 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) {
119092
119457
  t.selectItem = l;
119093
119458
  }, "update:select-item": function(l) {
119094
119459
  t.selectItem = l;
@@ -119121,7 +119486,7 @@ var _sfc_render$1r = function s() {
119121
119486
  animation: 180,
119122
119487
  handle: ".drag-move"
119123
119488
  }, !1), [a("transition-group", { style: r, attrs: { tag: "div", name: "list" } }, [t._l(t.record.list, function(o) {
119124
- return [a("layoutItem", { key: o.key, staticClass: "drag-move", attrs: { selectItem: t.selectItem, record: o, isForm: t.isForm, model: t.model, develop: t.develop }, on: { "update:selectItem": function(l) {
119489
+ 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) {
119125
119490
  t.selectItem = l;
119126
119491
  }, "update:select-item": function(l) {
119127
119492
  t.selectItem = l;
@@ -119135,7 +119500,7 @@ var _sfc_render$1r = function s() {
119135
119500
  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) {
119136
119501
  return r.stopPropagation(), t.$emit("handleDelete");
119137
119502
  } } })]) : t._e()];
119138
- }, 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 }, on: { "update:selectItem": function(r) {
119503
+ }, 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) {
119139
119504
  t.selectItem = r;
119140
119505
  }, "update:select-item": function(r) {
119141
119506
  t.selectItem = r;
@@ -119150,7 +119515,7 @@ var _sfc_render$1r = function s() {
119150
119515
  _sfc_staticRenderFns$1r,
119151
119516
  !1,
119152
119517
  null,
119153
- "ee26183a",
119518
+ "f18c8385",
119154
119519
  null,
119155
119520
  null
119156
119521
  );
@@ -120099,32 +120464,7 @@ var _sfc_render$1j = function s() {
120099
120464
  null,
120100
120465
  null
120101
120466
  );
120102
- const properitesImg = __component__$1j.exports, propertiesFk_vue_vue_type_style_index_0_scoped_f8766a65_lang = "", _sfc_main$1i = {
120103
- props: {
120104
- selectItem: {
120105
- type: Object,
120106
- required: !0
120107
- }
120108
- },
120109
- data() {
120110
- return {};
120111
- },
120112
- methods: {}
120113
- };
120114
- var _sfc_render$1i = function s() {
120115
- var t = this, a = t._self._c;
120116
- return a("div", [t._v("222")]);
120117
- }, _sfc_staticRenderFns$1i = [], __component__$1i = /* @__PURE__ */ normalizeComponent(
120118
- _sfc_main$1i,
120119
- _sfc_render$1i,
120120
- _sfc_staticRenderFns$1i,
120121
- !1,
120122
- null,
120123
- "f8766a65",
120124
- null,
120125
- null
120126
- );
120127
- const propertiesFk = __component__$1i.exports, btnConfig$1 = [
120467
+ const properitesImg = __component__$1j.exports, btnConfig$1 = [
120128
120468
  {
120129
120469
  displayName: "\u4FDD\u5B58",
120130
120470
  functionName: "save",
@@ -120269,7 +120609,13 @@ const propertiesFk = __component__$1i.exports, btnConfig$1 = [
120269
120609
  permissionsTable: "teamShare",
120270
120610
  permissionsPage: ""
120271
120611
  }
120272
- ], generatorTable_vue_vue_type_style_index_0_scoped_421e42ee_lang = "", _sfc_main$1h = {
120612
+ ], generatorTable_vue_vue_type_style_index_0_scoped_d33d042f_lang = "", _sfc_main$1i = {
120613
+ props: {
120614
+ hasProp: {
120615
+ type: Array,
120616
+ default: ["tableName", "viewId", "formId"]
120617
+ }
120618
+ },
120273
120619
  data() {
120274
120620
  return {
120275
120621
  width: "500px",
@@ -120409,36 +120755,115 @@ const propertiesFk = __component__$1i.exports, btnConfig$1 = [
120409
120755
  }
120410
120756
  }
120411
120757
  };
120412
- var _sfc_render$1h = function s() {
120758
+ var _sfc_render$1i = function s() {
120413
120759
  var t = this, a = t._self._c;
120414
120760
  return a("div", [a("el-dialog", { directives: [{ name: "drag", rawName: "v-drag" }], ref: "dialog", class: t.fullscreen ? "gd-dialog gd-dialog-fangda" : "gd-dialog", attrs: { fullscreen: t.fullscreen, visible: t.visible, width: t.width, center: !0, "close-on-click-modal": !1, "append-to-body": !0, "modal-append-to-body": !1, top: "80px" }, on: { "update:visible": function(r) {
120415
120761
  t.visible = r;
120416
120762
  }, closed: t.closed } }, [a("template", { slot: "title" }, [a("div", { staticClass: "gd-dialog-head" }, [a("div", { staticClass: "dialog-head-title" }, [t._v(t._s(t.$i18nt("gd.page.viewGenerator", "\u89C6\u56FE\u751F\u6210\u5668")))]), a("div", { staticClass: "dialog-head-btn" }, [a("gd-btn-list", { attrs: { sysViewButtons: t.buttons }, on: { functionName: t.doEvent } })], 1), t.confirmLoading ? a("div", { staticClass: "gd-dialog-meng" }) : t._e()])]), a("div", { directives: [{ name: "loading", rawName: "v-loading", value: t.confirmLoading, expression: "confirmLoading" }] }, [a("el-form", { directives: [{ name: "loading", rawName: "v-loading", value: t.confirmLoading, expression: "confirmLoading" }], ref: "ruleForm", staticClass: "gd-form", attrs: { model: t.ruleFormData, "label-width": "100px", rules: t.rules }, nativeOn: { submit: function(r) {
120417
120763
  r.preventDefault();
120418
- } } }, [a("el-form-item", { attrs: { label: t.$i18nt("gd.page.sourceTable", "\u6765\u6E90\u8868"), prop: "tableName" } }, [a("el-select", { staticStyle: { width: "100%" }, attrs: { placeholder: t.$i18nt("gd.btn.select", "\u8BF7\u9009\u62E9"), remote: "", filterable: "", loading: t.loading, "remote-method": t.getTableList }, on: { change: t.change }, model: { value: t.ruleFormData.tableName, callback: function(r) {
120764
+ } } }, [t.hasProp.includes("tableName") ? a("el-form-item", { attrs: { label: t.$i18nt("gd.page.sourceTable", "\u6765\u6E90\u8868"), prop: "tableName" } }, [a("el-select", { staticStyle: { width: "100%" }, attrs: { placeholder: t.$i18nt("gd.btn.select", "\u8BF7\u9009\u62E9"), remote: "", filterable: "", loading: t.loading, "remote-method": t.getTableList }, on: { change: t.change }, model: { value: t.ruleFormData.tableName, callback: function(r) {
120419
120765
  t.$set(t.ruleFormData, "tableName", r);
120420
120766
  }, expression: "ruleFormData.tableName" } }, t._l(t.tableNameData, function(r) {
120421
120767
  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))])]);
120422
- }), 1)], 1), a("el-form-item", { attrs: { label: t.$i18nt("gd.page.selectionView", "\u9009\u62E9\u89C6\u56FE"), prop: "viewId" } }, [a("div", { staticStyle: { display: "flex", "align-items": "center" } }, [a("el-select", { staticStyle: { flex: "1", "margin-right": "2px" }, attrs: { disabled: t.disabled, filterable: "" }, model: { value: t.ruleFormData.viewId, callback: function(r) {
120768
+ }), 1)], 1) : t._e(), t.hasProp.includes("viewId") ? a("el-form-item", { attrs: { label: t.$i18nt("gd.page.selectionView", "\u9009\u62E9\u89C6\u56FE"), prop: "viewId" } }, [a("div", { staticStyle: { display: "flex", "align-items": "center" } }, [a("el-select", { staticStyle: { flex: "1", "margin-right": "2px" }, attrs: { disabled: t.disabled, filterable: "" }, model: { value: t.ruleFormData.viewId, callback: function(r) {
120423
120769
  t.$set(t.ruleFormData, "viewId", r);
120424
120770
  }, expression: "ruleFormData.viewId" } }, t._l(t.viewList, function(r) {
120425
120771
  return a("el-option", { key: r.id, attrs: { label: t.$i18nt(`Dynamics.${r.transkey}`, r.name), value: r.id } }, [a("span", [t._v(t._s(t.$i18nt(`Dynamics.${r.transkey}`, r.name)))])]);
120426
- }), 1), t.disabled ? t._e() : a("el-button", { attrs: { type: "primary", icon: "el-icon-plus" }, on: { click: t.createdView } }, [t._v("\u65B0\u589E")])], 1)]), a("el-form-item", { attrs: { label: t.$i18nt("gd.page.interactiveForm", "\u4EA4\u4E92\u8868\u5355"), prop: "formId" } }, [a("div", { staticStyle: { display: "flex", "align-items": "center" } }, [a("el-select", { staticStyle: { flex: "1", "margin-right": "2px" }, attrs: { disabled: t.disabled, filterable: "", clearable: "" }, model: { value: t.ruleFormData.formId, callback: function(r) {
120772
+ }), 1), t.disabled ? t._e() : a("el-button", { attrs: { type: "primary", icon: "el-icon-plus" }, on: { click: t.createdView } }, [t._v("\u65B0\u589E")])], 1)]) : t._e(), t.hasProp.includes("formId") ? a("el-form-item", { attrs: { label: t.$i18nt("gd.page.interactiveForm", "\u4EA4\u4E92\u8868\u5355"), prop: "formId" } }, [a("div", { staticStyle: { display: "flex", "align-items": "center" } }, [a("el-select", { staticStyle: { flex: "1", "margin-right": "2px" }, attrs: { disabled: t.disabled, filterable: "", clearable: "" }, model: { value: t.ruleFormData.formId, callback: function(r) {
120427
120773
  t.$set(t.ruleFormData, "formId", r);
120428
120774
  }, expression: "ruleFormData.formId" } }, t._l(t.formList, function(r) {
120429
120775
  return a("el-option", { key: r.id, attrs: { label: t.$i18nt(`Dynamics.${r.transkey}`, r.displayname), value: r.id } }, [a("span", [t._v(t._s(t.$i18nt(`Dynamics.${r.transkey}`, r.displayname)))])]);
120430
- }), 1), t.disabled ? t._e() : a("el-button", { attrs: { type: "primary", icon: "el-icon-plus" }, on: { click: t.createdForm } }, [t._v("\u65B0\u589E")])], 1)])], 1)], 1)], 2), a("editViewConfig", { ref: "editViewConfig", attrs: { table: t.table }, on: { ok: t.change } }), a("gd-form-designer", { ref: "formDesigner", attrs: { table: t.table }, on: { ok: t.change } })], 1);
120776
+ }), 1), t.disabled ? t._e() : a("el-button", { attrs: { type: "primary", icon: "el-icon-plus" }, on: { click: t.createdForm } }, [t._v("\u65B0\u589E")])], 1)]) : t._e()], 1)], 1)], 2), a("editViewConfig", { ref: "editViewConfig", attrs: { table: t.table }, on: { ok: t.change } }), a("gd-form-designer", { ref: "formDesigner", attrs: { table: t.table }, on: { ok: t.change } })], 1);
120777
+ }, _sfc_staticRenderFns$1i = [], __component__$1i = /* @__PURE__ */ normalizeComponent(
120778
+ _sfc_main$1i,
120779
+ _sfc_render$1i,
120780
+ _sfc_staticRenderFns$1i,
120781
+ !1,
120782
+ null,
120783
+ "d33d042f",
120784
+ null,
120785
+ null
120786
+ );
120787
+ const generatorTable = __component__$1i.exports, propertiesList_vue_vue_type_style_index_0_scoped_c2d47a32_lang = "", _sfc_main$1h = {
120788
+ props: {
120789
+ selectItem: {
120790
+ type: Object,
120791
+ required: !0
120792
+ }
120793
+ },
120794
+ data() {
120795
+ return {
120796
+ hasProp: ["tableName", "viewId"]
120797
+ };
120798
+ },
120799
+ components: { generatorTable },
120800
+ computed: {
120801
+ show() {
120802
+ const s = !!this.options.table.id, t = !!this.options.view.id;
120803
+ return !(s && t);
120804
+ },
120805
+ options() {
120806
+ return this.selectItem.options || {};
120807
+ },
120808
+ tableList() {
120809
+ return this.options.table.id ? [this.options.table] : [];
120810
+ },
120811
+ viewList() {
120812
+ return this.options.view.id ? [this.options.view] : [];
120813
+ }
120814
+ },
120815
+ methods: {
120816
+ getTypeof(s, t = "options") {
120817
+ const a = t === "options" ? this.options : this.selectItem;
120818
+ return Object.keys(a).includes(s);
120819
+ },
120820
+ saveTable(s) {
120821
+ Object.assign(this.options, {
120822
+ table: s.table,
120823
+ view: s.view
120824
+ });
120825
+ },
120826
+ generator() {
120827
+ this.$refs.generatorTable.open();
120828
+ }
120829
+ }
120830
+ };
120831
+ var _sfc_render$1h = function s() {
120832
+ var t = this, a = t._self._c;
120833
+ return a("div", [t.show ? a("div", { staticClass: "generator-btn" }, [a("el-button", { attrs: { type: "primary", icon: "el-icon-edit" }, on: { click: t.generator } }, [t._v(" " + t._s(t.$i18nt("gd.page.viewGeneratord", "\u5217\u8868\u751F\u6210\u5668")) + " ")])], 1) : [a("el-form-item", { attrs: { label: t.$i18nt("gd.page.dataSheet", "\u6570\u636E\u8868") } }, [a("el-select", { attrs: { placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), disabled: "" }, model: { value: t.options.table.tableName, callback: function(r) {
120834
+ t.$set(t.options.table, "tableName", r);
120835
+ }, expression: "options.table.tableName" } }, t._l(t.tableList, function(r) {
120836
+ return a("el-option", { key: r.tablename, attrs: { label: t.$i18nt(`Dynamics.${r.transkey}`, r.busname), value: r.tablename } });
120837
+ }), 1)], 1), a("el-form-item", { attrs: { label: t.$i18nt("gd.page.view", "\u89C6\u56FE") } }, [a("el-select", { attrs: { placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), disabled: "" }, model: { value: t.options.view.id, callback: function(r) {
120838
+ t.$set(t.options.view, "id", r);
120839
+ }, expression: "options.view.id" } }, t._l(t.viewList, function(r) {
120840
+ return a("el-option", { key: r.id, attrs: { label: t.$i18nt(`Dynamics.${r.transkey}`, r.name), value: r.id } });
120841
+ }), 1)], 1), t.getTypeof("layoutType") ? a("el-form-item", { attrs: { label: t.$i18nt("gd.page.cuttingModed", "\u5E03\u5C40\u7C7B\u578B") } }, [a("el-radio-group", { model: { value: t.options.layoutType, callback: function(r) {
120842
+ t.$set(t.options, "layoutType", r);
120843
+ }, expression: "options.layoutType" } }, [a("el-radio-button", { attrs: { label: "list" } }, [t._v(t._s(t.$i18nt("gd.page.fills", "\u5217\u8868")))]), a("el-radio-button", { attrs: { label: "grid" } }, [t._v(t._s(t.$i18nt("gd.page.adapts", "\u7F51\u683C")))])], 1)], 1) : t._e(), t.getTypeof("layoutDirection") && t.options.layoutType === "list" ? a("el-form-item", { attrs: { label: t.$i18nt("gd.page.cuttingModed", "\u5E03\u5C40\u65B9\u5411") } }, [a("el-radio-group", { model: { value: t.options.layoutDirection, callback: function(r) {
120844
+ t.$set(t.options, "layoutDirection", r);
120845
+ }, expression: "options.layoutDirection" } }, [a("el-radio-button", { attrs: { label: "column" } }, [t._v(t._s(t.$i18nt("gd.page.column", "\u5782\u76F4")))]), a("el-radio-button", { attrs: { label: "row" } }, [t._v(t._s(t.$i18nt("gd.page.row", "\u6C34\u5E73")))])], 1)], 1) : t._e(), t.getTypeof("columnsNumber") && t.options.layoutType === "grid" ? a("el-form-item", { attrs: { label: t.$i18nt("gd.page.cuttingModed", "\u5217\u6570\u91CF") } }, [a("el-input-number", { staticStyle: { width: "100%" }, attrs: { "controls-position": "right", max: 50, min: 1 }, model: { value: t.options.columnsNumber, callback: function(r) {
120846
+ t.$set(t.options, "columnsNumber", r);
120847
+ }, expression: "options.columnsNumber" } })], 1) : t._e(), t.getTypeof("columnsWidth") && t.options.layoutType === "list" && t.options.layoutDirection === "row" ? a("el-form-item", { attrs: { label: t.$i18nt("gd.page.cuttingModed", "\u5217\u5BBD\u5EA6") } }, [a("el-input-number", { staticStyle: { width: "100%" }, attrs: { "controls-position": "right", max: 999, min: 1 }, model: { value: t.options.columnsWidth, callback: function(r) {
120848
+ t.$set(t.options, "columnsWidth", r);
120849
+ }, expression: "options.columnsWidth" } })], 1) : t._e(), t.getTypeof("spacing") ? a("el-form-item", { attrs: { label: t.$i18nt("gd.page.cuttingModed", "\u7F51\u683C\u95F4\u8DDD") } }, [a("el-input-number", { staticStyle: { width: "100%" }, attrs: { "controls-position": "right", max: 999, min: 0 }, model: { value: t.options.spacing, callback: function(r) {
120850
+ t.$set(t.options, "spacing", r);
120851
+ }, expression: "options.spacing" } })], 1) : t._e(), t.getTypeof("pageSizeMode") ? a("el-form-item", { attrs: { label: t.$i18nt("gd.page.cuttingModed", "\u52A0\u8F7D\u6761\u6570") } }, [a("el-radio-group", { model: { value: t.options.pageSizeMode, callback: function(r) {
120852
+ t.$set(t.options, "pageSizeMode", r);
120853
+ }, 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) {
120854
+ t.$set(t.options, "pageSize", r);
120855
+ }, expression: "options.pageSize" } })], 1) : t._e()], a("el-divider"), a("generatorTable", { ref: "generatorTable", attrs: { hasProp: t.hasProp }, on: { ok: t.saveTable } })], 2);
120431
120856
  }, _sfc_staticRenderFns$1h = [], __component__$1h = /* @__PURE__ */ normalizeComponent(
120432
120857
  _sfc_main$1h,
120433
120858
  _sfc_render$1h,
120434
120859
  _sfc_staticRenderFns$1h,
120435
120860
  !1,
120436
120861
  null,
120437
- "421e42ee",
120862
+ "c2d47a32",
120438
120863
  null,
120439
120864
  null
120440
120865
  );
120441
- const generatorTable = __component__$1h.exports, propertiesTable_vue_vue_type_style_index_0_scoped_b6f2d368_lang = "", _sfc_main$1g = {
120866
+ const propertiesList = __component__$1h.exports, propertiesTable_vue_vue_type_style_index_0_scoped_b6f2d368_lang = "", _sfc_main$1g = {
120442
120867
  props: {
120443
120868
  selectItem: {
120444
120869
  type: Object,
@@ -122492,7 +122917,7 @@ var _sfc_render$13 = function s() {
122492
122917
  null,
122493
122918
  null
122494
122919
  );
122495
- const propertiesTress = __component__$13.exports, properties_vue_vue_type_style_index_0_scoped_3cccdd97_lang = "", _sfc_main$12 = {
122920
+ const propertiesTress = __component__$13.exports, properties_vue_vue_type_style_index_0_scoped_5949ba54_lang = "", _sfc_main$12 = {
122496
122921
  props: {
122497
122922
  selectItem: {
122498
122923
  type: Object,
@@ -122654,7 +123079,7 @@ const propertiesTress = __component__$13.exports, properties_vue_vue_type_style_
122654
123079
  iconSelector: GDpackage$Q,
122655
123080
  propertiesCurrency,
122656
123081
  properitesImg,
122657
- propertiesFk,
123082
+ propertiesList,
122658
123083
  propertiesTable,
122659
123084
  propertiesRelevance,
122660
123085
  properitesCol,
@@ -122790,7 +123215,11 @@ var _sfc_render$12 = function s() {
122790
123215
  t.$set(t.selectItem, "label", r);
122791
123216
  }, 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) {
122792
123217
  t.$set(t.selectItem, "label", r);
122793
- }, 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("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) {
123218
+ }, 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 }) {
123219
+ return [a("span", [t._v(t._s(t.$i18nt(`Dynamics.${o.transKey}`, o.columnComment)))])];
123220
+ } }], null, !1, 202416743), model: { value: t.options.columnContextName, callback: function(r) {
123221
+ t.$set(t.options, "columnContextName", r);
123222
+ }, 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) {
122794
123223
  t.$set(t.options, "columnName", r);
122795
123224
  }, 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) {
122796
123225
  t.$set(t.options, "columnName", r);
@@ -122974,7 +123403,7 @@ var _sfc_render$12 = function s() {
122974
123403
  t.$set(t.options, "autoplay", r);
122975
123404
  }, 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) {
122976
123405
  t.$set(t.options, "loop", r);
122977
- }, expression: "options.loop" } }) : t._e()], 1) : t._e(), t.selectItem.type == "banner" ? a("carouselMap", { attrs: { selectItem: t.selectItem } }) : t._e(), a("propertiesCss", { attrs: { selectItem: t.selectItem } })], 2), a("iconSelector", { ref: "iconSelector", model: { value: t.options.icon, callback: function(r) {
123406
+ }, expression: "options.loop" } }) : t._e()], 1) : 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(), a("propertiesCss", { attrs: { selectItem: t.selectItem } })], 2), a("iconSelector", { ref: "iconSelector", model: { value: t.options.icon, callback: function(r) {
122978
123407
  t.$set(t.options, "icon", r);
122979
123408
  }, expression: "options.icon" } })], 1)]], 2);
122980
123409
  }, _sfc_staticRenderFns$12 = [], __component__$12 = /* @__PURE__ */ normalizeComponent(
@@ -122983,7 +123412,7 @@ var _sfc_render$12 = function s() {
122983
123412
  _sfc_staticRenderFns$12,
122984
123413
  !1,
122985
123414
  null,
122986
- "3cccdd97",
123415
+ "5949ba54",
122987
123416
  null,
122988
123417
  null
122989
123418
  );
@@ -134321,7 +134750,7 @@ const GDpackage$8 = __component__$t.exports;
134321
134750
  GDpackage$8.install = function(s) {
134322
134751
  s.component(GDpackage$8.name, GDpackage$8);
134323
134752
  };
134324
- const buildItem_vue_vue_type_style_index_0_scoped_1b881aeb_lang = "", _sfc_main$s = {
134753
+ const buildItem_vue_vue_type_style_index_0_scoped_690c932d_lang = "", _sfc_main$s = {
134325
134754
  props: {
134326
134755
  record: {
134327
134756
  type: Object,
@@ -134346,6 +134775,10 @@ const buildItem_vue_vue_type_style_index_0_scoped_1b881aeb_lang = "", _sfc_main$
134346
134775
  forceRender: {
134347
134776
  type: Boolean,
134348
134777
  default: !0
134778
+ },
134779
+ itemData: {
134780
+ type: Object,
134781
+ default: () => ({})
134349
134782
  }
134350
134783
  },
134351
134784
  components: { BuildLayoutItem, BuildLayoutItemForm },
@@ -134377,18 +134810,18 @@ var _sfc_render$s = function s() {
134377
134810
  "datePicker",
134378
134811
  "timePicker",
134379
134812
  "selectMultiple"
134380
- ].includes(t.record.type) ? a("buildLayoutItemForm", { attrs: { record: t.record, isForm: t.isForm, model: t.model, height: t.height, develop: 2, forceRender: t.forceRender }, on: { lookup: t.lookup, change: t.handleChange } }) : a("buildLayoutItem", { attrs: { record: t.record, isForm: t.isForm, model: t.model, tableData: t.tableData, height: t.height, develop: 2, forceRender: t.forceRender }, on: { lookup: t.lookup, change: t.handleChange } });
134813
+ ].includes(t.record.type) ? a("buildLayoutItemForm", { attrs: { record: t.record, isForm: t.isForm, model: t.model, height: t.height, develop: 2, forceRender: t.forceRender, itemData: t.itemData }, on: { lookup: t.lookup, change: t.handleChange } }) : a("buildLayoutItem", { attrs: { record: t.record, isForm: t.isForm, model: t.model, tableData: t.tableData, height: t.height, develop: 2, forceRender: t.forceRender, itemData: t.itemData }, on: { lookup: t.lookup, change: t.handleChange } });
134381
134814
  }, _sfc_staticRenderFns$s = [], __component__$s = /* @__PURE__ */ normalizeComponent(
134382
134815
  _sfc_main$s,
134383
134816
  _sfc_render$s,
134384
134817
  _sfc_staticRenderFns$s,
134385
134818
  !1,
134386
134819
  null,
134387
- "1b881aeb",
134820
+ "690c932d",
134388
134821
  null,
134389
134822
  null
134390
134823
  );
134391
- const BuildItem = __component__$s.exports, layoutBlocks_vue_vue_type_style_index_0_scoped_1a3dca31_lang = "", _sfc_main$r = {
134824
+ const BuildItem = __component__$s.exports, layoutBlocks_vue_vue_type_style_index_0_scoped_ad49c1b9_lang = "", _sfc_main$r = {
134392
134825
  name: "LayoutBlocks",
134393
134826
  props: {
134394
134827
  record: {
@@ -134414,6 +134847,10 @@ const BuildItem = __component__$s.exports, layoutBlocks_vue_vue_type_style_index
134414
134847
  forceRender: {
134415
134848
  type: Boolean,
134416
134849
  default: !0
134850
+ },
134851
+ itemData: {
134852
+ type: Object,
134853
+ default: () => ({})
134417
134854
  }
134418
134855
  },
134419
134856
  components: {
@@ -134436,7 +134873,7 @@ const BuildItem = __component__$s.exports, layoutBlocks_vue_vue_type_style_index
134436
134873
  return `${this.options.labelWidth}${this.options.labelUnit}`;
134437
134874
  },
134438
134875
  styled() {
134439
- return this.record.options.hidden ? "display:none;" : "";
134876
+ return this.options.hidden ? "display:none;" : "";
134440
134877
  }
134441
134878
  },
134442
134879
  methods: {
@@ -134476,44 +134913,44 @@ var _sfc_render$r = function s() {
134476
134913
  t.activeKey = r;
134477
134914
  }, expression: "activeKey" } }, [t._l(t.record.columns, function(r, o) {
134478
134915
  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) {
134479
- return [a("LayoutBlocks", { attrs: { height: t.height, record: l, isForm: t.isForm, model: t.model, tableData: t.tableData, forceRender: t.getForceRender(r, o) }, on: { lookup: t.lookup, change: t.handleChange } })];
134916
+ 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 } })];
134480
134917
  })], 2) : t._e()];
134481
134918
  })], 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) {
134482
134919
  return [a("el-col", { staticClass: "grid-col", attrs: { span: r.span || 0 } }, [t._l(r.list, function(l) {
134483
- return [a("LayoutBlocks", { attrs: { height: t.height, record: l, isForm: t.isForm, model: t.model, tableData: t.tableData, forceRender: t.forceRender }, on: { lookup: t.lookup, change: t.handleChange } })];
134920
+ return [a("LayoutBlocks", { attrs: { height: t.height, record: l, isForm: t.isForm, model: t.model, tableData: t.tableData, forceRender: t.forceRender, itemData: t.itemData }, on: { lookup: t.lookup, change: t.handleChange } })];
134484
134921
  })], 2)];
134485
134922
  })], 2) : t.record.type === "collapse" ? a("el-collapse", { staticClass: "grid-row", model: { value: t.options.activeKey, callback: function(r) {
134486
134923
  t.$set(t.options, "activeKey", r);
134487
134924
  }, expression: "options.activeKey" } }, [t._l(t.record.columns, function(r, o) {
134488
134925
  return [a("el-collapse-item", { directives: [{ name: "show", rawName: "v-show", value: r.hidden === void 0 ? !0 : !r.hidden, expression: "colItem.hidden === void 0 ? true : !colItem.hidden" }], key: r.key, staticClass: "grid-col", attrs: { title: r.label, name: r.key } }, [t._l(r.list, function(l) {
134489
- return [a("LayoutBlocks", { attrs: { height: t.height, record: l, isForm: t.isForm, model: t.model, tableData: t.tableData, forceRender: t.forceRender }, on: { lookup: t.lookup, change: t.handleChange } })];
134926
+ return [a("LayoutBlocks", { attrs: { height: t.height, record: l, isForm: t.isForm, model: t.model, tableData: t.tableData, forceRender: t.forceRender, itemData: t.itemData }, on: { lookup: t.lookup, change: t.handleChange } })];
134490
134927
  })], 2)];
134491
134928
  })], 2) : t.record.type === "card" ? a("el-card", { staticClass: "grid-row", attrs: { shadow: t.options.shadow } }, [t.options.header ? a("div", { staticClass: "clearfix", attrs: { slot: "header" }, slot: "header" }, [a("span", [t._v(t._s(t.$i18nt(`${t.options.transKey}`, t.options.header)))])]) : t._e(), t._l(t.record.list, function(r) {
134492
- return [a("LayoutBlocks", { attrs: { height: t.height, record: r, isForm: t.isForm, model: t.model, tableData: t.tableData, forceRender: t.forceRender }, on: { lookup: t.lookup, change: t.handleChange } })];
134929
+ 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 } })];
134493
134930
  })], 2) : t.record.type === "form" ? a("el-form", { staticClass: "grid-row", attrs: { inline: t.options.inline, labelPosition: t.options.labelPosition, labelWidth: t.labelWidth, model: t.ruleForm }, nativeOn: { submit: function(r) {
134494
134931
  r.preventDefault();
134495
134932
  } } }, [t._l(t.record.list, function(r) {
134496
- return [a("LayoutBlocks", { attrs: { height: t.height, record: r, isForm: t.isForm, model: t.model, tableData: t.tableData, forceRender: t.forceRender }, on: { lookup: t.lookup, change: t.handleChange } })];
134933
+ 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 } })];
134497
134934
  })], 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 }) {
134498
134935
  return [a("div", { style: r }, [t._l(t.record.list, function(o) {
134499
- return [a("LayoutBlocks", { attrs: { height: t.height, record: o, isForm: t.isForm, model: t.model, tableData: t.tableData, forceRender: t.forceRender }, on: { lookup: t.lookup, change: t.handleChange } })];
134936
+ 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 } })];
134500
134937
  })], 2)];
134501
134938
  } }]) }) : 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 }) {
134502
134939
  return [a("div", { style: r }, [t._l(t.record.list, function(o) {
134503
- return [a("LayoutBlocks", { attrs: { height: t.height, record: o, isForm: t.isForm, model: t.model, tableData: t.tableData, forceRender: t.forceRender }, on: { lookup: t.lookup, change: t.handleChange } })];
134940
+ 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 } })];
134504
134941
  })], 2)];
134505
- } }]) }) : 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({ listStyle: r, itemStyle: o, pageSize: l, index: d }) {
134506
- return [t._l(t.record.list, function(u) {
134507
- return [a("LayoutBlocks", { attrs: { height: t.height, record: u, isForm: t.isForm, model: t.model, tableData: t.tableData, forceRender: t.forceRender }, on: { lookup: t.lookup, change: t.handleChange } })];
134942
+ } }]) }) : 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 }) {
134943
+ return [t._l(t.record.list, function(l) {
134944
+ 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 } })];
134508
134945
  })];
134509
- } }]) }) : 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 }, on: { lookup: t.lookup, change: t.handleChange } });
134946
+ } }]) }) : 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 } });
134510
134947
  }, _sfc_staticRenderFns$r = [], __component__$r = /* @__PURE__ */ normalizeComponent(
134511
134948
  _sfc_main$r,
134512
134949
  _sfc_render$r,
134513
134950
  _sfc_staticRenderFns$r,
134514
134951
  !1,
134515
134952
  null,
134516
- "1a3dca31",
134953
+ "ad49c1b9",
134517
134954
  null,
134518
134955
  null
134519
134956
  );
@@ -134674,150 +135111,6 @@ GDpackage$7.install = function(s) {
134674
135111
  GDpackage$a.install = function(s) {
134675
135112
  s.component(GDpackage$a.name, GDpackage$a);
134676
135113
  };
134677
- function getColumns(s, t, a) {
134678
- var h, p, v, g;
134679
- if (!s.syscodegenconfig && !s.syscodegenconfigfk)
134680
- return console.log("\u5B57\u6BB5:" + s.name + "\u6570\u636E\u9519\u8BEF!"), null;
134681
- const r = ["fk", "user"].includes(s.syscodegenconfig.effecttype) ? (h = s.syscodegenconfigfk) == null ? void 0 : h.effecttype : s.syscodegenconfig.effecttype, o = s.syscodegenconfig.effecttype, l = getColumnName(s).toLowerCase(), d = s.align ? s.align.split("&") : [], u = getScopedSlots(o, l, s);
134682
- let f = {
134683
- key: l,
134684
- transKey: `Dynamics.${s.transkey}`,
134685
- prop: l,
134686
- label: s.name,
134687
- width: String(s.width),
134688
- owidth: String(s.width),
134689
- columnName: s.syscodegenconfig.columnname,
134690
- fkEntityName: s.syscodegenconfig.fkentityname,
134691
- id: s.fieldid,
134692
- fkId: ["fk", "about", "user"].includes(o) ? (p = s.syscodegenconfigfk) == null ? void 0 : p.id : null,
134693
- align: d[0] ? d[0] : "center",
134694
- checked: d[1] ? d[1] == 1 : !0,
134695
- effectType: r,
134696
- fieldType: o,
134697
- gatherConfig: s.gatherconfig == 1,
134698
- fieldFormat: ["fk", "user"].includes(o) ? (v = s.syscodegenconfigfk) == null ? void 0 : v.fieldformat : s.syscodegenconfig.fieldformat,
134699
- dictTypeCode: ["fk", "user"].includes(o) ? (g = s.syscodegenconfigfk) == null ? void 0 : g.dicttypecode : s.syscodegenconfig.dicttypecode,
134700
- dictTypeList: [],
134701
- maxTagCount: s.maxtagcount ? Number(s.maxtagcount) : 2,
134702
- sourceFk: !!["fk", "about", "user"].includes(o),
134703
- displayMode: d[2] ? d[2] : "none",
134704
- displayPrefix: d[3] ? d[3] : "none",
134705
- preview: d[4] ? d[4] === "true" : !0,
134706
- download: d[5] ? d[5] === "true" : !0
134707
- };
134708
- return s.orderconfig === 1 && Object.assign(f, {
134709
- sortable: "custom"
134710
- }), t < a && Object.assign(f, {
134711
- fixed: "left"
134712
- }), ["participants"].includes(o) && Object.assign(f, {
134713
- showTooltip: !1
134714
- }), Object.assign(f, u);
134715
- }
134716
- function getColumnName(s) {
134717
- var t, a;
134718
- switch (s.syscodegenconfig.effecttype) {
134719
- case "fk":
134720
- return ((t = s.syscodegenconfigfk) == null ? void 0 : t.columnname) + s.syscodegenconfig.fkentityname + s.syscodegenconfig.columnname;
134721
- case "user":
134722
- return ((a = s.syscodegenconfigfk) == null ? void 0 : a.columnname) + s.syscodegenconfig.fkentityname + s.syscodegenconfig.columnname;
134723
- case "about":
134724
- return s.syscodegenconfig.relations.toLowerCase();
134725
- default:
134726
- return s.syscodegenconfig.columnname;
134727
- }
134728
- }
134729
- function getScopedSlots(s, t, a) {
134730
- var o;
134731
- if (s == "input")
134732
- return {};
134733
- const r = ["fk", "user"].includes(s) ? (o = a.syscodegenconfigfk) == null ? void 0 : o.fieldformat : a.syscodegenconfig.fieldformat;
134734
- return ["datepicker"].includes(s) && r === 1 ? {} : {
134735
- type: "slot",
134736
- slotType: t
134737
- };
134738
- }
134739
- function getQueries(s, t, a) {
134740
- if (s.syscodegenconfig == null)
134741
- return !1;
134742
- let r = s.options ? JSON.parse(s.options) : {}, o = {
134743
- required: r.required,
134744
- message: a,
134745
- trigger: "blur"
134746
- };
134747
- return ["inputnumber", "double", " currency"].includes(s.syscodegenconfig.effecttype) && Object.assign(o, {
134748
- type: "number"
134749
- }), {
134750
- id: s.syscodegenconfig.id,
134751
- transKey: s.syscodegenconfig.transkey,
134752
- prop: s.syscodegenconfig.columnname,
134753
- label: s.syscodegenconfig.columncomment,
134754
- effectType: getEffectType(s.syscodegenconfig.effecttype),
134755
- dictTypeCode: s.syscodegenconfig.dicttypecode,
134756
- fkEntityName: s.syscodegenconfig.fkentityname,
134757
- disabled: s.disabled === void 0 ? !1 : s.disabled,
134758
- options: r,
134759
- fieldFormat: s.syscodegenconfig.fieldformat,
134760
- valueFormat: getFieldFormat(s.syscodegenconfig.fieldformat, t),
134761
- rules: [o],
134762
- hasFiltered: !1,
134763
- filterList: [],
134764
- fkData: []
134765
- };
134766
- }
134767
- function getFieldFormat(s, t) {
134768
- if (s === null)
134769
- return s;
134770
- const a = t.filter((r) => String(r.code) === String(s))[0];
134771
- return a ? a.name.replace("DD", "dd") : "yyyy-MM-dd hh:mm:ss";
134772
- }
134773
- function getEffectType(s) {
134774
- let t = s;
134775
- return ["image", "file"].includes(s) ? t = "input" : ["select", "radio", "switch", "checkbox"].includes(s) ? t = "selectMultiple" : ["fk", "about", "participants", "user"].includes(s) && (t = "selectFkMultiple"), t;
134776
- }
134777
- function switchingDate(s, t) {
134778
- let a = /* @__PURE__ */ new Map();
134779
- for (var r in s) {
134780
- let o = s[r] != null && s[r] !== void 0 ? s[r] : "", l = t ? t.filter((u) => u.columnName === r)[0] : null;
134781
- if ((l ? l.effectType : "input") === "datepicker") {
134782
- let u = dateProcessing(o, l);
134783
- u && (a.set(r + "Start", u[0]), a.set(r + "End", u[1]));
134784
- } else
134785
- Array.isArray(o) ? o.length > 0 && a.set(r, o.join(",")) : !o == "" && a.set(r, o);
134786
- }
134787
- return a.size == 0 ? {} : Object.fromEntries(a);
134788
- }
134789
- function dateProcessing(s, t) {
134790
- return s === "" ? !1 : typeof s == "array" || typeof s == "object" ? s[1] ? [s[0].split(" ")[0] + " 00:00:00", s[1].split(" ")[0] + " 23:59:59"] : !1 : t.fieldFormat == 1 ? [s, s] : [s + " 00:00:00", s + " 23:59:59"];
134791
- }
134792
- function hasDefaultVal(s) {
134793
- let t = /* @__PURE__ */ new Map(), a = getDatepickerVal(s);
134794
- return ["switch", "select", "radio", "checkbox", "selectMultiple"].includes(s.effectType) && s.options.defaultValueList.length > 0 ? t.set(s.prop, s.options.defaultValueList) : ["datepicker"].includes(s.effectType) && a ? t.set(s.prop, a) : (["input", "textarea", "editor"].includes(s.effectType) && s.options.defaultValue !== "" || ["inputnumber", "double", " currency"].includes(s.effectType) && s.options.defaultValue !== "") && t.set(s.prop, s.options.defaultValue), Object.fromEntries(t);
134795
- }
134796
- function getDatepickerVal(s) {
134797
- if (!["datepicker"].includes(s.effectType))
134798
- return !1;
134799
- let t = s.options.displayStyle, a = s.options.defaultInterval.filter((d) => d.type === "interval")[0], r = s.options.defaultInterval.filter((d) => d.type === "equal")[0], o = r.value === "" ? s.options.defaultValue : getTimeDatas(r, t, s), l = a.value === "" ? s.options.defaultValueList : getTimeDatas(a, t, s);
134800
- return t == 1 ? o === "" ? !1 : o : l.length === 0 ? !1 : l;
134801
- }
134802
- function getTimeDatas(s, t, a) {
134803
- let r = Number(s.value), o = new Date().getTime(), l = o - r * 1e3 * 60 * 60 * 24, d = getFormatTime(o), u = getFormatTime(l), f = `${d.year}-${d.mon}-${d.day} ${d.hours}:${d.min}:${d.sec}`, h = `${u.year}-${u.mon}-${u.day} ${u.hours}:${u.min}:${u.sec}`;
134804
- return t == 1 ? a.valueFormat.replace("DD", "dd") === "YYYY-MM-dd" ? h.split(" ")[0] : h : [h, f];
134805
- }
134806
- function getFormatTime(s) {
134807
- let a = s.toString().length == 10 ? parseInt(s) * 1e3 : parseInt(s);
134808
- var r = new Date(a), o = r.getFullYear(), l = r.getMonth() + 1, d = r.getDate(), u = r.getHours(), f = r.getMinutes(), h = r.getSeconds();
134809
- return {
134810
- year: o,
134811
- mon: formatNumber(l),
134812
- day: formatNumber(d),
134813
- hours: formatNumber(u),
134814
- min: formatNumber(f),
134815
- sec: formatNumber(h)
134816
- };
134817
- }
134818
- function formatNumber(s) {
134819
- return s = s.toString(), s[1] ? s : "0" + s;
134820
- }
134821
135114
  const mixins$4 = {
134822
135115
  data() {
134823
135116
  return {
@@ -135439,7 +135732,7 @@ function processingResults(s, t, a) {
135439
135732
  function isSatisfyed(s, t) {
135440
135733
  return t === "2" ? s.every((a, r, o) => !a) : s.every((a, r, o) => !!a);
135441
135734
  }
135442
- const processFlow_vue_vue_type_style_index_0_scoped_d6725966_lang = "", _sfc_main$n = {
135735
+ const processFlow_vue_vue_type_style_index_0_scoped_0daf0169_lang = "", _sfc_main$n = {
135443
135736
  props: {
135444
135737
  fieldData: {
135445
135738
  type: Array,
@@ -135559,17 +135852,14 @@ const processFlow_vue_vue_type_style_index_0_scoped_d6725966_lang = "", _sfc_mai
135559
135852
  },
135560
135853
  baseSetVisibility(s) {
135561
135854
  let t = this.getCurrentList.filter((r) => (r.options.columnName ? r.options.columnName.toLowerCase() : r.options.columnName) === s.columnName)[0];
135562
- !t || !this.baseHasFieldPermission(s.columnName) || (t = Object.assign(
135563
- { ...t },
135564
- {
135565
- options: Object.assign(
135566
- { ...t.options },
135567
- {
135568
- hidden: s.data !== "1"
135569
- }
135570
- )
135571
- }
135572
- ));
135855
+ !t || !this.baseHasFieldPermission(s.columnName) || Object.assign(t, {
135856
+ options: Object.assign(
135857
+ { ...t.options },
135858
+ {
135859
+ hidden: s.data !== "1"
135860
+ }
135861
+ )
135862
+ });
135573
135863
  },
135574
135864
  baseSetDefaultsVal(s, t = !0) {
135575
135865
  let a = this.getCurrentList.filter((o) => (o.options.columnName ? o.options.columnName.toLowerCase() : o.options.columnName) === s.columnName)[0];
@@ -136023,10 +136313,13 @@ const processFlow_vue_vue_type_style_index_0_scoped_d6725966_lang = "", _sfc_mai
136023
136313
  const t = (o) => (o = o.filter((l, d) => {
136024
136314
  if (l.type == "condition" && l.list.forEach((u, f) => {
136025
136315
  u.list = t(u.list);
136026
- }), l.type == "step") {
136027
- let u = this.getColumnName(l);
136028
- s.push(u);
136029
- }
136316
+ }), l.type == "step")
136317
+ if (l.formOptions !== void 0)
136318
+ s.push(l.formOptions);
136319
+ else {
136320
+ let u = this.getColumnName(l);
136321
+ l.formOptions = u, s.push(u);
136322
+ }
136030
136323
  return !0;
136031
136324
  }), o);
136032
136325
  t(this.configData);
@@ -136046,10 +136339,13 @@ const processFlow_vue_vue_type_style_index_0_scoped_d6725966_lang = "", _sfc_mai
136046
136339
  const r = (f) => (f = f.filter((h, p) => {
136047
136340
  if (h.type == "condition" && h.list.forEach((v, g) => {
136048
136341
  v.list = r(v.list);
136049
- }), h.type == "step") {
136050
- let v = this.getColumnName(h);
136051
- t.push(v);
136052
- }
136342
+ }), h.type == "step")
136343
+ if (h.formOptions !== void 0)
136344
+ t.push(h.formOptions);
136345
+ else {
136346
+ let v = this.getColumnName(h);
136347
+ h.formOptions = v, t.push(v);
136348
+ }
136053
136349
  return !0;
136054
136350
  }), f);
136055
136351
  r(this.configData);
@@ -136113,7 +136409,8 @@ const processFlow_vue_vue_type_style_index_0_scoped_d6725966_lang = "", _sfc_mai
136113
136409
  formData: this.getFormData(t, this.formData.config),
136114
136410
  columns: t,
136115
136411
  updateFiled: a,
136116
- show: !0
136412
+ show: !0,
136413
+ loadColumns: !0
136117
136414
  });
136118
136415
  },
136119
136416
  getColumnlist(s) {
@@ -136171,11 +136468,11 @@ var _sfc_render$n = function s() {
136171
136468
  _sfc_staticRenderFns$n,
136172
136469
  !1,
136173
136470
  null,
136174
- "d6725966",
136471
+ "0daf0169",
136175
136472
  null,
136176
136473
  null
136177
136474
  );
136178
- const ProcessFlow = __component__$n.exports, main_vue_vue_type_style_index_0_scoped_79c03d37_lang = "", _sfc_main$m = {
136475
+ const ProcessFlow = __component__$n.exports, main_vue_vue_type_style_index_0_scoped_a65a10df_lang = "", _sfc_main$m = {
136179
136476
  name: "GdFormBuild",
136180
136477
  props: {
136181
136478
  modeType: {
@@ -137236,7 +137533,7 @@ var _sfc_render$m = function s() {
137236
137533
  return t.$emit("ok");
137237
137534
  }, lookup: t.lookup, updateFiled: t.changeFlowFiled, flowFields: t.changeFlowFields } }) : t._e(), t.visible ? a("el-form", { ref: "ruleForm", attrs: { model: t.parameterData, "label-width": t.labelWidth, "label-position": t.options.labelPosition, inline: t.options.inline }, nativeOn: { submit: function(r) {
137238
137535
  r.preventDefault();
137239
- } } }, [a("BuildBlocks", { attrs: { record: { options: t.formData }, isForm: !0, model: t.parameterData, tableData: t.tableData, height: t.getHeight }, on: { lookup: t.lookup, change: (r) => t.baseChange(r, 1) } })], 1) : t._e()], 1)], 1) : a("el-drawer", { attrs: { visible: t.visible, "close-on-press-escape": !1, "append-to-body": !0, "modal-append-to-body": !1, size: t.drawerWidth, "custom-class": "gd-drawer-form" }, on: { "update:visible": function(r) {
137536
+ } } }, [a("BuildBlocks", { attrs: { record: { options: t.formData }, isForm: !0, model: t.parameterData, tableData: t.tableData, height: t.getHeight }, on: { lookup: t.lookup, change: (r) => t.baseChange(r, 1) } })], 1) : t._e()], 1)], 1) : a("el-drawer", { attrs: { visible: t.visible, "close-on-press-escape": !1, "append-to-body": !0, "modal-append-to-body": !1, size: t.drawerWidth, "custom-class": "gd-drawer-form", wrapperClosable: !1 }, on: { "update:visible": function(r) {
137240
137537
  t.visible = r;
137241
137538
  } } }, [a("gd-modal-title", { attrs: { slot: "title", title: t.title, modalType: "drawer", fullscreen: t.fullscreen, buttons: t.sysViewButtons, confirmLoading: t.confirmLoading }, on: { changeEvent: t.doEvent, toggleFullscreen: t.toggleFullscreen }, slot: "title" }), a("div", { directives: [{ name: "loading", rawName: "v-loading", value: t.confirmLoading, expression: "confirmLoading" }] }, [t.visible ? a("ProcessFlow", { ref: "processFlow", attrs: { parameterData: t.parameterData, tableData: t.tableData, fieldData: t.fieldData, allField: t.allField, formData: t.formData, openMode: t.openMode, fkValue: t.id, options: t.options, labelWidth: t.labelWidth }, on: { change: (r) => t.baseChange(r, 2), ok: function(r) {
137242
137539
  return t.$emit("ok");
@@ -137255,7 +137552,7 @@ var _sfc_render$m = function s() {
137255
137552
  _sfc_staticRenderFns$m,
137256
137553
  !1,
137257
137554
  null,
137258
- "79c03d37",
137555
+ "a65a10df",
137259
137556
  null,
137260
137557
  null
137261
137558
  );