gds-plus-design-vue 1.1.34 → 1.1.35

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.cc2d8da0.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
  );
@@ -114318,6 +114318,7 @@ function dateProcessing(s, t, a, r) {
114318
114318
  return !1;
114319
114319
  if (typeof s == "array" || typeof s == "object")
114320
114320
  return s[1] ? [s[0].split(" ")[0] + " 00:00:00", s[1].split(" ")[0] + " 23:59:59"] : !1;
114321
+ console.log(a);
114321
114322
  const o = a.filter((d) => d.prop === t.columnname)[0];
114322
114323
  if (!o)
114323
114324
  return !1;
@@ -114407,7 +114408,7 @@ const sysOverallFun = [
114407
114408
  transKey: "gd.settings.custom",
114408
114409
  type: ["view", "form"]
114409
114410
  }
114410
- ], unifiedComponents_vue_vue_type_style_index_0_scoped_a43360eb_lang = "", _sfc_main$20 = {
114411
+ ], unifiedComponents_vue_vue_type_style_index_0_scoped_3a7a69b0_lang = "", _sfc_main$20 = {
114411
114412
  props: {
114412
114413
  record: {
114413
114414
  type: Object,
@@ -114538,7 +114539,7 @@ const sysOverallFun = [
114538
114539
  }, 0);
114539
114540
  });
114540
114541
  },
