gds-plus-design-vue 1.1.26 → 1.1.28

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.f017afc7.mjs"),
633
+ component: () => import("./main.a21da510.mjs"),
634
634
  meta: {
635
635
  title: "\u767B\u5F55",
636
636
  transKey: "gd.login.title"
@@ -23053,7 +23053,7 @@ const GDpackage$S = __component__$4_.exports;
23053
23053
  GDpackage$S.install = function(s) {
23054
23054
  s.component(GDpackage$S.name, GDpackage$S);
23055
23055
  };
23056
- const main_vue_vue_type_style_index_0_scoped_617ecd8f_lang = "", _sfc_main$4Z = {
23056
+ const main_vue_vue_type_style_index_0_scoped_a87dd3a5_lang = "", _sfc_main$4Z = {
23057
23057
  name: "GdBtnList",
23058
23058
  props: {
23059
23059
  sysViewButtons: {
@@ -23063,12 +23063,23 @@ const main_vue_vue_type_style_index_0_scoped_617ecd8f_lang = "", _sfc_main$4Z =
23063
23063
  max: {
23064
23064
  type: Number,
23065
23065
  default: 12
23066
+ },
23067
+ followSys: {
23068
+ type: Boolean,
23069
+ default: !0
23070
+ },
23071
+ styled: {
23072
+ type: String,
23073
+ default: ""
23066
23074
  }
23067
23075
  },
23068
23076
  data() {
23069
23077
  return {};
23070
23078
  },
23071
23079
  computed: {
23080
+ btnModed() {
23081
+ return this.followSys ? this.btnMode : "btn";
23082
+ },
23072
23083
  btnList() {
23073
23084
  return this.sysViewButtons.filter((s, t) => t < this.max);
23074
23085
  },
@@ -23096,7 +23107,7 @@ const main_vue_vue_type_style_index_0_scoped_617ecd8f_lang = "", _sfc_main$4Z =
23096
23107
  var _sfc_render$4Z = function() {
23097
23108
  var t = this, a = t._self._c;
23098
23109
  return a("div", { staticStyle: { display: "flex", "align-items": "center", "justify-content": "flex-end" } }, [t._l(t.btnList, function(r, o) {
23099
- return [t.$hasPerm(r.name) && (r.show === void 0 ? !0 : r.show) ? [t.btnMode === "text" ? [r.children && r.children.length > 0 && r.sublevel === void 0 || r.sublevel ? a("el-dropdown", { attrs: { placement: "bottom" }, on: { command: t.command } }, [a("el-button", { class: r.btnType ? "" : "active-color", staticStyle: { margin: "0 1px 0 0", padding: "6px 8px" }, attrs: { type: "text" } }, [a("i", { staticClass: "gd-icons", class: r.icon, staticStyle: { "font-size": "12px" } }), t._v(" " + t._s(t.$i18nt(r.transKey, r.displayName)) + " ")]), a("el-dropdown-menu", { style: { "--dilute": t.fadeColord }, attrs: { slot: "dropdown" }, slot: "dropdown" }, t._l(r.children, function(l) {
23110
+ return [t.$hasPerm(r.name) && (r.show === void 0 ? !0 : r.show) ? [t.btnModed === "text" ? [r.children && r.children.length > 0 ? a("el-dropdown", { attrs: { placement: "bottom" }, on: { command: t.command } }, [a("el-button", { class: r.btnType ? "" : "active-color", staticStyle: { margin: "0 1px 0 0", padding: "6px 8px" }, attrs: { type: "text" } }, [a("i", { staticClass: "gd-icons", class: r.icon, staticStyle: { "font-size": "12px" } }), t._v(" " + t._s(t.$i18nt(r.transKey, r.displayName)) + " ")]), a("el-dropdown-menu", { style: { "--dilute": t.fadeColord }, attrs: { slot: "dropdown" }, slot: "dropdown" }, t._l(r.children, function(l) {
23100
23111
  return a("el-dropdown-item", { key: l.key, attrs: { command: { item: r, key: l.key } } }, [a("i", { staticClass: "gd-icons", class: r.icon, staticStyle: { "font-size": "12px" } }), t._v(" " + t._s(t.$i18nt(l.transKey, l.displayName)) + " ")]);
23101
23112
  }), 1)], 1) : r.btnType == "popconfirm" ? a("el-popconfirm", { staticStyle: { "margin-left": "10px" }, attrs: { "confirm-button-text": t.$i18nt("gd.btn.confirm", "\u786E\u8BA4"), "cancel-button-text": t.$i18nt("gd.btn.cancel", "\u53D6\u6D88"), icon: "el-icon-warning", "icon-color": "#faad14", title: t.$i18nt(r.transKeyTip, r.tip) }, on: { confirm: function(l) {
23102
23113
  return t.functionName(r);
@@ -23104,16 +23115,16 @@ var _sfc_render$4Z = function() {
23104
23115
  return t.functionName(r);
23105
23116
  } } }, [a("i", { staticClass: "gd-icons", class: r.icon, staticStyle: { "font-size": "12px" } }), t._v(" " + t._s(t.$i18nt(r.transKey, r.displayName)) + " ")])], 2) : a("el-button", { class: r.btnType ? "" : "active-color", style: r.btnType ? "color:#ff4d4f;font-size: 13px;" : "font-size: 13px;", attrs: { type: "text" }, on: { click: function(l) {
23106
23117
  return t.functionName(r);
23107
- } } }, [a("i", { staticClass: "gd-icons", class: r.icon, staticStyle: { "font-size": "12px" } }), t._v(" " + t._s(t.$i18nt(r.transKey, r.displayName)) + " ")])] : [r.children && r.children.length > 0 && r.sublevel === void 0 || r.sublevel ? a("el-dropdown", { attrs: { placement: "bottom" }, on: { command: t.command } }, [a("el-button", { staticStyle: { margin: "0 1px 0 0", padding: "6px 8px" }, attrs: { type: "primary" } }, [a("i", { staticClass: "gd-icons", class: r.icon, staticStyle: { "font-size": "12px" } }), t._v(" " + t._s(t.$i18nt(r.transKey, r.displayName)) + " "), a("i", { staticClass: "el-icon-arrow-down" })]), a("el-dropdown-menu", { style: { "--dilute": t.fadeColord }, attrs: { slot: "dropdown" }, slot: "dropdown" }, t._l(r.children, function(l) {
23118
+ } } }, [a("i", { staticClass: "gd-icons", class: r.icon, staticStyle: { "font-size": "12px" } }), t._v(" " + t._s(t.$i18nt(r.transKey, r.displayName)) + " ")])] : [r.children && r.children.length > 0 ? a("el-dropdown", { attrs: { placement: "bottom" }, on: { command: t.command } }, [a("el-button", { staticStyle: { margin: "0 1px 0 0", padding: "6px 8px" }, attrs: { type: "primary" } }, [a("i", { staticClass: "gd-icons", class: r.icon, staticStyle: { "font-size": "12px" } }), t._v(" " + t._s(t.$i18nt(r.transKey, r.displayName)) + " "), a("i", { staticClass: "el-icon-arrow-down" })]), a("el-dropdown-menu", { style: { "--dilute": t.fadeColord }, attrs: { slot: "dropdown" }, slot: "dropdown" }, t._l(r.children, function(l) {
23108
23119
  return a("el-dropdown-item", { key: l.key, attrs: { command: { item: r, key: l.key } } }, [a("i", { staticClass: "gd-icons", class: r.icon, staticStyle: { "font-size": "12px" } }), t._v(" " + t._s(t.$i18nt(l.transKey, l.displayName)) + " ")]);
23109
23120
  }), 1)], 1) : r.btnType == "popconfirm" ? a("el-popconfirm", { attrs: { slot: "reference", "confirm-button-text": t.$i18nt("gd.btn.confirm", "\u786E\u8BA4"), "cancel-button-text": t.$i18nt("gd.btn.cancel", "\u53D6\u6D88"), icon: "el-icon-warning", "icon-color": "#faad14", title: t.$i18nt(r.transKeyTip, r.tip) }, on: { confirm: function(l) {
23110
23121
  return t.functionName(r);
23111
23122
  } }, slot: "reference" }, [a("el-button", { staticStyle: { margin: "0 1px 0 0", padding: "6px 8px" }, attrs: { slot: "reference", type: r.btnType || "primary" }, slot: "reference" }, [a("i", { staticClass: "gd-icons", class: r.icon, staticStyle: { "font-size": "12px" } }), t._v(" " + t._s(t.$i18nt(r.transKey, r.displayName)) + " ")])], 1) : r.btnType == "tooltip" ? a("el-tooltip", { attrs: { placement: "top" } }, [a("template", { slot: "content" }, [t._v(" " + t._s(t.$i18nt(r.tipI18n, r.tip)) + " ")]), a("el-button", { staticStyle: { margin: "0 1px 0 0", padding: "6px 8px" }, attrs: { type: "primary" }, on: { click: function(l) {
23112
23123
  return t.functionName(r);
23113
- } } }, [a("i", { staticClass: "gd-icons", class: r.icon, staticStyle: { "font-size": "12px" } }), t._v(" " + t._s(t.$i18nt(r.transKey, r.displayName)) + " ")])], 2) : a("el-button", { staticStyle: { margin: "0 1px 0 0", padding: "6px 8px" }, attrs: { type: r.btnType || "primary" }, on: { click: function(l) {
23124
+ } } }, [a("i", { staticClass: "gd-icons", class: r.icon, staticStyle: { "font-size": "12px" } }), t._v(" " + t._s(t.$i18nt(r.transKey, r.displayName)) + " ")])], 2) : a("el-button", { style: `margin: 0 1px 0 0; padding: 6px 8px;${t.styled}${r.style ? r.style : ""}`, attrs: { type: r.btnType || "primary" }, on: { click: function(l) {
23114
23125
  return t.functionName(r);
23115
23126
  } } }, [a("i", { staticClass: "gd-icons", class: r.icon, staticStyle: { "font-size": "12px" } }), t._v(" " + t._s(t.$i18nt(r.transKey, r.displayName)) + " ")])]] : t._e()];
23116
- }), t.moreList.length > 0 ? a("el-dropdown", { attrs: { placement: "bottom" }, on: { command: t.command } }, [t.btnMode === "text" ? a("el-button", { staticClass: "active-color", staticStyle: { margin: "0 1px 0 0", padding: "6px 8px" }, attrs: { type: "text" } }, [a("i", { staticClass: "gd-icons el-icon-more", staticStyle: { "font-size": "12px" } })]) : a("el-button", { staticStyle: { margin: "0 1px 0 0", padding: "6px 8px" }, attrs: { type: "primary" } }, [a("i", { staticClass: "gd-icons el-icon-more", staticStyle: { "font-size": "12px" } })]), a("el-dropdown-menu", { style: { "--dilute": t.fadeColord, minWidth: "100px" }, attrs: { slot: "dropdown" }, slot: "dropdown" }, t._l(t.moreList, function(r) {
23127
+ }), t.moreList.length > 0 ? a("el-dropdown", { attrs: { placement: "bottom" }, on: { command: t.command } }, [t.btnModed === "text" ? a("el-button", { staticClass: "active-color", staticStyle: { margin: "0 1px 0 0", padding: "6px 8px" }, attrs: { type: "text" } }, [a("i", { staticClass: "gd-icons el-icon-more", staticStyle: { "font-size": "12px" } })]) : a("el-button", { style: `margin: 0 1px 0 0; padding: 6px 8px;${t.styled}`, attrs: { type: "primary" } }, [a("i", { staticClass: "gd-icons el-icon-more", staticStyle: { "font-size": "12px" } })]), a("el-dropdown-menu", { style: { "--dilute": t.fadeColord, minWidth: "100px" }, attrs: { slot: "dropdown" }, slot: "dropdown" }, t._l(t.moreList, function(r) {
23117
23128
  return a("el-dropdown-item", { key: r.key, attrs: { command: { item: r, key: null } } }, [a("i", { staticClass: "gd-icons", class: r.icon, staticStyle: { "font-size": "12px" } }), t._v(" " + t._s(t.$i18nt(r.transKey, r.displayName)) + " ")]);
23118
23129
  }), 1)], 1) : t._e()], 2);
23119
23130
  }, _sfc_staticRenderFns$4Z = [], __component__$4Z = /* @__PURE__ */ normalizeComponent(
@@ -23122,7 +23133,7 @@ var _sfc_render$4Z = function() {
23122
23133
  _sfc_staticRenderFns$4Z,
23123
23134
  !1,
23124
23135
  null,
23125
- "617ecd8f",
23136
+ "a87dd3a5",
23126
23137
  null,
23127
23138
  null
23128
23139
  );
@@ -106461,7 +106472,7 @@ var _sfc_render$2p = function s() {
106461
106472
  null,
106462
106473
  null
106463
106474
  );
106464
- const StepsDesigner = __component__$2p.exports, index_vue_vue_type_style_index_0_scoped_e32c8065_lang = "", _sfc_main$2o = {
106475
+ const StepsDesigner = __component__$2p.exports, index_vue_vue_type_style_index_0_scoped_6992cda7_lang = "", _sfc_main$2o = {
106465
106476
  props: {
106466
106477
  record: {
106467
106478
  type: Object,
@@ -106621,7 +106632,7 @@ const StepsDesigner = __component__$2p.exports, index_vue_vue_type_style_index_0
106621
106632
  },
106622
106633
  getAuditorType() {
106623
106634
  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;
106635
+ return t ? this.$i18nt(t.transkey, t.name) : this.$i18nt("gd.flow.approval.approverInformationTip", "\u8BF7\u9009\u62E9\u5BA1\u6279\u4EBA");
106625
106636
  },
106626
106637
  maskStyle() {
106627
106638
  return {
@@ -107097,7 +107108,7 @@ var _sfc_render$2o = function s() {
107097
107108
  _sfc_staticRenderFns$2o,
107098
107109
  !1,
107099
107110
  null,
107100
- "e32c8065",
107111
+ "6992cda7",
107101
107112
  null,
107102
107113
  null
107103
107114
  );
@@ -111141,16 +111152,19 @@ var _sfc_render$2e = function s() {
111141
111152
  const operationMenus = __component__$2e.exports, abilityItems = [{
111142
111153
  type: "btnGroup",
111143
111154
  key: "",
111144
- label: "\u6309\u94AE\u7EC4",
111155
+ label: "\u6309\u94AE",
111145
111156
  icon: "gd-icon-anniu",
111146
111157
  transKey: "gd.functionalcomponents.btnGroup",
111147
111158
  options: {
111148
- limit: 20
111159
+ limit: 20,
111160
+ flexWidth: 100,
111161
+ flexUnit: "%",
111162
+ btnType: "btn"
111149
111163
  },
111150
- columns: [],
111164
+ btnList: [],
111151
111165
  css: {
111152
111166
  bjColor: "#fff",
111153
- padding: [0, 0, 0, 0],
111167
+ padding: [9, 15, 9, 15],
111154
111168
  margin: [0, 0, 0, 0]
111155
111169
  },
111156
111170
  fieldContext: [],
@@ -117475,84 +117489,70 @@ var _sfc_render$1G = function s() {
117475
117489
  null,
117476
117490
  null
117477
117491
  );
117478
- const detailView = __component__$1G.exports, btnGroup_vue_vue_type_style_index_0_scoped_a7fd9e66_lang = "", _sfc_main$1F = {
117492
+ const detailView = __component__$1G.exports, btnGroup_vue_vue_type_style_index_0_scoped_1ddbdb62_lang = "", _sfc_main$1F = {
117479
117493
  props: {
117480
117494
  record: {
117481
117495
  type: Object,
117482
117496
  required: !0
117497
+ },
117498
+ develop: {
117499
+ type: [Number, String],
117500
+ default: 1
117483
117501
  }
117484
117502
  },
117485
117503
  data() {
117486
- return {
117487
- sysViewButtons: []
117488
- };
117489
- },
117490
- watch: {
117491
- columns: {
117492
- handler(s) {
117493
- let t = [];
117494
- s.forEach((a) => {
117495
- let r = [];
117496
- a.permissionsPage !== "" && r.push(a.permissionsPage);
117497
- const o = a.childrenT ? { children: a.childrenT } : {};
117498
- t.push(
117499
- Object.assign(o, {
117500
- show: !a.hide,
117501
- functionName: a.functionName,
117502
- icon: a.icon,
117503
- displayName: a.displayName,
117504
- transKey: a.transKey,
117505
- permissions: r,
117506
- sublevel: a.sublevel,
117507
- tip: a.tip
117508
- })
117509
- );
117510
- }), this.sysViewButtons = [...t];
117511
- },
117512
- deep: !0,
117513
- immediate: !0
117514
- }
117504
+ return {};
117515
117505
  },
117516
117506
  computed: {
117507
+ sysViewButtons() {
117508
+ let s = [];
117509
+ return this.columns.forEach((t) => {
117510
+ let a = {
117511
+ displayName: t.displayName,
117512
+ show: !t.hide,
117513
+ icon: t.icon,
117514
+ transKey: t.transKey,
117515
+ name: t.permissionsPage ? t.permissionsPage : t.id,
117516
+ children: t.sublevel ? t.children : [],
117517
+ id: t.id,
117518
+ style: fontSize(t)
117519
+ };
117520
+ const r = t.btType !== "none" ? { btnType: t.btnType } : {};
117521
+ s.push(Object.assign(a, r));
117522
+ }), s;
117523
+ },
117524
+ cssData() {
117525
+ return this.record.css;
117526
+ },
117517
117527
  columns() {
117518
- return this.record.columns;
117528
+ return this.record.btnList;
117519
117529
  },
117520
117530
  options() {
117521
117531
  return this.record.options;
117522
117532
  },
117523
117533
  style() {
117524
- let s = this.record.css, t = [], a = [];
117525
- s.padding && s.padding.forEach((l) => {
117526
- t.push(l + "px");
117527
- }), s.margin && s.margin.forEach((l) => {
117528
- a.push(l + "px");
117529
- });
117530
- let r = `padding:${t.join(" ")}`, o = `margin:${a.join(" ")}`;
117531
- return `background:${s.bjColor};${r};${o};`;
117534
+ return this.develop === 1 ? `${marginData(this.cssData)}` : `${marginData(this.cssData)}${widthData(this.options)}`;
117535
+ },
117536
+ stylei() {
117537
+ return paddingData(this.cssData);
117532
117538
  }
117533
117539
  },
117534
117540
  methods: {
117535
- add(s) {
117536
- console.log(s);
117537
- },
117538
- edit(s) {
117539
- },
117540
117541
  doEvent(s) {
117541
- let t = s.item.functionName;
117542
- this[t] && this[t]();
117542
+ console.log(s);
117543
117543
  }
117544
117544
  }
117545
117545
  };
117546
117546
  var _sfc_render$1F = function s() {
117547
117547
  var t = this, a = t._self._c;
117548
- return t.columns.length == 0 ? a("div", { staticClass: "btn-class" }, [t._v(" ~" + t._s(t.$i18nt("gd.module.pleaseAddButtonOnTheRight", "\u8BF7\u5728\u53F3\u4FA7\u6DFB\u52A0\u6309\u94AE")) + "~ ")]) : a("div", { style: t.style }, [a("gd-btn-list", { attrs: { sysViewButtons: t.sysViewButtons, max: t.options.limit }, on: { functionName: t.doEvent } })], 1);
117548
+ return t.columns.length == 0 ? a("div", { staticClass: "btn-class" }, [t._v("~" + t._s(t.$i18nt("gd.module.pleaseAddButtonOnTheRight", "\u8BF7\u5728\u53F3\u4FA7\u6DFB\u52A0\u6309\u94AE")) + "~")]) : a("div", { class: t.options.btnType === "btn" ? "gd-line-btn" : "", style: t.style }, [a("gd-btn-list", { attrs: { sysViewButtons: t.sysViewButtons, max: t.options.limit, followSys: !1, styled: t.stylei }, on: { functionName: t.doEvent } })], 1);
117549
117549
  }, _sfc_staticRenderFns$1F = [], __component__$1F = /* @__PURE__ */ normalizeComponent(
117550
117550
  _sfc_main$1F,
117551
117551
  _sfc_render$1F,
117552
117552
  _sfc_staticRenderFns$1F,
117553
117553
  !1,
117554
117554
  null,
117555
- "a7fd9e66",
117555
+ "1ddbdb62",
117556
117556
  null,
117557
117557
  null
117558
117558
  );
@@ -118011,7 +118011,7 @@ const echartsView = __component__$1A.exports, componentArray = {
118011
118011
  uploadImg,
118012
118012
  echarts: echartsView,
118013
118013
  inputNumber: moneyNumber
118014
- }, layoutItem_vue_vue_type_style_index_0_scoped_426835f5_lang = "", _sfc_main$1z = {
118014
+ }, layoutItem_vue_vue_type_style_index_0_scoped_907f4653_lang = "", _sfc_main$1z = {
118015
118015
  props: {
118016
118016
  record: {
118017
118017
  type: Object,
@@ -118139,11 +118139,11 @@ const echartsView = __component__$1A.exports, componentArray = {
118139
118139
  }
118140
118140
  });
118141
118141
  },
118142
- searchDataId(s) {
118142
+ searchDataId(s, t) {
118143
118143
  this.loading = !0;
118144
- const t = this.options.effectType, a = t === "fk" || t === "user" ? this.options.fkEntityName : this.options.fkEntityName.split(",")[0];
118145
- baseFkList({ id: s, fkEntityName: a }).then((o) => {
118146
- this.loading = !1, o.code === 200 && (this.fkData = o.data, this.record.fkData = [...this.fkData]);
118144
+ const a = this.options.effectType, r = a === "fk" || a === "user" ? this.options.fkEntityName : this.options.fkEntityName.split(",")[0];
118145
+ baseFkList({ id: s, fkEntityName: t || r }).then((l) => {
118146
+ this.loading = !1, l.code === 200 && (this.fkData = l.data.map((d) => (d.tableName = r, d)), this.record.fkData = [...this.fkData]);
118147
118147
  });
118148
118148
  },
118149
118149
  setData({ val: s, data: t, items: a, fkData: r }) {
@@ -118291,7 +118291,7 @@ var _sfc_render$1z = function s() {
118291
118291
  _sfc_staticRenderFns$1z,
118292
118292
  !1,
118293
118293
  null,
118294
- "426835f5",
118294
+ "907f4653",
118295
118295
  null,
118296
118296
  null
118297
118297
  );
@@ -118388,7 +118388,7 @@ var _sfc_render$1y = function s() {
118388
118388
  null,
118389
118389
  null
118390
118390
  );
118391
- const BuildLayoutItemForm = __component__$1y.exports, layoutNode_vue_vue_type_style_index_0_scoped_608c4979_lang = "", _sfc_main$1x = {
118391
+ const BuildLayoutItemForm = __component__$1y.exports, layoutNode_vue_vue_type_style_index_0_scoped_22e7f515_lang = "", _sfc_main$1x = {
118392
118392
  props: {
118393
118393
  record: {
118394
118394
  type: Object,
@@ -118422,11 +118422,6 @@ const BuildLayoutItemForm = __component__$1y.exports, layoutNode_vue_vue_type_st
118422
118422
  data() {
118423
118423
  return {};
118424
118424
  },
118425
- computed: {
118426
- fstyle() {
118427
- return `width:${this.record.options.flexWidth + "%"};`;
118428
- }
118429
- },
118430
118425
  components: { buildLayoutItem: BuildLayoutItem, buildLayoutItemForm: BuildLayoutItemForm },
118431
118426
  methods: {
118432
118427
  handleSelectItem() {
@@ -118482,7 +118477,7 @@ var _sfc_render$1x = function s() {
118482
118477
  _sfc_staticRenderFns$1x,
118483
118478
  !1,
118484
118479
  null,
118485
- "608c4979",
118480
+ "22e7f515",
118486
118481
  null,
118487
118482
  null
118488
118483
  );
@@ -118687,8 +118682,8 @@ function getEffectType(s) {
118687
118682
  function switchingDate(s, t) {
118688
118683
  let a = /* @__PURE__ */ new Map();
118689
118684
  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") {
118685
+ let o = s[r] != null && s[r] !== void 0 ? s[r] : "", l = t ? t.filter((u) => u.columnname === r)[0] : null;
118686
+ if ((l ? l.effecttype : "input") === "datepicker") {
118692
118687
  let u = dateProcessing(o, l);
118693
118688
  u && (a.set(r + "Start", u[0]), a.set(r + "End", u[1]));
118694
118689
  } else
@@ -118728,7 +118723,7 @@ function getFormatTime(s) {
118728
118723
  function formatNumber(s) {
118729
118724
  return s = s.toString(), s[1] ? s : "0" + s;
118730
118725
  }
118731
- const dataList_vue_vue_type_style_index_0_scoped_e0a762ef_lang = "", _sfc_main$1u = {
118726
+ const dataList_vue_vue_type_style_index_0_scoped_372a6426_lang = "", _sfc_main$1u = {
118732
118727
  props: {
118733
118728
  record: {
118734
118729
  type: Object,
@@ -118757,7 +118752,7 @@ const dataList_vue_vue_type_style_index_0_scoped_e0a762ef_lang = "", _sfc_main$1
118757
118752
  watch: {
118758
118753
  record: {
118759
118754
  handler(s, t) {
118760
- t !== void 0 && this.getContext();
118755
+ t !== void 0 && s.type === "dataList" && this.getContext();
118761
118756
  },
118762
118757
  deep: !0,
118763
118758
  immediate: !0
@@ -118909,7 +118904,7 @@ var _sfc_render$1u = function s() {
118909
118904
  _sfc_staticRenderFns$1u,
118910
118905
  !1,
118911
118906
  null,
118912
- "e0a762ef",
118907
+ "372a6426",
118913
118908
  null,
118914
118909
  null
118915
118910
  );
@@ -122090,7 +122085,7 @@ var _sfc_render$18 = function s() {
122090
122085
  null,
122091
122086
  null
122092
122087
  );
122093
- const propertiesDetail = __component__$18.exports, propertiesBtn_vue_vue_type_style_index_0_scoped_8c758189_lang = "", _sfc_main$17 = {
122088
+ const propertiesDetail = __component__$18.exports, propertiesBtn_vue_vue_type_style_index_0_scoped_93578801_lang = "", _sfc_main$17 = {
122094
122089
  props: {
122095
122090
  selectItem: {
122096
122091
  type: Object,
@@ -122102,11 +122097,28 @@ const propertiesDetail = __component__$18.exports, propertiesBtn_vue_vue_type_st
122102
122097
  }
122103
122098
  },
122104
122099
  data() {
122105
- return {
122106
- btnList: []
122107
- };
122100
+ return {};
122108
122101
  },
122109
122102
  computed: {
122103
+ styleList() {
122104
+ return [
122105
+ { name: "\u9ED8\u8BA4", code: "none", transKey: "gd.page.btnPrimary" },
122106
+ { name: "\u8DDF\u968F", code: "primary", transKey: "gd.page.btnPrimary" },
122107
+ { name: "\u6210\u529F", code: "success ", transKey: "gd.page.btnSuccess " },
122108
+ { name: "\u8B66\u544A", code: "warning ", transKey: "gd.page.btnWarning " },
122109
+ { name: "\u5371\u9669", code: "danger ", transKey: "gd.page.btnDanger " },
122110
+ { name: "\u4FE1\u606F", code: "info", transKey: "gd.page.btnInfo" }
122111
+ ];
122112
+ },
122113
+ functionList() {
122114
+ return [
122115
+ { name: "\u65B0\u589E", code: "sysBaseAdd", transKey: "gd.btn.add", type: "form" },
122116
+ { name: "\u67E5\u8BE2", code: "sysBaseQuery", transKey: "gd.btn.query", type: "view" }
122117
+ ];
122118
+ },
122119
+ btnDisabled() {
122120
+ return !!(this.selectItem.btnList && this.selectItem.btnList.length > 1);
122121
+ },
122110
122122
  options() {
122111
122123
  return this.selectItem.options;
122112
122124
  },
@@ -122116,36 +122128,79 @@ const propertiesDetail = __component__$18.exports, propertiesBtn_vue_vue_type_st
122116
122128
  dialogTree() {
122117
122129
  return JSON.parse(JSON.stringify(this.outlineTreeData.dialogTree));
122118
122130
  },
122119
- ...mapGetters(["primaryColor"])
122131
+ ...mapGetters(["primaryColor", "tableLists"])
122120
122132
  },
122121
122133
  components: {
122122
122134
  draggable,
122123
122135
  iconSelector: GDpackage$Q
122124
122136
  },
122125
122137
  methods: {
122138
+ changeSysMethod(s, t) {
122139
+ const a = this.tableLists.filter((r) => r.tablename === s)[0];
122140
+ sysViewList$1({ sysCodeGenId: a.id }).then((r) => {
122141
+ if (r.code === 200) {
122142
+ let o = [];
122143
+ r.data.forEach((l) => {
122144
+ o.push({
122145
+ id: l.id,
122146
+ name: l.name,
122147
+ transkey: l.transkey
122148
+ });
122149
+ }), t.viewList = o;
122150
+ }
122151
+ }), sysFormList({ sysCodeGenId: a.id }).then((r) => {
122152
+ if (r.code === 200) {
122153
+ let o = [];
122154
+ r.data.forEach((l) => {
122155
+ o.push({
122156
+ id: l.id,
122157
+ displayname: l.displayname,
122158
+ transkey: l.transkey
122159
+ });
122160
+ }), t.formList = o;
122161
+ }
122162
+ });
122163
+ },
122164
+ changeTableComponents(s, t) {
122165
+ const a = t.viewList.filter((o) => o.id == s)[0], r = t.formList.filter((o) => o.id == s)[0];
122166
+ if (a) {
122167
+ t.tableComponentsType = "view", t.sysFunctionName = "sysBaseQuery";
122168
+ return;
122169
+ }
122170
+ r && (t.tableComponentsType = "form", t.sysFunctionName = "sysBaseAdd");
122171
+ },
122126
122172
  addBtn() {
122127
122173
  const s = {
122128
- displayName: "\u6309\u94AE",
122174
+ id: uuid$1(12),
122175
+ displayName: "\u6309\u94AE" + (this.selectItem.btnList.length + 1),
122176
+ sysFunctionName: "sysBaseAdd",
122177
+ componentFunctionName: "",
122129
122178
  functionName: "",
122130
122179
  transKey: null,
122131
122180
  icon: "",
122132
122181
  hide: !1,
122133
122182
  permissionsPage: "",
122134
- mode: "custom",
122135
- formKey: "",
122136
- formMode: "form",
122137
- childrenT: [],
122183
+ componentKey: "",
122184
+ formMode: "systemsMethod",
122185
+ btnstyle: "primary",
122186
+ children: [],
122138
122187
  btType: "none",
122139
122188
  sublevel: !1,
122140
- tip: ""
122189
+ tip: "",
122190
+ table: "",
122191
+ viewList: [],
122192
+ tableComponents: "",
122193
+ tableComponentsType: "view",
122194
+ fromList: [],
122195
+ fontSize: 12
122141
122196
  };
122142
- this.selectItem.columns = this.selectItem.columns.concat([s]);
122197
+ this.selectItem.btnList = this.selectItem.btnList.concat([s]);
122143
122198
  },
122144
122199
  delBtn(s) {
122145
- console.log(s), this.selectItem.columns = this.selectItem.columns.filter((t, a) => s !== a);
122200
+ this.selectItem.btnList = this.selectItem.btnList.filter((t, a) => s !== a);
122146
122201
  },
122147
122202
  clearBtn() {
122148
- this.selectItem.columns.length !== 0 && (this.btnList = [], this.selectItem.columns = []);
122203
+ this.selectItem.btnList.length !== 0 && (this.btnList = [], this.selectItem.btnList = []);
122149
122204
  },
122150
122205
  popoverClosed(s) {
122151
122206
  this.$refs[`popoverItem${s}`][0].doClose();
@@ -122156,40 +122211,30 @@ const propertiesDetail = __component__$18.exports, propertiesBtn_vue_vue_type_st
122156
122211
  addBtnChild(s) {
122157
122212
  let t = {
122158
122213
  value: "",
122159
- displayName: ""
122214
+ displayName: "",
122215
+ id: uuid$1(8)
122160
122216
  };
122161
- this.selectItem.columns.forEach((a, r) => {
122162
- if (a.childrenT.length == 10) {
122163
- this.$message.warning("\u6700\u591A\u53EA\u80FD\u6DFB\u52A010\u4E2A");
122164
- return;
122165
- }
122166
- s == r && a.childrenT.push([t]);
122217
+ this.selectItem.btnList[s].children.length !== 10 && this.selectItem.btnList.forEach((a, r) => {
122218
+ s === r && a.children.push([t]);
122167
122219
  });
122168
122220
  },
122169
122221
  delChild(s, t) {
122170
- this.selectItem.columns.filter((a, r) => {
122171
- if (t == r) {
122172
- if (a.childrenT.length == 1) {
122173
- this.$message.warning("\u81F3\u5C11\u4FDD\u75591\u4E2A");
122174
- return;
122175
- }
122176
- a.childrenT = a.childrenT.filter((o, l) => s !== l);
122177
- }
122222
+ this.selectItem.btnList.filter((a, r) => {
122223
+ t == r && (a.children = a.children.filter((o, l) => s !== l));
122178
122224
  });
122179
- },
122180
- sublevel(s) {
122181
- this.btnList = s == !0 ? this.btnList : [];
122182
122225
  }
122183
122226
  }
122184
122227
  };
122185
122228
  var _sfc_render$17 = function s() {
122186
122229
  var t = this, a = t._self._c;
122187
- return a("div", [t.selectItem.type == "btnGroup" ? a("el-form-item", { staticStyle: { "margin-bottom": "0 !important" }, attrs: { label: t.$i18nt("gd.page.buttonConfiguration", "\u6309\u94AE\u914D\u7F6E") } }, [a("div", { staticClass: "generator-items" }, [a("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: t.$i18nt("gd.page.rule", "\u89C4\u5219"), placement: "top" } }, [a("i", { staticClass: "el-icon-setting" })]), a("el-divider", { attrs: { direction: "vertical" } }), a("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: t.$i18nt("gd.page.empty", "\u6E05\u7A7A"), placement: "top" } }, [a("el-popconfirm", { attrs: { title: t.$i18nt("gd.page.emptyButton", "\u6E05\u7A7A\u6309\u94AE") }, on: { confirm: t.clearBtn } }, [a("i", { staticClass: "el-icon-delete", attrs: { slot: "reference" }, slot: "reference" })])], 1), a("el-divider", { attrs: { direction: "vertical" } }), a("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: t.$i18nt("gd.page.add", "\u65B0\u589E"), placement: "top" } }, [a("i", { staticClass: "el-icon-plus", on: { click: t.addBtn } })])], 1)]) : t._e(), a("div", { staticClass: "generator-kuang" }, [a("draggable", t._b({ model: { value: t.selectItem.columns, callback: function(r) {
122188
- t.$set(t.selectItem, "columns", r);
122189
- }, expression: "selectItem.columns" } }, "draggable", {
122230
+ return a("div", [a("el-form-item", { attrs: { label: t.$i18nt("gd.page.cuttingModed", "\u7C7B\u578B") } }, [a("el-radio-group", { model: { value: t.options.btnType, callback: function(r) {
122231
+ t.$set(t.options, "btnType", r);
122232
+ }, expression: "options.btnType" } }, [a("el-radio-button", { attrs: { label: "btn", disabled: t.btnDisabled } }, [t._v(t._s(t.$i18nt("gd.page.btndd", "\u6309\u94AE")))]), a("el-radio-button", { attrs: { label: "butGroup" } }, [t._v(t._s(t.$i18nt("gd.page.butGroupdd", "\u6309\u94AE\u7EC4")))])], 1)], 1), t.selectItem.type == "btnGroup" ? a("el-form-item", { staticStyle: { "margin-bottom": "0 !important" }, attrs: { label: t.$i18nt("gd.page.buttonConfiguration", "\u6309\u94AE\u914D\u7F6E") } }, [a("div", { staticClass: "generator-items" }, [t.selectItem.btnList.length > 0 ? [a("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: t.$i18nt("gd.page.empty", "\u6E05\u7A7A"), placement: "top" } }, [a("el-popconfirm", { attrs: { title: t.$i18nt("gd.page.emptyButton", "\u6E05\u7A7A\u6309\u94AE") }, on: { confirm: t.clearBtn } }, [a("i", { staticClass: "el-icon-delete", attrs: { slot: "reference" }, slot: "reference" })])], 1), a("el-divider", { attrs: { direction: "vertical" } })] : t._e(), t.options.btnType == "btn" && t.selectItem.btnList.length < 1 || t.options.btnType == "butGroup" ? a("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: t.$i18nt("gd.page.add", "\u65B0\u589E"), placement: "top" } }, [a("i", { staticClass: "el-icon-plus", on: { click: t.addBtn } })]) : t._e()], 2)]) : t._e(), a("div", { staticClass: "generator-kuang" }, [a("draggable", t._b({ model: { value: t.selectItem.btnList, callback: function(r) {
122233
+ t.$set(t.selectItem, "btnList", r);
122234
+ }, expression: "selectItem.btnList" } }, "draggable", {
122190
122235
  animation: 300,
122191
122236
  handle: ".drag-move"
122192
- }, !1), [t._l(t.selectItem.columns, function(r, o) {
122237
+ }, !1), [t._l(t.selectItem.btnList, function(r, o) {
122193
122238
  return [a("el-popover", { attrs: { placement: "left", trigger: "click" } }, [a("div", { staticClass: "generator-list", attrs: { slot: "reference" }, slot: "reference" }, [a("i", { staticClass: "el-icon-rank active-color drag-move" }), a("div", { staticClass: "sku" }, [r.icon !== "" ? a("i", { staticClass: "gd-icons", class: r.icon }) : t._e(), t._v(" " + t._s(t.$i18nt(`Dynamics.${r.transKey}`, r.displayName)) + " ")]), a("i", { staticClass: "el-icon-delete rdelete", on: { click: function(l) {
122194
122239
  return l.stopPropagation(), t.delBtn(o);
122195
122240
  } } })]), a("div", { staticClass: "generator-config" }, [a("div", { staticClass: "config-items" }, [a("div", { staticClass: "l" }, [t._v(t._s(t.$i18nt("gd.page.text", "\u6587\u672C")))]), a("div", { staticClass: "r" }, [a("el-input", { attrs: { placeholder: t.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165") }, model: { value: r.displayName, callback: function(l) {
@@ -122200,50 +122245,66 @@ var _sfc_render$17 = function s() {
122200
122245
  return t.popoverClosed(o);
122201
122246
  } }, model: { value: r.icon, callback: function(l) {
122202
122247
  t.$set(r, "icon", l);
122203
- }, expression: "item.icon" } })], 1)], 1)], 1)]), a("div", { staticClass: "config-items" }, [a("div", { staticClass: "l" }, [t._v(t._s(t.$i18nt("gd.page.executionFunction", "\u6267\u884C\u65B9\u6CD5")))]), a("div", { staticClass: "r" }, [a("el-input", { attrs: { disabled: r.mode === "sys", placeholder: t.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165") }, model: { value: r.functionName, callback: function(l) {
122204
- t.$set(r, "functionName", l);
122205
- }, expression: "item.functionName" } })], 1)]), r.mode === "custom" ? [a("div", { staticClass: "config-items" }, [a("div", { staticClass: "l" }, [t._v(t._s(t.$i18nt("gd.page.interactiveMode", "\u4EA4\u4E92\u65B9\u5F0F")))]), a("div", { staticClass: "r" }, [a("el-radio-group", { attrs: { size: "mini" }, model: { value: r.formMode, callback: function(l) {
122248
+ }, expression: "item.icon" } })], 1)], 1)], 1)]), a("div", { staticClass: "config-items" }, [a("div", { staticClass: "l ls" }, [t._v(t._s(t.$i18nt("gd.page.interactive", "\u4EA4\u4E92")))])]), a("div", { staticClass: "config-kuang" }, [a("div", { staticClass: "config-items" }, [a("div", { staticClass: "l" }, [t._v(t._s(t.$i18nt("gd.page.interactiveMode", "\u4EA4\u4E92\u65B9\u5F0F")))]), a("div", { staticClass: "r" }, [a("el-radio-group", { attrs: { size: "mini" }, model: { value: r.formMode, callback: function(l) {
122206
122249
  t.$set(r, "formMode", l);
122207
- }, expression: "item.formMode" } }, [a("el-radio-button", { attrs: { label: "form" } }, [t._v(t._s(t.$i18nt("gd.page.follow", "\u8DDF\u968F")))]), a("el-radio-button", { attrs: { label: "component" } }, [t._v(t._s(t.$i18nt("gd.page.custom", "\u81EA\u5B9A\u4E49")))])], 1)], 1)]), r.formMode === "component" ? [a("div", { staticClass: "config-items" }, [a("div", { staticClass: "l" }, [t._v(t._s(t.$i18nt("gd.page.interactiveComponent", "\u4EA4\u4E92\u7EC4\u4EF6")))]), a("div", { staticClass: "r" }, [a("el-select", { attrs: { placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), clearable: "" }, model: { value: t.options.formKey, callback: function(l) {
122208
- t.$set(t.options, "formKey", l);
122209
- }, expression: "options.formKey" } }, t._l(t.dialogTree, function(l, d) {
122250
+ }, expression: "item.formMode" } }, [a("el-radio-button", { attrs: { label: "systemsMethod" } }, [t._v(" " + t._s(t.$i18nt("gd.page.systemsMethod", "\u7CFB\u7EDF\u65B9\u6CD5")) + " ")]), a("el-radio-button", { attrs: { label: "componentMethod" } }, [t._v(" " + t._s(t.$i18nt("gd.page.componentMethod", "\u7EC4\u4EF6\u65B9\u6CD5")) + " ")])], 1)], 1)]), r.formMode === "systemsMethod" ? [a("div", { staticClass: "config-items" }, [a("div", { staticClass: "l" }, [t._v(t._s(t.$i18nt("gd.form.associationTable", "\u5173\u8054\u8868")))]), a("div", { staticClass: "r" }, [a("el-select", { staticStyle: { width: "100%" }, attrs: { placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), filterable: "" }, on: { change: (l) => t.changeSysMethod(l, r) }, model: { value: r.table, callback: function(l) {
122251
+ t.$set(r, "table", l);
122252
+ }, expression: "item.table" } }, t._l(t.tableLists, function(l) {
122253
+ return a("el-option", { key: l.tablename, attrs: { label: t.$i18nt(`Dynamics.${l.transkey}`, l.busname), value: l.tablename } }, [a("span", [t._v(t._s(t.$i18nt(`Dynamics.${l.transkey}`, l.busname)) + " " + t._s(l.tablename))])]);
122254
+ }), 1)], 1)]), a("div", { staticClass: "config-items" }, [a("div", { staticClass: "l" }, [t._v(t._s(t.$i18nt("gd.form.associatedComponents", "\u5173\u8054\u7EC4\u4EF6")))]), a("div", { staticClass: "r" }, [a("el-select", { staticStyle: { width: "100%" }, attrs: { placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), filterable: "" }, on: { change: (l) => t.changeTableComponents(l, r) }, model: { value: r.tableComponents, callback: function(l) {
122255
+ t.$set(r, "tableComponents", l);
122256
+ }, expression: "item.tableComponents" } }, [t._l(r.viewList, function(l) {
122257
+ return [a("el-option", { attrs: { label: t.$i18nt(`Dynamics.${l.transkey}`, l.name), value: l.id } }, [a("span", [a("span", { staticClass: "gd-icons gd-icon-shitumoshi" }), t._v(" " + t._s(t.$i18nt(`Dynamics.${l.transkey}`, l.name)) + " ")])])];
122258
+ }), t._l(r.formList, function(l) {
122259
+ return [a("el-option", { attrs: { label: t.$i18nt(`Dynamics.${l.transkey}`, l.displayname), value: l.id } }, [a("span", [a("span", { staticClass: "gd-icons gd-icon-biaodanmoshi" }), t._v(" " + t._s(t.$i18nt(`Dynamics.${l.transkey}`, l.displayname)) + " ")])])];
122260
+ })], 2)], 1)]), r.tableComponents ? a("div", { staticClass: "config-items" }, [a("div", { staticClass: "l" }, [t._v(t._s(t.$i18nt("gd.page.interactiveMethod", "\u4EA4\u4E92\u65B9\u6CD5")))]), a("div", { staticClass: "r" }, [a("el-select", { staticStyle: { width: "100%" }, attrs: { placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9") }, model: { value: r.sysFunctionName, callback: function(l) {
122261
+ t.$set(r, "sysFunctionName", l);
122262
+ }, expression: "item.sysFunctionName" } }, [t._l(t.functionList, function(l) {
122263
+ return [r.tableComponentsType === l.type ? a("el-option", { attrs: { label: t.$i18nt(l.transKey, l.name), value: l.code } }) : t._e()];
122264
+ })], 2)], 1)]) : t._e()] : t._e(), r.formMode === "componentMethod" ? [a("div", { staticClass: "config-items" }, [a("div", { staticClass: "l" }, [t._v(t._s(t.$i18nt("gd.page.interactiveComponent", "\u4EA4\u4E92\u7EC4\u4EF6")))]), a("div", { staticClass: "r" }, [a("el-select", { staticStyle: { width: "100%" }, attrs: { placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), clearable: "" }, model: { value: r.componentKey, callback: function(l) {
122265
+ t.$set(r, "componentKey", l);
122266
+ }, expression: "item.componentKey" } }, t._l(t.dialogTree, function(l, d) {
122210
122267
  return a("el-option", { key: l.key, attrs: { label: l.key, value: l.key } }, [a("i", { staticClass: "gd-icons", class: l.icon, staticStyle: { "margin-right": "4px" } }), a("span", [t._v(t._s(l.key))])]);
122211
122268
  }), 1)], 1)]), a("div", { staticClass: "config-items" }, [a("div", { staticClass: "l" }, [t._v(t._s(t.$i18nt("gd.page.interactiveMethod", "\u4EA4\u4E92\u65B9\u6CD5")))]), a("div", { staticClass: "r" }, [a("el-input", { attrs: { placeholder: t.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165") }, model: { value: r.functionName, callback: function(l) {
122212
122269
  t.$set(r, "functionName", l);
122213
- }, expression: "item.functionName" } })], 1)])] : t._e()] : t._e(), a("div", { staticClass: "config-items" }, [a("div", { staticClass: "l" }, [t._v(t._s(t.$i18nt("gd.page.hide", "\u9690\u85CF")))]), a("div", { staticClass: "r" }, [a("el-switch", { attrs: { "active-value": !0, "inactive-value": !1, "active-color": t.primaryColor }, model: { value: r.hide, callback: function(l) {
122270
+ }, expression: "item.functionName" } })], 1)])] : t._e()], 2), a("div", { staticClass: "config-items" }, [a("div", { staticClass: "l" }, [t._v(t._s(t.$i18nt("gd.page.style", "\u98CE\u683C")))]), a("div", { staticClass: "r" }, [a("el-select", { staticStyle: { width: "100%" }, attrs: { placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), clearable: "" }, model: { value: r.btnstyle, callback: function(l) {
122271
+ t.$set(r, "btnstyle", l);
122272
+ }, expression: "item.btnstyle" } }, [t._l(t.styleList, function(l, d) {
122273
+ return [a("el-option", { attrs: { label: t.$i18nt(l.transKey, l.name), value: l.code } })];
122274
+ })], 2)], 1)]), a("div", { staticClass: "config-items" }, [a("div", { staticClass: "l" }, [t._v(t._s(t.$i18nt("gd.page.hide", "\u9690\u85CF")))]), a("div", { staticClass: "r" }, [a("el-switch", { attrs: { "active-value": !0, "inactive-value": !1, "active-color": t.primaryColor }, model: { value: r.hide, callback: function(l) {
122214
122275
  t.$set(r, "hide", l);
122215
122276
  }, expression: "item.hide" } })], 1)]), a("div", { staticClass: "config-items" }, [a("div", { staticClass: "l" }, [t._v(t._s(t.$i18nt("gd.page.pagePermissions", "\u9875\u9762\u6743\u9650")))]), a("div", { staticClass: "r" }, [a("el-input", { attrs: { placeholder: t.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165") }, model: { value: r.permissionsPage, callback: function(l) {
122216
122277
  t.$set(r, "permissionsPage", l);
122217
- }, expression: "item.permissionsPage" } })], 1)]), a("div", { staticClass: "config-items" }, [a("div", { staticClass: "l" }, [t._v(t._s(t.$i18nt("gd.page.openSubbutton", "\u5F00\u542F\u5B50\u6309\u94AE")))]), a("div", { staticClass: "r" }, [a("el-switch", { attrs: { "active-value": !0, "inactive-value": !1, "active-color": t.primaryColor }, on: { click: function(l) {
122218
- return t.sublevel(r.sublevel);
122219
- } }, model: { value: r.sublevel, callback: function(l) {
122278
+ }, expression: "item.permissionsPage" } })], 1)]), a("div", { staticClass: "config-items" }, [a("div", { staticClass: "l" }, [t._v(t._s(t.$i18nt("gd.page.openSubbutton", "\u5F00\u542F\u5B50\u6309\u94AE")))]), a("div", { staticClass: "r" }, [a("el-switch", { attrs: { "active-value": !0, "inactive-value": !1, "active-color": t.primaryColor }, model: { value: r.sublevel, callback: function(l) {
122220
122279
  t.$set(r, "sublevel", l);
122221
- }, expression: "item.sublevel" } })], 1)]), r.sublevel == !0 ? a("div", { staticClass: "child-item" }, [a("div", { staticClass: "l" }, [t._v(t._s(t.$i18nt("gd.page.subbutton", "\u5B50\u6309\u94AE")))]), a("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: t.$i18nt("gd.page.addition", "\u6DFB\u52A0"), placement: "top-start" } }, [a("i", { staticClass: "el-icon-plus", on: { click: function(l) {
122280
+ }, expression: "item.sublevel" } })], 1)]), r.sublevel ? a("div", { staticClass: "child-item" }, [a("div", { staticClass: "l ls" }, [t._v(t._s(t.$i18nt("gd.page.subbutton", "\u5B50\u6309\u94AE")))]), a("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: t.$i18nt("gd.page.addition", "\u6DFB\u52A0"), placement: "top-start" } }, [a("i", { staticClass: "el-icon-plus", on: { click: function(l) {
122222
122281
  return t.addBtnChild(o);
122223
- } } })])], 1) : t._e(), r.sublevel == !0 ? a("div", { staticClass: "overall-items" }, [a("div", { staticClass: "config-items", staticStyle: { "margin-left": "24px" } }, [a("span", { staticClass: "l" }, [t._v(t._s(t.$i18nt("gd.page.subbutton", "key\u503C")) + "\uFF1A")]), a("span", { staticClass: "l" }, [t._v(t._s(t.$i18nt("gd.page.name", "\u540D\u79F0")) + "\uFF1A")])]), r.childrenT.length > 0 ? a("div", { staticClass: "container-list" }, [a("draggable", t._b({ model: { value: r.childrenT, callback: function(l) {
122224
- t.$set(r, "childrenT", l);
122225
- }, expression: "item.childrenT" } }, "draggable", {
122282
+ } } })])], 1) : t._e(), r.sublevel ? a("div", { staticClass: "overall-items" }, [a("div", { staticClass: "config-items", staticStyle: { "margin-left": "24px" } }, [a("span", { staticClass: "l" }, [t._v("key")]), a("span", { staticClass: "l" }, [t._v(t._s(t.$i18nt("gd.page.name", "\u540D\u79F0")))])]), r.children && r.children.length > 0 ? a("div", { staticClass: "container-list" }, [a("draggable", t._b({ model: { value: r.children, callback: function(l) {
122283
+ t.$set(r, "children", l);
122284
+ }, expression: "item.children" } }, "draggable", {
122226
122285
  animation: 300,
122227
122286
  handle: ".drag-child"
122228
- }, !1), [t._l(r.childrenT, function(l, d) {
122229
- return [a("div", { staticClass: "config-items" }, [a("i", { staticClass: "el-icon-rank active-color drag-child" }), a("div", { staticClass: "l", staticStyle: { "margin-left": "10px" } }, [a("el-input", { staticStyle: { width: "90%", margin: "0 7px 0 0px" }, attrs: { placeholder: t.$i18nt("gd.placeholder.inputKey", "\u8BF7\u8F93\u5165key") }, model: { value: l.value, callback: function(u) {
122287
+ }, !1), [t._l(r.children, function(l, d) {
122288
+ return [a("div", { staticClass: "config-items" }, [a("i", { staticClass: "el-icon-rank active-color drag-child" }), a("div", { staticClass: "l", staticStyle: { "margin-left": "10px" } }, [a("el-input", { staticStyle: { width: "90%", margin: "0 7px 0 0px" }, attrs: { placeholder: t.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165") }, model: { value: l.value, callback: function(u) {
122230
122289
  t.$set(l, "value", u);
122231
122290
  }, expression: "ite.value" } })], 1), a("div", { staticClass: "r" }, [a("el-input", { staticStyle: { width: "85%", margin: "0 7px 0 0px" }, attrs: { placeholder: t.$i18nt("gd.placeholder.inputName", "\u8BF7\u8F93\u5165\u540D\u79F0") }, model: { value: l.displayName, callback: function(u) {
122232
122291
  t.$set(l, "displayName", u);
122233
122292
  }, expression: "ite.displayName" } }), a("i", { staticClass: "el-icon-delete rdelete", on: { click: function(u) {
122234
122293
  return t.delChild(d, o);
122235
122294
  } } })], 1)])];
122236
- })], 2)], 1) : t._e()]) : t._e()], 2)])];
122237
- }), t.selectItem.columns.length === 0 ? a("div", { staticClass: "empty-title" }, [t._v(t._s(t.$i18nt("el.select.noData", "\u6682\u65E0\u6570\u636E")) + " ")]) : t._e()], 2)], 1), a("el-form-item", { staticStyle: { "margin-bottom": "0 !important" }, attrs: { label: t.$i18nt("gd.page.maximumDisplayNumber", "\u6700\u591A\u663E\u793A\u4E2A\u6570") } }, [a("el-input-number", { staticStyle: { width: "100%" }, attrs: { "controls-position": "right", min: 1, max: 20 }, model: { value: t.options.limit, callback: function(r) {
122295
+ })], 2)], 1) : t._e()]) : t._e(), a("div", { staticClass: "config-items" }, [a("div", { staticClass: "l" }, [t._v(t._s(t.$i18nt("gd.page.fontSize", "\u5B57\u4F53\u5927\u5C0F")))]), a("div", { staticClass: "r" }, [a("el-input", { model: { value: r.fontSize, callback: function(l) {
122296
+ t.$set(r, "fontSize", l);
122297
+ }, expression: "item.fontSize" } }, [a("template", { slot: "append" }, [t._v("px")])], 2)], 1)])])])];
122298
+ }), t.selectItem.btnList.length === 0 ? a("div", { staticClass: "empty-title" }, [t._v(t._s(t.$i18nt("el.select.noData", "\u6682\u65E0\u6570\u636E")))]) : t._e()], 2)], 1), a("el-form-item", { staticStyle: { "margin-bottom": "0 !important" }, attrs: { label: t.$i18nt("gd.page.maximumDisplayNumber", "\u6700\u591A\u663E\u793A\u4E2A\u6570") } }, [a("el-input-number", { staticStyle: { width: "100%" }, attrs: { "controls-position": "right", min: 1, max: 20 }, model: { value: t.options.limit, callback: function(r) {
122238
122299
  t.$set(t.options, "limit", r);
122239
- }, expression: "options.limit" } })], 1)], 1);
122300
+ }, expression: "options.limit" } })], 1), a("div", { staticClass: "gd-btn-divider" }, [a("el-divider")], 1)], 1);
122240
122301
  }, _sfc_staticRenderFns$17 = [], __component__$17 = /* @__PURE__ */ normalizeComponent(
122241
122302
  _sfc_main$17,
122242
122303
  _sfc_render$17,
122243
122304
  _sfc_staticRenderFns$17,
122244
122305
  !1,
122245
122306
  null,
122246
- "8c758189",
122307
+ "93578801",
122247
122308
  null,
122248
122309
  null
122249
122310
  );
@@ -122917,7 +122978,7 @@ var _sfc_render$13 = function s() {
122917
122978
  null,
122918
122979
  null
122919
122980
  );
122920
- const propertiesTress = __component__$13.exports, properties_vue_vue_type_style_index_0_scoped_5949ba54_lang = "", _sfc_main$12 = {
122981
+ const propertiesTress = __component__$13.exports, properties_vue_vue_type_style_index_0_scoped_b1a052f9_lang = "", _sfc_main$12 = {
122921
122982
  props: {
122922
122983
  selectItem: {
122923
122984
  type: Object,
@@ -123331,7 +123392,7 @@ var _sfc_render$12 = function s() {
123331
123392
  t.$set(t.selectItem, "rules", r);
123332
123393
  }, expression: "selectItem.rules" } }) : t._e()] : t._e(), t.isFormItem && t.getTypeof("help", "selectItem") ? a("el-form-item", { attrs: { label: t.$i18nt("gd.page.labelHelp", "\u6807\u7B7E\u5E2E\u52A9\u4FE1\u606F") } }, [a("el-input", { attrs: { placeholder: t.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165") }, model: { value: t.selectItem.help, callback: function(r) {
123333
123394
  t.$set(t.selectItem, "help", r);
123334
- }, expression: "selectItem.help" } })], 1) : t._e(), t.selectItem.type == "btnGroup" ? a("propertiesBtn", { key: t.selectItem.key, attrs: { selectItem: t.selectItem, outlineTreeData: t.outlineTreeData } }) : t._e(), t.getTypeof("gutter") ? a("el-form-item", { attrs: { label: t.$i18nt("gd.page.gridSpacing", "\u6805\u683C\u95F4\u9694") } }, [a("el-input-number", { staticStyle: { width: "100%" }, attrs: { "controls-position": "right", min: 0 }, model: { value: t.options.gutter, callback: function(r) {
123395
+ }, expression: "selectItem.help" } })], 1) : t._e(), t.getTypeof("gutter") ? a("el-form-item", { attrs: { label: t.$i18nt("gd.page.gridSpacing", "\u6805\u683C\u95F4\u9694") } }, [a("el-input-number", { staticStyle: { width: "100%" }, attrs: { "controls-position": "right", min: 0 }, model: { value: t.options.gutter, callback: function(r) {
123335
123396
  t.$set(t.options, "gutter", r);
123336
123397
  }, expression: "options.gutter" } })], 1) : t._e(), t.selectItem.type == "grid" ? [a("el-divider"), a("el-form-item", { staticStyle: { "margin-bottom": "0 !important" }, attrs: { label: t.$i18nt("gd.page.listAttribute", "\u5217\u8868\u5C5E\u6027") } }), a("properitesCol", { attrs: { selectItem: t.selectItem, data: t.data, table: t.table, tableName: t.tableName, type: "grid" }, model: { value: t.selectItem.columns, callback: function(r) {
123337
123398
  t.$set(t.selectItem, "columns", r);
@@ -123403,7 +123464,7 @@ var _sfc_render$12 = function s() {
123403
123464
  t.$set(t.options, "autoplay", r);
123404
123465
  }, 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) {
123405
123466
  t.$set(t.options, "loop", 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) {
123467
+ }, expression: "options.loop" } }) : t._e()], 1) : t._e(), t.selectItem.type == "btnGroup" ? a("propertiesBtn", { key: t.selectItem.key, attrs: { selectItem: t.selectItem, outlineTreeData: t.outlineTreeData } }) : t._e(), t.selectItem.type == "banner" ? a("carouselMap", { attrs: { selectItem: t.selectItem } }) : t._e(), t.selectItem.type == "dataList" ? a("propertiesList", { attrs: { selectItem: t.selectItem } }) : t._e(), a("propertiesCss", { attrs: { selectItem: t.selectItem } })], 2), a("iconSelector", { ref: "iconSelector", model: { value: t.options.icon, callback: function(r) {
123407
123468
  t.$set(t.options, "icon", r);
123408
123469
  }, expression: "options.icon" } })], 1)]], 2);
123409
123470
  }, _sfc_staticRenderFns$12 = [], __component__$12 = /* @__PURE__ */ normalizeComponent(
@@ -123412,7 +123473,7 @@ var _sfc_render$12 = function s() {
123412
123473
  _sfc_staticRenderFns$12,
123413
123474
  !1,
123414
123475
  null,
123415
- "5949ba54",
123476
+ "b1a052f9",
123416
123477
  null,
123417
123478
  null
123418
123479
  );
@@ -136472,7 +136533,7 @@ var _sfc_render$n = function s() {
136472
136533
  null,
136473
136534
  null
136474
136535
  );
136475
- const ProcessFlow = __component__$n.exports, main_vue_vue_type_style_index_0_scoped_a65a10df_lang = "", _sfc_main$m = {
136536
+ const ProcessFlow = __component__$n.exports, main_vue_vue_type_style_index_0_scoped_885f5ae4_lang = "", _sfc_main$m = {
136476
136537
  name: "GdFormBuild",
136477
136538
  props: {
136478
136539
  modeType: {
@@ -137390,16 +137451,19 @@ const ProcessFlow = __component__$n.exports, main_vue_vue_type_style_index_0_sco
137390
137451
  },
137391
137452
  baseSetData(s, t = !0) {
137392
137453
  const a = this.baseFormatterData(s);
137393
- if (this.baseHandlefkData(a), Object.assign(this.parameterData, a), t)
137454
+ if (this.baseHandlefkData(a, s), Object.assign(this.parameterData, a), t)
137394
137455
  for (let r of Object.keys(a)) {
137395
137456
  const o = this.allField.filter((l) => l.options.columnName === r)[0];
137396
137457
  o && (this.baseUsageFieldRules(o), this.fkNotice(o, !0));
137397
137458
  }
137398
137459
  },
137399
- baseHandlefkData(s) {
137400
- for (let t in s) {
137401
- const a = this.allField.filter((o) => o.options.columnName === t)[0], r = this.fieldData.filter((o) => o.columnname === t)[0];
137402
- a && ["fk", "user", "about"].includes(r.effecttype) && a.searchDataId && a.searchDataId(s[t]);
137460
+ baseHandlefkData(s, t) {
137461
+ for (let a in s) {
137462
+ const r = this.allField.filter((l) => l.options.columnName === a)[0], o = this.fieldData.filter((l) => l.columnname === a)[0];
137463
+ if (r && ["fk", "user", "about"].includes(o.effecttype)) {
137464
+ const l = o.relations + "_abouttable", d = o.effecttype === "about" && t[l] ? t[l] : "";
137465
+ r.searchDataId && r.searchDataId(s[a], d);
137466
+ }
137403
137467
  }
137404
137468
  },
137405
137469
  baseChange(s, t = 1) {
@@ -137552,7 +137616,7 @@ var _sfc_render$m = function s() {
137552
137616
  _sfc_staticRenderFns$m,
137553
137617
  !1,
137554
137618
  null,
137555
- "a65a10df",
137619
+ "885f5ae4",
137556
137620
  null,
137557
137621
  null
137558
137622
  );