gds-plus-design-vue 1.1.35 → 1.1.36

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.cc2d8da0.mjs"),
633
+ component: () => import("./main.d23ad4e2.mjs"),
634
634
  meta: {
635
635
  title: "\u767B\u5F55",
636
636
  transKey: "gd.login.title"
@@ -33184,7 +33184,7 @@ var _sfc_render$4N = function() {
33184
33184
  null,
33185
33185
  null
33186
33186
  );
33187
- const GDpackage$K = __component__$4N.exports, main_vue_vue_type_style_index_0_scoped_c0edf1f4_lang = "", _sfc_main$4M = {
33187
+ const GDpackage$K = __component__$4N.exports, main_vue_vue_type_style_index_0_scoped_26b2faa5_lang = "", _sfc_main$4M = {
33188
33188
  name: "GdMiddleware",
33189
33189
  data() {
33190
33190
  return {
@@ -33204,6 +33204,20 @@ const GDpackage$K = __component__$4N.exports, main_vue_vue_type_style_index_0_sc
33204
33204
  }
33205
33205
  },
33206
33206
  methods: {
33207
+ invokeFun({ ref: s = "editForm", functionName: t, data: a }) {
33208
+ return new Promise((r, o) => {
33209
+ this.$nextTick(() => {
33210
+ setTimeout(() => {
33211
+ const l = this.$refs[l];
33212
+ if (!l) {
33213
+ r({ code: 404, message: "\u672A\u627E\u5230\u5BF9\u5E94\u5143\u7D20" });
33214
+ return;
33215
+ }
33216
+ t && l[t] ? (l[t](a), r({ code: 200 })) : r({ code: 404, message: "\u672A\u627E\u5230\u65B9\u6CD5" });
33217
+ }, 20);
33218
+ });
33219
+ });
33220
+ },
33207
33221
  initAdd(s) {
33208
33222
  let t = this;
33209
33223
  return this.tableId = s.tableId, this.isRelevance = s.isRelevance ? s.isRelevance : !1, new Promise((a, r) => {
@@ -33215,8 +33229,10 @@ const GDpackage$K = __component__$4N.exports, main_vue_vue_type_style_index_0_sc
33215
33229
  t.$nextTick(() => {
33216
33230
  setTimeout(() => {
33217
33231
  t.openForm(l);
33218
- }, 0);
33219
- }), a(o);
33232
+ }, 0), setTimeout(() => {
33233
+ a({ res: o, invokeFun: this.invokeFun });
33234
+ }, 20);
33235
+ });
33220
33236
  });
33221
33237
  });
33222
33238
  },
@@ -33300,7 +33316,7 @@ var _sfc_render$4M = function() {
33300
33316
  _sfc_staticRenderFns$4M,
33301
33317
  !1,
33302
33318
  null,
33303
- "c0edf1f4",
33319
+ "26b2faa5",
33304
33320
  null,
33305
33321
  null
33306
33322
  );
