gds-plus-design-vue 1.1.34 → 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.685cc523.mjs"),
633
+ component: () => import("./main.d23ad4e2.mjs"),
634
634
  meta: {
635
635
  title: "\u767B\u5F55",
636
636
  transKey: "gd.login.title"
@@ -14567,7 +14567,7 @@ var _sfc_render$5q = function() {
14567
14567
  null,
14568
14568
  null
14569
14569
  );
14570
- const QueryRules = __component__$5q.exports, viewQuery_vue_vue_type_style_index_0_scoped_4aa65191_lang = "", intervalList = [
14570
+ const QueryRules = __component__$5q.exports, viewQuery_vue_vue_type_style_index_0_scoped_58a81ecb_lang = "", intervalList = [
14571
14571
  {
14572
14572
  name: "\u4ECA\u5929",
14573
14573
  keyI18n: "gd.view.today",
@@ -14731,7 +14731,7 @@ const QueryRules = __component__$5q.exports, viewQuery_vue_vue_type_style_index_
14731
14731
  return a === "yyyy-MM-dd hh:mm:ss" ? r = "datetime" : a === "yyyy-MM" ? r = "month" : a === "yyyy" && (r = "year"), r;
14732
14732
  },
14733
14733
  changeFormat(s) {
14734
- this.disabledInterval(s) && (s.displayStyle = 1);
14734
+ this.disabledInterval(s) && (s.displayStyle = 1), s.defaultValue = "";
14735
14735
  },
14736
14736
  disabledInterval(s) {
14737
14737
  const t = this.timeLongshort.filter((o) => o.code == s.fieldFormat)[0], a = t ? t.name : "yyyy-MM-dd";
@@ -14896,7 +14896,7 @@ var _sfc_render$5p = function() {
14896
14896
  _sfc_staticRenderFns$5p,
14897
14897
  !1,
14898
14898
  null,
14899
- "4aa65191",
14899
+ "58a81ecb",
14900
14900
  null,
14901
14901
  null
14902
14902
  );
@@ -32119,7 +32119,7 @@ function processingResults$2(s, t) {
32119
32119
  function isSatisfyed$2(s, t) {
32120
32120
  return t === "2" ? s.every((a, r, o) => !a) : s.every((a, r, o) => !!a);
32121
32121
  }
32122
- const main_vue_vue_type_style_index_0_scoped_c9ddd4a7_lang = "", _sfc_main$4T = {
32122
+ const main_vue_vue_type_style_index_0_scoped_88c02157_lang = "", _sfc_main$4T = {
32123
32123
  name: "GdTableQueriesField",
32124
32124
  props: {
32125
32125
  height: {
@@ -32320,7 +32320,7 @@ const main_vue_vue_type_style_index_0_scoped_c9ddd4a7_lang = "", _sfc_main$4T =
32320
32320
  let o = this.columns.filter((l) => l.prop === r)[0];
32321
32321
  ["checkbox"].includes(o.effectType) ? a.set(r, this.ruleFormData[r].join(",")) : a.set(r, this.ruleFormData[r]);
32322
32322
  }
32323
- this.$emit("save", Object.fromEntries(a)), this.cancel();
32323
+ this.$emit("save", Object.fromEntries(a), this.columns), this.cancel();
32324
32324
  } else {
32325
32325
  let a = new Map(Object.entries(t)), r = [];
32326
32326
  for (let u of a.keys())
@@ -32411,7 +32411,7 @@ var _sfc_render$4T = function() {
32411
32411
  _sfc_staticRenderFns$4T,
32412
32412
  !1,
32413
32413
  null,
32414
- "c9ddd4a7",
32414
+ "88c02157",
32415
32415
  null,
32416
32416
  null
32417
32417
  );
@@ -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: [],
@@ -114318,6 +114346,7 @@ function dateProcessing(s, t, a, r) {
114318
114346
  return !1;
114319
114347
  if (typeof s == "array" || typeof s == "object")
114320
114348
  return s[1] ? [s[0].split(" ")[0] + " 00:00:00", s[1].split(" ")[0] + " 23:59:59"] : !1;
114349
+ console.log(a);
114321
114350
  const o = a.filter((d) => d.prop === t.columnname)[0];
114322
114351
  if (!o)
114323
114352
  return !1;
@@ -114407,7 +114436,7 @@ const sysOverallFun = [
114407
114436
  transKey: "gd.settings.custom",
114408
114437
  type: ["view", "form"]
114409
114438
  }
114410
- ], unifiedComponents_vue_vue_type_style_index_0_scoped_a43360eb_lang = "", _sfc_main$20 = {
114439
+ ], unifiedComponents_vue_vue_type_style_index_0_scoped_3a7a69b0_lang = "", _sfc_main$20 = {
114411
114440
  props: {
114412
114441
  record: {
114413
114442
  type: Object,
@@ -114538,7 +114567,7 @@ const sysOverallFun = [
114538
114567
  }, 0);
114539
114568
  });
114540
114569
  },
114541
- queriesRefresh(s) {
114570
+ queriesRefresh(s, t) {
114542
114571
  Object.assign(this.btnItems, {
114543
114572
  queryParam: { ...s }
114544
114573
  }), this.btnItems.formMode === "systemsMethod" && this.btnItems.callbackComponents && this.btnItems.callbackFunction && this.record.doEvent && this.record.doEvent(
@@ -114546,7 +114575,8 @@ const sysOverallFun = [
114546
114575
  key: this.btnItems.callbackComponents,
114547
114576
  functionName: this.btnItems.callbackFunction,
114548
114577
  data: s,
114549
- id: this.ids
114578
+ id: this.ids,
114579
+ tableQueries: t
114550
114580
  },
114551
114581
  "callback"
114552
114582
  );
@@ -114659,7 +114689,7 @@ var _sfc_render$20 = function s() {
114659
114689
  _sfc_staticRenderFns$20,
114660
114690
  !1,
114661
114691
  null,
114662
- "a43360eb",
114692
+ "3a7a69b0",
114663
114693
  null,
114664
114694
  null
114665
114695
  );
@@ -114742,43 +114772,100 @@ var _sfc_render$1$ = function s() {
114742
114772
  null,
114743
114773
  null
114744
114774
  );
114745
- 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_ = {
114746
114776
  props: {
114747
114777
  record: {
114748
114778
  type: Object,
114749
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: () => []
114750
114796
  }
114751
114797
  },
114752
114798
  data() {
114753
114799
  return {};
114754
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
+ },
114755
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
+ },
114756
114836
  options() {
114757
114837
  return this.record.options;
114758
114838
  },
114759
114839
  style() {
114760
- let s = this.record.css, t = [], a = [];
114761
- s.padding && s.padding.forEach((l) => {
114762
- t.push(l + "px");
114763
- }), s.margin && s.margin.forEach((l) => {
114764
- a.push(l + "px");
114765
- });
114766
- let r = `padding:${t.join(" ")}`, o = `margin:${a.join(" ")}`;
114767
- 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);
114768
114851
  }
114769
114852
  },
114770
- methods: {}
114853
+ mounted() {
114854
+ this.fieldContext.length > 0 && (this.record.fieldContext = this.fieldContext);
114855
+ }
114771
114856
  };
114772
114857
  var _sfc_render$1_ = function s() {
114773
114858
  var t = this, a = t._self._c;
114774
- 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);
114775
114862
  }, _sfc_staticRenderFns$1_ = [], __component__$1_ = /* @__PURE__ */ normalizeComponent(
114776
114863
  _sfc_main$1_,
114777
114864
  _sfc_render$1_,
114778
114865
  _sfc_staticRenderFns$1_,
114779
114866
  !1,
114780
114867
  null,
114781
- "f9f124d2",
114868
+ "59ce430e",
114782
114869
  null,
114783
114870
  null
114784
114871
  );
@@ -116509,81 +116596,105 @@ var _sfc_render$1W = function s() {
116509
116596
  null,
116510
116597
  null
116511
116598
  );
116512
- 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 = {
116513
116600
  props: {
116514
116601
  record: {
116515
116602
  type: Object,
116516
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: () => []
116517
116620
  }
116518
116621
  },
116519
116622
  data() {
116520
116623
  return {
116521
- timer: null,
116522
- tiemDate: ""
116624
+ timeOut: null,
116625
+ tiemDate: "--"
116523
116626
  };
116524
116627
  },
116525
116628
  watch: {
116526
- record: {
116629
+ fieldContext: {
116527
116630
  handler(s) {
116528
- s.options.format && this.currenTimer(s.options.format);
116631
+ this.fieldContext.length > 0 && (this.record.fieldContext = this.fieldContext);
116529
116632
  },
116530
116633
  deep: !0,
116531
116634
  immediate: !0
116532
116635
  }
116533
116636
  },
116534
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
+ },
116535
116649
  options() {
116536
116650
  return this.record.options;
116537
116651
  },
116538
116652
  style() {
116539
- let s = this.record.css, t = [];
116540
- s.padding && s.padding.forEach((r) => {
116541
- t.push(r + "px");
116542
- }), s.margin && s.margin.forEach((r) => {
116543
- });
116544
- let a = `padding:${t.join(" ")}`;
116545
- return `background:${s.bjColor};text-align:${s.align};
116546
- ${a};height:${s.height}px;width:${s.width}${s.labelUnit};
116547
- 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;
116548
116659
  }
116549
116660
  },
116550
- mounted() {
116551
- },
116552
- created() {
116553
- },
116554
116661
  methods: {
116555
- currenTimer(s) {
116556
- s == "YYYY-MM-DD HH:mm:ss" ? (this.timer = setInterval(() => {
116557
- this.getTime();
116558
- }, 1e3), console.log(11)) : s == "YYYY-MM-DD HH:mm" ? this.getTimeH() : s == "YYYY-MM-DD" && (this.getTimeY(), clearInterval(this.timer));
116559
- },
116560
- getTimeH() {
116561
- let s = new Date(), t = s.getFullYear(), a = s.getMonth() + 1, r = s.getDate(), o = s.getHours(), l = s.getMinutes();
116562
- 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
+ }
116563
116670
  },
116564
- getTimeY() {
116565
- let s = new Date(), t = s.getFullYear(), a = s.getMonth() + 1, r = s.getDate();
116566
- 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);
116567
116675
  },
116568
116676
  getTime() {
116569
116677
  let s = new Date(), t = s.getFullYear(), a = s.getMonth() + 1, r = s.getDate(), o = s.getHours(), l = s.getMinutes(), d = s.getSeconds();
116570
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);
116571
116682
  }
116572
116683
  },
116573
- beforeDestroy() {
116574
- clearInterval(this.timer);
116684
+ mounted() {
116685
+ this.init(), this.fieldContext.length > 0 && (this.record.fieldContext = this.fieldContext);
116575
116686
  }
116576
116687
  };
116577
116688
  var _sfc_render$1V = function s() {
116578
116689
  var t = this, a = t._self._c;
116579
- 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)) + " ")]);
116580
116691
  }, _sfc_staticRenderFns$1V = [], __component__$1V = /* @__PURE__ */ normalizeComponent(
116581
116692
  _sfc_main$1V,
116582
116693
  _sfc_render$1V,
116583
116694
  _sfc_staticRenderFns$1V,
116584
116695
  !1,
116585
116696
  null,
116586
- "984dfa91",
116697
+ "27beee24",
116587
116698
  null,
116588
116699
  null
116589
116700
  );
@@ -117480,7 +117591,7 @@ var _sfc_render$1L = function s() {
117480
117591
  null,
117481
117592
  null
117482
117593
  );
117483
- 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 = {
117484
117595
  props: {
117485
117596
  record: {
117486
117597
  type: Object,
@@ -117781,7 +117892,7 @@ const approvalModel = __component__$1L.exports, approval_vue_vue_type_style_inde
117781
117892
  return;
117782
117893
  }
117783
117894
  let t = s.data.oprations, a = s.data.approvalinfo;
117784
- 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) => {
117785
117896
  let o = r.nodepropertyjson ? JSON.parse(r.nodepropertyjson) : {};
117786
117897
  if (this.sysApprovalNodeId == r.id) {
117787
117898
  this.nodeJson = o;
@@ -117976,7 +118087,7 @@ var _sfc_render$1K = function s() {
117976
118087
  _sfc_staticRenderFns$1K,
117977
118088
  !1,
117978
118089
  null,
117979
- "c551a222",
118090
+ "399f437b",
117980
118091
  null,
117981
118092
  null
117982
118093
  );
@@ -119360,7 +119471,7 @@ var _sfc_render$1w = function s() {
119360
119471
  null,
119361
119472
  null
119362
119473
  );
119363
- const FlexLayout = __component__$1w.exports, dataList_vue_vue_type_style_index_0_scoped_912fc551_lang = "", _sfc_main$1v = {
119474
+ const FlexLayout = __component__$1w.exports, dataList_vue_vue_type_style_index_0_scoped_c29cc137_lang = "", _sfc_main$1v = {
119364
119475
  props: {
119365
119476
  record: {
119366
119477
  type: Object,
@@ -119390,7 +119501,8 @@ const FlexLayout = __component__$1w.exports, dataList_vue_vue_type_style_index_0
119390
119501
  list: [],
119391
119502
  totalRows: 0,
119392
119503
  loading: !1,
119393
- statu: !1
119504
+ statu: !1,
119505
+ tableQueries: []
119394
119506
  };
119395
119507
  },
119396
119508
  watch: {
@@ -119497,6 +119609,7 @@ const FlexLayout = __component__$1w.exports, dataList_vue_vue_type_style_index_0
119497
119609
  },
119498
119610
  methods: {
119499
119611
  executeEvent(s) {
119612
+ this.tableQueries = s && s.tableQueries ? s.tableQueries : [];
119500
119613
  const t = s.functionName ? s.functionName : "";
119501
119614
  t && this[t] !== void 0 ? this[t](s.data) : console.log("\u6267\u884C\u9519\u8BEF");
119502
119615
  },
@@ -119551,13 +119664,13 @@ const FlexLayout = __component__$1w.exports, dataList_vue_vue_type_style_index_0
119551
119664
  viewId: this.options.view.id,
119552
119665
  viewType: 1
119553
119666
  },
119554
- switchingDate(this.queryParam, this.fieldData)
119667
+ switchingDate(this.queryParam, this.fieldData, this.tableQueries, this.getDictionary("time_longshort"))
119555
119668
  );
119556
119669
  this.relationData.length > 0 && Object.assign(t, { relation: this.relationData }), this.foreignContextName.length > 0 && Object.assign(t, { fkValue: this.itemData.id, fkName: this.foreignContextName[0] }), basePage(t).then((a) => {
119557
119670
  if (a.code === 200) {
119558
119671
  let r = a.data.rows.map((o) => {
119559
119672
  let l = /* @__PURE__ */ new Map();
119560
- return l.set(this.ids, o.id), Object.assign(o, Object.fromEntries(l)), o;
119673
+ return l.set(this.ids, o.id), Object.assign(o, Object.fromEntries(l), this.tableQueries, this.getDictionary("time_longshort")), o;
119561
119674
  });
119562
119675
  this.list = s || this.pageNo === 1 ? r : this.list.concat(r), this.totalRows = a.data.totalrows, this.statu = this.totalRows === 0;
119563
119676
  }
@@ -119609,7 +119722,8 @@ const FlexLayout = __component__$1w.exports, dataList_vue_vue_type_style_index_0
119609
119722
  columnComment: s.columncomment,
119610
119723
  codegenId: s.codegenid,
119611
119724
  value: a,
119612
- label: this.$i18nt(`Dynamics.${s.transkey}`, s.columncomment)
119725
+ label: this.$i18nt(`Dynamics.${s.transkey}`, s.columncomment),
119726
+ dictTypeCode: s.dicttypecode
119613
119727
  };
119614
119728
  },
119615
119729
  executeEventBind() {
@@ -119617,6 +119731,9 @@ const FlexLayout = __component__$1w.exports, dataList_vue_vue_type_style_index_0
119617
119731
  this.record.executeEvent = t.concat([
119618
119732
  { id: this.executeIds, executeEvent: this.executeEvent, ids: this.ids, parentId: this.itemData.id }
119619
119733
  ]);
119734
+ },
119735
+ getDictionary(s) {
119736
+ return this.$options.filters.dictData(s);
119620
119737
  }
119621
119738
  },
119622
119739
  mounted() {
@@ -119634,7 +119751,7 @@ var _sfc_render$1v = function s() {
119634
119751
  _sfc_staticRenderFns$1v,
119635
119752
  !1,
119636
119753
  null,
119637
- "912fc551",
119754
+ "c29cc137",
119638
119755
  null,
119639
119756
  null
119640
119757
  );
@@ -123840,7 +123957,7 @@ var _sfc_render$14 = function s() {
123840
123957
  null,
123841
123958
  null
123842
123959
  );
123843
- const propertiesTress = __component__$14.exports, propertiesInterac_vue_vue_type_style_index_0_scoped_2b48e65e_lang = "", _sfc_main$13 = {
123960
+ const propertiesTress = __component__$14.exports, propertiesInterac_vue_vue_type_style_index_0_scoped_d372ac0d_lang = "", _sfc_main$13 = {
123844
123961
  props: {
123845
123962
  selectItem: {
123846
123963
  type: Object,
@@ -123894,6 +124011,7 @@ const propertiesTress = __component__$14.exports, propertiesInterac_vue_vue_type
123894
124011
  },
123895
124012
  methods: {
123896
124013
  changeSysMethod(s) {
124014
+ this.interac.tableComponents = "";
123897
124015
  const t = this.tableLists.filter((a) => a.tablename === s)[0];
123898
124016
  sysViewList$1({ sysCodeGenId: t.id }).then((a) => {
123899
124017
  if (a.code === 200) {
@@ -123985,11 +124103,11 @@ var _sfc_render$13 = function s() {
123985
124103
  _sfc_staticRenderFns$13,
123986
124104
  !1,
123987
124105
  null,
123988
- "2b48e65e",
124106
+ "d372ac0d",
123989
124107
  null,
123990
124108
  null
123991
124109
  );
123992
- const propertiesInterac = __component__$13.exports, properties_vue_vue_type_style_index_0_scoped_7ef90012_lang = "", _sfc_main$12 = {
124110
+ const propertiesInterac = __component__$13.exports, properties_vue_vue_type_style_index_0_scoped_7b118256_lang = "", _sfc_main$12 = {
123993
124111
  props: {
123994
124112
  selectItem: {
123995
124113
  type: Object,
@@ -124035,6 +124153,10 @@ const propertiesInterac = __component__$13.exports, properties_vue_vue_type_styl
124035
124153
  }
124036
124154
  },
124037
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
+ },
124038
124160
  pickerType() {
124039
124161
  const s = this.getTimeData.filter((r) => r.code === this.options.format)[0], t = s ? s.name : "yyyy-MM-dd";
124040
124162
  let a = "date";
@@ -124175,6 +124297,20 @@ const propertiesInterac = __component__$13.exports, properties_vue_vue_type_styl
124175
124297
  propertiesInterac
124176
124298
  },
124177
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
+ },
124311
+ changeFormat() {
124312
+ this.options.defaultValue = "";
124313
+ },
124178
124314
  changeType() {
124179
124315
  if (!["timePicker", "datePicker"].includes(this.selectItem.type))
124180
124316
  return;
@@ -124305,7 +124441,7 @@ var _sfc_render$12 = function s() {
124305
124441
  t.$set(t.selectItem, "label", r);
124306
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) {
124307
124443
  t.$set(t.selectItem, "label", r);
124308
- }, 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 }) {
124309
124445
  return [a("span", [t._v(t._s(t.$i18nt(`Dynamics.${o.transKey}`, o.columnComment)))])];
124310
124446
  } }], null, !1, 202416743), model: { value: t.options.columnContextName, callback: function(r) {
124311
124447
  t.$set(t.options, "columnContextName", r);
@@ -124327,7 +124463,7 @@ var _sfc_render$12 = function s() {
124327
124463
  t.$set(t.options, "type", r);
124328
124464
  }, expression: "options.type" } }, t._l(t.displayType, function(r) {
124329
124465
  return a("el-option", { key: r.code, attrs: { label: t.$i18nt(r.transKey, r.name), value: r.code } });
124330
- }), 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) {
124331
124467
  t.$set(t.options, "dictTypeCode", r);
124332
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) {
124333
124469
  t.$set(t.options, "fkEntityName", r);
@@ -124361,7 +124497,7 @@ var _sfc_render$12 = function s() {
124361
124497
  t.$set(t.options, "displayMode", r);
124362
124498
  }, expression: "options.displayMode" } }, t._l(t.displayModeDict, function(r) {
124363
124499
  return a("el-option", { key: r.code, attrs: { label: t.$i18nt(`Dynamics.${r.transkey}`, r.name), value: r.code } });
124364
- }), 1)], 1) : t._e(), t.isFormItem && t.getTypeof("format") ? a("el-form-item", { attrs: { label: t.$i18nt("gd.page.displayFormat", "\u663E\u793A\u683C\u5F0F") } }, [a("el-select", { model: { value: t.options.format, callback: function(r) {
124500
+ }), 1)], 1) : t._e(), t.isFormItem && t.getTypeof("format") ? a("el-form-item", { attrs: { label: t.$i18nt("gd.page.displayFormat", "\u663E\u793A\u683C\u5F0F") } }, [a("el-select", { on: { change: t.changeFormat }, model: { value: t.options.format, callback: function(r) {
124365
124501
  t.$set(t.options, "format", r);
124366
124502
  }, expression: "options.format" } }, t._l(t.getTimeData, function(r) {
124367
124503
  return a("el-option", { key: r.code, attrs: { label: t.$i18nt(`Dynamics.${r.transkey}`, r.name), value: r.code } }, [a("span", [t._v(t._s(t.$i18nt(`Dynamics.${r.transkey}`, r.name)))])]);
@@ -124469,7 +124605,11 @@ var _sfc_render$12 = function s() {
124469
124605
  t.$set(t.options, "urlQRcode", r);
124470
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) {
124471
124607
  t.$set(t.options, "format", r);
124472
- }, 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) {
124473
124613
  t.$set(t.options, "placeholderTip", r);
124474
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) {
124475
124615
  t.$set(t.options, "titleValue", r);
@@ -124485,7 +124625,7 @@ var _sfc_render$12 = function s() {
124485
124625
  t.$set(t.options, "color", r);
124486
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) {
124487
124627
  t.$set(t.options, "color", r);
124488
- }, 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) {
124489
124629
  t.$set(t.options, "size", r);
124490
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) {
124491
124631
  t.$set(t.options, "effect", r);
@@ -124504,7 +124644,7 @@ var _sfc_render$12 = function s() {
124504
124644
  _sfc_staticRenderFns$12,
124505
124645
  !1,
124506
124646
  null,
124507
- "7ef90012",
124647
+ "7b118256",
124508
124648
  null,
124509
124649
  null
124510
124650
  );
@@ -137615,7 +137755,7 @@ var _sfc_render$n = function s() {
137615
137755
  null,
137616
137756
  null
137617
137757
  );
137618
- 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 = {
137619
137759
  name: "GdFormBuild",
137620
137760
  props: {
137621
137761
  modeType: {
@@ -138004,7 +138144,7 @@ const ProcessFlow = __component__$n.exports, main_vue_vue_type_style_index_0_sco
138004
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];
138005
138145
  let d = o ? o.effecttype : "";
138006
138146
  if (d === "checkbox")
138007
- t[r] = t[r] === null ? [] : t[r].split(",");
138147
+ t[r] = t[r] === null || t[r] === "" ? [] : t[r].split(",");
138008
138148
  else if (d === "image")
138009
138149
  a.push({
138010
138150
  data: t[r],
@@ -138700,7 +138840,7 @@ var _sfc_render$m = function s() {
138700
138840
  _sfc_staticRenderFns$m,
138701
138841
  !1,
138702
138842
  null,
138703
- "3f678498",
138843
+ "4933cbbd",
138704
138844
  null,
138705
138845
  null
138706
138846
  );