gds-plus-design-vue 1.1.33 → 1.1.34
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.a1d814d1.mjs} +257 -128
- package/lib/{main.03cd6bf3.mjs → main.685cc523.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.685cc523.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_4aa65191_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);
|
|
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
|
+
"4aa65191",
|
|
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_c9ddd4a7_lang = "", _sfc_main$4T = {
|
|
32081
32123
|
name: "GdTableQueriesField",
|
|
32082
32124
|
props: {
|
|
32083
32125
|
height: {
|
|
@@ -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) {
|
|
32349
32391
|
return t.handleChange(r);
|
|
32350
32392
|
} }, model: { value: t.ruleFormData[r.prop], callback: function(l) {
|
|
32351
32393
|
t.$set(t.ruleFormData, r.prop, l);
|
|
32352
|
-
}, expression: "ruleFormData[column.prop]" } }) : a("el-date-picker", { staticStyle: { width: "100%" }, attrs: { type:
|
|
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) {
|
|
32395
|
+
return t.handleChange(r);
|
|
32396
|
+
} }, model: { value: t.ruleFormData[r.prop], callback: function(l) {
|
|
32397
|
+
t.$set(t.ruleFormData, r.prop, 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
|
+
"c9ddd4a7",
|
|
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,43 @@ 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
|
+
const o = a.filter((d) => d.prop === t.columnname)[0];
|
|
114322
|
+
if (!o)
|
|
114323
|
+
return !1;
|
|
114324
|
+
const l = r.filter((d) => d.code == o.options.fieldFormat)[0];
|
|
114325
|
+
if (l.name === "yyyy-MM-dd hh:mm:ss")
|
|
114326
|
+
return [s, s];
|
|
114327
|
+
if (l.name === "yyyy-MM-dd")
|
|
114328
|
+
return [`${s} 00:00:00`, `${s} 23:59:59`];
|
|
114329
|
+
if (l.name === "yyyy-MM") {
|
|
114330
|
+
const d = endDayTime(s);
|
|
114331
|
+
return [`${s}-01 00:00:00`, `${s}-${d} 23:59:59`];
|
|
114332
|
+
} else {
|
|
114333
|
+
if (l.name === "yyyy")
|
|
114334
|
+
return [`${s}-01-01 00:00:00`, `${s}-12-31 23:59:59`];
|
|
114335
|
+
if (l.name === "MM-dd") {
|
|
114336
|
+
const d = new Date().getFullYear();
|
|
114337
|
+
return [`${d}${s} 00:00:00`, `${d}${s} 23:59:59`];
|
|
114338
|
+
} else
|
|
114339
|
+
return [s, s];
|
|
114340
|
+
}
|
|
114244
114341
|
}
|
|
114245
114342
|
function hasDefaultVal(s) {
|
|
114246
114343
|
let t = /* @__PURE__ */ new Map(), a = getDatepickerVal(s);
|
|
@@ -114271,6 +114368,10 @@ function getFormatTime(s) {
|
|
|
114271
114368
|
function formatNumber(s) {
|
|
114272
114369
|
return s = s.toString(), s[1] ? s : "0" + s;
|
|
114273
114370
|
}
|
|
114371
|
+
function endDayTime(s) {
|
|
114372
|
+
const t = s.split("-");
|
|
114373
|
+
return new Date(t[0], t[1], 0).getDate();
|
|
114374
|
+
}
|
|
114274
114375
|
const sysOverallFun = [
|
|
114275
114376
|
{
|
|
114276
114377
|
name: "\u65B0\u589E",
|
|
@@ -114306,7 +114407,7 @@ const sysOverallFun = [
|
|
|
114306
114407
|
transKey: "gd.settings.custom",
|
|
114307
114408
|
type: ["view", "form"]
|
|
114308
114409
|
}
|
|
114309
|
-
],
|
|
114410
|
+
], unifiedComponents_vue_vue_type_style_index_0_scoped_a43360eb_lang = "", _sfc_main$20 = {
|
|
114310
114411
|
props: {
|
|
114311
114412
|
record: {
|
|
114312
114413
|
type: Object,
|
|
@@ -114541,7 +114642,7 @@ const sysOverallFun = [
|
|
|
114541
114642
|
}
|
|
114542
114643
|
if (this.record.doEvent) {
|
|
114543
114644
|
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 });
|
|
114645
|
+
this.record.doEvent({ key: s.componentKey, functionName: s.componentFunction, data: r, id: this.ids });
|
|
114545
114646
|
}
|
|
114546
114647
|
}
|
|
114547
114648
|
}
|
|
@@ -114558,7 +114659,7 @@ var _sfc_render$20 = function s() {
|
|
|
114558
114659
|
_sfc_staticRenderFns$20,
|
|
114559
114660
|
!1,
|
|
114560
114661
|
null,
|
|
114561
|
-
"
|
|
114662
|
+
"a43360eb",
|
|
114562
114663
|
null,
|
|
114563
114664
|
null
|
|
114564
114665
|
);
|
|
@@ -118673,7 +118774,7 @@ const echartsView = __component__$1B.exports, componentArray = {
|
|
|
118673
118774
|
uploadImg,
|
|
118674
118775
|
echarts: echartsView,
|
|
118675
118776
|
inputNumber: moneyNumber
|
|
118676
|
-
},
|
|
118777
|
+
}, layoutItem_vue_vue_type_style_index_0_scoped_2f14ed7f_lang = "", _sfc_main$1A = {
|
|
118677
118778
|
props: {
|
|
118678
118779
|
record: {
|
|
118679
118780
|
type: Object,
|
|
@@ -118730,6 +118831,10 @@ const echartsView = __component__$1B.exports, componentArray = {
|
|
|
118730
118831
|
};
|
|
118731
118832
|
},
|
|
118732
118833
|
computed: {
|
|
118834
|
+
pickerType() {
|
|
118835
|
+
let s = "date";
|
|
118836
|
+
return this.fieldFormat === "yyyy-MM-dd hh:mm:ss" ? s = "datetime" : this.fieldFormat === "yyyy-MM" ? s = "month" : this.fieldFormat === "yyyy" && (s = "year"), s;
|
|
118837
|
+
},
|
|
118733
118838
|
columnName() {
|
|
118734
118839
|
return this.options.columnName ? this.options.columnName.toLowerCase() : this.options.columnName;
|
|
118735
118840
|
},
|
|
@@ -118946,7 +119051,7 @@ var _sfc_render$1A = function s() {
|
|
|
118946
119051
|
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
119052
|
}), 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
119053
|
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.
|
|
119054
|
+
}, 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
119055
|
t.$set(t.model, t.columnName, r);
|
|
118951
119056
|
}, 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
119057
|
t.$set(t.model, t.columnName, r);
|
|
@@ -118957,7 +119062,7 @@ var _sfc_render$1A = function s() {
|
|
|
118957
119062
|
_sfc_staticRenderFns$1A,
|
|
118958
119063
|
!1,
|
|
118959
119064
|
null,
|
|
118960
|
-
"
|
|
119065
|
+
"2f14ed7f",
|
|
118961
119066
|
null,
|
|
118962
119067
|
null
|
|
118963
119068
|
);
|
|
@@ -119255,7 +119360,7 @@ var _sfc_render$1w = function s() {
|
|
|
119255
119360
|
null,
|
|
119256
119361
|
null
|
|
119257
119362
|
);
|
|
119258
|
-
const FlexLayout = __component__$1w.exports,
|
|
119363
|
+
const FlexLayout = __component__$1w.exports, dataList_vue_vue_type_style_index_0_scoped_912fc551_lang = "", _sfc_main$1v = {
|
|
119259
119364
|
props: {
|
|
119260
119365
|
record: {
|
|
119261
119366
|
type: Object,
|
|
@@ -119385,8 +119490,8 @@ const FlexLayout = __component__$1w.exports, dataList_vue_vue_type_style_index_0
|
|
|
119385
119490
|
return s || 10;
|
|
119386
119491
|
},
|
|
119387
119492
|
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;
|
|
119493
|
+
let s = this.$i18nt("gd.https.Loading", "\u52A0\u8F7D\u4E2D...");
|
|
119494
|
+
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
119495
|
},
|
|
119391
119496
|
...mapGetters(["tableLists", "tablePageSize"])
|
|
119392
119497
|
},
|
|
@@ -119529,7 +119634,7 @@ var _sfc_render$1v = function s() {
|
|
|
119529
119634
|
_sfc_staticRenderFns$1v,
|
|
119530
119635
|
!1,
|
|
119531
119636
|
null,
|
|
119532
|
-
"
|
|
119637
|
+
"912fc551",
|
|
119533
119638
|
null,
|
|
119534
119639
|
null
|
|
119535
119640
|
);
|
|
@@ -119695,7 +119800,7 @@ var _sfc_render$1t = function s() {
|
|
|
119695
119800
|
null,
|
|
119696
119801
|
null
|
|
119697
119802
|
);
|
|
119698
|
-
const drawerPanel = __component__$1t.exports,
|
|
119803
|
+
const drawerPanel = __component__$1t.exports, layoutItem_vue_vue_type_style_index_0_scoped_47b23d32_lang = "", _sfc_main$1s = {
|
|
119699
119804
|
name: "layoutItem",
|
|
119700
119805
|
props: {
|
|
119701
119806
|
record: {
|
|
@@ -119785,7 +119890,7 @@ var _sfc_render$1s = function s() {
|
|
|
119785
119890
|
} } }, [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
119891
|
t.$set(t.options, "activeKey", r);
|
|
119787
119892
|
}, 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(
|
|
119893
|
+
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
119894
|
return t.$emit("dragStart", l, r.list);
|
|
119790
119895
|
}, add: function(l) {
|
|
119791
119896
|
return t.$emit("handleColAdd", l, r.list);
|
|
@@ -120128,7 +120233,7 @@ var _sfc_render$1s = function s() {
|
|
|
120128
120233
|
_sfc_staticRenderFns$1s,
|
|
120129
120234
|
!1,
|
|
120130
120235
|
null,
|
|
120131
|
-
"
|
|
120236
|
+
"47b23d32",
|
|
120132
120237
|
null,
|
|
120133
120238
|
null
|
|
120134
120239
|
);
|
|
@@ -123884,7 +123989,7 @@ var _sfc_render$13 = function s() {
|
|
|
123884
123989
|
null,
|
|
123885
123990
|
null
|
|
123886
123991
|
);
|
|
123887
|
-
const propertiesInterac = __component__$13.exports,
|
|
123992
|
+
const propertiesInterac = __component__$13.exports, properties_vue_vue_type_style_index_0_scoped_7ef90012_lang = "", _sfc_main$12 = {
|
|
123888
123993
|
props: {
|
|
123889
123994
|
selectItem: {
|
|
123890
123995
|
type: Object,
|
|
@@ -123930,6 +124035,21 @@ const propertiesInterac = __component__$13.exports, properties_vue_vue_type_styl
|
|
|
123930
124035
|
}
|
|
123931
124036
|
},
|
|
123932
124037
|
computed: {
|
|
124038
|
+
pickerType() {
|
|
124039
|
+
const s = this.getTimeData.filter((r) => r.code === this.options.format)[0], t = s ? s.name : "yyyy-MM-dd";
|
|
124040
|
+
let a = "date";
|
|
124041
|
+
return t === "yyyy-MM-dd hh:mm:ss" ? a = "datetime" : t === "yyyy-MM" ? a = "month" : t === "yyyy" && (a = "year"), a;
|
|
124042
|
+
},
|
|
124043
|
+
formatDict() {
|
|
124044
|
+
return this.$options.filters.dictData("time_longshort");
|
|
124045
|
+
},
|
|
124046
|
+
getTimeData() {
|
|
124047
|
+
const t = [
|
|
124048
|
+
{ type: "datePicker", list: ["yyyy-MM-dd hh:mm:ss", "yyyy-MM-dd", "yyyy-MM", "yyyy", "MM-dd"] },
|
|
124049
|
+
{ type: "timePicker", list: ["hh:mm:ss", "hh:mm", "mm:ss"] }
|
|
124050
|
+
].filter((r) => r.type === this.selectItem.type)[0], a = t ? t.list : [];
|
|
124051
|
+
return this.formatDict.filter((r) => a.includes(r.name));
|
|
124052
|
+
},
|
|
123933
124053
|
languageMessages() {
|
|
123934
124054
|
return this.$i18n.messages;
|
|
123935
124055
|
},
|
|
@@ -124020,9 +124140,6 @@ const propertiesInterac = __component__$13.exports, properties_vue_vue_type_styl
|
|
|
124020
124140
|
const t = this.$options.filters.dictData("time_longshort").filter((a) => String(a.code) === String(this.options.format))[0];
|
|
124021
124141
|
return t ? t.name.replace("DD", "dd") : "yyyy-MM-dd hh:mm:ss";
|
|
124022
124142
|
},
|
|
124023
|
-
formatDict() {
|
|
124024
|
-
return this.$options.filters.dictData("time_longshort");
|
|
124025
|
-
},
|
|
124026
124143
|
dict() {
|
|
124027
124144
|
return this.getDictionary(this.options.dictTypeCode);
|
|
124028
124145
|
},
|
|
@@ -124058,6 +124175,11 @@ const propertiesInterac = __component__$13.exports, properties_vue_vue_type_styl
|
|
|
124058
124175
|
propertiesInterac
|
|
124059
124176
|
},
|
|
124060
124177
|
methods: {
|
|
124178
|
+
changeType() {
|
|
124179
|
+
if (!["timePicker", "datePicker"].includes(this.selectItem.type))
|
|
124180
|
+
return;
|
|
124181
|
+
this.getTimeData.filter((t) => t.code === this.options.format)[0] || (this.options.format = this.getTimeData[0].code);
|
|
124182
|
+
},
|
|
124061
124183
|
initTranskey(s, t) {
|
|
124062
124184
|
t !== void 0 && s.key !== t.key && (this.$refs.gdTranslation && this.$refs.gdTranslation.againInit(), this.$refs.gdTranslations && this.$refs.gdTranslations.againInit());
|
|
124063
124185
|
},
|
|
@@ -124197,7 +124319,7 @@ var _sfc_render$12 = function s() {
|
|
|
124197
124319
|
t.$set(t.options, "columnName", r);
|
|
124198
124320
|
}, 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
124321
|
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) {
|
|
124322
|
+
}, 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
124323
|
t.$set(t.selectItem, "type", r);
|
|
124202
124324
|
}, expression: "selectItem.type" } }, t._l(t.inputComponentList, function(r) {
|
|
124203
124325
|
return a("el-option", { key: r.type, attrs: { label: r.label, value: r.type } }, [a("span", [t._v(t._s(r.label))])]);
|
|
@@ -124241,7 +124363,7 @@ var _sfc_render$12 = function s() {
|
|
|
124241
124363
|
return a("el-option", { key: r.code, attrs: { label: t.$i18nt(`Dynamics.${r.transkey}`, r.name), value: r.code } });
|
|
124242
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) {
|
|
124243
124365
|
t.$set(t.options, "format", r);
|
|
124244
|
-
}, expression: "options.format" } }, t._l(t.
|
|
124366
|
+
}, expression: "options.format" } }, t._l(t.getTimeData, function(r) {
|
|
124245
124367
|
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
124368
|
}), 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
124369
|
t.$set(t.options, "disableDictMode", r);
|
|
@@ -124261,7 +124383,7 @@ var _sfc_render$12 = function s() {
|
|
|
124261
124383
|
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
124384
|
}) : [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
124385
|
t.$set(t.options, "defaultValue", r);
|
|
124264
|
-
}, expression: "options.defaultValue" } }) : t.selectItem.type === "datePicker" ? a("el-date-picker", { attrs: { type: t.
|
|
124386
|
+
}, 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
124387
|
t.$set(t.options, "defaultValue", r);
|
|
124266
124388
|
}, 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
124389
|
t.$set(t.options, "defaultValue", r);
|
|
@@ -124275,9 +124397,7 @@ var _sfc_render$12 = function s() {
|
|
|
124275
124397
|
t.$set(t.options, "disabled", r);
|
|
124276
124398
|
}, 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
124399
|
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) {
|
|
124400
|
+
}, 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
124401
|
t.$set(t.options, "drag", r);
|
|
124282
124402
|
}, 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
124403
|
t.$set(t.options, "download", r);
|
|
@@ -124384,7 +124504,7 @@ var _sfc_render$12 = function s() {
|
|
|
124384
124504
|
_sfc_staticRenderFns$12,
|
|
124385
124505
|
!1,
|
|
124386
124506
|
null,
|
|
124387
|
-
"
|
|
124507
|
+
"7ef90012",
|
|
124388
124508
|
null,
|
|
124389
124509
|
null
|
|
124390
124510
|
);
|
|
@@ -135799,7 +135919,7 @@ var _sfc_render$s = function s() {
|
|
|
135799
135919
|
null,
|
|
135800
135920
|
null
|
|
135801
135921
|
);
|
|
135802
|
-
const BuildItem = __component__$s.exports,
|
|
135922
|
+
const BuildItem = __component__$s.exports, layoutBlocks_vue_vue_type_style_index_0_scoped_c3536a19_lang = "", _sfc_main$r = {
|
|
135803
135923
|
name: "LayoutBlocks",
|
|
135804
135924
|
props: {
|
|
135805
135925
|
record: {
|
|
@@ -135903,7 +136023,7 @@ var _sfc_render$r = function s() {
|
|
|
135903
136023
|
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
136024
|
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
136025
|
})], 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(
|
|
136026
|
+
})], 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
136027
|
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
136028
|
})], 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
136029
|
r.preventDefault();
|
|
@@ -135928,7 +136048,7 @@ var _sfc_render$r = function s() {
|
|
|
135928
136048
|
_sfc_staticRenderFns$r,
|
|
135929
136049
|
!1,
|
|
135930
136050
|
null,
|
|
135931
|
-
"
|
|
136051
|
+
"c3536a19",
|
|
135932
136052
|
null,
|
|
135933
136053
|
null
|
|
135934
136054
|
);
|
|
@@ -135991,7 +136111,7 @@ var _sfc_render$q = function s() {
|
|
|
135991
136111
|
null,
|
|
135992
136112
|
null
|
|
135993
136113
|
);
|
|
135994
|
-
const BuildBlocks = __component__$q.exports,
|
|
136114
|
+
const BuildBlocks = __component__$q.exports, main_vue_vue_type_style_index_0_scoped_f541c238_lang = "", _sfc_main$p = {
|
|
135995
136115
|
name: "GdPageBuild",
|
|
135996
136116
|
data() {
|
|
135997
136117
|
return {
|
|
@@ -136061,6 +136181,10 @@ const BuildBlocks = __component__$q.exports, main_vue_vue_type_style_index_0_sco
|
|
|
136061
136181
|
return;
|
|
136062
136182
|
}
|
|
136063
136183
|
const t = this.allElements.filter((a) => a.key === s.key)[0];
|
|
136184
|
+
if (t && t.type === "dataList") {
|
|
136185
|
+
this.doEventDataList(s, t);
|
|
136186
|
+
return;
|
|
136187
|
+
}
|
|
136064
136188
|
t && t.executeEvent && t.executeEvent(s);
|
|
136065
136189
|
},
|
|
136066
136190
|
eventsCall(s) {
|
|
@@ -136119,7 +136243,7 @@ var _sfc_render$p = function s() {
|
|
|
136119
136243
|
_sfc_staticRenderFns$p,
|
|
136120
136244
|
!1,
|
|
136121
136245
|
null,
|
|
136122
|
-
"
|
|
136246
|
+
"f541c238",
|
|
136123
136247
|
null,
|
|
136124
136248
|
null
|
|
136125
136249
|
);
|
|
@@ -138584,7 +138708,7 @@ const GDpackage$6 = __component__$m.exports;
|
|
|
138584
138708
|
GDpackage$6.install = function(s) {
|
|
138585
138709
|
s.component(GDpackage$6.name, GDpackage$6);
|
|
138586
138710
|
};
|
|
138587
|
-
const
|
|
138711
|
+
const main_vue_vue_type_style_index_0_scoped_b5a328d2_lang = "", plugFilters = {
|
|
138588
138712
|
referencefiled: "",
|
|
138589
138713
|
referencetable: "",
|
|
138590
138714
|
checked: !1,
|
|
@@ -138770,7 +138894,7 @@ const main_vue_vue_type_style_index_0_scoped_e142b4f0_lang = "", plugFilters = {
|
|
|
138770
138894
|
}, l = this.$i18nt(`Dynamics.${a.transkey}`, a.columncomment), d = this.$i18nt(`Dynamics.${r.transkey}`, r.name);
|
|
138771
138895
|
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
138896
|
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);
|
|
138897
|
+
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
138898
|
}
|
|
138775
138899
|
}
|
|
138776
138900
|
a.children && a.children.length > 0 && a.children.forEach((r) => {
|
|
@@ -138782,7 +138906,7 @@ const main_vue_vue_type_style_index_0_scoped_e142b4f0_lang = "", plugFilters = {
|
|
|
138782
138906
|
}, 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
138907
|
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
138908
|
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);
|
|
138909
|
+
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
138910
|
}
|
|
138787
138911
|
}
|
|
138788
138912
|
});
|
|
@@ -138814,7 +138938,7 @@ var _sfc_render$l = function s() {
|
|
|
138814
138938
|
_sfc_staticRenderFns$l,
|
|
138815
138939
|
!1,
|
|
138816
138940
|
null,
|
|
138817
|
-
"
|
|
138941
|
+
"b5a328d2",
|
|
138818
138942
|
null,
|
|
138819
138943
|
null
|
|
138820
138944
|
);
|
|
@@ -138970,7 +139094,7 @@ var _sfc_render$k = function s() {
|
|
|
138970
139094
|
null,
|
|
138971
139095
|
null
|
|
138972
139096
|
);
|
|
138973
|
-
const ViewCharts = __component__$k.exports,
|
|
139097
|
+
const ViewCharts = __component__$k.exports, main_vue_vue_type_style_index_0_scoped_695ff113_lang = "", _sfc_main$j = {
|
|
138974
139098
|
name: "GdViewBuildDesigner",
|
|
138975
139099
|
props: {
|
|
138976
139100
|
record: {
|
|
@@ -139028,7 +139152,12 @@ const ViewCharts = __component__$k.exports, main_vue_vue_type_style_index_0_scop
|
|
|
139028
139152
|
summaryData: {},
|
|
139029
139153
|
viewRecord: {},
|
|
139030
139154
|
loadData: (s) => {
|
|
139031
|
-
const t = Object.assign(
|
|
139155
|
+
const t = Object.assign(
|
|
139156
|
+
s,
|
|
139157
|
+
this.queryTable,
|
|
139158
|
+
switchingDate(this.queryParam, this.fieldData, this.tableQueries, this.getDictionary("time_longshort")),
|
|
139159
|
+
this.foreign
|
|
139160
|
+
);
|
|
139032
139161
|
return this.queryCriteria = { ...t }, basePage(t).then((a) => {
|
|
139033
139162
|
let r = [];
|
|
139034
139163
|
if (a.code === 200) {
|
|
@@ -139935,7 +140064,7 @@ var _sfc_render$j = function s() {
|
|
|
139935
140064
|
_sfc_staticRenderFns$j,
|
|
139936
140065
|
!1,
|
|
139937
140066
|
null,
|
|
139938
|
-
"
|
|
140067
|
+
"695ff113",
|
|
139939
140068
|
null,
|
|
139940
140069
|
null
|
|
139941
140070
|
);
|