@@ -111290,7 +111306,11 @@ const operationMenus = __component__$2g.exports, abilityItems = [{
111290
111306
  icon: "gd-icon-riqi",
111291
111307
  transKey: "gd.functionalcomponents.currentTime",
111292
111308
  options: {
111293
- format: "YYYY-MM-DD"
111309
+ format: "2",
111310
+ flexWidth: 100,
111311
+ flexUnit: "%",
111312
+ timer: !1,
111313
+ columnContextName: []
111294
111314
  },
111295
111315
  css: {
111296
111316
  bjColor: "#fff",
@@ -111298,8 +111318,12 @@ const operationMenus = __component__$2g.exports, abilityItems = [{
111298
111318
  color: "#333",
111299
111319
  align: "left",
111300
111320
  padding: [0, 0, 0, 0],
111301
- margin: [0, 0, 0, 0]
111321
+ margin: [0, 0, 0, 0],
111322
+ radius: [0, 0, 0, 0],
111323
+ lineHeight: 18,
111324
+ fontWeight: "normal"
111302
111325
  },
111326
+ fieldContext: [],
111303
111327
  customCss: "",
111304
111328
  customClass: "",
111305
111329
  defined: {
@@ -111504,11 +111528,15 @@ const operationMenus = __component__$2g.exports, abilityItems = [{
111504
111528
  color: "",
111505
111529
  size: "small",
111506
111530
  effect: "light",
111507
- columnContextName: []
111531
+ flexWidth: 100,
111532
+ flexUnit: "%",
111533
+ columnContextName: [],
111534
+ dictTypeCode: ""
111508
111535
  },
111509
111536
  css: {
111510
111537
  padding: [0, 0, 0, 0],
111511
111538
  margin: [0, 0, 0, 0],
111539
+ radius: [0, 0, 0, 0],
111512
111540
  align: "left"
111513
111541
  },
111514
111542
  fieldContext: [],
@@ -114744,43 +114772,100 @@ var _sfc_render$1$ = function s() {
114744
114772
  null,
114745
114773
  null
114746
114774
  );
114747
- const fonticon = __component__$1$.exports, tag_vue_vue_type_style_index_0_scoped_f9f124d2_lang = "", _sfc_main$1_ = {
114775
+ const fonticon = __component__$1$.exports, tag_vue_vue_type_style_index_0_scoped_59ce430e_lang = "", _sfc_main$1_ = {
114748
114776
  props: {
114749
114777
  record: {
114750
114778
  type: Object,
114751
114779
  required: !0
114780
+ },
114781
+ develop: {
114782
+ type: [Number, String],
114783
+ default: 1
114784
+ },
114785
+ itemData: {
114786
+ type: Object,
114787
+ default: () => ({})
114788
+ },
114789
+ fieldContext: {
114790
+ type: Array,
114791
+ default: () => []
114792
+ },
114793
+ foreignContext: {
114794
+ type: Array,
114795
+ default: () => []
114752
114796
  }
114753
114797
  },
114754
114798
  data() {
114755
114799
  return {};
114756
114800
  },
114801
+ watch: {
114802
+ fieldContext: {
114803
+ handler(s) {
114804
+ this.fieldContext.length > 0 && (this.record.fieldContext = this.fieldContext);
114805
+ },
114806
+ deep: !0,
114807
+ immediate: !0
114808
+ }
114809
+ },
114757
114810
  computed: {
114811
+ gclass() {
114812
+ return this.develop == 1 ? "" : this.record.customClass ? `gd-tag ${this.record.customClass}` : "gd-tag";
114813
+ },
114814
+ columnData() {
114815
+ const s = this.itemData[this.columnName];
114816
+ let t = [];
114817
+ s && (t = String(s).split(","));
114818
+ let a = [];
114819
+ return t.forEach((r) => {
114820
+ const o = this.getDict.filter((l) => l.code == r)[0];
114821
+ o ? a.push({
114822
+ name: o.name,
114823
+ code: o.code,
114824
+ transKey: o.transkey,
114825
+ colour: o.colour ? o.colour : null
114826
+ }) : a.push({ name: r, code: r, transKey: r, colour: null, style: "" });
114827
+ }), a;
114828
+ },
114829
+ getDict() {
114830
+ return this.getDictionary(this.options.dictTypeCode);
114831
+ },
114832
+ columnName() {
114833
+ const s = this.options.columnContextName ? this.options.columnContextName : [];
114834
+ return s[s.length - 1];
114835
+ },
114758
114836
  options() {
114759
114837
  return this.record.options;
114760
114838
  },
114761
114839
  style() {
114762
- let s = this.record.css, t = [], a = [];
114763
- s.padding && s.padding.forEach((l) => {
114764
- t.push(l + "px");
114765
- }), s.margin && s.margin.forEach((l) => {
114766
- a.push(l + "px");
114767
- });
114768
- let r = `padding:${t.join(" ")}`, o = `margin:${a.join(" ")}`;
114769
- return `${r};${o};text-align:${s.align};`;
114840
+ const s = this.record.customCss ? this.record.customCss : "";
114841
+ return `${getCss(this.options)}${getCss(this.record.css)}${s}`;
114842
+ },
114843
+ stylec() {
114844
+ return `margin: 0 4px;${this.options.effect === "dark" ? "color: #fff;border-color: transparent;" : this.options.effect === "light" ? `color:${this.options.color ? this.options.color : this.primaryColor};` : ""}`;
114845
+ },
114846
+ ...mapGetters(["primaryColor"])
114847
+ },
114848
+ methods: {
114849
+ getDictionary(s) {
114850
+ return this.$options.filters.dictData(s);
114770
114851
  }
114771
114852
  },
114772
- methods: {}
114853
+ mounted() {
114854
+ this.fieldContext.length > 0 && (this.record.fieldContext = this.fieldContext);
114855
+ }
114773
114856
  };
114774
114857
  var _sfc_render$1_ = function s() {
114775
114858
  var t = this, a = t._self._c;
114776
- return a("div", { style: t.style }, [a("div", [a("el-tag", { attrs: { effect: t.options.effect, color: t.options.color, size: t.options.size } }, [t._v(" " + t._s(t.$i18nt(`Dynamics.${t.options.transKey}`, t.options.title)) + " ")])], 1)]);
114859
+ return a("div", { class: t.gclass, style: t.style }, [t.develop == 1 ? a("el-tag", { class: `gd-tag-${t.options.effect}`, style: t.stylec, attrs: { effect: t.options.effect, color: t.options.color, size: t.options.size } }, [t._v(" " + t._s(t.$i18nt(`Dynamics.${t.options.transKey}`, t.options.title)) + " ")]) : [t.columnName ? [t._l(t.columnData, function(r) {
114860
+ return [r.colour ? a("el-tag", { class: `gd-tag-${t.options.effect} gd-tag-${t.record.css.align}`, style: t.stylec, attrs: { effect: t.options.effect, color: t.options.effect == "dark" ? r.colour : "", size: t.options.size } }, [t._v(" " + t._s(t.$i18nt(`Dynamics.${r.transKey}`, r.name)) + " ")]) : a("span", { staticStyle: { margin: "0 4px" } }, [t._v(t._s(t.$i18nt(`Dynamics.${r.transKey}`, r.name)))])];
114861
+ })] : a("el-tag", { class: `gd-tag-${t.options.effect}`, style: t.stylec, attrs: { effect: t.options.effect, color: t.options.color, size: t.options.size } }, [t._v(" " + t._s(t.$i18nt(`Dynamics.${t.options.transKey}`, t.options.title)) + " ")])]], 2);
114777
114862
  }, _sfc_staticRenderFns$1_ = [], __component__$1_ = /* @__PURE__ */ normalizeComponent(
114778
114863
  _sfc_main$1_,
114779
114864
  _sfc_render$1_,
114780
114865
  _sfc_staticRenderFns$1_,
114781
114866
  !1,
114782
114867
  null,
114783
- "f9f124d2",
114868
+ "59ce430e",
114784
114869
  null,
114785
114870
  null
114786
114871
  );
@@ -116511,81 +116596,105 @@ var _sfc_render$1W = function s() {
116511
116596
  null,
116512
116597
  null
116513
116598
  );
116514
- const carousel = __component__$1W.exports, currentTime_vue_vue_type_style_index_0_scoped_984dfa91_lang = "", _sfc_main$1V = {
116599
+ const carousel = __component__$1W.exports, currentTime_vue_vue_type_style_index_0_scoped_27beee24_lang = "", _sfc_main$1V = {
116515
116600
  props: {
116516
116601
  record: {
116517
116602
  type: Object,
116518
116603
  required: !0
116604
+ },
116605
+ develop: {
116606
+ type: [Number, String],
116607
+ default: 1
116608
+ },
116609
+ itemData: {
116610
+ type: Object,
116611
+ default: () => ({})
116612
+ },
116613
+ fieldContext: {
116614
+ type: Array,
116615
+ default: () => []
116616
+ },
116617
+ foreignContext: {
116618
+ type: Array,
116619
+ default: () => []
116519
116620
  }
116520
116621
  },
116521
116622
  data() {
116522
116623
  return {
116523
- timer: null,
116524
- tiemDate: ""
116624
+ timeOut: null,
116625
+ tiemDate: "--"
116525
116626
  };
116526
116627
  },
116527
116628
  watch: {
116528
- record: {
116629
+ fieldContext: {
116529
116630
  handler(s) {
116530
- s.options.format && this.currenTimer(s.options.format);
116631
+ this.fieldContext.length > 0 && (this.record.fieldContext = this.fieldContext);
116531
116632
  },
116532
116633
  deep: !0,
116533
116634
  immediate: !0
116534
116635
  }
116535
116636
  },
116536
116637
  computed: {
116638
+ gclass() {
116639
+ return this.develop == 1 ? "" : this.record.customClass ? this.record.customClass : "";
116640
+ },
116641
+ dictSwitch() {
116642
+ let s = this.$options.filters.dictData("time_longshort").filter((t) => t.code == this.options.format)[0];
116643
+ return s ? s.name.replace("DD", "dd") : null;
116644
+ },
116645
+ columnName() {
116646
+ const s = this.options.columnContextName ? this.options.columnContextName : [];
116647
+ return s[s.length - 1];
116648
+ },
116537
116649
  options() {
116538
116650
  return this.record.options;
116539
116651
  },
116540
116652
  style() {
116541
- let s = this.record.css, t = [];
116542
- s.padding && s.padding.forEach((r) => {
116543
- t.push(r + "px");
116544
- }), s.margin && s.margin.forEach((r) => {
116545
- });
116546
- let a = `padding:${t.join(" ")}`;
116547
- return `background:${s.bjColor};text-align:${s.align};
116548
- ${a};height:${s.height}px;width:${s.width}${s.labelUnit};
116549
- color:${s.color};font-size:${s.fontSize}px;font-weight:${s.fontWeight};`;
116653
+ const s = this.record.customCss ? this.record.customCss : "";
116654
+ return `${getCss(this.options)}${getCss(this.record.css)}${s}`;
116655
+ },
116656
+ disabledTimer() {
116657
+ const s = this.getDictionary("time_longshort").filter((t) => t.code == this.options.format)[0];
116658
+ return s ? s.name !== "yyyy-MM-dd hh:mm:ss" : !0;
116550
116659
  }
116551
116660
  },
116552
- mounted() {
116553
- },
116554
- created() {
116555
- },
116556
116661
  methods: {
116557
- currenTimer(s) {
116558
- s == "YYYY-MM-DD HH:mm:ss" ? (this.timer = setInterval(() => {
116559
- this.getTime();
116560
- }, 1e3), console.log(11)) : s == "YYYY-MM-DD HH:mm" ? this.getTimeH() : s == "YYYY-MM-DD" && (this.getTimeY(), clearInterval(this.timer));
116561
- },
116562
- getTimeH() {
116563
- let s = new Date(), t = s.getFullYear(), a = s.getMonth() + 1, r = s.getDate(), o = s.getHours(), l = s.getMinutes();
116564
- s.getSeconds(), a = a < 10 ? "0" + a : a, r = r < 10 ? "0" + r : r, o = o < 10 ? "0" + o : o, l = l < 10 ? "0" + l : l, this.tiemDate = `${t}-${a}-${r} ${o}:${l}`;
116662
+ init() {
116663
+ if (this.getTime(), this.develop != 1) {
116664
+ if (this.columnName) {
116665
+ this.tiemDate = this.itemData[this.columnName];
116666
+ return;
116667
+ }
116668
+ this.disabledTimer || this.refreshTime();
116669
+ }
116565
116670
  },
116566
- getTimeY() {
116567
- let s = new Date(), t = s.getFullYear(), a = s.getMonth() + 1, r = s.getDate();
116568
- a = a < 10 ? "0" + a : a, r = r < 10 ? "0" + r : r, this.tiemDate = `${t}-${a}-${r}`;
116671
+ refreshTime() {
116672
+ this.getTime(), this.timeOut && clearTimeout(this.timeOut), this.timeOut = setTimeout(() => {
116673
+ this.refreshTime();
116674
+ }, 1e3);
116569
116675
  },
116570
116676
  getTime() {
116571
116677
  let s = new Date(), t = s.getFullYear(), a = s.getMonth() + 1, r = s.getDate(), o = s.getHours(), l = s.getMinutes(), d = s.getSeconds();
116572
116678
  a = a < 10 ? "0" + a : a, r = r < 10 ? "0" + r : r, o = o < 10 ? "0" + o : o, l = l < 10 ? "0" + l : l, d = d < 10 ? "0" + d : d, this.tiemDate = `${t}-${a}-${r} ${o}:${l}:${d}`;
116679
+ },
116680
+ getDictionary(s) {
116681
+ return this.$options.filters.dictData(s);
116573
116682
  }
116574
116683
  },
116575
- beforeDestroy() {
116576
- clearInterval(this.timer);
116684
+ mounted() {
116685
+ this.init(), this.fieldContext.length > 0 && (this.record.fieldContext = this.fieldContext);
116577
116686
  }
116578
116687
  };
116579
116688
  var _sfc_render$1V = function s() {
116580
116689
  var t = this, a = t._self._c;
116581
- return a("div", { style: t.style }, [a("div", [t._v(" " + t._s(t.tiemDate) + " ")])]);
116690
+ return a("div", { class: t.gclass, style: t.style }, [t._v(" " + t._s(t._f("formatTime")(t.tiemDate, t.dictSwitch)) + " ")]);
116582
116691
  }, _sfc_staticRenderFns$1V = [], __component__$1V = /* @__PURE__ */ normalizeComponent(
116583
116692
  _sfc_main$1V,
116584
116693
  _sfc_render$1V,
116585
116694
  _sfc_staticRenderFns$1V,
116586
116695
  !1,
116587
116696
  null,
116588
- "984dfa91",
116697
+ "27beee24",
116589
116698
  null,
116590
116699
  null
116591
116700
  );
@@ -117482,7 +117591,7 @@ var _sfc_render$1L = function s() {
117482
117591
  null,
117483
117592
  null
117484
117593
  );
117485
- const approvalModel = __component__$1L.exports, approval_vue_vue_type_style_index_0_scoped_c551a222_lang = "", _sfc_main$1K = {
117594
+ const approvalModel = __component__$1L.exports, approval_vue_vue_type_style_index_0_scoped_399f437b_lang = "", _sfc_main$1K = {
117486
117595
  props: {
117487
117596
  record: {
117488
117597
  type: Object,
@@ -117783,7 +117892,7 @@ const approvalModel = __component__$1L.exports, approval_vue_vue_type_style_inde
117783
117892
  return;
117784
117893
  }
117785
117894
  let t = s.data.oprations, a = s.data.approvalinfo;
117786
- this.urgentBtn = t.showurgentprocessing, this.submitBtn = t.showsubmit, this.revokeBtn = t.showrevoke, this.taskBtn = t.showagree, this.dropdownData[0].disabled = !t.showtransfer, this.dropdownData[1].disabled = !t.showaddsignature, this.dropdownData[2].disabled = !t.showreject, this.dropdownData[3].disabled = !t.showagreeandcc, this.returnBtn = t.showreturn, this.records = s.data.approvalinfo, this.approval = a, a != null && (this.nextApprovalTasks = a.approvalnodeinfos.reverse(), this.activeIndexList = this.nextApprovalTasks.map(() => !0), this.backList = a.approvalnodeinfos, this.sysApprovalNodeId = a.sysapprovalnodeid, a.approvalnodeinfos.forEach((r) => {
117895
+ this.urgentBtn = t.showurgentprocessing, this.submitBtn = t.showsubmit, this.revokeBtn = t.showrevoke, this.taskBtn = t.showagree, this.dropdownData[0].disabled = !t.showtransfer, this.dropdownData[1].disabled = !t.showaddsignature, this.dropdownData[2].disabled = !t.showreject, this.dropdownData[3].disabled = !t.showagreeandcc, this.returnBtn = !t.showreturn, this.records = s.data.approvalinfo, this.approval = a, a != null && (this.nextApprovalTasks = a.approvalnodeinfos.reverse(), this.activeIndexList = this.nextApprovalTasks.map(() => !0), this.backList = a.approvalnodeinfos, this.sysApprovalNodeId = a.sysapprovalnodeid, a.approvalnodeinfos.forEach((r) => {
117787
117896
  let o = r.nodepropertyjson ? JSON.parse(r.nodepropertyjson) : {};
117788
117897
  if (this.sysApprovalNodeId == r.id) {
117789
117898
  this.nodeJson = o;
@@ -117978,7 +118087,7 @@ var _sfc_render$1K = function s() {
117978
118087
  _sfc_staticRenderFns$1K,
117979
118088
  !1,
117980
118089
  null,
117981
- "c551a222",
118090
+ "399f437b",
117982
118091
  null,
117983
118092
  null
117984
118093
  );
@@ -119362,7 +119471,7 @@ var _sfc_render$1w = function s() {
119362
119471
  null,
119363
119472
  null
119364
119473
  );
119365
- const FlexLayout = __component__$1w.exports, dataList_vue_vue_type_style_index_0_scoped_5d2c11eb_lang = "", _sfc_main$1v = {
119474
+ const FlexLayout = __component__$1w.exports, dataList_vue_vue_type_style_index_0_scoped_c29cc137_lang = "", _sfc_main$1v = {
119366
119475
  props: {
119367
119476
  record: {
119368
119477
  type: Object,
@@ -119613,7 +119722,8 @@ const FlexLayout = __component__$1w.exports, dataList_vue_vue_type_style_index_0
119613
119722
  columnComment: s.columncomment,
119614
119723
  codegenId: s.codegenid,
119615
119724
  value: a,
119616
- label: this.$i18nt(`Dynamics.${s.transkey}`, s.columncomment)
119725
+ label: this.$i18nt(`Dynamics.${s.transkey}`, s.columncomment),
119726
+ dictTypeCode: s.dicttypecode
119617
119727
  };
119618
119728
  },
119619
119729
  executeEventBind() {
@@ -119641,7 +119751,7 @@ var _sfc_render$1v = function s() {
119641
119751
  _sfc_staticRenderFns$1v,
119642
119752
  !1,
119643
119753
  null,
119644
- "5d2c11eb",
119754
+ "c29cc137",
119645
119755
  null,
119646
119756
  null
119647
119757
  );
@@ -123997,7 +124107,7 @@ var _sfc_render$13 = function s() {
123997
124107
  null,
123998
124108
  null
123999
124109
  );
124000
- const propertiesInterac = __component__$13.exports, properties_vue_vue_type_style_index_0_scoped_339270d3_lang = "", _sfc_main$12 = {
124110
+ const propertiesInterac = __component__$13.exports, properties_vue_vue_type_style_index_0_scoped_7b118256_lang = "", _sfc_main$12 = {
124001
124111
  props: {
124002
124112
  selectItem: {
124003
124113
  type: Object,
@@ -124043,6 +124153,10 @@ const propertiesInterac = __component__$13.exports, properties_vue_vue_type_styl
124043
124153
  }
124044
124154
  },
124045
124155
  computed: {
124156
+ disabledTimer() {
124157
+ const s = this.getDictionary("time_longshort").filter((t) => t.code == this.options.format)[0];
124158
+ return s ? s.name !== "yyyy-MM-dd hh:mm:ss" : !0;
124159
+ },
124046
124160
  pickerType() {
124047
124161
  const s = this.getTimeData.filter((r) => r.code === this.options.format)[0], t = s ? s.name : "yyyy-MM-dd";
124048
124162
  let a = "date";
@@ -124183,6 +124297,17 @@ const propertiesInterac = __component__$13.exports, properties_vue_vue_type_styl
124183
124297
  propertiesInterac
124184
124298
  },
124185
124299
  methods: {
124300
+ changeContextName(s) {
124301
+ if (!["tag"].includes(this.selectItem.type))
124302
+ return;
124303
+ const t = this.options.columnContextName ? this.options.columnContextName : [], a = t[t.length - 1];
124304
+ let r = "";
124305
+ this.selectItem.fieldContext.forEach((o) => {
124306
+ o.value === a && (r = o.dictTypeCode), o.children && o.children.length > 0 && o.children.forEach((l) => {
124307
+ l.value === a && (r = l.dictTypeCode);
124308
+ });
124309
+ }), this.options.dictTypeCode = r;
124310
+ },
124186
124311
  changeFormat() {
124187
124312
  this.options.defaultValue = "";
124188
124313
  },
@@ -124316,7 +124441,7 @@ var _sfc_render$12 = function s() {
124316
124441
  t.$set(t.selectItem, "label", r);
124317
124442
  }, 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) {
124318
124443
  t.$set(t.selectItem, "label", r);
124319
- }, expression: "selectItem.label" } }) : t.transKeyshow && !t.selectItem.options.transKey ? a("gd-translation", { ref: "gdTranslation", attrs: { recordData: t.selectItem, transKey: t.getTransKey, name: "label", keyI18n: "transKey", type: 3 }, on: { lookupSeled: t.lookupSeled } }) : t.transKeyshow && t.selectItem.options.transKey ? a("gd-translation", { ref: "gdTranslation", attrs: { recordData: t.selectItem, transKey: t.getTransKey, name: "label", type: 2, keyI18n: "transKey" }, on: { lookupSeled: t.lookupSeled } }) : t._e()], 1) : t._e(), t.getTypeof("columnContextName") && t.selectItem.fieldContext && t.selectItem.fieldContext.length > 0 ? a("el-form-item", { attrs: { label: t.$i18nt("gd.page.bindValue", "\u7ED1\u5B9A\u503C") } }, [a("el-cascader", { attrs: { options: t.selectItem.fieldContext }, scopedSlots: t._u([{ key: "default", fn: function({ node: r, data: o }) {
124444
+ }, expression: "selectItem.label" } }) : t.transKeyshow && !t.selectItem.options.transKey ? a("gd-translation", { ref: "gdTranslation", attrs: { recordData: t.selectItem, transKey: t.getTransKey, name: "label", keyI18n: "transKey", type: 3 }, on: { lookupSeled: t.lookupSeled } }) : t.transKeyshow && t.selectItem.options.transKey ? a("gd-translation", { ref: "gdTranslation", attrs: { recordData: t.selectItem, transKey: t.getTransKey, name: "label", type: 2, keyI18n: "transKey" }, on: { lookupSeled: t.lookupSeled } }) : t._e()], 1) : t._e(), t.getTypeof("columnContextName") && t.selectItem.fieldContext && t.selectItem.fieldContext.length > 0 ? a("el-form-item", { attrs: { label: t.$i18nt("gd.page.bindValue", "\u7ED1\u5B9A\u503C") } }, [a("el-cascader", { attrs: { options: t.selectItem.fieldContext, clearable: "" }, on: { change: t.changeContextName }, scopedSlots: t._u([{ key: "default", fn: function({ node: r, data: o }) {
124320
124445
  return [a("span", [t._v(t._s(t.$i18nt(`Dynamics.${o.transKey}`, o.columnComment)))])];
124321
124446
  } }], null, !1, 202416743), model: { value: t.options.columnContextName, callback: function(r) {
124322
124447
  t.$set(t.options, "columnContextName", r);
@@ -124338,7 +124463,7 @@ var _sfc_render$12 = function s() {
124338
124463
  t.$set(t.options, "type", r);
124339
124464
  }, expression: "options.type" } }, t._l(t.displayType, function(r) {
124340
124465
  return a("el-option", { key: r.code, attrs: { label: t.$i18nt(r.transKey, r.name), value: r.code } });
124341
- }), 1)], 1) : t._e(), t.isFormItem && t.getTypeof("dictTypeCode") ? a("el-form-item", { attrs: { label: t.$i18nt("gd.page.dataDictionary", "\u6570\u636E\u5B57\u5178") } }, [a("el-input", { attrs: { placeholder: t.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165"), disabled: "" }, model: { value: t.options.dictTypeCode, callback: function(r) {
124466
+ }), 1)], 1) : t._e(), t.getTypeof("dictTypeCode") ? a("el-form-item", { attrs: { label: t.$i18nt("gd.page.dataDictionary", "\u6570\u636E\u5B57\u5178") } }, [a("el-input", { attrs: { placeholder: t.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165"), disabled: "" }, model: { value: t.options.dictTypeCode, callback: function(r) {
124342
124467
  t.$set(t.options, "dictTypeCode", r);
124343
124468
  }, expression: "options.dictTypeCode" } })], 1) : t._e(), t.isFormItem && t.getTypeof("fkEntityName") && t.options.fkEntityName ? a("el-form-item", { attrs: { label: t.$i18nt("gd.page.foreignAssociationTable", "\u5916\u952E\u5173\u8054\u8868") } }, [a("el-input", { attrs: { placeholder: t.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165"), disabled: "" }, model: { value: t.options.fkEntityName, callback: function(r) {
124344
124469
  t.$set(t.options, "fkEntityName", r);
@@ -124480,7 +124605,11 @@ var _sfc_render$12 = function s() {
124480
124605
  t.$set(t.options, "urlQRcode", r);
124481
124606
  }, expression: "options.urlQRcode" } })], 1) : t._e(), t.getTypeof("imgUrl") ? a("el-form-item", { attrs: { label: t.$i18nt("gd.page.listOfRotographs", "\u8F6E\u64AD\u56FE\u5217\u8868") } }, [a("properitesImg", { key: t.selectItem.key, attrs: { selectItem: t.selectItem } })], 1) : t._e(), t.getTypeof("format") && t.selectItem.type == "currentTime" ? a("el-form-item", { attrs: { label: t.$i18nt("gd.page.presentationFormat", "\u5C55\u793A\u683C\u5F0F") } }, [a("el-select", { attrs: { placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9") }, model: { value: t.options.format, callback: function(r) {
124482
124607
  t.$set(t.options, "format", r);
124483
- }, expression: "options.format" } }, [a("el-option", { attrs: { label: t.$i18nt("gd.page.yearMonthDayHour", "\u5E74-\u6708-\u65E5"), value: "YYYY-MM-DD" } }), a("el-option", { attrs: { label: t.$i18nt("gd.page.yearMonthDayHourMinutes", "\u5E74-\u6708-\u65E5 \u65F6:\u5206"), value: "YYYY-MM-DD HH:mm" } }), a("el-option", { attrs: { label: t.$i18nt("gd.page.yearMonthDayHourMinutesSecond", "\u5E74-\u6708-\u65E5 \u65F6:\u5206:\u79D2"), value: "YYYY-MM-DD HH:mm:ss" } })], 1)], 1) : t._e(), t.getTypeof("placeholderTip") ? a("el-form-item", { attrs: { label: t.$i18nt("gd.page.default", "\u9ED8\u8BA4\u503C") } }, [a("el-input", { attrs: { placeholder: t.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165") }, model: { value: t.options.placeholderTip, callback: function(r) {
124608
+ }, expression: "options.format" } }, [t._l(t.getDictionary("time_longshort"), function(r) {
124609
+ return [a("el-option", { attrs: { label: t.$i18nt(`Dynamics.${r.transkey}`, r.name), value: r.code } })];
124610
+ })], 2)], 1) : t._e(), t.getTypeof("timer") ? a("el-form-item", { attrs: { label: t.$i18nt("gd.page.timer", "\u8BA1\u65F6\u5668") } }, [a("el-switch", { attrs: { disabled: t.disabledTimer, "active-color": t.primaryColor }, model: { value: t.options.timer, callback: function(r) {
124611
+ t.$set(t.options, "timer", r);
124612
+ }, expression: "options.timer" } })], 1) : t._e(), t.getTypeof("placeholderTip") ? a("el-form-item", { attrs: { label: t.$i18nt("gd.page.default", "\u9ED8\u8BA4\u503C") } }, [a("el-input", { attrs: { placeholder: t.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165") }, model: { value: t.options.placeholderTip, callback: function(r) {
124484
124613
  t.$set(t.options, "placeholderTip", r);
124485
124614
  }, expression: "options.placeholderTip" } })], 1) : t._e(), t.getTypeof("titleValue") ? a("el-form-item", { attrs: { label: t.$i18nt("gd.page.NumericalValue", "\u6570\u503C") } }, [a("el-input-number", { staticStyle: { width: "100%" }, attrs: { "controls-position": "right" }, model: { value: t.options.titleValue, callback: function(r) {
124486
124615
  t.$set(t.options, "titleValue", r);
@@ -124496,7 +124625,7 @@ var _sfc_render$12 = function s() {
124496
124625
  t.$set(t.options, "color", r);
124497
124626
  }, expression: "options.color" } }, [a("el-color-picker", { staticClass: "theme-picker", staticStyle: { "margin-right": "-5px" }, attrs: { slot: "suffix", "popper-class": "theme-picker-dropdown" }, slot: "suffix", model: { value: t.options.color, callback: function(r) {
124498
124627
  t.$set(t.options, "color", r);
124499
- }, expression: "options.color" } })], 1)], 1) : t._e(), t.getTypeof("size") ? a("el-form-item", { attrs: { label: t.$i18nt("gd.page.color", "\u5C3A\u5BF8") } }, [a("el-radio-group", { model: { value: t.options.size, callback: function(r) {
124628
+ }, expression: "options.color" } })], 1)], 1) : t._e(), t.getTypeof("size") ? a("el-form-item", { attrs: { label: t.$i18nt("gd.page.size", "\u5C3A\u5BF8") } }, [a("el-radio-group", { model: { value: t.options.size, callback: function(r) {
124500
124629
  t.$set(t.options, "size", r);
124501
124630
  }, expression: "options.size" } }, [a("el-radio-button", { attrs: { label: "medium" } }, [t._v(t._s(t.$i18nt("gd.page.medium", "\u5927")))]), a("el-radio-button", { attrs: { label: "small" } }, [t._v(t._s(t.$i18nt("gd.page.small", "\u9ED8\u8BA4")))]), a("el-radio-button", { attrs: { label: "mini" } }, [t._v(t._s(t.$i18nt("gd.page.mini", "\u5C0F")))])], 1)], 1) : t._e(), t.getTypeof("effect") ? a("el-form-item", { attrs: { label: t.$i18nt("gd.page.theme", "\u4E3B\u9898") } }, [a("el-radio-group", { model: { value: t.options.effect, callback: function(r) {
124502
124631
  t.$set(t.options, "effect", r);
@@ -124515,7 +124644,7 @@ var _sfc_render$12 = function s() {
124515
124644
  _sfc_staticRenderFns$12,
124516
124645
  !1,
124517
124646
  null,
124518
- "339270d3",
124647
+ "7b118256",
124519
124648
  null,
124520
124649
  null
124521
124650
  );
@@ -137626,7 +137755,7 @@ var _sfc_render$n = function s() {
137626
137755
  null,
137627
137756
  null
137628
137757
  );
137629
- const ProcessFlow = __component__$n.exports, main_vue_vue_type_style_index_0_scoped_3f678498_lang = "", _sfc_main$m = {
137758
+ const ProcessFlow = __component__$n.exports, main_vue_vue_type_style_index_0_scoped_4933cbbd_lang = "", _sfc_main$m = {
137630
137759
  name: "GdFormBuild",
137631
137760
  props: {
137632
137761
  modeType: {
@@ -138015,7 +138144,7 @@ const ProcessFlow = __component__$n.exports, main_vue_vue_type_style_index_0_sco
138015
138144
  const o = this.fieldData.filter((u) => u.columnname === r)[0], l = this.allField.filter((u) => (u.options.columnName ? u.options.columnName.toLowerCase() : u.options.columnName) === r)[0];
138016
138145
  let d = o ? o.effecttype : "";
138017
138146
  if (d === "checkbox")
138018
- t[r] = t[r] === null ? [] : t[r].split(",");
138147
+ t[r] = t[r] === null || t[r] === "" ? [] : t[r].split(",");
138019
138148
  else if (d === "image")
138020
138149
  a.push({
138021
138150
  data: t[r],
@@ -138711,7 +138840,7 @@ var _sfc_render$m = function s() {
138711
138840
  _sfc_staticRenderFns$m,
138712
138841
  !1,
138713
138842
  null,
138714
- "3f678498",
138843
+ "4933cbbd",
138715
138844
  null,
138716
138845
  null
138717
138846
  );
@@ -1,5 +1,5 @@
1
1
  import o from "vue";
2
- import { n, m as l, c as u, g as h, a as f, u as g, r as w, b as v, l as A, d as b, e as y, f as R } from "./index.9ee2019b.mjs";
2
+ import { n, m as l, c as u, g as h, a as f, u as g, r as w, b as v, l as A, d as b, e as y, f as R } from "./index.ca6180b4.mjs";
3
3
  const C = {
4
4
  name: "GdVerificationCode",
5
5
  props: {