gds-plus-design-vue 1.1.33 → 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.
- package/lib/gd-initial.mjs +1 -1
- package/lib/gd-initial.umd.js +7 -7
- package/lib/{index.7c69f2f8.mjs → index.9ee2019b.mjs} +277 -137
- package/lib/{main.03cd6bf3.mjs → main.cc2d8da0.mjs} +1 -1
- package/lib/style.css +2 -2
- package/locale/en_US.js +3 -1
- package/locale/id_ID.js +3 -1
- package/locale/vi_VN.js +3 -1
- package/locale/zh_CN.js +3 -1
- package/package.json +2 -8
|
@@ -630,7 +630,7 @@ const constantRouterMap = [{
|
|
|
630
630
|
{
|
|
631
631
|
path: "login",
|
|
632
632
|
name: "login",
|
|
633
|
-
component: () => import("./main.
|
|
633
|
+
component: () => import("./main.cc2d8da0.mjs"),
|
|
634
634
|
meta: {
|
|
635
635
|
title: "\u767B\u5F55",
|
|
636
636
|
transKey: "gd.login.title"
|
|
@@ -1370,7 +1370,7 @@ var _sfc_render$5Y = function() {
|
|
|
1370
1370
|
null,
|
|
1371
1371
|
null
|
|
1372
1372
|
);
|
|
1373
|
-
const UserLogo = __component__$5Y.exports,
|
|
1373
|
+
const UserLogo = __component__$5Y.exports, sidebarMenus_vue_vue_type_style_index_0_scoped_6b8e5f8b_lang = "";
|
|
1374
1374
|
var timeOut$2 = null;
|
|
1375
1375
|
const _sfc_main$5X = {
|
|
1376
1376
|
props: {
|
|
@@ -1598,7 +1598,7 @@ var _sfc_render$5X = function() {
|
|
|
1598
1598
|
return [t.modeList.includes(r.code) ? a("div", { staticClass: "gd-menus-item", class: o != 0 && r.show ? "gd-menus-itembj" : "", attrs: { id: `gd-menus-item-${r.code}` } }, [r.show && t.modeMenus === "multiple" ? a("div", { staticClass: "divider" }, [a("div", { staticClass: "dividerl" }, [a("i", { staticClass: "gd-icons icons-menu", class: r.icon })]), a("span", { staticClass: "gdtitle", attrs: { title: t.$i18nt(`Dynamics.${r.transkey}`, r.name) } }, [t._v(" " + t._s(t.$i18nt(`Dynamics.${r.transkey}`, r.name)) + " ")])]) : t._e(), t._l(r.children, function(l) {
|
|
1599
1599
|
return [!l.hidden && l.show ? a("div", [l.type == 1 ? a("div", { staticClass: "item-list" }, [a("div", { staticClass: "item", class: l.path === t.activeKey ? "itemactive" : "", on: { click: function(d) {
|
|
1600
1600
|
return t.goPath(l, 1, r);
|
|
1601
|
-
} } }, [l.meta && l.meta.icon && l.meta.icon !== "none" ? a("div", { staticClass: "iteml" }, [a("i", { staticClass: "gd-icons icons-menu", class: l.meta.icon })]) : t._e(), a("div", { staticClass: "gdtitle line1", attrs: { title: t.$i18nt(`Dynamics.${l.
|
|
1601
|
+
} } }, [l.meta && l.meta.icon && l.meta.icon !== "none" ? a("div", { staticClass: "iteml" }, [a("i", { staticClass: "gd-icons icons-menu", class: l.meta.icon })]) : t._e(), a("div", { staticClass: "gdtitle line1", attrs: { title: t.$i18nt(`Dynamics.${l.transkey}`, l.meta.title) } }, [t._v(" " + t._s(t.$i18nt(`Dynamics.${l.transkey}`, l.meta.title)) + " ")]), t.getUserFavoriteMenu.includes(l.id) ? a("div", { staticClass: "item-collected" }, [t.getUserFavoriteMenu.includes(l.id) ? a("i", { staticClass: "gd-icons gd-icon-star-full", style: t.cstyle, on: { click: function(d) {
|
|
1602
1602
|
return d.stopPropagation(), t.collectMenu(l, 2);
|
|
1603
1603
|
} } }) : a("i", { staticClass: "gd-icons gd-icon-star", style: t.cstyle, on: { click: function(d) {
|
|
1604
1604
|
return d.stopPropagation(), t.collectMenu(l, 2);
|
|
@@ -1627,7 +1627,7 @@ var _sfc_render$5X = function() {
|
|
|
1627
1627
|
_sfc_staticRenderFns$5X,
|
|
1628
1628
|
!1,
|
|
1629
1629
|
null,
|
|
1630
|
-
"
|
|
1630
|
+
"6b8e5f8b",
|
|
1631
1631
|
null,
|
|
1632
1632
|
null
|
|
1633
1633
|
);
|
|
@@ -13404,7 +13404,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
13404
13404
|
}).default;
|
|
13405
13405
|
});
|
|
13406
13406
|
})(vuedraggable_umd);
|
|
13407
|
-
const draggable = /* @__PURE__ */ getDefaultExportFromCjs(vuedraggable_umd.exports),
|
|
13407
|
+
const draggable = /* @__PURE__ */ getDefaultExportFromCjs(vuedraggable_umd.exports), viewList_vue_vue_type_style_index_0_scoped_e7c62c46_lang = "", _sfc_main$5v = {
|
|
13408
13408
|
props: {
|
|
13409
13409
|
table: {
|
|
13410
13410
|
type: Object,
|
|
@@ -13698,7 +13698,11 @@ var _sfc_render$5v = function() {
|
|
|
13698
13698
|
t.$set(t.selItem, "align", l);
|
|
13699
13699
|
}, expression: "selItem.align" } }, t._l(t.alignList, function(l) {
|
|
13700
13700
|
return a("el-option", { key: l.code, attrs: { placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), label: t.$i18nt(l.transkey, l.name), value: l.code } });
|
|
13701
|
-
}), 1)], 1), a("el-form-item", { attrs: { label: t.$i18nt("gd.
|
|
13701
|
+
}), 1)], 1), t.selItem.effecttype === "datepicker" ? a("el-form-item", { attrs: { label: t.$i18nt("gd.page.displayFormat", "\u663E\u793A\u683C\u5F0F") } }, [a("el-select", { model: { value: t.selItem.format, callback: function(l) {
|
|
13702
|
+
t.$set(t.selItem, "format", l);
|
|
13703
|
+
}, expression: "selItem.format" } }, [t._l(t.getDictionary("time_longshort"), function(l) {
|
|
13704
|
+
return [a("el-option", { attrs: { placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), label: t.$i18nt(l.transkey, l.name), value: l.code } })];
|
|
13705
|
+
})], 2)], 1) : t._e(), a("el-form-item", { attrs: { label: t.$i18nt("gd.view.sorting", "\u5F00\u542F\u6392\u5E8F") } }, [a("el-switch", { attrs: { "active-color": t.primaryColor }, model: { value: t.selItem.orderconfig, callback: function(l) {
|
|
13702
13706
|
t.$set(t.selItem, "orderconfig", l);
|
|
13703
13707
|
}, expression: "selItem.orderconfig" } })], 1), t.selItem.effecttype != "participants" ? a("el-form-item", { attrs: { label: t.$i18nt("gd.view.gather", "\u5F00\u542F\u6C47\u603B") } }, [a("el-switch", { attrs: { "active-color": t.primaryColor, disabled: !["double", "currency", "inputnumber"].includes(t.selItem.effecttype) }, model: { value: t.selItem.gatherconfig, callback: function(l) {
|
|
13704
13708
|
t.$set(t.selItem, "gatherconfig", l);
|
|
@@ -13726,7 +13730,7 @@ var _sfc_render$5v = function() {
|
|
|
13726
13730
|
_sfc_staticRenderFns$5v,
|
|
13727
13731
|
!1,
|
|
13728
13732
|
null,
|
|
13729
|
-
"
|
|
13733
|
+
"e7c62c46",
|
|
13730
13734
|
null,
|
|
13731
13735
|
null
|
|
13732
13736
|
);
|
|
@@ -14563,7 +14567,7 @@ var _sfc_render$5q = function() {
|
|
|
14563
14567
|
null,
|
|
14564
14568
|
null
|
|
14565
14569
|
);
|
|
14566
|
-
const QueryRules = __component__$5q.exports,
|
|
14570
|
+
const QueryRules = __component__$5q.exports, viewQuery_vue_vue_type_style_index_0_scoped_58a81ecb_lang = "", intervalList = [
|
|
14567
14571
|
{
|
|
14568
14572
|
name: "\u4ECA\u5929",
|
|
14569
14573
|
keyI18n: "gd.view.today",
|
|
@@ -14688,6 +14692,10 @@ const QueryRules = __component__$5q.exports, viewQuery_vue_vue_type_style_index_
|
|
|
14688
14692
|
},
|
|
14689
14693
|
components: { draggable, FieldFiltering, QueryRules, EffectTypeIcon },
|
|
14690
14694
|
computed: {
|
|
14695
|
+
getEffectList() {
|
|
14696
|
+
const s = this.record.isvirtualtable == 1 ? "virtual_table_effect_type" : "code_gen_effect_type";
|
|
14697
|
+
return this.getDictionary(s);
|
|
14698
|
+
},
|
|
14691
14699
|
intervalData() {
|
|
14692
14700
|
let s = this.options.defaultInterval.filter((t) => t.type === "interval")[0];
|
|
14693
14701
|
return s || {};
|
|
@@ -14700,8 +14708,11 @@ const QueryRules = __component__$5q.exports, viewQuery_vue_vue_type_style_index_
|
|
|
14700
14708
|
return this.selItem.options || {};
|
|
14701
14709
|
},
|
|
14702
14710
|
fieldFormat() {
|
|
14703
|
-
const
|
|
14704
|
-
return
|
|
14711
|
+
const s = this.timeLongshort.filter((t) => String(t.code) === String(this.options.fieldFormat))[0];
|
|
14712
|
+
return s ? s.name : "yyyy-MM-dd hh:mm:ss";
|
|
14713
|
+
},
|
|
14714
|
+
timeLongshort() {
|
|
14715
|
+
return this.getDictionary("time_longshort");
|
|
14705
14716
|
},
|
|
14706
14717
|
height() {
|
|
14707
14718
|
let s = this.fullscreen ? 190 : 340;
|
|
@@ -14710,6 +14721,22 @@ const QueryRules = __component__$5q.exports, viewQuery_vue_vue_type_style_index_
|
|
|
14710
14721
|
...mapGetters(["tablePageSize", "tableSize", "screenHeight", "tableLists", "primaryColor"])
|
|
14711
14722
|
},
|
|
14712
14723
|
methods: {
|
|
14724
|
+
hasTimePicker(s) {
|
|
14725
|
+
const t = this.timeLongshort.filter((r) => r.code == s.fieldFormat)[0], a = t ? t.name : "yyyy-MM-dd";
|
|
14726
|
+
return ["hh:mm:ss", "hh:mm", "mm:ss"].includes(a);
|
|
14727
|
+
},
|
|
14728
|
+
pickerType(s) {
|
|
14729
|
+
const t = this.timeLongshort.filter((o) => o.code == s.fieldFormat)[0], a = t ? t.name : "yyyy-MM-dd";
|
|
14730
|
+
let r = "date";
|
|
14731
|
+
return a === "yyyy-MM-dd hh:mm:ss" ? r = "datetime" : a === "yyyy-MM" ? r = "month" : a === "yyyy" && (r = "year"), r;
|
|
14732
|
+
},
|
|
14733
|
+
changeFormat(s) {
|
|
14734
|
+
this.disabledInterval(s) && (s.displayStyle = 1), s.defaultValue = "";
|
|
14735
|
+
},
|
|
14736
|
+
disabledInterval(s) {
|
|
14737
|
+
const t = this.timeLongshort.filter((o) => o.code == s.fieldFormat)[0], a = t ? t.name : "yyyy-MM-dd";
|
|
14738
|
+
return !["yyyy-MM-dd hh:mm:ss", "yyyy-MM-dd"].includes(a);
|
|
14739
|
+
},
|
|
14713
14740
|
selDateDefault(s, t) {
|
|
14714
14741
|
let a = this.options.defaultInterval[t];
|
|
14715
14742
|
this.options.defaultInterval[t].value = a.value !== s.val ? s.val : "";
|
|
@@ -14735,7 +14762,7 @@ const QueryRules = __component__$5q.exports, viewQuery_vue_vue_type_style_index_
|
|
|
14735
14762
|
});
|
|
14736
14763
|
});
|
|
14737
14764
|
let r = this.selectedRowKeys.filter((l) => !a.includes(l)), o = this.loadFieldData.filter((l) => r.includes(l.id));
|
|
14738
|
-
this.list = t.concat(o), this.visible = !1;
|
|
14765
|
+
console.log(o, t), this.list = t.concat(o), this.visible = !1;
|
|
14739
14766
|
},
|
|
14740
14767
|
init(s) {
|
|
14741
14768
|
this.list = [...s];
|
|
@@ -14753,6 +14780,7 @@ const QueryRules = __component__$5q.exports, viewQuery_vue_vue_type_style_index_
|
|
|
14753
14780
|
const a = {
|
|
14754
14781
|
fieldFiltering: !0,
|
|
14755
14782
|
effectType: "",
|
|
14783
|
+
fieldFormat: "",
|
|
14756
14784
|
displayStyle: 0,
|
|
14757
14785
|
defaultValue: "",
|
|
14758
14786
|
defaultValueList: [],
|
|
@@ -14774,7 +14802,8 @@ const QueryRules = __component__$5q.exports, viewQuery_vue_vue_type_style_index_
|
|
|
14774
14802
|
{ ...a },
|
|
14775
14803
|
{
|
|
14776
14804
|
columnName: o.columnname,
|
|
14777
|
-
effectType: o.effecttype
|
|
14805
|
+
effectType: o.effecttype,
|
|
14806
|
+
fieldFormat: String(o.fieldformat)
|
|
14778
14807
|
}
|
|
14779
14808
|
), o.querywhether === "Y")).filter((o) => !(o.effecttype == "about" && o.columnname == (o.relations + "_abouttable").toLowerCase() || o.effecttype == "image" || o.effecttype == "file"));
|
|
14780
14809
|
this.loadFieldData = [...r], s({ pageNo: 1, pageSize: 40, totalRows: 0, rows: r });
|
|
@@ -14809,11 +14838,19 @@ var _sfc_render$5p = function() {
|
|
|
14809
14838
|
return t.popoverItem(r);
|
|
14810
14839
|
} } }, [a("el-popover", { attrs: { placement: "right", trigger: "click" } }, [a("div", { staticClass: "bitem", attrs: { slot: "reference" }, slot: "reference" }, [a("i", { staticClass: "el-icon-rank active-color drag-move" }), a("EffectTypeIcon", { attrs: { effectType: r.effecttype } }), a("div", { staticClass: "sku" }, [t._v(" " + t._s(r.columnname) + " ")]), a("el-divider", { attrs: { direction: "vertical" } }), a("div", { staticClass: "spu line1" }, [a("span", [t._v(t._s(t.$i18nt(`Dynamics.${r.transkey}`, r.columncomment)))])]), r.options.fieldFiltering ? t._e() : a("i", { staticClass: "el-icon-warning" }), a("i", { staticClass: "el-icon-delete", on: { click: function(l) {
|
|
14811
14840
|
return l.stopPropagation(), t.del(r);
|
|
14812
|
-
} } })], 1), a("div", { staticClass: "bconfig" }, [a("el-form-item", { attrs: { label: t.$i18nt("gd.field.effectType", "\u4F5C\u7528\u7C7B\u578B") } }, [a("el-
|
|
14841
|
+
} } })], 1), a("div", { staticClass: "bconfig" }, [a("el-form-item", { attrs: { label: t.$i18nt("gd.field.effectType", "\u4F5C\u7528\u7C7B\u578B") } }, [a("el-select", { staticStyle: { width: "100%" }, attrs: { disabled: "" }, model: { value: t.options.effectType, callback: function(l) {
|
|
14813
14842
|
t.$set(t.options, "effectType", l);
|
|
14814
|
-
}, expression: "options.effectType" } }
|
|
14843
|
+
}, expression: "options.effectType" } }, [t._l(t.getEffectList, function(l) {
|
|
14844
|
+
return [a("el-option", { attrs: { label: t.$i18nt(`Dynamics.${l.transkey}`, l.name), value: l.code } })];
|
|
14845
|
+
})], 2)], 1), r.effecttype === "datepicker" ? a("el-form-item", { attrs: { label: t.$i18nt("gd.page.displayFormat", "\u663E\u793A\u683C\u5F0F") } }, [a("el-select", { staticStyle: { width: "100%" }, on: { change: function(l) {
|
|
14846
|
+
return t.changeFormat(t.options);
|
|
14847
|
+
} }, model: { value: t.options.fieldFormat, callback: function(l) {
|
|
14848
|
+
t.$set(t.options, "fieldFormat", l);
|
|
14849
|
+
}, expression: "options.fieldFormat" } }, [t._l(t.getDictionary("time_longshort"), function(l) {
|
|
14850
|
+
return [a("el-option", { attrs: { placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), label: t.$i18nt(l.transkey, l.name), value: l.code } })];
|
|
14851
|
+
})], 2)], 1) : t._e(), t.selItem.effecttype === "datepicker" ? a("el-form-item", { attrs: { label: "\u64CD\u4F5C\u7B26" } }, [a("el-radio-group", { attrs: { size: "mini" }, model: { value: t.options.displayStyle, callback: function(l) {
|
|
14815
14852
|
t.$set(t.options, "displayStyle", l);
|
|
14816
|
-
}, expression: "options.displayStyle" } }, [a("el-radio-button", { attrs: { label: 0 } }, [t._v(t._s(t.$i18nt("gd.field.operationInterval", "\u533A\u95F4\u8303\u56F4")))]), a("el-radio-button", { attrs: { label: 1 } }, [t._v(t._s(t.$i18nt("gd.field.operationEqual", "\u7B49\u4E8E")))])], 1)], 1) : t._e(), [
|
|
14853
|
+
}, expression: "options.displayStyle" } }, [a("el-radio-button", { attrs: { label: 0, disabled: t.disabledInterval(t.options) } }, [t._v(" " + t._s(t.$i18nt("gd.field.operationInterval", "\u533A\u95F4\u8303\u56F4")) + " ")]), a("el-radio-button", { attrs: { label: 1 } }, [t._v(t._s(t.$i18nt("gd.field.operationEqual", "\u7B49\u4E8E")))])], 1)], 1) : t._e(), [
|
|
14817
14854
|
"switch",
|
|
14818
14855
|
"select",
|
|
14819
14856
|
"radio",
|
|
@@ -14833,19 +14870,21 @@ var _sfc_render$5p = function() {
|
|
|
14833
14870
|
t.$set(t.options, "defaultValue", l);
|
|
14834
14871
|
}, expression: "options.defaultValue" } })] : ["inputnumber", "double", "currency"].includes(t.selItem.effecttype) ? [a("el-input", { attrs: { "controls-position": "right", placeholder: t.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165") }, model: { value: t.options.defaultValue, callback: function(l) {
|
|
14835
14872
|
t.$set(t.options, "defaultValue", l);
|
|
14836
|
-
}, expression: "options.defaultValue" } })] : ["datepicker"].includes(t.selItem.effecttype) ? [a("div", { directives: [{ name: "show", rawName: "v-show", value: t.options.displayStyle == 1, expression: "options.displayStyle == 1" }] }, [a("el-
|
|
14873
|
+
}, expression: "options.defaultValue" } })] : ["datepicker"].includes(t.selItem.effecttype) ? [a("div", { directives: [{ name: "show", rawName: "v-show", value: t.options.displayStyle == 1, expression: "options.displayStyle == 1" }] }, [t.hasTimePicker(t.options) ? a("el-time-picker", { attrs: { "value-format": t.fieldFormat, format: t.fieldFormat, placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), disabled: t.equalData.value !== "" }, model: { value: t.options.defaultValue, callback: function(l) {
|
|
14874
|
+
t.$set(t.options, "defaultValue", l);
|
|
14875
|
+
}, expression: "options.defaultValue" } }) : a("el-date-picker", { attrs: { type: t.pickerType(t.options), "value-format": t.fieldFormat, format: t.fieldFormat, placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), disabled: t.equalData.value !== "" }, model: { value: t.options.defaultValue, callback: function(l) {
|
|
14837
14876
|
t.$set(t.options, "defaultValue", l);
|
|
14838
14877
|
}, expression: "options.defaultValue" } })], 1), a("div", { directives: [{ name: "show", rawName: "v-show", value: t.options.displayStyle != 1, expression: "options.displayStyle != 1" }] }, [a("el-date-picker", { staticStyle: { width: "320px" }, attrs: { type: "datetimerange", "range-separator": "~", "start-placeholder": t.$i18nt("el.datepicker.startDate", "\u5F00\u59CB\u65E5\u671F"), "end-placeholder": t.$i18nt("el.datepicker.endDate", "\u7ED3\u675F\u65E5\u671F"), "value-format": t.fieldFormat, format: t.fieldFormat, disabled: t.intervalData.value !== "" }, model: { value: t.options.defaultValueList, callback: function(l) {
|
|
14839
14878
|
t.$set(t.options, "defaultValueList", l);
|
|
14840
|
-
}, expression: "options.defaultValueList" } })], 1), t.options.displayStyle == 1 ? a("div", [t._l(t.equalList, function(l) {
|
|
14841
|
-
return [a("el-tag", { staticStyle: { cursor: "pointer", margin: "
|
|
14879
|
+
}, expression: "options.defaultValueList" } })], 1), t.disabledInterval(t.options) ? t._e() : [t.options.displayStyle == 1 ? a("div", [t._l(t.equalList, function(l) {
|
|
14880
|
+
return [a("el-tag", { staticStyle: { cursor: "pointer", margin: "6px 6px 6px 0" }, attrs: { type: t.equalData.value === l.val ? "success" : "info", effect: "dark" }, on: { click: function(d) {
|
|
14842
14881
|
return t.selDateDefault(l, 1);
|
|
14843
14882
|
} } }, [t._v(" " + t._s(t.$i18nt(l.keyI18n, l.name)) + " ")])];
|
|
14844
14883
|
})], 2) : a("div", [t._l(t.intervalList, function(l) {
|
|
14845
|
-
return [a("el-tag", { staticStyle: { cursor: "pointer", margin: "
|
|
14884
|
+
return [a("el-tag", { staticStyle: { cursor: "pointer", margin: "6px 6px 6px 0" }, attrs: { type: t.intervalData.value === l.val ? "success" : "info", effect: "dark" }, on: { click: function(d) {
|
|
14846
14885
|
return t.selDateDefault(l, 0);
|
|
14847
14886
|
} } }, [t._v(" " + t._s(t.$i18nt(l.keyI18n, l.name)) + " ")])];
|
|
14848
|
-
})], 2)] : t._e()], 2) : t._e(), t.selItem.effecttype === "fk" ? a("el-form-item", { attrs: { label: t.$i18nt("gd.form.cascadingFilter", "\u7EA7\u8054\u7B5B\u9009") } }, [a("FieldFiltering", { attrs: { selectItem: t.options, loadData: t.tableFieldList } })], 1) : t._e(), a("el-form-item", { attrs: { label: t.$i18nt("gd.form.actionProperties", "\u64CD\u4F5C\u5C5E\u6027") } }, [a("el-checkbox", { model: { value: t.options.hidden, callback: function(l) {
|
|
14887
|
+
})], 2)]] : t._e()], 2) : t._e(), t.selItem.effecttype === "fk" ? a("el-form-item", { attrs: { label: t.$i18nt("gd.form.cascadingFilter", "\u7EA7\u8054\u7B5B\u9009") } }, [a("FieldFiltering", { attrs: { selectItem: t.options, loadData: t.tableFieldList } })], 1) : t._e(), a("el-form-item", { attrs: { label: t.$i18nt("gd.form.actionProperties", "\u64CD\u4F5C\u5C5E\u6027") } }, [a("el-checkbox", { model: { value: t.options.hidden, callback: function(l) {
|
|
14849
14888
|
t.$set(t.options, "hidden", l);
|
|
14850
14889
|
}, expression: "options.hidden" } }, [t._v(" " + t._s(t.$i18nt("gd.form.hide", "\u9690\u85CF")) + " ")]), a("el-checkbox", { model: { value: t.options.required, callback: function(l) {
|
|
14851
14890
|
t.$set(t.options, "required", l);
|
|
@@ -14857,7 +14896,7 @@ var _sfc_render$5p = function() {
|
|
|
14857
14896
|
_sfc_staticRenderFns$5p,
|
|
14858
14897
|
!1,
|
|
14859
14898
|
null,
|
|
14860
|
-
"
|
|
14899
|
+
"58a81ecb",
|
|
14861
14900
|
null,
|
|
14862
14901
|
null
|
|
14863
14902
|
);
|
|
@@ -15170,7 +15209,7 @@ function sysSafeConfigMemberDel(s) {
|
|
|
15170
15209
|
params: s
|
|
15171
15210
|
});
|
|
15172
15211
|
}
|
|
15173
|
-
const
|
|
15212
|
+
const editPerson_vue_vue_type_style_index_0_scoped_a095cf56_lang = "", defaultList$1 = [
|
|
15174
15213
|
{
|
|
15175
15214
|
code: 1,
|
|
15176
15215
|
name: "\u662F",
|
|
@@ -15296,7 +15335,7 @@ const editPerson_vue_vue_type_style_index_0_scoped_684cac06_lang = "", defaultLi
|
|
|
15296
15335
|
add() {
|
|
15297
15336
|
let s = [], t = [], a = [];
|
|
15298
15337
|
this.list.forEach((d, u) => {
|
|
15299
|
-
let f = String(d.id).split("-"), h = `${d.align}&${d.visible ? 1 : 0}&${d.displaymode}&${d.displayprefix}`, p = {
|
|
15338
|
+
let f = String(d.id).split("-"), h = `${d.align}&${d.visible ? 1 : 0}&${d.displaymode}&${d.displayprefix}&${d.preview}&${d.download}&${d.format}`, p = {
|
|
15300
15339
|
name: d.alias == "" ? d.columncomment : d.alias,
|
|
15301
15340
|
width: d.num,
|
|
15302
15341
|
order: u,
|
|
@@ -15359,7 +15398,7 @@ const editPerson_vue_vue_type_style_index_0_scoped_684cac06_lang = "", defaultLi
|
|
|
15359
15398
|
edit() {
|
|
15360
15399
|
let s = [], t = [], a = [];
|
|
15361
15400
|
this.list.forEach((d, u) => {
|
|
15362
|
-
let f = String(d.id).split("-"), h = `${d.align}&${d.visible ? 1 : 0}&${d.displaymode}&${d.displayprefix}`;
|
|
15401
|
+
let f = String(d.id).split("-"), h = `${d.align}&${d.visible ? 1 : 0}&${d.displaymode}&${d.displayprefix}&${d.preview}&${d.download}&${d.format}`;
|
|
15363
15402
|
if (this.isChecked(d.id, this.record.data.syssavedqueryfields)) {
|
|
15364
15403
|
let p = {
|
|
15365
15404
|
id: 0,
|
|
@@ -15493,7 +15532,8 @@ const editPerson_vue_vue_type_style_index_0_scoped_684cac06_lang = "", defaultLi
|
|
|
15493
15532
|
displaymode: h[2] ? h[2] : "none",
|
|
15494
15533
|
displayprefix: h[3] ? h[3] : "none",
|
|
15495
15534
|
preview: h[4] ? h[4] === "true" : !0,
|
|
15496
|
-
download: h[5] ? h[5] === "true" : !0
|
|
15535
|
+
download: h[5] ? h[5] === "true" : !0,
|
|
15536
|
+
format: h[6] ? h[6] : String(l.fieldformat)
|
|
15497
15537
|
}
|
|
15498
15538
|
);
|
|
15499
15539
|
t.push(p);
|
|
@@ -15524,7 +15564,8 @@ const editPerson_vue_vue_type_style_index_0_scoped_684cac06_lang = "", defaultLi
|
|
|
15524
15564
|
displaymode: v[2] ? v[2] : "none",
|
|
15525
15565
|
displayprefix: v[3] ? v[3] : "none",
|
|
15526
15566
|
preview: v[4] ? v[4] === "true" : !0,
|
|
15527
|
-
download: v[5] ? v[5] === "true" : !0
|
|
15567
|
+
download: v[5] ? v[5] === "true" : !0,
|
|
15568
|
+
format: v[6] ? v[6] : String(d.fieldformat)
|
|
15528
15569
|
}
|
|
15529
15570
|
);
|
|
15530
15571
|
t.push(g);
|
|
@@ -15708,11 +15749,11 @@ var _sfc_render$5o = function() {
|
|
|
15708
15749
|
_sfc_staticRenderFns$5o,
|
|
15709
15750
|
!1,
|
|
15710
15751
|
null,
|
|
15711
|
-
"
|
|
15752
|
+
"a095cf56",
|
|
15712
15753
|
null,
|
|
15713
15754
|
null
|
|
15714
15755
|
);
|
|
15715
|
-
const EditPerson = __component__$5o.exports,
|
|
15756
|
+
const EditPerson = __component__$5o.exports, settings_vue_vue_type_style_index_0_scoped_18b18fc7_lang = "", _sfc_main$5n = {
|
|
15716
15757
|
props: {
|
|
15717
15758
|
showTitle: {
|
|
15718
15759
|
type: Boolean,
|
|
@@ -16090,7 +16131,7 @@ const EditPerson = __component__$5o.exports, settings_vue_vue_type_style_index_0
|
|
|
16090
16131
|
}, u = this.$i18nt(`Dynamics.${o.transkey}`, o.columncomment), f = this.$i18nt(`Dynamics.${l.transkey}`, l.name);
|
|
16091
16132
|
d.order = l.order, d.num = l.width, d.aliastranskey = l.transkey ? l.transkey : null, d.alias = u === f ? "" : f, d.orderconfig = l.orderconfig == 1, d.columnname = l.field ? l.field.columnname : o.columnname, d.codegenid = l.field ? l.field.codegenid : o.codegenid, d.gatherconfig = l.gatherconfig == 1, d.maxtagcount = l.maxtagcount ? l.maxtagcount : 2, d.fkrelations = `${u} -- ${o.columnname}`, d.transkey = o.transkey, d.operate = "edit", d.aliasold = f;
|
|
16092
16133
|
let h = l.align ? l.align.split("&") : [];
|
|
16093
|
-
d.align = h[0] ? h[0] : "left", d.visible = h[1] ? h[1] == 1 : !0, d.displaymode = h[2] ? h[2] : "none", d.displayprefix = h[3] ? h[3] : "none", d.preview = h[4] ? h[4] === "true" : !0, d.download = h[5] ? h[5] === "true" : !0, r.push(d);
|
|
16134
|
+
d.align = h[0] ? h[0] : "left", d.visible = h[1] ? h[1] == 1 : !0, d.displaymode = h[2] ? h[2] : "none", d.displayprefix = h[3] ? h[3] : "none", d.preview = h[4] ? h[4] === "true" : !0, d.download = h[5] ? h[5] === "true" : !0, d.format = h[6] ? h[6] : String(o.fieldformat), r.push(d);
|
|
16094
16135
|
}
|
|
16095
16136
|
}
|
|
16096
16137
|
o.children && o.children.length > 0 && o.children.forEach((l) => {
|
|
@@ -16102,7 +16143,7 @@ const EditPerson = __component__$5o.exports, settings_vue_vue_type_style_index_0
|
|
|
16102
16143
|
}, f = this.$i18nt(`Dynamics.${o.transkey}`, o.columncomment), h = this.$i18nt(`Dynamics.${l.transkey}`, l.columncomment), p = this.$i18nt(`Dynamics.${d.transkey}`, d.name);
|
|
16103
16144
|
u.order = d.order, u.num = d.width, u.aliastranskey = d.transkey ? d.transkey : null, u.alias = h === p ? "" : p, u.id = u.id + "-" + o.id, u.orderconfig = d.orderconfig == 1, u.gatherconfig = d.gatherconfig == 1, u.fkrelations = `${f} -- ${o.columnname}`, u.maxtagcount = d.maxtagcount ? d.maxtagcount : 2, u.transkey = l.transkey, u.operate = "edit", u.aliasold = p;
|
|
16104
16145
|
let v = d.align ? d.align.split("&") : [];
|
|
16105
|
-
u.align = v[0] ? v[0] : "left", u.visible = v[1] ? v[1] == 1 : !0, u.displaymode = v[2] ? v[2] : "none", u.displayprefix = v[3] ? v[3] : "none", u.preview = v[4] ? v[4] === "true" : !0, u.download = v[5] ? v[5] === "true" : !0, r.push(u);
|
|
16146
|
+
u.align = v[0] ? v[0] : "left", u.visible = v[1] ? v[1] == 1 : !0, u.displaymode = v[2] ? v[2] : "none", u.displayprefix = v[3] ? v[3] : "none", u.preview = v[4] ? v[4] === "true" : !0, u.download = v[5] ? v[5] === "true" : !0, u.format = v[6] ? v[6] : String(l.fieldformat), r.push(u);
|
|
16106
16147
|
}
|
|
16107
16148
|
}
|
|
16108
16149
|
});
|
|
@@ -16254,7 +16295,7 @@ var _sfc_render$5n = function() {
|
|
|
16254
16295
|
_sfc_staticRenderFns$5n,
|
|
16255
16296
|
!1,
|
|
16256
16297
|
null,
|
|
16257
|
-
"
|
|
16298
|
+
"18b18fc7",
|
|
16258
16299
|
null,
|
|
16259
16300
|
null
|
|
16260
16301
|
);
|
|
@@ -18411,7 +18452,7 @@ var _sfc_render$5e = function() {
|
|
|
18411
18452
|
null,
|
|
18412
18453
|
null
|
|
18413
18454
|
);
|
|
18414
|
-
const XlsxExport = __component__$5e.exports,
|
|
18455
|
+
const XlsxExport = __component__$5e.exports, result_vue_vue_type_style_index_0_scoped_deac0f84_lang = "", _sfc_main$5d = {
|
|
18415
18456
|
props: {
|
|
18416
18457
|
height: {
|
|
18417
18458
|
type: Number,
|
|
@@ -18587,7 +18628,8 @@ const XlsxExport = __component__$5e.exports, result_vue_vue_type_style_index_0_s
|
|
|
18587
18628
|
displayMode: s.displaymode,
|
|
18588
18629
|
displayPrefix: s.displayprefix,
|
|
18589
18630
|
preview: s.preview,
|
|
18590
|
-
download: s.download
|
|
18631
|
+
download: s.download,
|
|
18632
|
+
format: s.format
|
|
18591
18633
|
};
|
|
18592
18634
|
return s.operate != "add" && s.alias != "" && s.aliastranskey ? Object.assign(p, {
|
|
18593
18635
|
transKey: `Dynamics.${s.aliastranskey}`
|
|
@@ -18903,7 +18945,7 @@ var _sfc_render$5d = function() {
|
|
|
18903
18945
|
_sfc_staticRenderFns$5d,
|
|
18904
18946
|
!1,
|
|
18905
18947
|
null,
|
|
18906
|
-
"
|
|
18948
|
+
"deac0f84",
|
|
18907
18949
|
null,
|
|
18908
18950
|
null
|
|
18909
18951
|
);
|
|
@@ -32077,7 +32119,7 @@ function processingResults$2(s, t) {
|
|
|
32077
32119
|
function isSatisfyed$2(s, t) {
|
|
32078
32120
|
return t === "2" ? s.every((a, r, o) => !a) : s.every((a, r, o) => !!a);
|
|
32079
32121
|
}
|
|
32080
|
-
const
|
|
32122
|
+
const main_vue_vue_type_style_index_0_scoped_88c02157_lang = "", _sfc_main$4T = {
|
|
32081
32123
|
name: "GdTableQueriesField",
|
|
32082
32124
|
props: {
|
|
32083
32125
|
height: {
|
|
@@ -32278,7 +32320,7 @@ const main_vue_vue_type_style_index_0_scoped_ede1f888_lang = "", _sfc_main$4T =
|
|
|
32278
32320
|
let o = this.columns.filter((l) => l.prop === r)[0];
|
|
32279
32321
|
["checkbox"].includes(o.effectType) ? a.set(r, this.ruleFormData[r].join(",")) : a.set(r, this.ruleFormData[r]);
|
|
32280
32322
|
}
|
|
32281
|
-
this.$emit("save", Object.fromEntries(a)), this.cancel();
|
|
32323
|
+
this.$emit("save", Object.fromEntries(a), this.columns), this.cancel();
|
|
32282
32324
|
} else {
|
|
32283
32325
|
let a = new Map(Object.entries(t)), r = [];
|
|
32284
32326
|
for (let u of a.keys())
|
|
@@ -32345,11 +32387,15 @@ var _sfc_render$4T = function() {
|
|
|
32345
32387
|
return a("el-option", { key: l.id, attrs: { label: t.$i18nt(`Dynamics.${l.transkey}`, l.busname), value: l.id } }, [t._v(" " + t._s(t.$i18nt(`Dynamics.${l.transkey}`, l.busname)) + " " + t._s(l.tablename) + " ")]);
|
|
32346
32388
|
}), 1)] : r.effectType === "selectFkMultiple" ? [a("SelectFkMultiple", { ref: `fk_${r.prop}`, refInFor: !0, attrs: { column: r, ruleFormData: t.ruleFormData, visible: t.visible, recordRelation: t.recordRelation, openMode: t.openMode, changeTrigger: t.changeTrigger }, on: { change: function(l) {
|
|
32347
32389
|
return t.handleChange(r);
|
|
32348
|
-
} } })] : r.effectType == "datepicker" ? [r.options.displayStyle === 1 ? a("el-
|
|
32390
|
+
} } })] : r.effectType == "datepicker" ? [r.options.displayStyle === 1 ? [r.hasTimePicker ? a("el-time-picker", { staticStyle: { width: "100%" }, attrs: { "value-format": r.valueFormat, format: r.valueFormat, placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), disabled: r.disabled === void 0 ? !1 : r.disabled }, on: { change: function(l) {
|
|
32391
|
+
return t.handleChange(r);
|
|
32392
|
+
} }, model: { value: t.ruleFormData[r.prop], callback: function(l) {
|
|
32393
|
+
t.$set(t.ruleFormData, r.prop, l);
|
|
32394
|
+
}, expression: "ruleFormData[column.prop]" } }) : a("el-date-picker", { staticStyle: { width: "100%" }, attrs: { type: r.pickerType, "value-format": r.valueFormat, format: r.valueFormat, placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), disabled: r.disabled === void 0 ? !1 : r.disabled }, on: { change: function(l) {
|
|
32349
32395
|
return t.handleChange(r);
|
|
32350
32396
|
} }, model: { value: t.ruleFormData[r.prop], callback: function(l) {
|
|
32351
32397
|
t.$set(t.ruleFormData, r.prop, l);
|
|
32352
|
-
}, expression: "ruleFormData[column.prop]" } }) : a("el-date-picker", { staticStyle: { width: "100%" }, attrs: { type: "daterange", format: "yyyy-MM-dd", "value-format": "yyyy-MM-dd", "range-separator": "~", "start-placeholder": t.$i18nt("el.datepicker.startDate", "\u5F00\u59CB\u65E5\u671F"), "end-placeholder": t.$i18nt("el.datepicker.endDate", "\u7ED3\u675F\u65E5\u671F"), disabled: r.disabled === void 0 ? !1 : r.disabled }, on: { change: function(l) {
|
|
32398
|
+
}, expression: "ruleFormData[column.prop]" } })] : a("el-date-picker", { staticStyle: { width: "100%" }, attrs: { type: "daterange", format: "yyyy-MM-dd", "value-format": "yyyy-MM-dd", "range-separator": "~", "start-placeholder": t.$i18nt("el.datepicker.startDate", "\u5F00\u59CB\u65E5\u671F"), "end-placeholder": t.$i18nt("el.datepicker.endDate", "\u7ED3\u675F\u65E5\u671F"), disabled: r.disabled === void 0 ? !1 : r.disabled }, on: { change: function(l) {
|
|
32353
32399
|
return t.handleChange(r);
|
|
32354
32400
|
} }, model: { value: t.ruleFormData[r.prop], callback: function(l) {
|
|
32355
32401
|
t.$set(t.ruleFormData, r.prop, l);
|
|
@@ -32365,7 +32411,7 @@ var _sfc_render$4T = function() {
|
|
|
32365
32411
|
_sfc_staticRenderFns$4T,
|
|
32366
32412
|
!1,
|
|
32367
32413
|
null,
|
|
32368
|
-
"
|
|
32414
|
+
"88c02157",
|
|
32369
32415
|
null,
|
|
32370
32416
|
null
|
|
32371
32417
|
);
|
|
@@ -78134,7 +78180,7 @@ const mixins$1e = {
|
|
|
78134
78180
|
}]
|
|
78135
78181
|
};
|
|
78136
78182
|
}
|
|
78137
|
-
},
|
|
78183
|
+
}, dictColumn_vue_vue_type_style_index_0_scoped_a97606ac_lang = "", _sfc_main$4x = {
|
|
78138
78184
|
props: {
|
|
78139
78185
|
typeId: {
|
|
78140
78186
|
type: [String, Number],
|
|
@@ -78315,7 +78361,7 @@ const mixins$1e = {
|
|
|
78315
78361
|
var _sfc_render$4x = function() {
|
|
78316
78362
|
var t = this, a = t._self._c;
|
|
78317
78363
|
return a("div", [a("el-divider", { staticClass: "setting-divider" }), a("div", { staticStyle: { "font-size": "16px", "font-weight": "700", color: "#303133", "margin-bottom": "6px" } }, [t._v(" " + t._s(t.$i18nt("gd.dict.dictManagement", "\u5B57\u5178\u503C\u7BA1\u7406")) + " ")]), a("el-divider", { staticClass: "setting-divider" }), a("gd-tables", { ref: "tableManage", attrs: { dataSource: t.loadData, size: t.tableSize, pageSize: t.tablePageSize, columns: t.tableColumns, selectedRowKeys: t.selectedRowKeys, height: t.height, filtering: !0 }, on: { onChange: t.onSelectChange }, scopedSlots: t._u([{ key: "values", fn: function({ column: r, row: o }) {
|
|
78318
|
-
return [a("gd-tooltip", { attrs: { rowKey: "value", row: o, transKey: `Dynamics.${o.
|
|
78364
|
+
return [a("gd-tooltip", { attrs: { rowKey: "value", row: o, transKey: `Dynamics.${o.transkey}`, highlight: "" }, on: { click: t.editForm } })];
|
|
78319
78365
|
} }, { key: "stateCodes", fn: function(r) {
|
|
78320
78366
|
return [a("div", { staticStyle: { cursor: "pointer" }, on: { click: function(o) {
|
|
78321
78367
|
return o.stopPropagation(), t.editStateCodes(r);
|
|
@@ -78343,7 +78389,7 @@ var _sfc_render$4x = function() {
|
|
|
78343
78389
|
_sfc_staticRenderFns$4x,
|
|
78344
78390
|
!1,
|
|
78345
78391
|
null,
|
|
78346
|
-
"
|
|
78392
|
+
"a97606ac",
|
|
78347
78393
|
null,
|
|
78348
78394
|
null
|
|
78349
78395
|
);
|
|
@@ -109865,7 +109911,7 @@ var _sfc_render$2l = function s() {
|
|
|
109865
109911
|
null,
|
|
109866
109912
|
null
|
|
109867
109913
|
);
|
|
109868
|
-
const ViewTree = __component__$2l.exports,
|
|
109914
|
+
const ViewTree = __component__$2l.exports, edit_vue_vue_type_style_index_0_scoped_e0c171a9_lang = "", defaultList = [
|
|
109869
109915
|
{
|
|
109870
109916
|
code: 1,
|
|
109871
109917
|
name: "\u662F",
|
|
@@ -109973,6 +110019,9 @@ const ViewTree = __component__$2l.exports, edit_vue_vue_type_style_index_0_scope
|
|
|
109973
110019
|
};
|
|
109974
110020
|
},
|
|
109975
110021
|
computed: {
|
|
110022
|
+
formatDict() {
|
|
110023
|
+
return this.$options.filters.dictData("time_longshort");
|
|
110024
|
+
},
|
|
109976
110025
|
title() {
|
|
109977
110026
|
return this.record ? this.$i18nt("gd.https.edit", "\u7F16\u8F91") : this.$i18nt("gd.https.add", "\u65B0\u589E");
|
|
109978
110027
|
},
|
|
@@ -110044,7 +110093,8 @@ const ViewTree = __component__$2l.exports, edit_vue_vue_type_style_index_0_scope
|
|
|
110044
110093
|
displaymode: u[2] ? u[2] : "none",
|
|
110045
110094
|
displayprefix: u[3] ? u[3] : "none",
|
|
110046
110095
|
preview: u[4] ? u[4] === "true" : !0,
|
|
110047
|
-
download: u[5] ? u[5] === "true" : !0
|
|
110096
|
+
download: u[5] ? u[5] === "true" : !0,
|
|
110097
|
+
format: u[6] ? u[6] : String(r.fieldformat)
|
|
110048
110098
|
}
|
|
110049
110099
|
);
|
|
110050
110100
|
t.push(f);
|
|
@@ -110075,7 +110125,8 @@ const ViewTree = __component__$2l.exports, edit_vue_vue_type_style_index_0_scope
|
|
|
110075
110125
|
displaymode: h[2] ? h[2] : "none",
|
|
110076
110126
|
displayprefix: h[3] ? h[3] : "none",
|
|
110077
110127
|
preview: h[4] ? h[4] === "true" : !0,
|
|
110078
|
-
download: h[5] ? h[5] === "true" : !0
|
|
110128
|
+
download: h[5] ? h[5] === "true" : !0,
|
|
110129
|
+
format: h[6] ? h[6] : String(o.fieldformat)
|
|
110079
110130
|
}
|
|
110080
110131
|
);
|
|
110081
110132
|
t.push(p);
|
|
@@ -110110,25 +110161,33 @@ const ViewTree = __component__$2l.exports, edit_vue_vue_type_style_index_0_scope
|
|
|
110110
110161
|
this.rulesList = s.data.ruleconfig ? JSON.parse(s.data.ruleconfig) : [];
|
|
110111
110162
|
let t = s.data.sysviewqueries ? s.data.sysviewqueries : [];
|
|
110112
110163
|
t.forEach((r, o) => {
|
|
110113
|
-
|
|
110114
|
-
|
|
110115
|
-
|
|
110116
|
-
|
|
110117
|
-
|
|
110118
|
-
|
|
110119
|
-
|
|
110120
|
-
|
|
110121
|
-
|
|
110122
|
-
|
|
110123
|
-
|
|
110124
|
-
|
|
110125
|
-
|
|
110126
|
-
|
|
110127
|
-
|
|
110128
|
-
|
|
110129
|
-
|
|
110130
|
-
|
|
110131
|
-
|
|
110164
|
+
if (!r.options)
|
|
110165
|
+
t[o].options = {
|
|
110166
|
+
effectType: "",
|
|
110167
|
+
fieldFormat: "",
|
|
110168
|
+
displayStyle: 0,
|
|
110169
|
+
defaultValue: "",
|
|
110170
|
+
defaultValueList: [],
|
|
110171
|
+
filter: [],
|
|
110172
|
+
hidden: !1,
|
|
110173
|
+
required: !1,
|
|
110174
|
+
defaultInterval: [
|
|
110175
|
+
{
|
|
110176
|
+
type: "interval",
|
|
110177
|
+
value: ""
|
|
110178
|
+
},
|
|
110179
|
+
{
|
|
110180
|
+
type: "equal",
|
|
110181
|
+
value: ""
|
|
110182
|
+
}
|
|
110183
|
+
]
|
|
110184
|
+
};
|
|
110185
|
+
else {
|
|
110186
|
+
const l = typeof r.options == "string" ? JSON.parse(r.options) : r.options;
|
|
110187
|
+
t[o].options = Object.assign(l, {
|
|
110188
|
+
fieldFormat: l.fieldFormat !== void 0 ? l.fieldFormat : "2"
|
|
110189
|
+
});
|
|
110190
|
+
}
|
|
110132
110191
|
}), this.lodaData = Object.assign(s.data, {
|
|
110133
110192
|
sysviewqueries: [...t]
|
|
110134
110193
|
}), this.filterList = s.data.filterconfig ? JSON.parse(s.data.filterconfig) : JSON.parse(JSON.stringify(this.plugFilters));
|
|
@@ -110232,7 +110291,7 @@ const ViewTree = __component__$2l.exports, edit_vue_vue_type_style_index_0_scope
|
|
|
110232
110291
|
add() {
|
|
110233
110292
|
let s = [], t = [], a = [];
|
|
110234
110293
|
this.list.forEach((u, f) => {
|
|
110235
|
-
let h = String(u.id).split("-"), p = `${u.align}&${u.visible ? 1 : 0}&${u.displaymode}&${u.displayprefix}&${u.preview}&${u.download}`, v = {
|
|
110294
|
+
let h = String(u.id).split("-"), p = `${u.align}&${u.visible ? 1 : 0}&${u.displaymode}&${u.displayprefix}&${u.preview}&${u.download}&${u.format}`, v = {
|
|
110236
110295
|
name: u.alias == "" ? u.columncomment : u.alias,
|
|
110237
110296
|
width: u.num,
|
|
110238
110297
|
order: f,
|
|
@@ -110296,7 +110355,7 @@ const ViewTree = __component__$2l.exports, edit_vue_vue_type_style_index_0_scope
|
|
|
110296
110355
|
edit(s = 1) {
|
|
110297
110356
|
let t = [], a = [], r = [];
|
|
110298
110357
|
this.list.forEach((f, h) => {
|
|
110299
|
-
let p = String(f.id).split("-"), v = `${f.align}&${f.visible ? 1 : 0}&${f.displaymode}&${f.displayprefix}&${f.preview}&${f.download}`;
|
|
110358
|
+
let p = String(f.id).split("-"), v = `${f.align}&${f.visible ? 1 : 0}&${f.displaymode}&${f.displayprefix}&${f.preview}&${f.download}&${f.format}`;
|
|
110300
110359
|
if (this.isChecked(f.id, this.lodaData.sysviewfields)) {
|
|
110301
110360
|
let g = {
|
|
110302
110361
|
id: 0,
|
|
@@ -110484,7 +110543,7 @@ var _sfc_render$2k = function s() {
|
|
|
110484
110543
|
_sfc_staticRenderFns$2k,
|
|
110485
110544
|
!1,
|
|
110486
110545
|
null,
|
|
110487
|
-
"
|
|
110546
|
+
"e0c171a9",
|
|
110488
110547
|
null,
|
|
110489
110548
|
null
|
|
110490
110549
|
);
|
|
@@ -114128,11 +114187,11 @@ var _sfc_render$21 = function s() {
|
|
|
114128
114187
|
);
|
|
114129
114188
|
const titleVlaue = __component__$21.exports;
|
|
114130
114189
|
function getColumns(s, t, a) {
|
|
114131
|
-
var
|
|
114190
|
+
var p, v, g, y;
|
|
114132
114191
|
if (!s.syscodegenconfig && !s.syscodegenconfigfk)
|
|
114133
114192
|
return console.log("\u5B57\u6BB5:" + s.name + "\u6570\u636E\u9519\u8BEF!"), null;
|
|
114134
|
-
const r = ["fk", "user"].includes(s.syscodegenconfig.effecttype) ? (
|
|
114135
|
-
let
|
|
114193
|
+
const r = ["fk", "user"].includes(s.syscodegenconfig.effecttype) ? (p = s.syscodegenconfigfk) == null ? void 0 : p.effecttype : s.syscodegenconfig.effecttype, o = s.syscodegenconfig.effecttype, l = getColumnName(s).toLowerCase(), d = s.align ? s.align.split("&") : [], u = getScopedSlots(o, l, s), f = ["fk", "user"].includes(o) ? (v = s.syscodegenconfigfk) == null ? void 0 : v.fieldformat : s.syscodegenconfig.fieldformat;
|
|
114194
|
+
let h = {
|
|
114136
114195
|
key: l,
|
|
114137
114196
|
transKey: `Dynamics.${s.transkey}`,
|
|
114138
114197
|
prop: l,
|
|
@@ -114142,14 +114201,14 @@ function getColumns(s, t, a) {
|
|
|
114142
114201
|
columnName: s.syscodegenconfig.columnname,
|
|
114143
114202
|
fkEntityName: s.syscodegenconfig.fkentityname,
|
|
114144
114203
|
id: s.fieldid,
|
|
114145
|
-
fkId: ["fk", "about", "user"].includes(o) ? (
|
|
114204
|
+
fkId: ["fk", "about", "user"].includes(o) ? (g = s.syscodegenconfigfk) == null ? void 0 : g.id : null,
|
|
114146
114205
|
align: d[0] ? d[0] : "center",
|
|
114147
114206
|
checked: d[1] ? d[1] == 1 : !0,
|
|
114148
114207
|
effectType: r,
|
|
114149
114208
|
fieldType: o,
|
|
114150
114209
|
gatherConfig: s.gatherconfig == 1,
|
|
114151
|
-
fieldFormat: [
|
|
114152
|
-
dictTypeCode: ["fk", "user"].includes(o) ? (
|
|
114210
|
+
fieldFormat: d[6] ? d[6] : f,
|
|
114211
|
+
dictTypeCode: ["fk", "user"].includes(o) ? (y = s.syscodegenconfigfk) == null ? void 0 : y.dicttypecode : s.syscodegenconfig.dicttypecode,
|
|
114153
114212
|
dictTypeList: [],
|
|
114154
114213
|
maxTagCount: s.maxtagcount ? Number(s.maxtagcount) : 2,
|
|
114155
114214
|
sourceFk: !!["fk", "about", "user"].includes(o),
|
|
@@ -114158,13 +114217,13 @@ function getColumns(s, t, a) {
|
|
|
114158
114217
|
preview: d[4] ? d[4] === "true" : !0,
|
|
114159
114218
|
download: d[5] ? d[5] === "true" : !0
|
|
114160
114219
|
};
|
|
114161
|
-
return s.orderconfig === 1 && Object.assign(
|
|
114220
|
+
return s.orderconfig === 1 && Object.assign(h, {
|
|
114162
114221
|
sortable: "custom"
|
|
114163
|
-
}), t < a && Object.assign(
|
|
114222
|
+
}), t < a && Object.assign(h, {
|
|
114164
114223
|
fixed: "left"
|
|
114165
|
-
}), ["participants"].includes(o) && Object.assign(
|
|
114224
|
+
}), ["participants"].includes(o) && Object.assign(h, {
|
|
114166
114225
|
showTooltip: !1
|
|
114167
|
-
}), Object.assign(
|
|
114226
|
+
}), Object.assign(h, u);
|
|
114168
114227
|
}
|
|
114169
114228
|
function getColumnName(s) {
|
|
114170
114229
|
const t = s.syscodegenconfigfk ? s.syscodegenconfigfk.columnname : "";
|
|
@@ -114197,9 +114256,11 @@ function getQueries(s, t, a) {
|
|
|
114197
114256
|
message: a,
|
|
114198
114257
|
trigger: "blur"
|
|
114199
114258
|
};
|
|
114200
|
-
|
|
114259
|
+
["inputnumber", "double", " currency"].includes(s.syscodegenconfig.effecttype) && Object.assign(o, {
|
|
114201
114260
|
type: "number"
|
|
114202
|
-
})
|
|
114261
|
+
});
|
|
114262
|
+
const l = r.fieldFormat === void 0 ? "2" : r.fieldFormat, d = t.filter((f) => f.code == l)[0];
|
|
114263
|
+
return {
|
|
114203
114264
|
id: s.syscodegenconfig.id,
|
|
114204
114265
|
transKey: `Dynamics.${s.syscodegenconfig.transkey}`,
|
|
114205
114266
|
prop: s.syscodegenconfig.columnname,
|
|
@@ -114208,15 +114269,28 @@ function getQueries(s, t, a) {
|
|
|
114208
114269
|
dictTypeCode: s.syscodegenconfig.dicttypecode,
|
|
114209
114270
|
fkEntityName: s.syscodegenconfig.fkentityname,
|
|
114210
114271
|
disabled: s.disabled === void 0 ? !1 : s.disabled,
|
|
114211
|
-
options: r,
|
|
114272
|
+
options: Object.assign(r, {
|
|
114273
|
+
fieldFormat: l
|
|
114274
|
+
}),
|
|
114212
114275
|
fieldFormat: s.syscodegenconfig.fieldformat,
|
|
114213
|
-
valueFormat: getFieldFormat(
|
|
114276
|
+
valueFormat: getFieldFormat(l, t),
|
|
114214
114277
|
rules: [o],
|
|
114215
114278
|
hasFiltered: !1,
|
|
114216
114279
|
filterList: [],
|
|
114217
|
-
fkData: []
|
|
114280
|
+
fkData: [],
|
|
114281
|
+
hasTimePicker: hasTimePicker(d),
|
|
114282
|
+
pickerType: pickerType(d)
|
|
114218
114283
|
};
|
|
114219
114284
|
}
|
|
114285
|
+
function hasTimePicker(s) {
|
|
114286
|
+
const t = s ? s.name : "yyyy-MM-dd";
|
|
114287
|
+
return ["hh:mm:ss", "hh:mm", "mm:ss"].includes(t);
|
|
114288
|
+
}
|
|
114289
|
+
function pickerType(s) {
|
|
114290
|
+
const t = s ? s.name : "yyyy-MM-dd";
|
|
114291
|
+
let a = "date";
|
|
114292
|
+
return t === "yyyy-MM-dd hh:mm:ss" ? a = "datetime" : t === "yyyy-MM" ? a = "month" : t === "yyyy" && (a = "year"), a;
|
|
114293
|
+
}
|
|
114220
114294
|
function getFieldFormat(s, t) {
|
|
114221
114295
|
if (s === null)
|
|
114222
114296
|
return s;
|
|
@@ -114227,20 +114301,44 @@ function getEffectType(s) {
|
|
|
114227
114301
|
let t = s;
|
|
114228
114302
|
return ["image", "file"].includes(s) ? t = "input" : ["select", "radio", "switch", "checkbox"].includes(s) ? t = "selectMultiple" : ["fk", "about", "participants", "user"].includes(s) && (t = "selectFkMultiple"), t;
|
|
114229
114303
|
}
|
|
114230
|
-
function switchingDate(s, t) {
|
|
114231
|
-
let
|
|
114232
|
-
for (var
|
|
114233
|
-
let
|
|
114234
|
-
if ((
|
|
114235
|
-
let
|
|
114236
|
-
|
|
114304
|
+
function switchingDate(s, t, a, r) {
|
|
114305
|
+
let o = /* @__PURE__ */ new Map();
|
|
114306
|
+
for (var l in s) {
|
|
114307
|
+
let d = s[l] != null && s[l] !== void 0 ? s[l] : "", u = t ? t.filter((h) => h.columnname === l)[0] : null;
|
|
114308
|
+
if ((u ? u.effecttype : "input") === "datepicker") {
|
|
114309
|
+
let h = dateProcessing(d, u, a, r);
|
|
114310
|
+
h && (o.set(l + "Start", h[0]), o.set(l + "End", h[1]));
|
|
114237
114311
|
} else
|
|
114238
|
-
Array.isArray(
|
|
114312
|
+
Array.isArray(d) ? d.length > 0 && o.set(l, d.join(",")) : !d == "" && o.set(l, d);
|
|
114239
114313
|
}
|
|
114240
|
-
return
|
|
114314
|
+
return o.size == 0 ? {} : Object.fromEntries(o);
|
|
114241
114315
|
}
|
|
114242
|
-
function dateProcessing(s, t) {
|
|
114243
|
-
|
|
114316
|
+
function dateProcessing(s, t, a, r) {
|
|
114317
|
+
if (s === "")
|
|
114318
|
+
return !1;
|
|
114319
|
+
if (typeof s == "array" || typeof s == "object")
|
|
114320
|
+
return s[1] ? [s[0].split(" ")[0] + " 00:00:00", s[1].split(" ")[0] + " 23:59:59"] : !1;
|
|
114321
|
+
console.log(a);
|
|
114322
|
+
const o = a.filter((d) => d.prop === t.columnname)[0];
|
|
114323
|
+
if (!o)
|
|
114324
|
+
return !1;
|
|
114325
|
+
const l = r.filter((d) => d.code == o.options.fieldFormat)[0];
|
|
114326
|
+
if (l.name === "yyyy-MM-dd hh:mm:ss")
|
|
114327
|
+
return [s, s];
|
|
114328
|
+
if (l.name === "yyyy-MM-dd")
|
|
114329
|
+
return [`${s} 00:00:00`, `${s} 23:59:59`];
|
|
114330
|
+
if (l.name === "yyyy-MM") {
|
|
114331
|
+
const d = endDayTime(s);
|
|
114332
|
+
return [`${s}-01 00:00:00`, `${s}-${d} 23:59:59`];
|
|
114333
|
+
} else {
|
|
114334
|
+
if (l.name === "yyyy")
|
|
114335
|
+
return [`${s}-01-01 00:00:00`, `${s}-12-31 23:59:59`];
|
|
114336
|
+
if (l.name === "MM-dd") {
|
|
114337
|
+
const d = new Date().getFullYear();
|
|
114338
|
+
return [`${d}${s} 00:00:00`, `${d}${s} 23:59:59`];
|
|
114339
|
+
} else
|
|
114340
|
+
return [s, s];
|
|
114341
|
+
}
|
|
114244
114342
|
}
|
|
114245
114343
|
function hasDefaultVal(s) {
|
|
114246
114344
|
let t = /* @__PURE__ */ new Map(), a = getDatepickerVal(s);
|
|
@@ -114271,6 +114369,10 @@ function getFormatTime(s) {
|
|
|
114271
114369
|
function formatNumber(s) {
|
|
114272
114370
|
return s = s.toString(), s[1] ? s : "0" + s;
|
|
114273
114371
|
}
|
|
114372
|
+
function endDayTime(s) {
|
|
114373
|
+
const t = s.split("-");
|
|
114374
|
+
return new Date(t[0], t[1], 0).getDate();
|
|
114375
|
+
}
|
|
114274
114376
|
const sysOverallFun = [
|
|
114275
114377
|
{
|
|
114276
114378
|
name: "\u65B0\u589E",
|
|
@@ -114306,7 +114408,7 @@ const sysOverallFun = [
|
|
|
114306
114408
|
transKey: "gd.settings.custom",
|
|
114307
114409
|
type: ["view", "form"]
|
|
114308
114410
|
}
|
|
114309
|
-
],
|
|
114411
|
+
], unifiedComponents_vue_vue_type_style_index_0_scoped_3a7a69b0_lang = "", _sfc_main$20 = {
|
|
114310
114412
|
props: {
|
|
114311
114413
|
record: {
|
|
114312
114414
|
type: Object,
|
|
@@ -114437,7 +114539,7 @@ const sysOverallFun = [
|
|
|
114437
114539
|
}, 0);
|
|
114438
114540
|
});
|
|
114439
114541
|
},
|
|
114440
|
-
queriesRefresh(s) {
|
|
114542
|
+
queriesRefresh(s, t) {
|
|
114441
114543
|
Object.assign(this.btnItems, {
|
|
114442
114544
|
queryParam: { ...s }
|
|
114443
114545
|
}), this.btnItems.formMode === "systemsMethod" && this.btnItems.callbackComponents && this.btnItems.callbackFunction && this.record.doEvent && this.record.doEvent(
|
|
@@ -114445,7 +114547,8 @@ const sysOverallFun = [
|
|
|
114445
114547
|
key: this.btnItems.callbackComponents,
|
|
114446
114548
|
functionName: this.btnItems.callbackFunction,
|
|
114447
114549
|
data: s,
|
|
114448
|
-
id: this.ids
|
|
114550
|
+
id: this.ids,
|
|
114551
|
+
tableQueries: t
|
|
114449
114552
|
},
|
|
114450
114553
|
"callback"
|
|
114451
114554
|
);
|
|
@@ -114541,7 +114644,7 @@ const sysOverallFun = [
|
|
|
114541
114644
|
}
|
|
114542
114645
|
if (this.record.doEvent) {
|
|
114543
114646
|
const t = s.columnContextName ? s.columnContextName : [], a = t[t.length - 1], r = this.itemData[a];
|
|
114544
|
-
this.record.doEvent({ key: s.componentKey, functionName: s.componentFunction, data: r });
|
|
114647
|
+
this.record.doEvent({ key: s.componentKey, functionName: s.componentFunction, data: r, id: this.ids });
|
|
114545
114648
|
}
|
|
114546
114649
|
}
|
|
114547
114650
|
}
|
|
@@ -114558,7 +114661,7 @@ var _sfc_render$20 = function s() {
|
|
|
114558
114661
|
_sfc_staticRenderFns$20,
|
|
114559
114662
|
!1,
|
|
114560
114663
|
null,
|
|
114561
|
-
"
|
|
114664
|
+
"3a7a69b0",
|
|
114562
114665
|
null,
|
|
114563
114666
|
null
|
|
114564
114667
|
);
|
|
@@ -118673,7 +118776,7 @@ const echartsView = __component__$1B.exports, componentArray = {
|
|
|
118673
118776
|
uploadImg,
|
|
118674
118777
|
echarts: echartsView,
|
|
118675
118778
|
inputNumber: moneyNumber
|
|
118676
|
-
},
|
|
118779
|
+
}, layoutItem_vue_vue_type_style_index_0_scoped_2f14ed7f_lang = "", _sfc_main$1A = {
|
|
118677
118780
|
props: {
|
|
118678
118781
|
record: {
|
|
118679
118782
|
type: Object,
|
|
@@ -118730,6 +118833,10 @@ const echartsView = __component__$1B.exports, componentArray = {
|
|
|
118730
118833
|
};
|
|
118731
118834
|
},
|
|
118732
118835
|
computed: {
|
|
118836
|
+
pickerType() {
|
|
118837
|
+
let s = "date";
|
|
118838
|
+
return this.fieldFormat === "yyyy-MM-dd hh:mm:ss" ? s = "datetime" : this.fieldFormat === "yyyy-MM" ? s = "month" : this.fieldFormat === "yyyy" && (s = "year"), s;
|
|
118839
|
+
},
|
|
118733
118840
|
columnName() {
|
|
118734
118841
|
return this.options.columnName ? this.options.columnName.toLowerCase() : this.options.columnName;
|
|
118735
118842
|
},
|
|
@@ -118946,7 +119053,7 @@ var _sfc_render$1A = function s() {
|
|
|
118946
119053
|
return a("el-option", { key: r.code, attrs: { label: t.$i18nt(`Dynamics.${r.transkey}`, r.name), value: r.code, disabled: r.disabled } }, [a("span", [t._v(t._s(t.$i18nt(`Dynamics.${r.transkey}`, r.name)))])]);
|
|
118947
119054
|
}), 1) : t.record.type === "timePicker" ? a("el-time-picker", { style: t.wstyle, attrs: { disabled: t.options.disabled, "value-format": t.fieldFormat, format: t.fieldFormat, placeholder: t.options.placeholder !== void 0 ? t.options.placeholder === "" ? t.options.placeholder : t.$i18nt(`Dynamics.${t.options.placeholderTransKey}`, t.options.placeholder) : t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9") }, on: { change: t.handleChange }, model: { value: t.model[t.columnName], callback: function(r) {
|
|
118948
119055
|
t.$set(t.model, t.columnName, r);
|
|
118949
|
-
}, expression: "model[columnName]" } }) : t.record.type === "datePicker" ? a("el-date-picker", { style: t.wstyle, attrs: { disabled: t.options.disabled, type: t.
|
|
119056
|
+
}, expression: "model[columnName]" } }) : t.record.type === "datePicker" ? a("el-date-picker", { style: t.wstyle, attrs: { disabled: t.options.disabled, type: t.pickerType, "value-format": t.fieldFormat, format: t.fieldFormat, placeholder: t.options.placeholder !== void 0 ? t.options.placeholder === "" ? t.options.placeholder : t.$i18nt(`Dynamics.${t.options.placeholderTransKey}`, t.options.placeholder) : t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9") }, on: { change: t.handleChange }, model: { value: t.model[t.columnName], callback: function(r) {
|
|
118950
119057
|
t.$set(t.model, t.columnName, r);
|
|
118951
119058
|
}, expression: "model[columnName]" } }) : t.record.type === "uploadImg" ? a(t.componentItem, { ref: "uploadImg", tag: "component", attrs: { record: t.record, develop: t.develop, model: t.model, limit: t.options.limit, disabled: t.options.disabled, prop: t.columnName, fieldContext: t.fieldContext }, on: { change: t.handleChange } }) : t.record.type === "uploadFile" ? a(t.componentItem, { ref: "uploadFile", tag: "component", attrs: { record: t.record, develop: t.develop, model: t.model, limit: t.options.limit, prop: t.columnName, disabled: t.options.disabled, fieldContext: t.fieldContext }, on: { change: t.handleChange } }) : a("el-input", { style: t.wstyle, attrs: { placeholder: t.options.placeholder !== void 0 ? t.options.placeholder === "" ? t.options.placeholder : t.$i18nt(`Dynamics.${t.options.placeholderTransKey}`, t.options.placeholder) : t.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165"), clearable: t.options.clearable, disabled: t.options.disabled, type: t.options.type }, on: { change: t.handleChange }, model: { value: t.model[t.columnName], callback: function(r) {
|
|
118952
119059
|
t.$set(t.model, t.columnName, r);
|
|
@@ -118957,7 +119064,7 @@ var _sfc_render$1A = function s() {
|
|
|
118957
119064
|
_sfc_staticRenderFns$1A,
|
|
118958
119065
|
!1,
|
|
118959
119066
|
null,
|
|
118960
|
-
"
|
|
119067
|
+
"2f14ed7f",
|
|
118961
119068
|
null,
|
|
118962
119069
|
null
|
|
118963
119070
|
);
|
|
@@ -119255,7 +119362,7 @@ var _sfc_render$1w = function s() {
|
|
|
119255
119362
|
null,
|
|
119256
119363
|
null
|
|
119257
119364
|
);
|
|
119258
|
-
const FlexLayout = __component__$1w.exports,
|
|
119365
|
+
const FlexLayout = __component__$1w.exports, dataList_vue_vue_type_style_index_0_scoped_5d2c11eb_lang = "", _sfc_main$1v = {
|
|
119259
119366
|
props: {
|
|
119260
119367
|
record: {
|
|
119261
119368
|
type: Object,
|
|
@@ -119285,7 +119392,8 @@ const FlexLayout = __component__$1w.exports, dataList_vue_vue_type_style_index_0
|
|
|
119285
119392
|
list: [],
|
|
119286
119393
|
totalRows: 0,
|
|
119287
119394
|
loading: !1,
|
|
119288
|
-
statu: !1
|
|
119395
|
+
statu: !1,
|
|
119396
|
+
tableQueries: []
|
|
119289
119397
|
};
|
|
119290
119398
|
},
|
|
119291
119399
|
watch: {
|
|
@@ -119385,13 +119493,14 @@ const FlexLayout = __component__$1w.exports, dataList_vue_vue_type_style_index_0
|
|
|
119385
119493
|
return s || 10;
|
|
119386
119494
|
},
|
|
119387
119495
|
moreTitle() {
|
|
119388
|
-
let s = "\
|
|
119389
|
-
return this.loading || (s = this.list.length >= this.totalRows ? this.pageNo > 1 ? "\u6682\u65E0\u66F4\u591A\u6570\u636E" : "" : "\u70B9\u51FB\u52A0\u8F7D\u66F4\u591A"), s;
|
|
119496
|
+
let s = this.$i18nt("gd.https.Loading", "\u52A0\u8F7D\u4E2D...");
|
|
119497
|
+
return this.loading || (s = this.list.length >= this.totalRows ? this.pageNo > 1 ? this.$i18nt("gd.https.noMoreData", "\u6682\u65E0\u66F4\u591A\u6570\u636E") : "" : this.$i18nt("gd.https.loadMoreData", "\u70B9\u51FB\u52A0\u8F7D\u66F4\u591A")), s;
|
|
119390
119498
|
},
|
|
119391
119499
|
...mapGetters(["tableLists", "tablePageSize"])
|
|
119392
119500
|
},
|
|
119393
119501
|
methods: {
|
|
119394
119502
|
executeEvent(s) {
|
|
119503
|
+
this.tableQueries = s && s.tableQueries ? s.tableQueries : [];
|
|
119395
119504
|
const t = s.functionName ? s.functionName : "";
|
|
119396
119505
|
t && this[t] !== void 0 ? this[t](s.data) : console.log("\u6267\u884C\u9519\u8BEF");
|
|
119397
119506
|
},
|
|
@@ -119446,13 +119555,13 @@ const FlexLayout = __component__$1w.exports, dataList_vue_vue_type_style_index_0
|
|
|
119446
119555
|
viewId: this.options.view.id,
|
|
119447
119556
|
viewType: 1
|
|
119448
119557
|
},
|
|
119449
|
-
switchingDate(this.queryParam, this.fieldData)
|
|
119558
|
+
switchingDate(this.queryParam, this.fieldData, this.tableQueries, this.getDictionary("time_longshort"))
|
|
119450
119559
|
);
|
|
119451
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) => {
|
|
119452
119561
|
if (a.code === 200) {
|
|
119453
119562
|
let r = a.data.rows.map((o) => {
|
|
119454
119563
|
let l = /* @__PURE__ */ new Map();
|
|
119455
|
-
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;
|
|
119456
119565
|
});
|
|
119457
119566
|
this.list = s || this.pageNo === 1 ? r : this.list.concat(r), this.totalRows = a.data.totalrows, this.statu = this.totalRows === 0;
|
|
119458
119567
|
}
|
|
@@ -119512,6 +119621,9 @@ const FlexLayout = __component__$1w.exports, dataList_vue_vue_type_style_index_0
|
|
|
119512
119621
|
this.record.executeEvent = t.concat([
|
|
119513
119622
|
{ id: this.executeIds, executeEvent: this.executeEvent, ids: this.ids, parentId: this.itemData.id }
|
|
119514
119623
|
]);
|
|
119624
|
+
},
|
|
119625
|
+
getDictionary(s) {
|
|
119626
|
+
return this.$options.filters.dictData(s);
|
|
119515
119627
|
}
|
|
119516
119628
|
},
|
|
119517
119629
|
mounted() {
|
|
@@ -119529,7 +119641,7 @@ var _sfc_render$1v = function s() {
|
|
|
119529
119641
|
_sfc_staticRenderFns$1v,
|
|
119530
119642
|
!1,
|
|
119531
119643
|
null,
|
|
119532
|
-
"
|
|
119644
|
+
"5d2c11eb",
|
|
119533
119645
|
null,
|
|
119534
119646
|
null
|
|
119535
119647
|
);
|
|
@@ -119695,7 +119807,7 @@ var _sfc_render$1t = function s() {
|
|
|
119695
119807
|
null,
|
|
119696
119808
|
null
|
|
119697
119809
|
);
|
|
119698
|
-
const drawerPanel = __component__$1t.exports,
|
|
119810
|
+
const drawerPanel = __component__$1t.exports, layoutItem_vue_vue_type_style_index_0_scoped_47b23d32_lang = "", _sfc_main$1s = {
|
|
119699
119811
|
name: "layoutItem",
|
|
119700
119812
|
props: {
|
|
119701
119813
|
record: {
|
|
@@ -119785,7 +119897,7 @@ var _sfc_render$1s = function s() {
|
|
|
119785
119897
|
} } }, [a("el-tabs", { staticClass: "mtabs-box-row", attrs: { type: t.options.type === "none" ? void 0 : t.options.type, "tab-position": t.options.tabPosition }, model: { value: t.options.activeKey, callback: function(r) {
|
|
119786
119898
|
t.$set(t.options, "activeKey", r);
|
|
119787
119899
|
}, expression: "options.activeKey" } }, t._l(t.record.columns, function(r, o) {
|
|
119788
|
-
return a("el-tab-pane", { key: r.key + o, attrs: { label: t.$i18nt(
|
|
119900
|
+
return a("el-tab-pane", { key: r.key + o, attrs: { label: t.$i18nt(`Dynamics.${r.transKey}`, r.label), name: r.key } }, [a("div", { staticClass: "grid-col" }, [a("draggable", t._b({ staticClass: "draggable-box", attrs: { tag: "div", disabled: t.disabled }, on: { start: function(l) {
|
|
119789
119901
|
return t.$emit("dragStart", l, r.list);
|
|
119790
119902
|
}, add: function(l) {
|
|
119791
119903
|
return t.$emit("handleColAdd", l, r.list);
|
|
@@ -120128,7 +120240,7 @@ var _sfc_render$1s = function s() {
|
|
|
120128
120240
|
_sfc_staticRenderFns$1s,
|
|
120129
120241
|
!1,
|
|
120130
120242
|
null,
|
|
120131
|
-
"
|
|
120243
|
+
"47b23d32",
|
|
120132
120244
|
null,
|
|
120133
120245
|
null
|
|
120134
120246
|
);
|
|
@@ -123735,7 +123847,7 @@ var _sfc_render$14 = function s() {
|
|
|
123735
123847
|
null,
|
|
123736
123848
|
null
|
|
123737
123849
|
);
|
|
123738
|
-
const propertiesTress = __component__$14.exports,
|
|
123850
|
+
const propertiesTress = __component__$14.exports, propertiesInterac_vue_vue_type_style_index_0_scoped_d372ac0d_lang = "", _sfc_main$13 = {
|
|
123739
123851
|
props: {
|
|
123740
123852
|
selectItem: {
|
|
123741
123853
|
type: Object,
|
|
@@ -123789,6 +123901,7 @@ const propertiesTress = __component__$14.exports, propertiesInterac_vue_vue_type
|
|
|
123789
123901
|
},
|
|
123790
123902
|
methods: {
|
|
123791
123903
|
changeSysMethod(s) {
|
|
123904
|
+
this.interac.tableComponents = "";
|
|
123792
123905
|
const t = this.tableLists.filter((a) => a.tablename === s)[0];
|
|
123793
123906
|
sysViewList$1({ sysCodeGenId: t.id }).then((a) => {
|
|
123794
123907
|
if (a.code === 200) {
|
|
@@ -123880,11 +123993,11 @@ var _sfc_render$13 = function s() {
|
|
|
123880
123993
|
_sfc_staticRenderFns$13,
|
|
123881
123994
|
!1,
|
|
123882
123995
|
null,
|
|
123883
|
-
"
|
|
123996
|
+
"d372ac0d",
|
|
123884
123997
|
null,
|
|
123885
123998
|
null
|
|
123886
123999
|
);
|
|
123887
|
-
const propertiesInterac = __component__$13.exports,
|
|
124000
|
+
const propertiesInterac = __component__$13.exports, properties_vue_vue_type_style_index_0_scoped_339270d3_lang = "", _sfc_main$12 = {
|
|
123888
124001
|
props: {
|
|
123889
124002
|
selectItem: {
|
|
123890
124003
|
type: Object,
|
|
@@ -123930,6 +124043,21 @@ const propertiesInterac = __component__$13.exports, properties_vue_vue_type_styl
|
|
|
123930
124043
|
}
|
|
123931
124044
|
},
|
|
123932
124045
|
computed: {
|
|
124046
|
+
pickerType() {
|
|
124047
|
+
const s = this.getTimeData.filter((r) => r.code === this.options.format)[0], t = s ? s.name : "yyyy-MM-dd";
|
|
124048
|
+
let a = "date";
|
|
124049
|
+
return t === "yyyy-MM-dd hh:mm:ss" ? a = "datetime" : t === "yyyy-MM" ? a = "month" : t === "yyyy" && (a = "year"), a;
|
|
124050
|
+
},
|
|
124051
|
+
formatDict() {
|
|
124052
|
+
return this.$options.filters.dictData("time_longshort");
|
|
124053
|
+
},
|
|
124054
|
+
getTimeData() {
|
|
124055
|
+
const t = [
|
|
124056
|
+
{ type: "datePicker", list: ["yyyy-MM-dd hh:mm:ss", "yyyy-MM-dd", "yyyy-MM", "yyyy", "MM-dd"] },
|
|
124057
|
+
{ type: "timePicker", list: ["hh:mm:ss", "hh:mm", "mm:ss"] }
|
|
124058
|
+
].filter((r) => r.type === this.selectItem.type)[0], a = t ? t.list : [];
|
|
124059
|
+
return this.formatDict.filter((r) => a.includes(r.name));
|
|
124060
|
+
},
|
|
123933
124061
|
languageMessages() {
|
|
123934
124062
|
return this.$i18n.messages;
|
|
123935
124063
|
},
|
|
@@ -124020,9 +124148,6 @@ const propertiesInterac = __component__$13.exports, properties_vue_vue_type_styl
|
|
|
124020
124148
|
const t = this.$options.filters.dictData("time_longshort").filter((a) => String(a.code) === String(this.options.format))[0];
|
|
124021
124149
|
return t ? t.name.replace("DD", "dd") : "yyyy-MM-dd hh:mm:ss";
|
|
124022
124150
|
},
|
|
124023
|
-
formatDict() {
|
|
124024
|
-
return this.$options.filters.dictData("time_longshort");
|
|
124025
|
-
},
|
|
124026
124151
|
dict() {
|
|
124027
124152
|
return this.getDictionary(this.options.dictTypeCode);
|
|
124028
124153
|
},
|
|
@@ -124058,6 +124183,14 @@ const propertiesInterac = __component__$13.exports, properties_vue_vue_type_styl
|
|
|
124058
124183
|
propertiesInterac
|
|
124059
124184
|
},
|
|
124060
124185
|
methods: {
|
|
124186
|
+
changeFormat() {
|
|
124187
|
+
this.options.defaultValue = "";
|
|
124188
|
+
},
|
|
124189
|
+
changeType() {
|
|
124190
|
+
if (!["timePicker", "datePicker"].includes(this.selectItem.type))
|
|
124191
|
+
return;
|
|
124192
|
+
this.getTimeData.filter((t) => t.code === this.options.format)[0] || (this.options.format = this.getTimeData[0].code);
|
|
124193
|
+
},
|
|
124061
124194
|
initTranskey(s, t) {
|
|
124062
124195
|
t !== void 0 && s.key !== t.key && (this.$refs.gdTranslation && this.$refs.gdTranslation.againInit(), this.$refs.gdTranslations && this.$refs.gdTranslations.againInit());
|
|
124063
124196
|
},
|
|
@@ -124197,7 +124330,7 @@ var _sfc_render$12 = function s() {
|
|
|
124197
124330
|
t.$set(t.options, "columnName", r);
|
|
124198
124331
|
}, expression: "options.columnName" } })], 1) : t._e(), t.getTypeof("placeholder") ? a("el-form-item", { attrs: { label: t.$i18nt("gd.page.placeholder", "\u5360\u4F4D\u7B26") } }, [a("el-input", { attrs: { placeholder: t.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165") }, model: { value: t.options.placeholder, callback: function(r) {
|
|
124199
124332
|
t.$set(t.options, "placeholder", r);
|
|
124200
|
-
}, expression: "options.placeholder" } })], 1) : t._e(), t.isFormItem && t.getTypeof("initialType") && t.options.initialType.length > 0 ? a("el-form-item", { attrs: { label: t.$i18nt("gd.page.typeAction", "\u4F5C\u7528\u7C7B\u578B") } }, [a("el-select", { model: { value: t.selectItem.type, callback: function(r) {
|
|
124333
|
+
}, expression: "options.placeholder" } })], 1) : t._e(), t.isFormItem && t.getTypeof("initialType") && t.options.initialType.length > 0 ? a("el-form-item", { attrs: { label: t.$i18nt("gd.page.typeAction", "\u4F5C\u7528\u7C7B\u578B") } }, [a("el-select", { on: { change: t.changeType }, model: { value: t.selectItem.type, callback: function(r) {
|
|
124201
124334
|
t.$set(t.selectItem, "type", r);
|
|
124202
124335
|
}, expression: "selectItem.type" } }, t._l(t.inputComponentList, function(r) {
|
|
124203
124336
|
return a("el-option", { key: r.type, attrs: { label: r.label, value: r.type } }, [a("span", [t._v(t._s(r.label))])]);
|
|
@@ -124239,9 +124372,9 @@ var _sfc_render$12 = function s() {
|
|
|
124239
124372
|
t.$set(t.options, "displayMode", r);
|
|
124240
124373
|
}, expression: "options.displayMode" } }, t._l(t.displayModeDict, function(r) {
|
|
124241
124374
|
return a("el-option", { key: r.code, attrs: { label: t.$i18nt(`Dynamics.${r.transkey}`, r.name), value: r.code } });
|
|
124242
|
-
}), 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) {
|
|
124243
124376
|
t.$set(t.options, "format", r);
|
|
124244
|
-
}, expression: "options.format" } }, t._l(t.
|
|
124377
|
+
}, expression: "options.format" } }, t._l(t.getTimeData, function(r) {
|
|
124245
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)))])]);
|
|
124246
124379
|
}), 1)], 1) : t._e(), t.getTypeof("disableDictMode") && t.getEffectType ? a("el-form-item", { attrs: { label: t.$i18nt("gd.page.disableMode", "\u8FC7\u6EE4\u65B9\u5F0F") } }, [a("el-select", { model: { value: t.options.disableDictMode, callback: function(r) {
|
|
124247
124380
|
t.$set(t.options, "disableDictMode", r);
|
|
@@ -124261,7 +124394,7 @@ var _sfc_render$12 = function s() {
|
|
|
124261
124394
|
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)))])]);
|
|
124262
124395
|
}) : [a("el-option", { attrs: { label: "\u9009\u98791", value: "\u9009\u98791" } }), a("el-option", { attrs: { label: "\u9009\u98792", value: "\u9009\u98792" } })]], 2) : t.selectItem.type === "timePicker" ? a("el-time-picker", { attrs: { "value-format": t.fieldFormat, format: t.fieldFormat, placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9") }, model: { value: t.options.defaultValue, callback: function(r) {
|
|
124263
124396
|
t.$set(t.options, "defaultValue", r);
|
|
124264
|
-
}, expression: "options.defaultValue" } }) : t.selectItem.type === "datePicker" ? a("el-date-picker", { attrs: { type: t.
|
|
124397
|
+
}, expression: "options.defaultValue" } }) : t.selectItem.type === "datePicker" ? a("el-date-picker", { attrs: { type: t.pickerType, "value-format": t.fieldFormat, format: t.fieldFormat, placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9") }, model: { value: t.options.defaultValue, callback: function(r) {
|
|
124265
124398
|
t.$set(t.options, "defaultValue", r);
|
|
124266
124399
|
}, expression: "options.defaultValue" } }) : t.selectItem.type === "inputNumber" ? a("el-input-number", { staticStyle: { width: "100%" }, attrs: { "controls-position": "right", min: t.options.min || t.options.min === 0 ? t.options.min : -1 / 0, max: t.options.max || t.options.max === 0 ? t.options.max : 1 / 0, step: t.options.step, precision: t.options.precision, placeholder: t.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165") }, model: { value: t.options.defaultValue, callback: function(r) {
|
|
124267
124400
|
t.$set(t.options, "defaultValue", r);
|
|
@@ -124275,9 +124408,7 @@ var _sfc_render$12 = function s() {
|
|
|
124275
124408
|
t.$set(t.options, "disabled", r);
|
|
124276
124409
|
}, expression: "options.disabled" } }) : t._e(), t.getTypeof("bringTo") ? a("pCheckbox", { attrs: { label: t.$i18nt("gd.page.bringTo", "\u53EF\u63D0\u4EA4") }, model: { value: t.options.bringTo, callback: function(r) {
|
|
124277
124410
|
t.$set(t.options, "bringTo", r);
|
|
124278
|
-
}, expression: "options.bringTo" } }) : t._e(), t.getTypeof("
|
|
124279
|
-
t.$set(t.options, "showTime", r);
|
|
124280
|
-
}, expression: "options.showTime" } }) : t._e(), t.getTypeof("drag") ? a("pCheckbox", { attrs: { label: t.$i18nt("gd.page.allowDragging", "\u5141\u8BB8\u62D6\u62FD") }, model: { value: t.options.drag, callback: function(r) {
|
|
124411
|
+
}, expression: "options.bringTo" } }) : t._e(), t.getTypeof("drag") ? a("pCheckbox", { attrs: { label: t.$i18nt("gd.page.allowDragging", "\u5141\u8BB8\u62D6\u62FD") }, model: { value: t.options.drag, callback: function(r) {
|
|
124281
124412
|
t.$set(t.options, "drag", r);
|
|
124282
124413
|
}, expression: "options.drag" } }) : t._e(), t.getTypeof("download") ? a("pCheckbox", { attrs: { label: t.$i18nt("gd.page.download", "\u4E0B\u8F7D") }, model: { value: t.options.download, callback: function(r) {
|
|
124283
124414
|
t.$set(t.options, "download", r);
|
|
@@ -124384,7 +124515,7 @@ var _sfc_render$12 = function s() {
|
|
|
124384
124515
|
_sfc_staticRenderFns$12,
|
|
124385
124516
|
!1,
|
|
124386
124517
|
null,
|
|
124387
|
-
"
|
|
124518
|
+
"339270d3",
|
|
124388
124519
|
null,
|
|
124389
124520
|
null
|
|
124390
124521
|
);
|
|
@@ -135799,7 +135930,7 @@ var _sfc_render$s = function s() {
|
|
|
135799
135930
|
null,
|
|
135800
135931
|
null
|
|
135801
135932
|
);
|
|
135802
|
-
const BuildItem = __component__$s.exports,
|
|
135933
|
+
const BuildItem = __component__$s.exports, layoutBlocks_vue_vue_type_style_index_0_scoped_c3536a19_lang = "", _sfc_main$r = {
|
|
135803
135934
|
name: "LayoutBlocks",
|
|
135804
135935
|
props: {
|
|
135805
135936
|
record: {
|
|
@@ -135903,7 +136034,7 @@ var _sfc_render$r = function s() {
|
|
|
135903
136034
|
return [a("el-collapse-item", { directives: [{ name: "show", rawName: "v-show", value: r.hidden === void 0 ? !0 : !r.hidden, expression: "colItem.hidden === void 0 ? true : !colItem.hidden" }], key: r.key, staticClass: "grid-col", attrs: { title: r.label, name: r.key } }, [t._l(r.list, function(l) {
|
|
135904
136035
|
return [a("LayoutBlocks", { attrs: { height: t.height, record: l, isForm: t.isForm, model: t.model, tableData: t.tableData, forceRender: t.forceRender, itemData: t.itemData }, on: { lookup: t.lookup, change: t.handleChange } })];
|
|
135905
136036
|
})], 2)];
|
|
135906
|
-
})], 2) : t.record.type === "card" ? a("el-card", { staticClass: "grid-row", attrs: { shadow: t.options.shadow } }, [t.options.header ? a("div", { staticClass: "clearfix", attrs: { slot: "header" }, slot: "header" }, [a("span", [t._v(t._s(t.$i18nt(
|
|
136037
|
+
})], 2) : t.record.type === "card" ? a("el-card", { staticClass: "grid-row", attrs: { shadow: t.options.shadow } }, [t.options.header ? a("div", { staticClass: "clearfix", attrs: { slot: "header" }, slot: "header" }, [a("span", [t._v(t._s(t.$i18nt(`Dynamics.${t.options.transKey}`, t.options.header)))])]) : t._e(), t._l(t.record.list, function(r) {
|
|
135907
136038
|
return [a("LayoutBlocks", { attrs: { height: t.height, record: r, isForm: t.isForm, model: t.model, tableData: t.tableData, forceRender: t.forceRender, itemData: t.itemData }, on: { lookup: t.lookup, change: t.handleChange } })];
|
|
135908
136039
|
})], 2) : t.record.type === "form" ? a("el-form", { staticClass: "grid-row", attrs: { inline: t.options.inline, labelPosition: t.options.labelPosition, labelWidth: t.labelWidth, model: t.ruleForm }, nativeOn: { submit: function(r) {
|
|
135909
136040
|
r.preventDefault();
|
|
@@ -135928,7 +136059,7 @@ var _sfc_render$r = function s() {
|
|
|
135928
136059
|
_sfc_staticRenderFns$r,
|
|
135929
136060
|
!1,
|
|
135930
136061
|
null,
|
|
135931
|
-
"
|
|
136062
|
+
"c3536a19",
|
|
135932
136063
|
null,
|
|
135933
136064
|
null
|
|
135934
136065
|
);
|
|
@@ -135991,7 +136122,7 @@ var _sfc_render$q = function s() {
|
|
|
135991
136122
|
null,
|
|
135992
136123
|
null
|
|
135993
136124
|
);
|
|
135994
|
-
const BuildBlocks = __component__$q.exports,
|
|
136125
|
+
const BuildBlocks = __component__$q.exports, main_vue_vue_type_style_index_0_scoped_f541c238_lang = "", _sfc_main$p = {
|
|
135995
136126
|
name: "GdPageBuild",
|
|
135996
136127
|
data() {
|
|
135997
136128
|
return {
|
|
@@ -136061,6 +136192,10 @@ const BuildBlocks = __component__$q.exports, main_vue_vue_type_style_index_0_sco
|
|
|
136061
136192
|
return;
|
|
136062
136193
|
}
|
|
136063
136194
|
const t = this.allElements.filter((a) => a.key === s.key)[0];
|
|
136195
|
+
if (t && t.type === "dataList") {
|
|
136196
|
+
this.doEventDataList(s, t);
|
|
136197
|
+
return;
|
|
136198
|
+
}
|
|
136064
136199
|
t && t.executeEvent && t.executeEvent(s);
|
|
136065
136200
|
},
|
|
136066
136201
|
eventsCall(s) {
|
|
@@ -136119,7 +136254,7 @@ var _sfc_render$p = function s() {
|
|
|
136119
136254
|
_sfc_staticRenderFns$p,
|
|
136120
136255
|
!1,
|
|
136121
136256
|
null,
|
|
136122
|
-
"
|
|
136257
|
+
"f541c238",
|
|
136123
136258
|
null,
|
|
136124
136259
|
null
|
|
136125
136260
|
);
|
|
@@ -138584,7 +138719,7 @@ const GDpackage$6 = __component__$m.exports;
|
|
|
138584
138719
|
GDpackage$6.install = function(s) {
|
|
138585
138720
|
s.component(GDpackage$6.name, GDpackage$6);
|
|
138586
138721
|
};
|
|
138587
|
-
const
|
|
138722
|
+
const main_vue_vue_type_style_index_0_scoped_b5a328d2_lang = "", plugFilters = {
|
|
138588
138723
|
referencefiled: "",
|
|
138589
138724
|
referencetable: "",
|
|
138590
138725
|
checked: !1,
|
|
@@ -138770,7 +138905,7 @@ const main_vue_vue_type_style_index_0_scoped_e142b4f0_lang = "", plugFilters = {
|
|
|
138770
138905
|
}, l = this.$i18nt(`Dynamics.${a.transkey}`, a.columncomment), d = this.$i18nt(`Dynamics.${r.transkey}`, r.name);
|
|
138771
138906
|
o.order = r.order, o.num = r.width, o.aliastranskey = r.transkey ? r.transkey : null, o.alias = l === d ? "" : d, o.orderconfig = r.orderconfig == 1, o.columnname = r.field ? r.field.columnname : a.columnname, o.codegenid = r.field ? r.field.codegenid : a.codegenid, o.gatherconfig = r.gatherconfig == 1, o.maxtagcount = r.maxtagcount ? r.maxtagcount : 2, o.fkrelations = `${l} -- ${a.columnname}`, o.transkey = a.transkey, o.operate = "edit", o.aliasold = d;
|
|
138772
138907
|
let u = r.align ? r.align.split("&") : [];
|
|
138773
|
-
o.align = u[0] ? u[0] : "left", o.visible = u[1] ? u[1] == 1 : !0, o.displaymode = u[2] ? u[2] : "none", o.displayprefix = u[3] ? u[3] : "none", o.preview = u[4] ? u[4] === "true" : !0, o.download = u[5] ? u[5] === "true" : !0, t.push(o);
|
|
138908
|
+
o.align = u[0] ? u[0] : "left", o.visible = u[1] ? u[1] == 1 : !0, o.displaymode = u[2] ? u[2] : "none", o.displayprefix = u[3] ? u[3] : "none", o.preview = u[4] ? u[4] === "true" : !0, o.download = u[5] ? u[5] === "true" : !0, o.format = u[6] ? u[6] : String(a.fieldformat), t.push(o);
|
|
138774
138909
|
}
|
|
138775
138910
|
}
|
|
138776
138911
|
a.children && a.children.length > 0 && a.children.forEach((r) => {
|
|
@@ -138782,7 +138917,7 @@ const main_vue_vue_type_style_index_0_scoped_e142b4f0_lang = "", plugFilters = {
|
|
|
138782
138917
|
}, d = this.$i18nt(`Dynamics.${a.transkey}`, a.columncomment), u = this.$i18nt(`Dynamics.${r.transkey}`, r.columncomment), f = this.$i18nt(`Dynamics.${o.transkey}`, o.name);
|
|
138783
138918
|
l.order = o.order, l.num = o.width, l.aliastranskey = o.transkey ? o.transkey : null, l.alias = u === f ? "" : f, l.id = l.id + "-" + a.id, l.orderconfig = o.orderconfig == 1, l.gatherconfig = o.gatherconfig == 1, l.fkrelations = `${d} -- ${a.columnname}`, l.maxtagcount = o.maxtagcount ? o.maxtagcount : 2, l.transkey = r.transkey, l.operate = "edit", l.aliasold = f;
|
|
138784
138919
|
let h = o.align ? o.align.split("&") : [];
|
|
138785
|
-
l.align = h[0] ? h[0] : "left", l.visible = h[1] ? h[1] == 1 : !0, l.displaymode = h[2] ? h[2] : "none", l.displayprefix = h[3] ? h[3] : "none", l.preview = h[4] ? h[4] === "true" : !0, l.download = h[4] ? h[4] === "true" : !0, t.push(l);
|
|
138920
|
+
l.align = h[0] ? h[0] : "left", l.visible = h[1] ? h[1] == 1 : !0, l.displaymode = h[2] ? h[2] : "none", l.displayprefix = h[3] ? h[3] : "none", l.preview = h[4] ? h[4] === "true" : !0, l.download = h[4] ? h[4] === "true" : !0, l.format = h[6] ? h[6] : String(r.fieldformat), t.push(l);
|
|
138786
138921
|
}
|
|
138787
138922
|
}
|
|
138788
138923
|
});
|
|
@@ -138814,7 +138949,7 @@ var _sfc_render$l = function s() {
|
|
|
138814
138949
|
_sfc_staticRenderFns$l,
|
|
138815
138950
|
!1,
|
|
138816
138951
|
null,
|
|
138817
|
-
"
|
|
138952
|
+
"b5a328d2",
|
|
138818
138953
|
null,
|
|
138819
138954
|
null
|
|
138820
138955
|
);
|
|
@@ -138970,7 +139105,7 @@ var _sfc_render$k = function s() {
|
|
|
138970
139105
|
null,
|
|
138971
139106
|
null
|
|
138972
139107
|
);
|
|
138973
|
-
const ViewCharts = __component__$k.exports,
|
|
139108
|
+
const ViewCharts = __component__$k.exports, main_vue_vue_type_style_index_0_scoped_695ff113_lang = "", _sfc_main$j = {
|
|
138974
139109
|
name: "GdViewBuildDesigner",
|
|
138975
139110
|
props: {
|
|
138976
139111
|
record: {
|
|
@@ -139028,7 +139163,12 @@ const ViewCharts = __component__$k.exports, main_vue_vue_type_style_index_0_scop
|
|
|
139028
139163
|
summaryData: {},
|
|
139029
139164
|
viewRecord: {},
|
|
139030
139165
|
loadData: (s) => {
|
|
139031
|
-
const t = Object.assign(
|
|
139166
|
+
const t = Object.assign(
|
|
139167
|
+
s,
|
|
139168
|
+
this.queryTable,
|
|
139169
|
+
switchingDate(this.queryParam, this.fieldData, this.tableQueries, this.getDictionary("time_longshort")),
|
|
139170
|
+
this.foreign
|
|
139171
|
+
);
|
|
139032
139172
|
return this.queryCriteria = { ...t }, basePage(t).then((a) => {
|
|
139033
139173
|
let r = [];
|
|
139034
139174
|
if (a.code === 200) {
|
|
@@ -139935,7 +140075,7 @@ var _sfc_render$j = function s() {
|
|
|
139935
140075
|
_sfc_staticRenderFns$j,
|
|
139936
140076
|
!1,
|
|
139937
140077
|
null,
|
|
139938
|
-
"
|
|
140078
|
+
"695ff113",
|
|
139939
140079
|
null,
|
|
139940
140080
|
null
|
|
139941
140081
|
);
|