gds-plus-design-vue 1.1.32 → 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.8923ef39.mjs → index.a1d814d1.mjs} +296 -174
- package/lib/{main.5e6d15a6.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,8 +1370,8 @@ var _sfc_render$5Y = function() {
|
|
|
1370
1370
|
null,
|
|
1371
1371
|
null
|
|
1372
1372
|
);
|
|
1373
|
-
const UserLogo = __component__$5Y.exports,
|
|
1374
|
-
var timeOut = null;
|
|
1373
|
+
const UserLogo = __component__$5Y.exports, sidebarMenus_vue_vue_type_style_index_0_scoped_6b8e5f8b_lang = "";
|
|
1374
|
+
var timeOut$2 = null;
|
|
1375
1375
|
const _sfc_main$5X = {
|
|
1376
1376
|
props: {
|
|
1377
1377
|
menus: {
|
|
@@ -1486,7 +1486,7 @@ const _sfc_main$5X = {
|
|
|
1486
1486
|
this.seachName(s.trim());
|
|
1487
1487
|
},
|
|
1488
1488
|
refreshCollect() {
|
|
1489
|
-
timeOut && clearTimeout(timeOut), timeOut = setTimeout(() => {
|
|
1489
|
+
timeOut$2 && clearTimeout(timeOut$2), timeOut$2 = setTimeout(() => {
|
|
1490
1490
|
this.getSysBookmarkPage();
|
|
1491
1491
|
}, 2e3);
|
|
1492
1492
|
},
|
|
@@ -1495,7 +1495,7 @@ const _sfc_main$5X = {
|
|
|
1495
1495
|
t === 1 && r.push(a), this.UserFavoriteMenu(r), this.refreshCollect();
|
|
1496
1496
|
},
|
|
1497
1497
|
collectMenu(s, t) {
|
|
1498
|
-
if (timeOut && clearTimeout(timeOut), t === 1) {
|
|
1498
|
+
if (timeOut$2 && clearTimeout(timeOut$2), t === 1) {
|
|
1499
1499
|
this.sysBookmarkAdd(s).then((a) => {
|
|
1500
1500
|
a.success && this.countCollect(s, t, a.data);
|
|
1501
1501
|
});
|
|
@@ -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) {
|
|
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
|
+
"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
|
);
|
|
@@ -113399,7 +113458,9 @@ const relevanceTree = __component__$2d.exports, mixins$f = {
|
|
|
113399
113458
|
return await r(s), a;
|
|
113400
113459
|
}
|
|
113401
113460
|
}
|
|
113402
|
-
},
|
|
113461
|
+
}, main_vue_vue_type_style_index_0_scoped_7dea6140_lang = "";
|
|
113462
|
+
var timeOut$1 = null;
|
|
113463
|
+
const _sfc_main$2c = {
|
|
113403
113464
|
props: {
|
|
113404
113465
|
data: {
|
|
113405
113466
|
type: Object,
|
|
@@ -113424,11 +113485,9 @@ const relevanceTree = __component__$2d.exports, mixins$f = {
|
|
|
113424
113485
|
watch: {
|
|
113425
113486
|
data: {
|
|
113426
113487
|
handler(s) {
|
|
113427
|
-
|
|
113428
|
-
|
|
113429
|
-
|
|
113430
|
-
}, 0);
|
|
113431
|
-
});
|
|
113488
|
+
timeOut$1 && clearTimeout(timeOut$1), timeOut$1 = setTimeout(() => {
|
|
113489
|
+
this.state || this.init(s);
|
|
113490
|
+
}, 500);
|
|
113432
113491
|
},
|
|
113433
113492
|
deep: !0,
|
|
113434
113493
|
immediate: !0
|
|
@@ -113522,7 +113581,7 @@ var _sfc_render$2c = function s() {
|
|
|
113522
113581
|
_sfc_staticRenderFns$2c,
|
|
113523
113582
|
!1,
|
|
113524
113583
|
null,
|
|
113525
|
-
"
|
|
113584
|
+
"7dea6140",
|
|
113526
113585
|
null,
|
|
113527
113586
|
null
|
|
113528
113587
|
);
|
|
@@ -114017,7 +114076,7 @@ function getProperti(s, t) {
|
|
|
114017
114076
|
return "";
|
|
114018
114077
|
}
|
|
114019
114078
|
}
|
|
114020
|
-
const
|
|
114079
|
+
const textContent_vue_vue_type_style_index_0_scoped_5c6af951_lang = "", _sfc_main$22 = {
|
|
114021
114080
|
props: {
|
|
114022
114081
|
record: {
|
|
114023
114082
|
type: Object,
|
|
@@ -114042,7 +114101,7 @@ const textContent_vue_vue_type_style_index_0_scoped_37061f12_lang = "", _sfc_mai
|
|
|
114042
114101
|
watch: {
|
|
114043
114102
|
fieldContext: {
|
|
114044
114103
|
handler(s) {
|
|
114045
|
-
this.record.fieldContext = this.fieldContext;
|
|
114104
|
+
this.fieldContext.length > 0 && (this.record.fieldContext = this.fieldContext);
|
|
114046
114105
|
},
|
|
114047
114106
|
deep: !0,
|
|
114048
114107
|
immediate: !0
|
|
@@ -114066,7 +114125,7 @@ const textContent_vue_vue_type_style_index_0_scoped_37061f12_lang = "", _sfc_mai
|
|
|
114066
114125
|
},
|
|
114067
114126
|
methods: {},
|
|
114068
114127
|
mounted() {
|
|
114069
|
-
this.
|
|
114128
|
+
this.fieldContext.length > 0 && (this.record.fieldContext = this.fieldContext);
|
|
114070
114129
|
}
|
|
114071
114130
|
};
|
|
114072
114131
|
var _sfc_render$22 = function s() {
|
|
@@ -114078,7 +114137,7 @@ var _sfc_render$22 = function s() {
|
|
|
114078
114137
|
_sfc_staticRenderFns$22,
|
|
114079
114138
|
!1,
|
|
114080
114139
|
null,
|
|
114081
|
-
"
|
|
114140
|
+
"5c6af951",
|
|
114082
114141
|
null,
|
|
114083
114142
|
null
|
|
114084
114143
|
);
|
|
@@ -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,11 +114659,11 @@ 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
|
);
|
|
114565
|
-
const UnifiedComponents = __component__$20.exports,
|
|
114666
|
+
const UnifiedComponents = __component__$20.exports, fonticon_vue_vue_type_style_index_0_scoped_a3d8cb60_lang = "", _sfc_main$1$ = {
|
|
114566
114667
|
props: {
|
|
114567
114668
|
record: {
|
|
114568
114669
|
type: Object,
|
|
@@ -114594,14 +114695,14 @@ const UnifiedComponents = __component__$20.exports, fonticon_vue_vue_type_style_
|
|
|
114594
114695
|
watch: {
|
|
114595
114696
|
fieldContext: {
|
|
114596
114697
|
handler(s) {
|
|
114597
|
-
this.record.fieldContext = this.fieldContext;
|
|
114698
|
+
this.fieldContext.length > 0 && (this.record.fieldContext = this.fieldContext);
|
|
114598
114699
|
},
|
|
114599
114700
|
deep: !0,
|
|
114600
114701
|
immediate: !0
|
|
114601
114702
|
},
|
|
114602
114703
|
foreignContext: {
|
|
114603
114704
|
handler(s) {
|
|
114604
|
-
this.record.foreignContext = this.foreignContext;
|
|
114705
|
+
this.foreignContext.length > 0 && (this.record.foreignContext = this.foreignContext);
|
|
114605
114706
|
},
|
|
114606
114707
|
deep: !0,
|
|
114607
114708
|
immediate: !0
|
|
@@ -114625,7 +114726,7 @@ const UnifiedComponents = __component__$20.exports, fonticon_vue_vue_type_style_
|
|
|
114625
114726
|
}
|
|
114626
114727
|
},
|
|
114627
114728
|
mounted() {
|
|
114628
|
-
this.
|
|
114729
|
+
this.foreignContext.length > 0 && (this.record.foreignContext = this.foreignContext), this.fieldContext.length > 0 && (this.record.fieldContext = this.fieldContext);
|
|
114629
114730
|
}
|
|
114630
114731
|
};
|
|
114631
114732
|
var _sfc_render$1$ = function s() {
|
|
@@ -114637,7 +114738,7 @@ var _sfc_render$1$ = function s() {
|
|
|
114637
114738
|
_sfc_staticRenderFns$1$,
|
|
114638
114739
|
!1,
|
|
114639
114740
|
null,
|
|
114640
|
-
"
|
|
114741
|
+
"a3d8cb60",
|
|
114641
114742
|
null,
|
|
114642
114743
|
null
|
|
114643
114744
|
);
|
|
@@ -118114,7 +118215,7 @@ var _sfc_render$1H = function s() {
|
|
|
118114
118215
|
null,
|
|
118115
118216
|
null
|
|
118116
118217
|
);
|
|
118117
|
-
const detailView = __component__$1H.exports,
|
|
118218
|
+
const detailView = __component__$1H.exports, btnGroup_vue_vue_type_style_index_0_scoped_569acb8e_lang = "", _sfc_main$1G = {
|
|
118118
118219
|
props: {
|
|
118119
118220
|
record: {
|
|
118120
118221
|
type: Object,
|
|
@@ -118143,14 +118244,14 @@ const detailView = __component__$1H.exports, btnGroup_vue_vue_type_style_index_0
|
|
|
118143
118244
|
watch: {
|
|
118144
118245
|
fieldContext: {
|
|
118145
118246
|
handler(s) {
|
|
118146
|
-
this.record.fieldContext = this.fieldContext;
|
|
118247
|
+
this.fieldContext.length > 0 && (this.record.fieldContext = this.fieldContext);
|
|
118147
118248
|
},
|
|
118148
118249
|
deep: !0,
|
|
118149
118250
|
immediate: !0
|
|
118150
118251
|
},
|
|
118151
118252
|
foreignContext: {
|
|
118152
118253
|
handler(s) {
|
|
118153
|
-
this.record.foreignContext = this.foreignContext;
|
|
118254
|
+
this.foreignContext.length > 0 && (this.record.foreignContext = this.foreignContext);
|
|
118154
118255
|
},
|
|
118155
118256
|
deep: !0,
|
|
118156
118257
|
immediate: !0
|
|
@@ -118202,7 +118303,7 @@ const detailView = __component__$1H.exports, btnGroup_vue_vue_type_style_index_0
|
|
|
118202
118303
|
}
|
|
118203
118304
|
},
|
|
118204
118305
|
mounted() {
|
|
118205
|
-
this.
|
|
118306
|
+
this.foreignContext.length > 0 && (this.record.foreignContext = this.foreignContext), this.fieldContext.length > 0 && (this.record.fieldContext = this.fieldContext);
|
|
118206
118307
|
}
|
|
118207
118308
|
};
|
|
118208
118309
|
var _sfc_render$1G = function s() {
|
|
@@ -118214,7 +118315,7 @@ var _sfc_render$1G = function s() {
|
|
|
118214
118315
|
_sfc_staticRenderFns$1G,
|
|
118215
118316
|
!1,
|
|
118216
118317
|
null,
|
|
118217
|
-
"
|
|
118318
|
+
"569acb8e",
|
|
118218
118319
|
null,
|
|
118219
118320
|
null
|
|
118220
118321
|
);
|
|
@@ -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
|
);
|
|
@@ -119155,7 +119260,7 @@ var _sfc_render$1y = function s() {
|
|
|
119155
119260
|
null,
|
|
119156
119261
|
null
|
|
119157
119262
|
);
|
|
119158
|
-
const layoutNode = __component__$1y.exports,
|
|
119263
|
+
const layoutNode = __component__$1y.exports, containerPanel_vue_vue_type_style_index_0_scoped_e7cf23b9_lang = "", _sfc_main$1x = {
|
|
119159
119264
|
props: {
|
|
119160
119265
|
record: {
|
|
119161
119266
|
type: Object,
|
|
@@ -119175,7 +119280,7 @@ const layoutNode = __component__$1y.exports, containerPanel_vue_vue_type_style_i
|
|
|
119175
119280
|
},
|
|
119176
119281
|
computed: {
|
|
119177
119282
|
gclass() {
|
|
119178
|
-
return
|
|
119283
|
+
return this.develop == 1 ? "" : this.record.customClass ? this.record.customClass : "";
|
|
119179
119284
|
},
|
|
119180
119285
|
heightArea() {
|
|
119181
119286
|
return this.height;
|
|
@@ -119187,7 +119292,7 @@ const layoutNode = __component__$1y.exports, containerPanel_vue_vue_type_style_i
|
|
|
119187
119292
|
return `${this.develop == 1 ? "" : `${getCss(this.options)}max-width:100%;`}`;
|
|
119188
119293
|
},
|
|
119189
119294
|
style() {
|
|
119190
|
-
const s = this.record.customCss ? this.record.customCss : "";
|
|
119295
|
+
const s = this.develop == 1 ? "" : this.record.customCss ? this.record.customCss : "";
|
|
119191
119296
|
return `${getCss(this.record.css)}${s}`;
|
|
119192
119297
|
},
|
|
119193
119298
|
heiType() {
|
|
@@ -119206,7 +119311,7 @@ var _sfc_render$1x = function s() {
|
|
|
119206
119311
|
_sfc_staticRenderFns$1x,
|
|
119207
119312
|
!1,
|
|
119208
119313
|
null,
|
|
119209
|
-
"
|
|
119314
|
+
"e7cf23b9",
|
|
119210
119315
|
null,
|
|
119211
119316
|
null
|
|
119212
119317
|
);
|
|
@@ -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,
|
|
@@ -119305,7 +119410,7 @@ const FlexLayout = __component__$1w.exports, dataList_vue_vue_type_style_index_0
|
|
|
119305
119410
|
},
|
|
119306
119411
|
foreignContext: {
|
|
119307
119412
|
handler(s) {
|
|
119308
|
-
this.record.foreignContext = this.foreignContext;
|
|
119413
|
+
this.foreignContext.length > 0 && (this.record.foreignContext = this.foreignContext);
|
|
119309
119414
|
},
|
|
119310
119415
|
deep: !0,
|
|
119311
119416
|
immediate: !0
|
|
@@ -119369,7 +119474,7 @@ const FlexLayout = __component__$1w.exports, dataList_vue_vue_type_style_index_0
|
|
|
119369
119474
|
const r = this.options.layoutDirection === "row" ? "overflow-x: auto;" : "";
|
|
119370
119475
|
s = `display: flex;flex-direction:${this.options.layoutDirection};${r}`;
|
|
119371
119476
|
}
|
|
119372
|
-
const t = this.record.customCss ? this.record.customCss : "", a = this.options.spacing ? this.options.spacing : 0;
|
|
119477
|
+
const t = this.develop == 1 ? "" : this.record.customCss ? this.record.customCss : "", a = this.options.spacing ? this.options.spacing : 0;
|
|
119373
119478
|
return `${s}gap:${a}px;${getCss(this.record.css)}${t}`;
|
|
119374
119479
|
},
|
|
119375
119480
|
istyle() {
|
|
@@ -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
|
},
|
|
@@ -119515,21 +119620,21 @@ const FlexLayout = __component__$1w.exports, dataList_vue_vue_type_style_index_0
|
|
|
119515
119620
|
}
|
|
119516
119621
|
},
|
|
119517
119622
|
mounted() {
|
|
119518
|
-
this.init(), this.develop == 2 && this.executeEventBind(), this.
|
|
119623
|
+
this.init(), this.develop == 2 && this.executeEventBind(), this.foreignContext.length > 0 && (this.record.foreignContext = this.foreignContext), this.record.hasLoad && this.record.hasLoad(this.record.key);
|
|
119519
119624
|
}
|
|
119520
119625
|
};
|
|
119521
119626
|
var _sfc_render$1v = function s() {
|
|
119522
119627
|
var t = this, a = t._self._c;
|
|
119523
119628
|
return a("div", { directives: [{ name: "loading", rawName: "v-loading", value: t.confirmLoading, expression: "confirmLoading" }], staticClass: "gd-data-list" }, [a("div", { style: t.style }, t._l(t.getDataList, function(r, o) {
|
|
119524
119629
|
return a("div", { staticClass: "flexd-items", style: t.istyle }, [t._t("listItem", null, { index: o, itemStyle: t.itemStyle, row: r, fieldContext: t.fieldContext, foreignContext: t.foreignContextList })], 2);
|
|
119525
|
-
}), 0), t.totalRows > 0 ? a("div", { staticClass: "list-more", class: t.totalRows > 0 && t.list.length >= t.totalRows ? "" : "active-item" }, [t.loading ? a("i", { staticClass: "el-icon-loading" }) : t._e(), a("div", { staticClass: "more-title", on: { click: t.loadMore } }, [t._v(t._s(t.moreTitle))])]) : t._e(), t.statu ? a("div", { staticClass: "empty-control" }, [a("i", { staticClass: "el-icon-receiving" }), a("div", { staticClass: "empty-title" }, [t._v(t._s(t.$i18nt("el.select.noData", "\u65E0\u6570\u636E")))])]) : t._e()]);
|
|
119630
|
+
}), 0), t.develop == 2 ? [t.totalRows > 0 ? a("div", { staticClass: "list-more", class: t.totalRows > 0 && t.list.length >= t.totalRows ? "" : "active-item" }, [t.loading ? a("i", { staticClass: "el-icon-loading" }) : t._e(), a("div", { staticClass: "more-title", on: { click: t.loadMore } }, [t._v(t._s(t.moreTitle))])]) : t._e(), t.statu ? a("div", { staticClass: "empty-control" }, [a("i", { staticClass: "el-icon-receiving" }), a("div", { staticClass: "empty-title" }, [t._v(t._s(t.$i18nt("el.select.noData", "\u65E0\u6570\u636E")))])]) : t._e()] : t._e()], 2);
|
|
119526
119631
|
}, _sfc_staticRenderFns$1v = [], __component__$1v = /* @__PURE__ */ normalizeComponent(
|
|
119527
119632
|
_sfc_main$1v,
|
|
119528
119633
|
_sfc_render$1v,
|
|
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: {
|
|
@@ -119741,14 +119846,6 @@ const drawerPanel = __component__$1t.exports, layoutItem_vue_vue_type_style_inde
|
|
|
119741
119846
|
value: null
|
|
119742
119847
|
};
|
|
119743
119848
|
},
|
|
119744
|
-
watch: {
|
|
119745
|
-
selectItem: {
|
|
119746
|
-
handler(s) {
|
|
119747
|
-
s.key !== "" && JSON.stringify(s) !== "{}" && this.mergeItemStyle(s.key, s.options.flexWidth);
|
|
119748
|
-
},
|
|
119749
|
-
deep: !0
|
|
119750
|
-
}
|
|
119751
|
-
},
|
|
119752
119849
|
computed: {
|
|
119753
119850
|
options() {
|
|
119754
119851
|
return this.record.options;
|
|
@@ -119781,9 +119878,6 @@ const drawerPanel = __component__$1t.exports, layoutItem_vue_vue_type_style_inde
|
|
|
119781
119878
|
},
|
|
119782
119879
|
handleColAdd(s, t) {
|
|
119783
119880
|
this.$emit("handleColAdd", s, t);
|
|
119784
|
-
},
|
|
119785
|
-
mergeItemStyle(s, t) {
|
|
119786
|
-
this.value = t;
|
|
119787
119881
|
}
|
|
119788
119882
|
}
|
|
119789
119883
|
};
|
|
@@ -119796,7 +119890,7 @@ var _sfc_render$1s = function s() {
|
|
|
119796
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) {
|
|
119797
119891
|
t.$set(t.options, "activeKey", r);
|
|
119798
119892
|
}, expression: "options.activeKey" } }, t._l(t.record.columns, function(r, o) {
|
|
119799
|
-
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) {
|
|
119800
119894
|
return t.$emit("dragStart", l, r.list);
|
|
119801
119895
|
}, add: function(l) {
|
|
119802
119896
|
return t.$emit("handleColAdd", l, r.list);
|
|
@@ -120139,11 +120233,13 @@ var _sfc_render$1s = function s() {
|
|
|
120139
120233
|
_sfc_staticRenderFns$1s,
|
|
120140
120234
|
!1,
|
|
120141
120235
|
null,
|
|
120142
|
-
"
|
|
120236
|
+
"47b23d32",
|
|
120143
120237
|
null,
|
|
120144
120238
|
null
|
|
120145
120239
|
);
|
|
120146
|
-
const layoutItem = __component__$1s.exports,
|
|
120240
|
+
const layoutItem = __component__$1s.exports, componentPanel_vue_vue_type_style_index_0_scoped_2ddf0fc0_lang = "";
|
|
120241
|
+
var timeOut = null;
|
|
120242
|
+
const _sfc_main$1r = {
|
|
120147
120243
|
props: {
|
|
120148
120244
|
data: {
|
|
120149
120245
|
type: Object,
|
|
@@ -120189,7 +120285,9 @@ const layoutItem = __component__$1s.exports, componentPanel_vue_vue_type_style_i
|
|
|
120189
120285
|
watch: {
|
|
120190
120286
|
data: {
|
|
120191
120287
|
handler(s) {
|
|
120192
|
-
|
|
120288
|
+
timeOut && clearTimeout(timeOut), timeOut = setTimeout(() => {
|
|
120289
|
+
this.ruleFormFiter(s);
|
|
120290
|
+
}, 100);
|
|
120193
120291
|
const t = s.list.filter((a) => ["dialog", "drawer"].includes(a.type) && a.options.visible)[0];
|
|
120194
120292
|
this.statu = !!t;
|
|
120195
120293
|
},
|
|
@@ -120409,7 +120507,7 @@ var _sfc_render$1r = function s() {
|
|
|
120409
120507
|
_sfc_staticRenderFns$1r,
|
|
120410
120508
|
!1,
|
|
120411
120509
|
null,
|
|
120412
|
-
"
|
|
120510
|
+
"2ddf0fc0",
|
|
120413
120511
|
null,
|
|
120414
120512
|
null
|
|
120415
120513
|
);
|
|
@@ -123891,7 +123989,7 @@ var _sfc_render$13 = function s() {
|
|
|
123891
123989
|
null,
|
|
123892
123990
|
null
|
|
123893
123991
|
);
|
|
123894
|
-
const propertiesInterac = __component__$13.exports,
|
|
123992
|
+
const propertiesInterac = __component__$13.exports, properties_vue_vue_type_style_index_0_scoped_7ef90012_lang = "", _sfc_main$12 = {
|
|
123895
123993
|
props: {
|
|
123896
123994
|
selectItem: {
|
|
123897
123995
|
type: Object,
|
|
@@ -123937,6 +124035,21 @@ const propertiesInterac = __component__$13.exports, properties_vue_vue_type_styl
|
|
|
123937
124035
|
}
|
|
123938
124036
|
},
|
|
123939
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
|
+
},
|
|
123940
124053
|
languageMessages() {
|
|
123941
124054
|
return this.$i18n.messages;
|
|
123942
124055
|
},
|
|
@@ -124027,9 +124140,6 @@ const propertiesInterac = __component__$13.exports, properties_vue_vue_type_styl
|
|
|
124027
124140
|
const t = this.$options.filters.dictData("time_longshort").filter((a) => String(a.code) === String(this.options.format))[0];
|
|
124028
124141
|
return t ? t.name.replace("DD", "dd") : "yyyy-MM-dd hh:mm:ss";
|
|
124029
124142
|
},
|
|
124030
|
-
formatDict() {
|
|
124031
|
-
return this.$options.filters.dictData("time_longshort");
|
|
124032
|
-
},
|
|
124033
124143
|
dict() {
|
|
124034
124144
|
return this.getDictionary(this.options.dictTypeCode);
|
|
124035
124145
|
},
|
|
@@ -124065,6 +124175,11 @@ const propertiesInterac = __component__$13.exports, properties_vue_vue_type_styl
|
|
|
124065
124175
|
propertiesInterac
|
|
124066
124176
|
},
|
|
124067
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
|
+
},
|
|
124068
124183
|
initTranskey(s, t) {
|
|
124069
124184
|
t !== void 0 && s.key !== t.key && (this.$refs.gdTranslation && this.$refs.gdTranslation.againInit(), this.$refs.gdTranslations && this.$refs.gdTranslations.againInit());
|
|
124070
124185
|
},
|
|
@@ -124204,7 +124319,7 @@ var _sfc_render$12 = function s() {
|
|
|
124204
124319
|
t.$set(t.options, "columnName", r);
|
|
124205
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) {
|
|
124206
124321
|
t.$set(t.options, "placeholder", r);
|
|
124207
|
-
}, 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) {
|
|
124208
124323
|
t.$set(t.selectItem, "type", r);
|
|
124209
124324
|
}, expression: "selectItem.type" } }, t._l(t.inputComponentList, function(r) {
|
|
124210
124325
|
return a("el-option", { key: r.type, attrs: { label: r.label, value: r.type } }, [a("span", [t._v(t._s(r.label))])]);
|
|
@@ -124248,7 +124363,7 @@ var _sfc_render$12 = function s() {
|
|
|
124248
124363
|
return a("el-option", { key: r.code, attrs: { label: t.$i18nt(`Dynamics.${r.transkey}`, r.name), value: r.code } });
|
|
124249
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) {
|
|
124250
124365
|
t.$set(t.options, "format", r);
|
|
124251
|
-
}, expression: "options.format" } }, t._l(t.
|
|
124366
|
+
}, expression: "options.format" } }, t._l(t.getTimeData, function(r) {
|
|
124252
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)))])]);
|
|
124253
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) {
|
|
124254
124369
|
t.$set(t.options, "disableDictMode", r);
|
|
@@ -124268,7 +124383,7 @@ var _sfc_render$12 = function s() {
|
|
|
124268
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)))])]);
|
|
124269
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) {
|
|
124270
124385
|
t.$set(t.options, "defaultValue", r);
|
|
124271
|
-
}, 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) {
|
|
124272
124387
|
t.$set(t.options, "defaultValue", r);
|
|
124273
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) {
|
|
124274
124389
|
t.$set(t.options, "defaultValue", r);
|
|
@@ -124282,9 +124397,7 @@ var _sfc_render$12 = function s() {
|
|
|
124282
124397
|
t.$set(t.options, "disabled", r);
|
|
124283
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) {
|
|
124284
124399
|
t.$set(t.options, "bringTo", r);
|
|
124285
|
-
}, expression: "options.bringTo" } }) : t._e(), t.getTypeof("
|
|
124286
|
-
t.$set(t.options, "showTime", r);
|
|
124287
|
-
}, 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) {
|
|
124288
124401
|
t.$set(t.options, "drag", r);
|
|
124289
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) {
|
|
124290
124403
|
t.$set(t.options, "download", r);
|
|
@@ -124391,7 +124504,7 @@ var _sfc_render$12 = function s() {
|
|
|
124391
124504
|
_sfc_staticRenderFns$12,
|
|
124392
124505
|
!1,
|
|
124393
124506
|
null,
|
|
124394
|
-
"
|
|
124507
|
+
"7ef90012",
|
|
124395
124508
|
null,
|
|
124396
124509
|
null
|
|
124397
124510
|
);
|
|
@@ -135806,7 +135919,7 @@ var _sfc_render$s = function s() {
|
|
|
135806
135919
|
null,
|
|
135807
135920
|
null
|
|
135808
135921
|
);
|
|
135809
|
-
const BuildItem = __component__$s.exports,
|
|
135922
|
+
const BuildItem = __component__$s.exports, layoutBlocks_vue_vue_type_style_index_0_scoped_c3536a19_lang = "", _sfc_main$r = {
|
|
135810
135923
|
name: "LayoutBlocks",
|
|
135811
135924
|
props: {
|
|
135812
135925
|
record: {
|
|
@@ -135910,7 +136023,7 @@ var _sfc_render$r = function s() {
|
|
|
135910
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) {
|
|
135911
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 } })];
|
|
135912
136025
|
})], 2)];
|
|
135913
|
-
})], 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) {
|
|
135914
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 } })];
|
|
135915
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) {
|
|
135916
136029
|
r.preventDefault();
|
|
@@ -135935,7 +136048,7 @@ var _sfc_render$r = function s() {
|
|
|
135935
136048
|
_sfc_staticRenderFns$r,
|
|
135936
136049
|
!1,
|
|
135937
136050
|
null,
|
|
135938
|
-
"
|
|
136051
|
+
"c3536a19",
|
|
135939
136052
|
null,
|
|
135940
136053
|
null
|
|
135941
136054
|
);
|
|
@@ -135998,7 +136111,7 @@ var _sfc_render$q = function s() {
|
|
|
135998
136111
|
null,
|
|
135999
136112
|
null
|
|
136000
136113
|
);
|
|
136001
|
-
const BuildBlocks = __component__$q.exports,
|
|
136114
|
+
const BuildBlocks = __component__$q.exports, main_vue_vue_type_style_index_0_scoped_f541c238_lang = "", _sfc_main$p = {
|
|
136002
136115
|
name: "GdPageBuild",
|
|
136003
136116
|
data() {
|
|
136004
136117
|
return {
|
|
@@ -136068,6 +136181,10 @@ const BuildBlocks = __component__$q.exports, main_vue_vue_type_style_index_0_sco
|
|
|
136068
136181
|
return;
|
|
136069
136182
|
}
|
|
136070
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
|
+
}
|
|
136071
136188
|
t && t.executeEvent && t.executeEvent(s);
|
|
136072
136189
|
},
|
|
136073
136190
|
eventsCall(s) {
|
|
@@ -136126,7 +136243,7 @@ var _sfc_render$p = function s() {
|
|
|
136126
136243
|
_sfc_staticRenderFns$p,
|
|
136127
136244
|
!1,
|
|
136128
136245
|
null,
|
|
136129
|
-
"
|
|
136246
|
+
"f541c238",
|
|
136130
136247
|
null,
|
|
136131
136248
|
null
|
|
136132
136249
|
);
|
|
@@ -138591,7 +138708,7 @@ const GDpackage$6 = __component__$m.exports;
|
|
|
138591
138708
|
GDpackage$6.install = function(s) {
|
|
138592
138709
|
s.component(GDpackage$6.name, GDpackage$6);
|
|
138593
138710
|
};
|
|
138594
|
-
const
|
|
138711
|
+
const main_vue_vue_type_style_index_0_scoped_b5a328d2_lang = "", plugFilters = {
|
|
138595
138712
|
referencefiled: "",
|
|
138596
138713
|
referencetable: "",
|
|
138597
138714
|
checked: !1,
|
|
@@ -138777,7 +138894,7 @@ const main_vue_vue_type_style_index_0_scoped_e142b4f0_lang = "", plugFilters = {
|
|
|
138777
138894
|
}, l = this.$i18nt(`Dynamics.${a.transkey}`, a.columncomment), d = this.$i18nt(`Dynamics.${r.transkey}`, r.name);
|
|
138778
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;
|
|
138779
138896
|
let u = r.align ? r.align.split("&") : [];
|
|
138780
|
-
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);
|
|
138781
138898
|
}
|
|
138782
138899
|
}
|
|
138783
138900
|
a.children && a.children.length > 0 && a.children.forEach((r) => {
|
|
@@ -138789,7 +138906,7 @@ const main_vue_vue_type_style_index_0_scoped_e142b4f0_lang = "", plugFilters = {
|
|
|
138789
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);
|
|
138790
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;
|
|
138791
138908
|
let h = o.align ? o.align.split("&") : [];
|
|
138792
|
-
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);
|
|
138793
138910
|
}
|
|
138794
138911
|
}
|
|
138795
138912
|
});
|
|
@@ -138821,7 +138938,7 @@ var _sfc_render$l = function s() {
|
|
|
138821
138938
|
_sfc_staticRenderFns$l,
|
|
138822
138939
|
!1,
|
|
138823
138940
|
null,
|
|
138824
|
-
"
|
|
138941
|
+
"b5a328d2",
|
|
138825
138942
|
null,
|
|
138826
138943
|
null
|
|
138827
138944
|
);
|
|
@@ -138977,7 +139094,7 @@ var _sfc_render$k = function s() {
|
|
|
138977
139094
|
null,
|
|
138978
139095
|
null
|
|
138979
139096
|
);
|
|
138980
|
-
const ViewCharts = __component__$k.exports,
|
|
139097
|
+
const ViewCharts = __component__$k.exports, main_vue_vue_type_style_index_0_scoped_695ff113_lang = "", _sfc_main$j = {
|
|
138981
139098
|
name: "GdViewBuildDesigner",
|
|
138982
139099
|
props: {
|
|
138983
139100
|
record: {
|
|
@@ -139035,7 +139152,12 @@ const ViewCharts = __component__$k.exports, main_vue_vue_type_style_index_0_scop
|
|
|
139035
139152
|
summaryData: {},
|
|
139036
139153
|
viewRecord: {},
|
|
139037
139154
|
loadData: (s) => {
|
|
139038
|
-
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
|
+
);
|
|
139039
139161
|
return this.queryCriteria = { ...t }, basePage(t).then((a) => {
|
|
139040
139162
|
let r = [];
|
|
139041
139163
|
if (a.code === 200) {
|
|
@@ -139942,7 +140064,7 @@ var _sfc_render$j = function s() {
|
|
|
139942
140064
|
_sfc_staticRenderFns$j,
|
|
139943
140065
|
!1,
|
|
139944
140066
|
null,
|
|
139945
|
-
"
|
|
140067
|
+
"695ff113",
|
|
139946
140068
|
null,
|
|
139947
140069
|
null
|
|
139948
140070
|
);
|