114541
- queriesRefresh(s) {
114542
+ queriesRefresh(s, t) {
114542
114543
  Object.assign(this.btnItems, {
114543
114544
  queryParam: { ...s }
114544
114545
  }), this.btnItems.formMode === "systemsMethod" && this.btnItems.callbackComponents && this.btnItems.callbackFunction && this.record.doEvent && this.record.doEvent(
@@ -114546,7 +114547,8 @@ const sysOverallFun = [
114546
114547
  key: this.btnItems.callbackComponents,
114547
114548
  functionName: this.btnItems.callbackFunction,
114548
114549
  data: s,
114549
- id: this.ids
114550
+ id: this.ids,
114551
+ tableQueries: t
114550
114552
  },
114551
114553
  "callback"
114552
114554
  );
@@ -114659,7 +114661,7 @@ var _sfc_render$20 = function s() {
114659
114661
  _sfc_staticRenderFns$20,
114660
114662
  !1,
114661
114663
  null,
114662
- "a43360eb",
114664
+ "3a7a69b0",
114663
114665
  null,
114664
114666
  null
114665
114667
  );
@@ -119360,7 +119362,7 @@ var _sfc_render$1w = function s() {
119360
119362
  null,
119361
119363
  null
119362
119364
  );
119363
- const FlexLayout = __component__$1w.exports, dataList_vue_vue_type_style_index_0_scoped_912fc551_lang = "", _sfc_main$1v = {
119365
+ const FlexLayout = __component__$1w.exports, dataList_vue_vue_type_style_index_0_scoped_5d2c11eb_lang = "", _sfc_main$1v = {
119364
119366
  props: {
119365
119367
  record: {
119366
119368
  type: Object,
@@ -119390,7 +119392,8 @@ const FlexLayout = __component__$1w.exports, dataList_vue_vue_type_style_index_0
119390
119392
  list: [],
119391
119393
  totalRows: 0,
119392
119394
  loading: !1,
119393
- statu: !1
119395
+ statu: !1,
119396
+ tableQueries: []
119394
119397
  };
119395
119398
  },
119396
119399
  watch: {
@@ -119497,6 +119500,7 @@ const FlexLayout = __component__$1w.exports, dataList_vue_vue_type_style_index_0
119497
119500
  },
119498
119501
  methods: {
119499
119502
  executeEvent(s) {
119503
+ this.tableQueries = s && s.tableQueries ? s.tableQueries : [];
119500
119504
  const t = s.functionName ? s.functionName : "";
119501
119505
  t && this[t] !== void 0 ? this[t](s.data) : console.log("\u6267\u884C\u9519\u8BEF");
119502
119506
  },
@@ -119551,13 +119555,13 @@ const FlexLayout = __component__$1w.exports, dataList_vue_vue_type_style_index_0
119551
119555
  viewId: this.options.view.id,
119552
119556
  viewType: 1
119553
119557
  },
119554
- switchingDate(this.queryParam, this.fieldData)
119558
+ switchingDate(this.queryParam, this.fieldData, this.tableQueries, this.getDictionary("time_longshort"))
119555
119559
  );
119556
119560
  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
119561
  if (a.code === 200) {
119558
119562
  let r = a.data.rows.map((o) => {
119559
119563
  let l = /* @__PURE__ */ new Map();
119560
- return l.set(this.ids, o.id), Object.assign(o, Object.fromEntries(l)), o;
119564
+ return l.set(this.ids, o.id), Object.assign(o, Object.fromEntries(l), this.tableQueries, this.getDictionary("time_longshort")), o;
119561
119565
  });
119562
119566
  this.list = s || this.pageNo === 1 ? r : this.list.concat(r), this.totalRows = a.data.totalrows, this.statu = this.totalRows === 0;
119563
119567
  }
@@ -119617,6 +119621,9 @@ const FlexLayout = __component__$1w.exports, dataList_vue_vue_type_style_index_0
119617
119621
  this.record.executeEvent = t.concat([
119618
119622
  { id: this.executeIds, executeEvent: this.executeEvent, ids: this.ids, parentId: this.itemData.id }
119619
119623
  ]);
119624
+ },
119625
+ getDictionary(s) {
119626
+ return this.$options.filters.dictData(s);
119620
119627
  }
119621
119628
  },
119622
119629
  mounted() {
@@ -119634,7 +119641,7 @@ var _sfc_render$1v = function s() {
119634
119641
  _sfc_staticRenderFns$1v,
119635
119642
  !1,
119636
119643
  null,
119637
- "912fc551",
119644
+ "5d2c11eb",
119638
119645
  null,
119639
119646
  null
119640
119647
  );
@@ -123840,7 +123847,7 @@ var _sfc_render$14 = function s() {
123840
123847
  null,
123841
123848
  null
123842
123849
  );
123843
- const propertiesTress = __component__$14.exports, propertiesInterac_vue_vue_type_style_index_0_scoped_2b48e65e_lang = "", _sfc_main$13 = {
123850
+ const propertiesTress = __component__$14.exports, propertiesInterac_vue_vue_type_style_index_0_scoped_d372ac0d_lang = "", _sfc_main$13 = {
123844
123851
  props: {
123845
123852
  selectItem: {
123846
123853
  type: Object,
@@ -123894,6 +123901,7 @@ const propertiesTress = __component__$14.exports, propertiesInterac_vue_vue_type
123894
123901
  },
123895
123902
  methods: {
123896
123903
  changeSysMethod(s) {
123904
+ this.interac.tableComponents = "";
123897
123905
  const t = this.tableLists.filter((a) => a.tablename === s)[0];
123898
123906
  sysViewList$1({ sysCodeGenId: t.id }).then((a) => {
123899
123907
  if (a.code === 200) {
@@ -123985,11 +123993,11 @@ var _sfc_render$13 = function s() {
123985
123993
  _sfc_staticRenderFns$13,
123986
123994
  !1,
123987
123995
  null,
123988
- "2b48e65e",
123996
+ "d372ac0d",
123989
123997
  null,
123990
123998
  null
123991
123999
  );
123992
- const propertiesInterac = __component__$13.exports, properties_vue_vue_type_style_index_0_scoped_7ef90012_lang = "", _sfc_main$12 = {
124000
+ const propertiesInterac = __component__$13.exports, properties_vue_vue_type_style_index_0_scoped_339270d3_lang = "", _sfc_main$12 = {
123993
124001
  props: {
123994
124002
  selectItem: {
123995
124003
  type: Object,
@@ -124175,6 +124183,9 @@ const propertiesInterac = __component__$13.exports, properties_vue_vue_type_styl
124175
124183
  propertiesInterac
124176
124184
  },
124177
124185
  methods: {
124186
+ changeFormat() {
124187
+ this.options.defaultValue = "";
124188
+ },
124178
124189
  changeType() {
124179
124190
  if (!["timePicker", "datePicker"].includes(this.selectItem.type))
124180
124191
  return;
@@ -124361,7 +124372,7 @@ var _sfc_render$12 = function s() {
124361
124372
  t.$set(t.options, "displayMode", r);
124362
124373
  }, expression: "options.displayMode" } }, t._l(t.displayModeDict, function(r) {
124363
124374
  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) {
124375
+ }), 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
124376
  t.$set(t.options, "format", r);
124366
124377
  }, expression: "options.format" } }, t._l(t.getTimeData, function(r) {
124367
124378
  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)))])]);
@@ -124504,7 +124515,7 @@ var _sfc_render$12 = function s() {
124504
124515
  _sfc_staticRenderFns$12,
124505
124516
  !1,
124506
124517
  null,
124507
- "7ef90012",
124518
+ "339270d3",
124508
124519
  null,
124509
124520
  null
124510
124521
  );
@@ -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.a1d814d1.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.9ee2019b.mjs";
3
3
  const C = {
4
4
  name: "GdVerificationCode",
5
5
  props: {