gds-plus-design-vue 1.1.18 → 1.1.21
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 +8 -8
- package/lib/{index.212068a5.mjs → index.dbd06288.mjs} +522 -111
- package/lib/{main.b31ad365.mjs → main.2d642d6b.mjs} +1 -1
- package/lib/style.css +2 -2
- package/locale/en_US.js +4 -2
- package/locale/id_ID.js +4 -2
- package/locale/vi_VN.js +4 -2
- package/locale/zh_CN.js +4 -2
- package/package.json +1 -1
|
@@ -630,7 +630,7 @@ const constantRouterMap = [{
|
|
|
630
630
|
{
|
|
631
631
|
path: "login",
|
|
632
632
|
name: "login",
|
|
633
|
-
component: () => import("./main.
|
|
633
|
+
component: () => import("./main.2d642d6b.mjs"),
|
|
634
634
|
meta: {
|
|
635
635
|
title: "\u767B\u5F55",
|
|
636
636
|
transKey: "gd.login.title"
|
|
@@ -1069,7 +1069,8 @@ const state = {
|
|
|
1069
1069
|
type: 0,
|
|
1070
1070
|
pid: 0,
|
|
1071
1071
|
name: S[0].name + "_ucopy",
|
|
1072
|
-
component: "PageView"
|
|
1072
|
+
component: "PageView",
|
|
1073
|
+
id: Number(S[0].id + "9")
|
|
1073
1074
|
}), g = g.concat([{
|
|
1074
1075
|
...x
|
|
1075
1076
|
}])), S.forEach((T) => {
|
|
@@ -1080,8 +1081,7 @@ const state = {
|
|
|
1080
1081
|
})]) : g = g.concat([Object.assign({
|
|
1081
1082
|
...T
|
|
1082
1083
|
}, {
|
|
1083
|
-
pid: x.id
|
|
1084
|
-
id: Number(T.id + "9")
|
|
1084
|
+
pid: x.id
|
|
1085
1085
|
})]);
|
|
1086
1086
|
}), v.isnavigation === 0 ? f = f.concat(g) : v.basicattribute && v.basicattribute.layout === "sidemenu" ? h = h.concat(g) : v.basicattribute && v.basicattribute.layout === "topmenu" && (p = p.concat(g));
|
|
1087
1087
|
}), Object.assign(u, {
|
|
@@ -4295,7 +4295,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
4295
4295
|
}, {}] }, {}, [10])(10);
|
|
4296
4296
|
});
|
|
4297
4297
|
})(jszip_min);
|
|
4298
|
-
const JSZip$1 = jszip_min.exports,
|
|
4298
|
+
const JSZip$1 = jszip_min.exports, main_vue_vue_type_style_index_0_scoped_7c7179eb_lang = "";
|
|
4299
4299
|
var outTime = null;
|
|
4300
4300
|
const _sfc_main$5T = {
|
|
4301
4301
|
name: "GdSideNavMenu",
|
|
@@ -4349,6 +4349,8 @@ const _sfc_main$5T = {
|
|
|
4349
4349
|
},
|
|
4350
4350
|
methods: {
|
|
4351
4351
|
selectMenus(s) {
|
|
4352
|
+
if (this.defaultActive === s)
|
|
4353
|
+
return;
|
|
4352
4354
|
let t = {};
|
|
4353
4355
|
const a = (o) => (o = o.filter((l) => {
|
|
4354
4356
|
const d = l.code ? l.code : l.key;
|
|
@@ -4356,7 +4358,7 @@ const _sfc_main$5T = {
|
|
|
4356
4358
|
}), o);
|
|
4357
4359
|
a(this.defMenus), (t.type === void 0 ? 1 : t.type) === 1 && (this.$router.push({
|
|
4358
4360
|
name: t.name
|
|
4359
|
-
}), this.defaultActive = t.code ? t.code : t.key, this.activeData = t
|
|
4361
|
+
}), this.defaultActive = t.code ? t.code : t.key, this.activeData = t);
|
|
4360
4362
|
},
|
|
4361
4363
|
getDefApp(s) {
|
|
4362
4364
|
let t = s && s.name ? s.name : "";
|
|
@@ -4389,7 +4391,7 @@ const _sfc_main$5T = {
|
|
|
4389
4391
|
const o = a.menus.map((d) => (d.show = d.meta.show, d));
|
|
4390
4392
|
let l = [];
|
|
4391
4393
|
this.listToTree(o, l, 0), t[r].children = [...l], t[r].show = !0;
|
|
4392
|
-
}), t = s(t).filter((a) => a.children.filter((o) => o.show).length === 0 ? !1 : a.show), this.defMenus = [...t], console.log(t), this
|
|
4394
|
+
}), t = s(t).filter((a) => a.children.filter((o) => o.show).length === 0 ? !1 : a.show), this.defMenus = [...t], console.log(t), this.$nextTick(() => {
|
|
4393
4395
|
setTimeout(() => {
|
|
4394
4396
|
this.$refs.sMenu.setAppMenus(t);
|
|
4395
4397
|
}, 100);
|
|
@@ -4416,7 +4418,7 @@ const _sfc_main$5T = {
|
|
|
4416
4418
|
},
|
|
4417
4419
|
getDefApp(s) {
|
|
4418
4420
|
let t = s && s.name ? s.name : "";
|
|
4419
|
-
this.type = "";
|
|
4421
|
+
this.defaultActive = t, this.type = "";
|
|
4420
4422
|
let a = "";
|
|
4421
4423
|
this.apps.forEach((r) => {
|
|
4422
4424
|
r.menus && r.menus.forEach((o) => {
|
|
@@ -4458,20 +4460,20 @@ var _sfc_render$5T = function() {
|
|
|
4458
4460
|
}, mouseleave: t.mouseleave } }, [a("i", { staticClass: "gd-icons", class: r.icon }), t.sidebar ? t._e() : a("div", { staticClass: "pname line1" }, [t._v(" " + t._s(t.$i18nt(`Dynamics.${r.transkey}`, r.name)) + " ")]), r.code === t.defApp && !t.sidebar ? a("i", { staticClass: "el-icon-arrow-right" }) : t._e()])];
|
|
4459
4461
|
})], 2) : a("div", { staticClass: "gd-app" }, [t._l(t.defMenus, function(r, o) {
|
|
4460
4462
|
return [a("el-menu", { staticClass: "el-menu-vertical-demo", class: [t.sidebar ? "sitem" : ""], attrs: { "default-active": t.defaultActive, "background-color": t.theme === "light" ? "#fff" : "#1d2126", "text-color": t.theme === "light" ? "#333" : "#fff", "active-text-color": t.primaryColor, collapse: t.sidebar }, on: { select: t.selectMenus } }, [r.children && r.children.length > 0 ? a("el-submenu", { attrs: { index: r.code } }, [a("template", { slot: "title" }, [a("i", { staticClass: "gd-icons", class: r.icon, staticStyle: { "padding-right": "4px" } }), a("span", [t._v(t._s(t.$i18nt(`Dynamics.${r.transkey}`, r.name)))])]), t._l(r.children, function(l, d) {
|
|
4461
|
-
return [l.children && l.children.length > 0 ? a("el-submenu", { attrs: { index: l.key, title: t.$i18nt(`Dynamics.${l.transkey}`, l.
|
|
4463
|
+
return [l.children && l.children.length > 0 ? a("el-submenu", { attrs: { index: l.key, title: t.$i18nt(`Dynamics.${l.transkey}`, l.meta.title) } }, [a("template", { slot: "title" }, [a("i", { staticClass: "gd-icons", class: l.icon, staticStyle: { "padding-right": "4px" } }), a("span", [t._v(t._s(t.$i18nt(`Dynamics.${l.transkey}`, l.meta.title)))])]), t._l(l.children, function(u, f) {
|
|
4462
4464
|
return [a("el-menu-item", { attrs: { index: u.key, title: t.$i18nt(`Dynamics.${u.transkey}`, u.name) } }, [a("template", { slot: "title" }, [a("i", { staticClass: "gd-icons", class: u.icon, staticStyle: { "padding-right": "4px" } }), a("span", [t._v(t._s(t.$i18nt(`Dynamics.${u.transkey}`, u.name)))])])], 2)];
|
|
4463
|
-
})], 2) : a("el-menu-item", { attrs: { index: l.key, title: t.$i18nt(`Dynamics.${l.transkey}`, l.
|
|
4464
|
-
})], 2) : a("el-menu-item", { attrs: { index: r.code } }, [a("i", { staticClass: "gd-icons", class: r.icon, staticStyle: { "padding-right": "4px" } }), a("span", { attrs: { slot: "title" }, slot: "title" }, [t._v(t._s(t.$i18nt(`Dynamics.${r.transkey}`,
|
|
4465
|
-
})], 2)], 1),
|
|
4465
|
+
})], 2) : a("el-menu-item", { attrs: { index: l.key, title: t.$i18nt(`Dynamics.${l.transkey}`, l.meta.title) } }, [a("i", { staticClass: "gd-icons", class: l.icon, staticStyle: { "padding-right": "4px" } }), a("span", { attrs: { slot: "title" }, slot: "title" }, [t._v(t._s(t.$i18nt(`Dynamics.${l.transkey}`, l.meta.title)))])])];
|
|
4466
|
+
})], 2) : a("el-menu-item", { attrs: { index: r.code } }, [a("i", { staticClass: "gd-icons", class: r.icon, staticStyle: { "padding-right": "4px" } }), a("span", { attrs: { slot: "title" }, slot: "title" }, [t._v(t._s(t.$i18nt(`Dynamics.${r.transkey}`, t.ite.meta.title)))])])], 1)];
|
|
4467
|
+
})], 2)], 1), a("SidebarMenus", { ref: "sMenu", attrs: { collapsed: t.sidebar, menus: t.defMenus, activeKey: t.activeKey }, on: { goPath: t.goPath, close: function(r) {
|
|
4466
4468
|
return t.getDefApp(t.activeData);
|
|
4467
|
-
}, mouseenter: t.mouseenterMenu, mouseleave: t.mouseleaveMenu } })
|
|
4469
|
+
}, mouseenter: t.mouseenterMenu, mouseleave: t.mouseleaveMenu } })], 1);
|
|
4468
4470
|
}, _sfc_staticRenderFns$5T = [], __component__$5T = /* @__PURE__ */ normalizeComponent(
|
|
4469
4471
|
_sfc_main$5T,
|
|
4470
4472
|
_sfc_render$5T,
|
|
4471
4473
|
_sfc_staticRenderFns$5T,
|
|
4472
4474
|
!1,
|
|
4473
4475
|
null,
|
|
4474
|
-
"
|
|
4476
|
+
"7c7179eb",
|
|
4475
4477
|
null,
|
|
4476
4478
|
null
|
|
4477
4479
|
);
|
|
@@ -14561,7 +14563,7 @@ var _sfc_render$5n = function() {
|
|
|
14561
14563
|
null,
|
|
14562
14564
|
null
|
|
14563
14565
|
);
|
|
14564
|
-
const QueryRules = __component__$5n.exports,
|
|
14566
|
+
const QueryRules = __component__$5n.exports, viewQuery_vue_vue_type_style_index_0_scoped_7eae4de8_lang = "", intervalList = [
|
|
14565
14567
|
{
|
|
14566
14568
|
name: "\u4ECA\u5929",
|
|
14567
14569
|
keyI18n: "gd.view.today",
|
|
@@ -14833,7 +14835,7 @@ var _sfc_render$5m = function() {
|
|
|
14833
14835
|
t.$set(t.options, "defaultValue", l);
|
|
14834
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-date-picker", { attrs: { type: t.fieldFormat === "yyyy-MM-dd hh:mm:ss" ? "datetime" : "date", "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) {
|
|
14835
14837
|
t.$set(t.options, "defaultValue", l);
|
|
14836
|
-
}, 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":
|
|
14838
|
+
}, 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) {
|
|
14837
14839
|
t.$set(t.options, "defaultValueList", l);
|
|
14838
14840
|
}, expression: "options.defaultValueList" } })], 1), t.options.displayStyle == 1 ? a("div", [t._l(t.equalList, function(l) {
|
|
14839
14841
|
return [a("el-tag", { staticStyle: { cursor: "pointer", margin: "0 6px 6px 0" }, attrs: { type: t.equalData.value === l.val ? "success" : "info", effect: "dark" }, on: { click: function(d) {
|
|
@@ -14855,7 +14857,7 @@ var _sfc_render$5m = function() {
|
|
|
14855
14857
|
_sfc_staticRenderFns$5m,
|
|
14856
14858
|
!1,
|
|
14857
14859
|
null,
|
|
14858
|
-
"
|
|
14860
|
+
"7eae4de8",
|
|
14859
14861
|
null,
|
|
14860
14862
|
null
|
|
14861
14863
|
);
|
|
@@ -20786,7 +20788,7 @@ const iconfont = "", index$1 = "", formMixins = {
|
|
|
20786
20788
|
open(s) {
|
|
20787
20789
|
this.$nextTick(() => {
|
|
20788
20790
|
setTimeout(() => {
|
|
20789
|
-
this.$refs.editForm ? this.$refs.editForm.open(s) : console.log("err:\u8868\u5355\u672A\u52A0\u8F7D\uFF0C\u8BF7\u7B49\u5F85\u52A0\u8F7D\u5B8C\u6210\uFF01");
|
|
20791
|
+
this.$refs.editForm ? this.tableData.isvirtualtable === 1 ? this.$refs.editForm.openDisplay(s) : this.$refs.editForm.open(s) : console.log("err:\u8868\u5355\u672A\u52A0\u8F7D\uFF0C\u8BF7\u7B49\u5F85\u52A0\u8F7D\u5B8C\u6210\uFF01");
|
|
20790
20792
|
}, 0);
|
|
20791
20793
|
});
|
|
20792
20794
|
},
|
|
@@ -20803,7 +20805,7 @@ const iconfont = "", index$1 = "", formMixins = {
|
|
|
20803
20805
|
defaultViewId: this.defaultViewId
|
|
20804
20806
|
}), this.$refs.table.baseCustomComponents(this.componentList));
|
|
20805
20807
|
let t = this.formList.filter((a) => a.id === this.formCode)[0];
|
|
20806
|
-
t || (t = this.formList.filter((a) => a.type === 1)[0]), this.$refs.editForm && this.$refs.editForm.setFormRecord(t), this.beaseLoadComplete();
|
|
20808
|
+
t || (t = this.formList.filter((a) => a.type === 1)[0]), this.$refs.editForm && t && this.$refs.editForm.setFormRecord(t), this.beaseLoadComplete();
|
|
20807
20809
|
});
|
|
20808
20810
|
},
|
|
20809
20811
|
onChangeBtn(s) {
|
|
@@ -21174,7 +21176,7 @@ var _sfc_render$53 = function() {
|
|
|
21174
21176
|
null,
|
|
21175
21177
|
null
|
|
21176
21178
|
);
|
|
21177
|
-
const Column = __component__$53.exports,
|
|
21179
|
+
const Column = __component__$53.exports, main_vue_vue_type_style_index_0_scoped_d5b34432_lang = "", _sfc_main$52 = {
|
|
21178
21180
|
name: "GdTables",
|
|
21179
21181
|
props: Object.assign(
|
|
21180
21182
|
{},
|
|
@@ -21361,7 +21363,8 @@ const Column = __component__$53.exports, main_vue_vue_type_style_index_0_scoped_
|
|
|
21361
21363
|
columnsSetting: [],
|
|
21362
21364
|
visibleFilter: !1,
|
|
21363
21365
|
frozenColumn: 0,
|
|
21364
|
-
wid: 0
|
|
21366
|
+
wid: 0,
|
|
21367
|
+
triggerFilter: "manual"
|
|
21365
21368
|
};
|
|
21366
21369
|
},
|
|
21367
21370
|
watch: {
|
|
@@ -21409,6 +21412,12 @@ const Column = __component__$53.exports, main_vue_vue_type_style_index_0_scoped_
|
|
|
21409
21412
|
}
|
|
21410
21413
|
},
|
|
21411
21414
|
methods: {
|
|
21415
|
+
changeFilterVisible() {
|
|
21416
|
+
this.visibleFilter = !this.visibleFilter;
|
|
21417
|
+
},
|
|
21418
|
+
changeTriggerFilter(s) {
|
|
21419
|
+
this.triggerFilter = s;
|
|
21420
|
+
},
|
|
21412
21421
|
doLayout() {
|
|
21413
21422
|
this.$nextTick(() => {
|
|
21414
21423
|
setTimeout(() => {
|
|
@@ -21676,11 +21685,13 @@ const Column = __component__$53.exports, main_vue_vue_type_style_index_0_scoped_
|
|
|
21676
21685
|
};
|
|
21677
21686
|
var _sfc_render$52 = function() {
|
|
21678
21687
|
var t = this, a = t._self._c;
|
|
21679
|
-
return a("div", { ref: "reftables", staticClass: "gd-tables", style: { "--theme": t.primaryColor, "--fadecolor": t.fadeColord }, attrs: { id: "reftables" } }, [a("div", { staticClass: "tables-tool" }, [a("div", { staticClass: "tables-tool-l" }, [t._t("operator")], 2), a("div", { staticClass: "tables-tool-r" }, [t.hasClear ? a("el-tooltip", { directives: [{ name: "delTabIndex", rawName: "v-delTabIndex" }], staticClass: "item", attrs: { effect: "dark", content: t.$i18nt("gd.basics.reset", "\u91CD\u7F6E"), placement: "top" } }, [a("i", { staticClass: "el-icon-brush", on: { click: t.clearAll } })]) : t._e(), t.filtering ? a("el-tooltip", { directives: [{ name: "delTabIndex", rawName: "v-delTabIndex" }], staticClass: "item", attrs: { effect: "dark", content: t.$i18nt("gd.basics.screen", "\u7B5B\u9009"), placement: "top" } }, [a("el-popover", { ref: "filterdropdown", attrs: { trigger:
|
|
21688
|
+
return a("div", { ref: "reftables", staticClass: "gd-tables", style: { "--theme": t.primaryColor, "--fadecolor": t.fadeColord }, attrs: { id: "reftables" } }, [a("div", { staticClass: "tables-tool" }, [a("div", { staticClass: "tables-tool-l" }, [t._t("operator")], 2), a("div", { staticClass: "tables-tool-r" }, [t.hasClear ? a("el-tooltip", { directives: [{ name: "delTabIndex", rawName: "v-delTabIndex" }], staticClass: "item", attrs: { effect: "dark", content: t.$i18nt("gd.basics.reset", "\u91CD\u7F6E"), placement: "top" } }, [a("i", { staticClass: "el-icon-brush", on: { click: t.clearAll } })]) : t._e(), t.filtering ? a("el-tooltip", { directives: [{ name: "delTabIndex", rawName: "v-delTabIndex" }], staticClass: "item", attrs: { effect: "dark", content: t.$i18nt("gd.basics.screen", "\u7B5B\u9009"), placement: "top" } }, [a("el-popover", { ref: "filterdropdown", attrs: { trigger: t.triggerFilter, placement: "bottom" }, on: { show: function(r) {
|
|
21680
21689
|
return t.changeFilter(!0);
|
|
21681
21690
|
}, hide: function(r) {
|
|
21682
21691
|
return t.changeFilter(!1);
|
|
21683
|
-
} }
|
|
21692
|
+
} }, model: { value: t.visibleFilter, callback: function(r) {
|
|
21693
|
+
t.visibleFilter = r;
|
|
21694
|
+
}, expression: "visibleFilter" } }, [a("span", { staticClass: "el-dropdown-link", attrs: { slot: "reference" }, on: { click: t.changeFilterVisible }, slot: "reference" }, [a("i", { staticClass: "gd-icons gd-icon-a-guangqi_guolv11x" })]), a("div", [t._t("filtering", null, { columns: t.columns, height: t.height, colse: t.closeFilter, visible: t.visibleFilter, changeTrigger: t.changeTriggerFilter })], 2)])], 1) : t._e(), t.isGather ? a("el-tooltip", { directives: [{ name: "delTabIndex", rawName: "v-delTabIndex" }], staticClass: "item", attrs: { effect: "dark", content: t.$i18nt("gd.basics.chart", "\u56FE\u8868"), placement: "top" } }, [a("i", { staticClass: "gd-icons gd-icon-zhuzhuangtu", on: { click: function(r) {
|
|
21684
21695
|
return t.$emit("baseSeecharts");
|
|
21685
21696
|
} } })]) : t._e(), t.disabledRefresh ? t._e() : a("el-tooltip", { directives: [{ name: "delTabIndex", rawName: "v-delTabIndex" }], staticClass: "item", attrs: { effect: "dark", content: t.$i18nt("gd.basics.refresh", "\u5237\u65B0"), placement: "top" } }, [a("i", { staticClass: "el-icon-refresh", on: { click: function(r) {
|
|
21686
21697
|
return t.refresh(!1);
|
|
@@ -21709,7 +21720,7 @@ var _sfc_render$52 = function() {
|
|
|
21709
21720
|
_sfc_staticRenderFns$52,
|
|
21710
21721
|
!1,
|
|
21711
21722
|
null,
|
|
21712
|
-
"
|
|
21723
|
+
"d5b34432",
|
|
21713
21724
|
null,
|
|
21714
21725
|
null
|
|
21715
21726
|
);
|
|
@@ -31799,7 +31810,7 @@ const GDpackage$O = __component__$4S.exports;
|
|
|
31799
31810
|
GDpackage$O.install = function(s) {
|
|
31800
31811
|
s.component(GDpackage$O.name, GDpackage$O);
|
|
31801
31812
|
};
|
|
31802
|
-
const
|
|
31813
|
+
const selectFkMultiple_vue_vue_type_style_index_0_scoped_ec4748c5_lang = "", _sfc_main$4R = {
|
|
31803
31814
|
props: {
|
|
31804
31815
|
column: {
|
|
31805
31816
|
type: Object,
|
|
@@ -31820,6 +31831,9 @@ const selectFkMultiple_vue_vue_type_style_index_0_scoped_9f05f0b5_lang = "", _sf
|
|
|
31820
31831
|
recordRelation: {
|
|
31821
31832
|
type: Object,
|
|
31822
31833
|
default: () => ({})
|
|
31834
|
+
},
|
|
31835
|
+
changeTrigger: {
|
|
31836
|
+
type: Function
|
|
31823
31837
|
}
|
|
31824
31838
|
},
|
|
31825
31839
|
data() {
|
|
@@ -31853,16 +31867,20 @@ const selectFkMultiple_vue_vue_type_style_index_0_scoped_9f05f0b5_lang = "", _sf
|
|
|
31853
31867
|
t === void 0 || t === "" || t.length === 0 || !s.filter((o) => o.fieldName === this.column.prop)[0] || this.fkData.filter((o) => t.includes(o.id))[0] || this.searchDataId();
|
|
31854
31868
|
},
|
|
31855
31869
|
lookup() {
|
|
31856
|
-
|
|
31857
|
-
|
|
31858
|
-
|
|
31859
|
-
|
|
31860
|
-
|
|
31861
|
-
|
|
31870
|
+
this.changeTrigger("manual"), this.$nextTick(() => {
|
|
31871
|
+
setTimeout(() => {
|
|
31872
|
+
const s = this.ruleFormData[this.column.prop];
|
|
31873
|
+
this.$refs.viewSearch.open({
|
|
31874
|
+
fkEntityName: this.column.fkEntityName,
|
|
31875
|
+
effectType: "participants",
|
|
31876
|
+
val: s || [],
|
|
31877
|
+
column: this.column
|
|
31878
|
+
});
|
|
31879
|
+
}, 0);
|
|
31862
31880
|
});
|
|
31863
31881
|
},
|
|
31864
31882
|
lookupSeled(s) {
|
|
31865
|
-
this.fkData = [...s.fkData], this.ruleFormData[this.column.prop] = s.data;
|
|
31883
|
+
this.changeTrigger("click"), this.fkData = [...s.fkData], this.ruleFormData[this.column.prop] = s.data;
|
|
31866
31884
|
},
|
|
31867
31885
|
fkSearch() {
|
|
31868
31886
|
this.column.prop !== "baseRecordTable" && this.column.prop !== "matchingRecordTable" && (this.firstLoading || (this.searchData(""), this.firstLoading = !0));
|
|
@@ -31907,14 +31925,14 @@ var _sfc_render$4R = function() {
|
|
|
31907
31925
|
t.$set(t.ruleFormData, t.column.prop, r);
|
|
31908
31926
|
}, expression: "ruleFormData[column.prop]" } }, t._l(t.fkData, function(r) {
|
|
31909
31927
|
return a("el-option", { key: r.id, attrs: { label: r.name ? r.name : t.$i18nt(`Dynamics.${r.transkey}`, r.busname), value: r.id } });
|
|
31910
|
-
}), 1), a("div", { staticClass: "cao_setting", on: { click: t.lookup } }, [a("i", { staticClass: "el-input__icon el-icon-search" })]), a("gd-search", { ref: "viewSearch", attrs: { appendToBody: !0 }, on: { lookupSeled: t.lookupSeled } })], 1);
|
|
31928
|
+
}), 1), a("div", { staticClass: "cao_setting", on: { click: t.lookup } }, [a("i", { staticClass: "el-input__icon el-icon-search" })]), a("gd-search", { ref: "viewSearch", attrs: { appendToBody: !0, modalAppendToBody: !0 }, on: { lookupSeled: t.lookupSeled } })], 1);
|
|
31911
31929
|
}, _sfc_staticRenderFns$4R = [], __component__$4R = /* @__PURE__ */ normalizeComponent(
|
|
31912
31930
|
_sfc_main$4R,
|
|
31913
31931
|
_sfc_render$4R,
|
|
31914
31932
|
_sfc_staticRenderFns$4R,
|
|
31915
31933
|
!1,
|
|
31916
31934
|
null,
|
|
31917
|
-
"
|
|
31935
|
+
"ec4748c5",
|
|
31918
31936
|
null,
|
|
31919
31937
|
null
|
|
31920
31938
|
);
|
|
@@ -32032,7 +32050,7 @@ function processingResults$2(s, t) {
|
|
|
32032
32050
|
function isSatisfyed$2(s, t) {
|
|
32033
32051
|
return t === "2" ? s.every((a, r, o) => !a) : s.every((a, r, o) => !!a);
|
|
32034
32052
|
}
|
|
32035
|
-
const
|
|
32053
|
+
const main_vue_vue_type_style_index_0_scoped_9b02ec8b_lang = "", _sfc_main$4Q = {
|
|
32036
32054
|
name: "GdTableQueriesField",
|
|
32037
32055
|
props: {
|
|
32038
32056
|
height: {
|
|
@@ -32069,6 +32087,9 @@ const main_vue_vue_type_style_index_0_scoped_e787c7f4_lang = "", _sfc_main$4Q =
|
|
|
32069
32087
|
openRules: {
|
|
32070
32088
|
type: Boolean,
|
|
32071
32089
|
default: !1
|
|
32090
|
+
},
|
|
32091
|
+
changeTrigger: {
|
|
32092
|
+
type: Function
|
|
32072
32093
|
}
|
|
32073
32094
|
},
|
|
32074
32095
|
data() {
|
|
@@ -32292,7 +32313,7 @@ var _sfc_render$4Q = function() {
|
|
|
32292
32313
|
t.$set(t.ruleFormData, r.prop, l);
|
|
32293
32314
|
}, expression: "ruleFormData[column.prop]" } }, t._l(t.tableLists, function(l) {
|
|
32294
32315
|
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) + " ")]);
|
|
32295
|
-
}), 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 }, on: { change: function(l) {
|
|
32316
|
+
}), 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) {
|
|
32296
32317
|
return t.handleChange(r);
|
|
32297
32318
|
} } })] : r.effectType == "datepicker" ? [r.options.displayStyle === 1 ? a("el-date-picker", { staticStyle: { width: "100%" }, attrs: { type: r.fieldFormat === 1 ? "datetime" : "date", "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) {
|
|
32298
32319
|
return t.handleChange(r);
|
|
@@ -32314,7 +32335,7 @@ var _sfc_render$4Q = function() {
|
|
|
32314
32335
|
_sfc_staticRenderFns$4Q,
|
|
32315
32336
|
!1,
|
|
32316
32337
|
null,
|
|
32317
|
-
"
|
|
32338
|
+
"9b02ec8b",
|
|
32318
32339
|
null,
|
|
32319
32340
|
null
|
|
32320
32341
|
);
|
|
@@ -32407,7 +32428,7 @@ var _sfc_render$4O = function() {
|
|
|
32407
32428
|
null,
|
|
32408
32429
|
null
|
|
32409
32430
|
);
|
|
32410
|
-
const ViewTable = __component__$4O.exports,
|
|
32431
|
+
const ViewTable = __component__$4O.exports, main_vue_vue_type_style_index_0_scoped_7a9184a3_lang = "", _sfc_main$4N = {
|
|
32411
32432
|
name: "GdSearch",
|
|
32412
32433
|
props: {
|
|
32413
32434
|
disabled: {
|
|
@@ -32491,16 +32512,18 @@ const ViewTable = __component__$4O.exports, main_vue_vue_type_style_index_0_scop
|
|
|
32491
32512
|
}
|
|
32492
32513
|
),
|
|
32493
32514
|
hasLoad: this.hasLoad,
|
|
32494
|
-
hideLoad: this.hideLoad
|
|
32515
|
+
hideLoad: this.hideLoad,
|
|
32516
|
+
modalAppendToBody: this.modalAppendToBody,
|
|
32517
|
+
appendToBody: this.appendToBody
|
|
32495
32518
|
};
|
|
32496
32519
|
},
|
|
32497
32520
|
componentItemed() {
|
|
32498
|
-
const s = GdsDesignVue[`Gd${
|
|
32499
|
-
if (
|
|
32500
|
-
return
|
|
32501
|
-
const
|
|
32502
|
-
let
|
|
32503
|
-
return
|
|
32521
|
+
const s = this.record.fkEntityName || this.record.fkentityname, t = GdsDesignVue[`Gd${s}`];
|
|
32522
|
+
if (t)
|
|
32523
|
+
return t;
|
|
32524
|
+
const a = this.$importViewFiles();
|
|
32525
|
+
let r = `../views/main/${this.fkEntityName}/index.vue`, o = a[r];
|
|
32526
|
+
return o ? o.default : ViewTable;
|
|
32504
32527
|
},
|
|
32505
32528
|
...mapGetters(["screenHeight", "tableLists"])
|
|
32506
32529
|
},
|
|
@@ -32524,7 +32547,7 @@ const ViewTable = __component__$4O.exports, main_vue_vue_type_style_index_0_scop
|
|
|
32524
32547
|
this.$emit("lookupSeled", a), this.isRelevance || this.closed();
|
|
32525
32548
|
},
|
|
32526
32549
|
open(s) {
|
|
32527
|
-
this.confirmLoading = !0, this.childLoading = !0, this.record = s;
|
|
32550
|
+
console.log(s), this.confirmLoading = !0, this.childLoading = !0, this.record = s;
|
|
32528
32551
|
const a = (s.fkEntityName || s.fkentityname).split(",");
|
|
32529
32552
|
this.width = s.width ? s.width : "90%", this.fkEntityName = a[0].toLowerCase(), this.lookupItem = { ...s }, this.isRelevance = s.isRelevance ? s.isRelevance : !1, this.tableList = this.tableLists.filter((r) => a.includes(r.tablename)), this.visible = !0, this.title = s.title ? s.title : this.$i18nt("gd.menu.advancedFind", "\u67E5\u627E"), this.$nextTick(() => {
|
|
32530
32553
|
setTimeout(() => {
|
|
@@ -32568,7 +32591,7 @@ const ViewTable = __component__$4O.exports, main_vue_vue_type_style_index_0_scop
|
|
|
32568
32591
|
};
|
|
32569
32592
|
var _sfc_render$4N = function() {
|
|
32570
32593
|
var t = this, a = t._self._c;
|
|
32571
|
-
return a("el-dialog", { directives: [{ name: "drag", rawName: "v-drag" }], ref: "dialog", class: t.fullscreen ? "gd-dialog gd-dialog-fangda" : "gd-dialog", attrs: { fullscreen: t.fullscreen, visible: t.visible, width: t.width, center: !0, "close-on-click-modal": !1, "modal-append-to-body": t.modalAppendToBody, "append-to-body": t.appendToBody, top: "80px" }, on: { "update:visible": function(r) {
|
|
32594
|
+
return a("el-dialog", { directives: [{ name: "drag", rawName: "v-drag" }], ref: "dialog", class: t.fullscreen ? "gd-dialog gd-dialog-fangda" : "gd-dialog", attrs: { fullscreen: t.fullscreen, visible: t.visible, width: t.width, center: !0, "close-on-click-modal": !1, "modal-append-to-body": t.modalAppendToBody, "append-to-body": t.appendToBody, top: "80px", "destroy-on-close": !0 }, on: { "update:visible": function(r) {
|
|
32572
32595
|
t.visible = r;
|
|
32573
32596
|
}, closed: t.closed } }, [a("template", { slot: "title" }, [a("gd-modal-title", { attrs: { title: t.title, fullscreen: t.fullscreen, buttons: t.buttons, confirmLoading: t.confirmLoading, showTitle: t.showTitle }, on: { changeEvent: t.doEvent, toggleFullscreen: t.toggleFullscreen } }, [t.showTitle ? t._e() : a("el-form", { ref: "ruleForm", attrs: { "label-width": "130px" }, nativeOn: { submit: function(r) {
|
|
32574
32597
|
r.preventDefault();
|
|
@@ -32583,7 +32606,7 @@ var _sfc_render$4N = function() {
|
|
|
32583
32606
|
_sfc_staticRenderFns$4N,
|
|
32584
32607
|
!1,
|
|
32585
32608
|
null,
|
|
32586
|
-
"
|
|
32609
|
+
"7a9184a3",
|
|
32587
32610
|
null,
|
|
32588
32611
|
null
|
|
32589
32612
|
);
|
|
@@ -101224,6 +101247,13 @@ function sysDataSourceDetail(s) {
|
|
|
101224
101247
|
params: s
|
|
101225
101248
|
});
|
|
101226
101249
|
}
|
|
101250
|
+
function sysDataSourceColumns(s) {
|
|
101251
|
+
return window.axios({
|
|
101252
|
+
url: "/sysDataSource/getTableColumns",
|
|
101253
|
+
method: "post",
|
|
101254
|
+
data: s
|
|
101255
|
+
});
|
|
101256
|
+
}
|
|
101227
101257
|
const mixins$n = {
|
|
101228
101258
|
data() {
|
|
101229
101259
|
return {
|
|
@@ -101501,7 +101531,7 @@ const mixins$n = {
|
|
|
101501
101531
|
}]
|
|
101502
101532
|
};
|
|
101503
101533
|
}
|
|
101504
|
-
},
|
|
101534
|
+
}, main_vue_vue_type_style_index_0_scoped_f319dc31_lang = "", _sfc_main$2M = {
|
|
101505
101535
|
name: "GdDataSource",
|
|
101506
101536
|
props: {
|
|
101507
101537
|
height: {
|
|
@@ -101671,7 +101701,7 @@ var _sfc_render$2M = function s() {
|
|
|
101671
101701
|
_sfc_staticRenderFns$2M,
|
|
101672
101702
|
!1,
|
|
101673
101703
|
null,
|
|
101674
|
-
"
|
|
101704
|
+
"f319dc31",
|
|
101675
101705
|
null,
|
|
101676
101706
|
null
|
|
101677
101707
|
);
|
|
@@ -105567,7 +105597,7 @@ const GDpackage$c = __component__$2t.exports;
|
|
|
105567
105597
|
GDpackage$c.install = function(s) {
|
|
105568
105598
|
s.component(GDpackage$c.name, GDpackage$c);
|
|
105569
105599
|
};
|
|
105570
|
-
const
|
|
105600
|
+
const index_vue_vue_type_style_index_0_scoped_79f801f9_lang = "", _sfc_main$2s = {
|
|
105571
105601
|
props: {
|
|
105572
105602
|
placement: {
|
|
105573
105603
|
type: String,
|
|
@@ -105608,14 +105638,16 @@ var _sfc_render$2s = function s() {
|
|
|
105608
105638
|
return t.selType("circulate");
|
|
105609
105639
|
} } }, [a("i", { staticClass: "el-icon-s-promotion anticon", staticStyle: { height: "40px", "font-size": "25px" } }), a("div", { staticClass: "title" }, [t._v(t._s(t.$i18nt("gd.flow.approval.CcBy", "\u6284\u9001\u4EBA")))])]), a("div", { staticClass: "item term", on: { click: function(r) {
|
|
105610
105640
|
return t.selType("condition");
|
|
105611
|
-
} } }, [a("i", { staticClass: "gd-icons gd-icon-liucheng anticon" }), a("div", { staticClass: "title" }, [t._v(t._s(t.$i18nt("gd.flow.condition", "\u6761\u4EF6")))])])
|
|
105641
|
+
} } }, [a("i", { staticClass: "gd-icons gd-icon-liucheng anticon" }), a("div", { staticClass: "title" }, [t._v(t._s(t.$i18nt("gd.flow.condition", "\u6761\u4EF6")))])]), a("div", { staticClass: "item para", on: { click: function(r) {
|
|
105642
|
+
return t.selType("parallel");
|
|
105643
|
+
} } }, [a("i", { staticClass: "gd-icons gd-icon-icon-xy anticon" }), a("div", { staticClass: "title" }, [t._v(t._s(t.$i18nt("gd.task.parallel", "\u5E76\u884C")))])])]), a("el-button", { attrs: { slot: "reference", type: t.disabled ? "info" : "primary", icon: "el-icon-plus", size: "mini", circle: "", disabled: t.disabled }, slot: "reference" })], 1)], 1)]);
|
|
105612
105644
|
}, _sfc_staticRenderFns$2s = [], __component__$2s = /* @__PURE__ */ normalizeComponent(
|
|
105613
105645
|
_sfc_main$2s,
|
|
105614
105646
|
_sfc_render$2s,
|
|
105615
105647
|
_sfc_staticRenderFns$2s,
|
|
105616
105648
|
!1,
|
|
105617
105649
|
null,
|
|
105618
|
-
"
|
|
105650
|
+
"79f801f9",
|
|
105619
105651
|
null,
|
|
105620
105652
|
null
|
|
105621
105653
|
);
|
|
@@ -108022,6 +108054,19 @@ const mixins$j = {
|
|
|
108022
108054
|
}),
|
|
108023
108055
|
showOverflowTooltip: !0
|
|
108024
108056
|
},
|
|
108057
|
+
{
|
|
108058
|
+
transKey: "gd.table.virtualTable",
|
|
108059
|
+
prop: "isvirtualtable",
|
|
108060
|
+
label: "\u865A\u62DF\u8868",
|
|
108061
|
+
width: "140",
|
|
108062
|
+
type: "slot",
|
|
108063
|
+
slotType: "isvirtualtable",
|
|
108064
|
+
align: "center",
|
|
108065
|
+
renderHeader: (s, ...t) => this.renderHeader(s, ...t, {
|
|
108066
|
+
effectType: "radio",
|
|
108067
|
+
dictTypeCode: "yes_or_no"
|
|
108068
|
+
})
|
|
108069
|
+
},
|
|
108025
108070
|
{
|
|
108026
108071
|
transKey: "gd.table.isLocked",
|
|
108027
108072
|
prop: "isLocked",
|
|
@@ -108251,6 +108296,42 @@ const mixins$j = {
|
|
|
108251
108296
|
trigger: "change"
|
|
108252
108297
|
}]
|
|
108253
108298
|
},
|
|
108299
|
+
{
|
|
108300
|
+
transKey: "gd.table.virtualTable",
|
|
108301
|
+
prop: "isvirtualtable",
|
|
108302
|
+
effectType: "switch",
|
|
108303
|
+
label: "\u865A\u62DF\u8868",
|
|
108304
|
+
placeholder: "\u8BF7\u9009\u62E9",
|
|
108305
|
+
placeholderTransKey: "gd.placeholder.select",
|
|
108306
|
+
disabled: !1,
|
|
108307
|
+
rules: [],
|
|
108308
|
+
type: "slot",
|
|
108309
|
+
slotType: "virtualTable"
|
|
108310
|
+
},
|
|
108311
|
+
{
|
|
108312
|
+
transKey: null,
|
|
108313
|
+
prop: null,
|
|
108314
|
+
effectType: "",
|
|
108315
|
+
label: "",
|
|
108316
|
+
placeholder: "\u8BF7\u9009\u62E9",
|
|
108317
|
+
placeholderTransKey: "gd.placeholder.select",
|
|
108318
|
+
disabled: !1,
|
|
108319
|
+
rules: [],
|
|
108320
|
+
type: "slot",
|
|
108321
|
+
slotType: "none"
|
|
108322
|
+
},
|
|
108323
|
+
{
|
|
108324
|
+
transKey: null,
|
|
108325
|
+
prop: null,
|
|
108326
|
+
effectType: "",
|
|
108327
|
+
label: "",
|
|
108328
|
+
placeholder: "\u8BF7\u9009\u62E9",
|
|
108329
|
+
placeholderTransKey: "gd.placeholder.select",
|
|
108330
|
+
disabled: !1,
|
|
108331
|
+
rules: [],
|
|
108332
|
+
type: "slot",
|
|
108333
|
+
slotType: "divider"
|
|
108334
|
+
},
|
|
108254
108335
|
{
|
|
108255
108336
|
transKey: "gd.table.plugIn",
|
|
108256
108337
|
prop: "isplugin",
|
|
@@ -108370,6 +108451,65 @@ const mixins$j = {
|
|
|
108370
108451
|
disabled: !0,
|
|
108371
108452
|
rules: []
|
|
108372
108453
|
},
|
|
108454
|
+
{
|
|
108455
|
+
transKey: "gd.table.dataSource",
|
|
108456
|
+
prop: "sysdatasource",
|
|
108457
|
+
effectType: "fk",
|
|
108458
|
+
label: "\u6570\u636E\u6E90",
|
|
108459
|
+
placeholder: "\u8BF7\u8F93\u5165",
|
|
108460
|
+
placeholderTransKey: "gd.placeholder.select",
|
|
108461
|
+
disabled: !1,
|
|
108462
|
+
rules: [{
|
|
108463
|
+
required: !0,
|
|
108464
|
+
message: "\u8BF7\u9009\u62E9",
|
|
108465
|
+
transKey: "gd.placeholder.select",
|
|
108466
|
+
trigger: "change"
|
|
108467
|
+
}],
|
|
108468
|
+
type: "slot",
|
|
108469
|
+
slotType: "datasource"
|
|
108470
|
+
},
|
|
108471
|
+
{
|
|
108472
|
+
transKey: "gd.table.virtualObjectType",
|
|
108473
|
+
prop: "virtualobjecttype",
|
|
108474
|
+
effectType: "select",
|
|
108475
|
+
label: "\u865A\u62DF\u5BF9\u8C61\u7C7B\u578B",
|
|
108476
|
+
placeholder: "\u8BF7\u9009\u62E9",
|
|
108477
|
+
placeholderTransKey: "gd.placeholder.select",
|
|
108478
|
+
disabled: !0,
|
|
108479
|
+
rules: [{
|
|
108480
|
+
required: !0,
|
|
108481
|
+
message: "\u8BF7\u9009\u62E9",
|
|
108482
|
+
transKey: "gd.placeholder.select",
|
|
108483
|
+
trigger: "change"
|
|
108484
|
+
}],
|
|
108485
|
+
dictTypeCode: "virtualobjecttype"
|
|
108486
|
+
},
|
|
108487
|
+
{
|
|
108488
|
+
transKey: "gd.table.virtualObject",
|
|
108489
|
+
effectType: "input",
|
|
108490
|
+
prop: "virtualobject",
|
|
108491
|
+
label: "\u865A\u62DF\u5BF9\u8C61",
|
|
108492
|
+
placeholder: "\u8BF7\u8F93\u5165",
|
|
108493
|
+
placeholderTransKey: "gd.placeholder.input",
|
|
108494
|
+
rules: [{
|
|
108495
|
+
required: !0,
|
|
108496
|
+
message: "\u8BF7\u8F93\u5165",
|
|
108497
|
+
transKey: "gd.placeholder.input",
|
|
108498
|
+
trigger: "change"
|
|
108499
|
+
}]
|
|
108500
|
+
},
|
|
108501
|
+
{
|
|
108502
|
+
transKey: null,
|
|
108503
|
+
prop: null,
|
|
108504
|
+
effectType: "",
|
|
108505
|
+
label: "",
|
|
108506
|
+
placeholder: "\u8BF7\u9009\u62E9",
|
|
108507
|
+
placeholderTransKey: "gd.placeholder.select",
|
|
108508
|
+
disabled: !1,
|
|
108509
|
+
rules: [],
|
|
108510
|
+
type: "slot",
|
|
108511
|
+
slotType: "divider"
|
|
108512
|
+
},
|
|
108373
108513
|
{
|
|
108374
108514
|
transKey: "gd.table.viewWeb",
|
|
108375
108515
|
prop: "viewweb",
|
|
@@ -108629,7 +108769,7 @@ const mixins$j = {
|
|
|
108629
108769
|
type: "slot",
|
|
108630
108770
|
slotType: "handle",
|
|
108631
108771
|
align: "center",
|
|
108632
|
-
fixed:
|
|
108772
|
+
fixed: "left"
|
|
108633
108773
|
},
|
|
108634
108774
|
{
|
|
108635
108775
|
transKey: "gd.field.describe",
|
|
@@ -108639,9 +108779,18 @@ const mixins$j = {
|
|
|
108639
108779
|
type: "slot",
|
|
108640
108780
|
slotType: "columnComment",
|
|
108641
108781
|
align: "left",
|
|
108642
|
-
fixed:
|
|
108782
|
+
fixed: "left",
|
|
108643
108783
|
showTooltip: !1
|
|
108644
108784
|
},
|
|
108785
|
+
{
|
|
108786
|
+
transKey: "gd.flow.process.mapFields",
|
|
108787
|
+
prop: "virtualcolumn",
|
|
108788
|
+
label: "\u6620\u5C04\u5B57\u6BB5",
|
|
108789
|
+
width: "200",
|
|
108790
|
+
type: "slot",
|
|
108791
|
+
slotType: "virtualcolumn",
|
|
108792
|
+
align: "left"
|
|
108793
|
+
},
|
|
108645
108794
|
{
|
|
108646
108795
|
transKey: "gd.field.field",
|
|
108647
108796
|
prop: "columnName",
|
|
@@ -108735,12 +108884,12 @@ const mixins$j = {
|
|
|
108735
108884
|
fixed: "right"
|
|
108736
108885
|
},
|
|
108737
108886
|
{
|
|
108738
|
-
transKey: "gd.field.
|
|
108739
|
-
prop: "
|
|
108740
|
-
label: "\
|
|
108887
|
+
transKey: "gd.field.primarykey",
|
|
108888
|
+
prop: "isprimarykey",
|
|
108889
|
+
label: "\u4E3B\u952E",
|
|
108741
108890
|
width: "80",
|
|
108742
108891
|
type: "slot",
|
|
108743
|
-
slotType: "
|
|
108892
|
+
slotType: "isprimarykey",
|
|
108744
108893
|
align: "center",
|
|
108745
108894
|
fixed: "right"
|
|
108746
108895
|
},
|
|
@@ -109680,7 +109829,7 @@ var _sfc_render$2i = function s() {
|
|
|
109680
109829
|
null,
|
|
109681
109830
|
null
|
|
109682
109831
|
);
|
|
109683
|
-
const ViewTree = __component__$2i.exports,
|
|
109832
|
+
const ViewTree = __component__$2i.exports, edit_vue_vue_type_style_index_0_scoped_eb12b7c2_lang = "", defaultList = [
|
|
109684
109833
|
{
|
|
109685
109834
|
code: 1,
|
|
109686
109835
|
name: "\u662F",
|
|
@@ -110202,7 +110351,20 @@ const ViewTree = __component__$2i.exports, edit_vue_vue_type_style_index_0_scope
|
|
|
110202
110351
|
this.$message.error(this.$i18nt("gd.view.addColumnTip", "\u8BF7\u914D\u7F6E\u663E\u793A\u5217")), this.confirmLoading = !1;
|
|
110203
110352
|
return;
|
|
110204
110353
|
}
|
|
110205
|
-
|
|
110354
|
+
const t = this.table.isvirtualtable === 1, a = this.tableFieldList.filter((l) => l.isprimarykey === 1)[0];
|
|
110355
|
+
if (t && !a) {
|
|
110356
|
+
this.$message.error(this.$i18nt("gd.view.tablePrimaryKeyTip", "\u8868\u672A\u8BBE\u7F6E\u4E3B\u952E\u5B57\u6BB5")), this.confirmLoading = !1;
|
|
110357
|
+
return;
|
|
110358
|
+
}
|
|
110359
|
+
const r = this.list.filter((l) => {
|
|
110360
|
+
const d = a && a.columnname ? a.columnname : "";
|
|
110361
|
+
return l.columnname === d;
|
|
110362
|
+
})[0];
|
|
110363
|
+
if (t && !r) {
|
|
110364
|
+
this.$message.error(this.$i18nt("gd.view.columnPrimaryKeyTip", "\u663E\u793A\u5217\u672A\u914D\u7F6E\u4E3B\u952E\u5B57\u6BB5")), this.confirmLoading = !1;
|
|
110365
|
+
return;
|
|
110366
|
+
}
|
|
110367
|
+
if (this.queryList.filter((l) => l.options && !l.options.fieldFiltering).length > 0) {
|
|
110206
110368
|
this.$message.error("\u8BF7\u8865\u5145\u67E5\u8BE2\u6761\u4EF6\u5B57\u6BB5\u6570\u636E\uFF01"), this.confirmLoading = !1;
|
|
110207
110369
|
return;
|
|
110208
110370
|
}
|
|
@@ -110286,7 +110448,7 @@ var _sfc_render$2h = function s() {
|
|
|
110286
110448
|
_sfc_staticRenderFns$2h,
|
|
110287
110449
|
!1,
|
|
110288
110450
|
null,
|
|
110289
|
-
"
|
|
110451
|
+
"eb12b7c2",
|
|
110290
110452
|
null,
|
|
110291
110453
|
null
|
|
110292
110454
|
);
|
|
@@ -125596,7 +125758,7 @@ var _sfc_render$S = function s() {
|
|
|
125596
125758
|
null,
|
|
125597
125759
|
null
|
|
125598
125760
|
);
|
|
125599
|
-
const relConfign1 = __component__$S.exports,
|
|
125761
|
+
const relConfign1 = __component__$S.exports, main_vue_vue_type_style_index_0_scoped_eee5ee07_lang = "", _sfc_main$R = {
|
|
125600
125762
|
props: {
|
|
125601
125763
|
height: {
|
|
125602
125764
|
type: Number,
|
|
@@ -125651,18 +125813,18 @@ var _sfc_render$R = function s() {
|
|
|
125651
125813
|
var t = this, a = t._self._c;
|
|
125652
125814
|
return a("div", { staticClass: "ge-table-cig" }, [a("el-tabs", { on: { "tab-click": t.tabChange }, model: { value: t.activeName, callback: function(r) {
|
|
125653
125815
|
t.activeName = r;
|
|
125654
|
-
}, expression: "activeName" } }, [a("el-tab-pane", { attrs: { label: t.$i18nt("gd.table.view", "\u89C6\u56FE"), name: "view", lazy: !0 } }, [t.activeName === "view" ? a("viewConfig", { ref: "viewConfig", attrs: { activeName: t.activeName, height: t.getHeight, record: t.record } }) : t._e()], 1), a("el-tab-pane", { attrs: { label: t.$i18nt("gd.table.form", "\u8868\u5355"), name: "form", lazy: !0 } }, [t.activeName === "form" ? a("formConfig", { ref: "formConfig", attrs: { activeName: t.activeName, height: t.getHeight, record: t.record } }) : t._e()], 1), a("el-tab-pane", { attrs: { label: t.$i18nt("gd.table.echarts", "\u56FE\u8868"), name: "echarts", lazy: !0 } }, [t.activeName === "echarts" ? a("echartsConfig", { ref: "echartsConfig", attrs: { activeName: t.activeName, height: t.getHeight, record: t.record } }) : t._e()], 1), a("el-tab-pane", { attrs: { label: t.$i18nt("gd.table.button", "\u6309\u94AE"), name: "btn", lazy: !0 } }, [t.activeName === "btn" ? a("btnConfig", { ref: "btnConfig", attrs: { activeName: t.activeName, height: t.getHeight, record: t.record } }) : t._e()], 1), a("el-tab-pane", { attrs: { label: t.$i18nt("gd.table.relationship1n", "1:N\u5173\u7CFB"), name: "relation1n", lazy: !0 } }, [t.activeName === "relation1n" ? a("relConfig1n", { ref: "relation1nConfig", attrs: { activeName: t.activeName, height: t.getHeight, record: t.record } }) : t._e()], 1), a("el-tab-pane", { attrs: { label: t.$i18nt("gd.table.relationshipn1", "N:1\u5173\u7CFB"), name: "relationn1", lazy: !0 } }, [t.activeName === "relationn1" ? a("relConfign1", { ref: "relationn1Config", attrs: { activeName: t.activeName, height: t.getHeight, record: t.record } }) : t._e()], 1)], 1)], 1);
|
|
125816
|
+
}, expression: "activeName" } }, [a("el-tab-pane", { attrs: { label: t.$i18nt("gd.table.view", "\u89C6\u56FE"), name: "view", lazy: !0 } }, [t.activeName === "view" ? a("viewConfig", { ref: "viewConfig", attrs: { activeName: t.activeName, height: t.getHeight, record: t.record } }) : t._e()], 1), a("el-tab-pane", { attrs: { label: t.$i18nt("gd.table.form", "\u8868\u5355"), name: "form", lazy: !0 } }, [t.activeName === "form" ? a("formConfig", { ref: "formConfig", attrs: { activeName: t.activeName, height: t.getHeight, record: t.record } }) : t._e()], 1), a("el-tab-pane", { attrs: { label: t.$i18nt("gd.table.echarts", "\u56FE\u8868"), name: "echarts", lazy: !0 } }, [t.activeName === "echarts" ? a("echartsConfig", { ref: "echartsConfig", attrs: { activeName: t.activeName, height: t.getHeight, record: t.record } }) : t._e()], 1), a("el-tab-pane", { attrs: { label: t.$i18nt("gd.table.button", "\u6309\u94AE"), name: "btn", lazy: !0 } }, [t.activeName === "btn" ? a("btnConfig", { ref: "btnConfig", attrs: { activeName: t.activeName, height: t.getHeight, record: t.record } }) : t._e()], 1), t.record.isvirtualtable != 1 ? a("el-tab-pane", { attrs: { label: t.$i18nt("gd.table.relationship1n", "1:N\u5173\u7CFB"), name: "relation1n", lazy: !0 } }, [t.activeName === "relation1n" ? a("relConfig1n", { ref: "relation1nConfig", attrs: { activeName: t.activeName, height: t.getHeight, record: t.record } }) : t._e()], 1) : t._e(), t.record.isvirtualtable != 1 ? a("el-tab-pane", { attrs: { label: t.$i18nt("gd.table.relationshipn1", "N:1\u5173\u7CFB"), name: "relationn1", lazy: !0 } }, [t.activeName === "relationn1" ? a("relConfign1", { ref: "relationn1Config", attrs: { activeName: t.activeName, height: t.getHeight, record: t.record } }) : t._e()], 1) : t._e()], 1)], 1);
|
|
125655
125817
|
}, _sfc_staticRenderFns$R = [], __component__$R = /* @__PURE__ */ normalizeComponent(
|
|
125656
125818
|
_sfc_main$R,
|
|
125657
125819
|
_sfc_render$R,
|
|
125658
125820
|
_sfc_staticRenderFns$R,
|
|
125659
125821
|
!1,
|
|
125660
125822
|
null,
|
|
125661
|
-
"
|
|
125823
|
+
"eee5ee07",
|
|
125662
125824
|
null,
|
|
125663
125825
|
null
|
|
125664
125826
|
);
|
|
125665
|
-
const manage$1 = __component__$R.exports,
|
|
125827
|
+
const manage$1 = __component__$R.exports, tableDescriptions_vue_vue_type_style_index_0_scoped_049bd272_lang = "", _sfc_main$Q = {
|
|
125666
125828
|
props: {
|
|
125667
125829
|
tableButtons: {
|
|
125668
125830
|
type: Array,
|
|
@@ -125679,34 +125841,65 @@ const manage$1 = __component__$R.exports, tableDescriptions_vue_vue_type_style_i
|
|
|
125679
125841
|
}
|
|
125680
125842
|
},
|
|
125681
125843
|
data() {
|
|
125682
|
-
return {
|
|
125844
|
+
return {
|
|
125845
|
+
sysdatasource: "--",
|
|
125846
|
+
fkEntityName: "sys_datasource"
|
|
125847
|
+
};
|
|
125683
125848
|
},
|
|
125684
125849
|
computed: {
|
|
125850
|
+
virtualobjecttype() {
|
|
125851
|
+
const s = this.getDictionary("virtualobjecttype").filter((t) => t.code == this.record.virtualobjecttype)[0];
|
|
125852
|
+
return s ? this.$i18nt(`Dynamics.${s.transkey}`, s.name) : "";
|
|
125853
|
+
},
|
|
125685
125854
|
style() {
|
|
125686
125855
|
return `max-height: calc(${this.height}px - 60px);`;
|
|
125687
125856
|
},
|
|
125688
125857
|
...mapGetters(["tableSize"])
|
|
125689
125858
|
},
|
|
125690
125859
|
methods: {
|
|
125860
|
+
init() {
|
|
125861
|
+
if (this.record.isvirtualtable != 1)
|
|
125862
|
+
return;
|
|
125863
|
+
let s = {
|
|
125864
|
+
id: this.record.sysdatasource,
|
|
125865
|
+
fkEntityName: this.fkEntityName
|
|
125866
|
+
};
|
|
125867
|
+
baseFkList(s).then((t) => {
|
|
125868
|
+
if (t.code === 200) {
|
|
125869
|
+
const a = t.data.filter((r) => r.id == this.record.sysdatasource)[0];
|
|
125870
|
+
this.sysdatasource = a ? a.name : "--";
|
|
125871
|
+
}
|
|
125872
|
+
});
|
|
125873
|
+
},
|
|
125691
125874
|
doEvent(s) {
|
|
125692
125875
|
this.$emit("functionName", s);
|
|
125876
|
+
},
|
|
125877
|
+
getDictionary(s) {
|
|
125878
|
+
return this.$options.filters.dictData(s);
|
|
125693
125879
|
}
|
|
125880
|
+
},
|
|
125881
|
+
mounted() {
|
|
125882
|
+
this.$nextTick(() => {
|
|
125883
|
+
setTimeout(() => {
|
|
125884
|
+
this.init();
|
|
125885
|
+
}, 0);
|
|
125886
|
+
});
|
|
125694
125887
|
}
|
|
125695
125888
|
};
|
|
125696
125889
|
var _sfc_render$Q = function s() {
|
|
125697
125890
|
var t = this, a = t._self._c;
|
|
125698
|
-
return a("div", { staticClass: "page-descriptions-item" }, [a("div", { staticClass: "descriptionst" }, [a("gd-btn-list", { attrs: { sysViewButtons: t.tableButtons }, on: { functionName: t.doEvent } })], 1), a("div", { staticClass: "descriptionsb", style: t.style }, [a("el-descriptions", { attrs: { column: 1, size: t.tableSize, border: "", direction: "vertical" } }, [a("el-descriptions-item", [a("template", { slot: "label" }, [t._v(" " + t._s(t.$i18nt("gd.table.businessName", "\u4E1A\u52A1\u540D")) + " ")]), t._v(" " + t._s(t.$i18nt(`Dynamics.${t.record.transkey}`, t.record.busname)) + " ")], 2), a("el-descriptions-item", [a("template", { slot: "label" }, [t._v(" " + t._s(t.$i18nt("gd.table.tableName", "\u8868\u540D\u79F0")) + " ")]), t._v(" " + t._s(t.record.tablename) + " ")], 2), a("el-descriptions-item", [a("template", { slot: "label" }, [t._v(" " + t._s(t.$i18nt("gd.table.authorName", "\u4F5C\u8005\u59D3\u540D")) + " ")]), t._v(" " + t._s(t.record.authorname) + " ")], 2)], 1), a("el-descriptions", { staticStyle: { "margin-top": "-1px" }, attrs: { column: 1, size: t.tableSize, border: "" } }, [a("el-descriptions-item", { attrs: { labelStyle: { width: "66%" }, contentStyle: { "text-align": "center" } } }, [a("template", { slot: "label" }, [t._v(" " + t._s(t.$i18nt("gd.table.isLocked", "\u662F\u5426\u9501\u5B9A")) + " ")]), t.record.islocked == 1 ? a("i", { staticClass: "gd-icons gd-icon-xuanzhong active-color", staticStyle: { "font-size": "18px" } }) : a("i", { staticClass: "gd-icons gd-icon-jinyong1", staticStyle: { "font-size": "20px", color: "#999" } })], 2), a("el-descriptions-item", { attrs: { contentStyle: { "text-align": "center" } } }, [a("template", { slot: "label" }, [t._v(" " + t._s(t.$i18nt("gd.table.allowNewField", "\u5B57\u6BB5\u65B0\u589E")) + " ")]), t.record.allownewfield == 1 ? a("i", { staticClass: "gd-icons gd-icon-xuanzhong active-color", staticStyle: { "font-size": "18px" } }) : a("i", { staticClass: "gd-icons gd-icon-jinyong1", staticStyle: { "font-size": "20px", color: "#999" } })], 2), a("el-descriptions-item", { attrs: { contentStyle: { "text-align": "center" } } }, [a("template", { slot: "label" }, [t._v(" " + t._s(t.$i18nt("gd.table.audit", "\u542F\u7528\u5BA1\u8BA1")) + " ")]), t.record.isaudit == 1 ? a("i", { staticClass: "gd-icons gd-icon-xuanzhong active-color", staticStyle: { "font-size": "18px" } }) : a("i", { staticClass: "gd-icons gd-icon-jinyong1", staticStyle: { "font-size": "20px", color: "#999" } })], 2), a("el-descriptions-item", { attrs: { contentStyle: { "text-align": "center" } } }, [a("template", { slot: "label" }, [t._v(" " + t._s(t.$i18nt("gd.table.plugIn", "\u542F\u7528\u63D2\u4EF6")) + " ")]), t.record.isplugIn == 1 ? a("i", { staticClass: "gd-icons gd-icon-xuanzhong active-color", staticStyle: { "font-size": "18px" } }) : a("i", { staticClass: "gd-icons gd-icon-jinyong1", staticStyle: { "font-size": "20px", color: "#999" } })], 2), a("el-descriptions-item", { attrs: { contentStyle: { "text-align": "center" } } }, [a("template", { slot: "label" }, [t._v(" " + t._s(t.$i18nt("gd.table.plugIn", "\u542F\u7528\u4EE3\u7406")) + " ")]), t.record.isagent == 1 ? a("i", { staticClass: "gd-icons gd-icon-xuanzhong active-color", staticStyle: { "font-size": "18px" } }) : a("i", { staticClass: "gd-icons gd-icon-jinyong1", staticStyle: { "font-size": "20px", color: "#999" } })], 2), a("el-descriptions-item", { attrs: { contentStyle: { "text-align": "center" } } }, [a("template", { slot: "label" }, [t._v(" " + t._s(t.$i18nt("gd.table.share", "\u542F\u7528\u5171\u4EAB")) + " ")]), t.record.isteam == 1 ? a("i", { staticClass: "gd-icons gd-icon-xuanzhong active-color", staticStyle: { "font-size": "18px" } }) : a("i", { staticClass: "gd-icons gd-icon-jinyong1", staticStyle: { "font-size": "20px", color: "#999" } })], 2), a("el-descriptions-item", { attrs: { contentStyle: { "text-align": "center" } } }, [a("template", { slot: "label" }, [t._v(" " + t._s(t.$i18nt("gd.table.approval", "\u542F\u7528\u5BA1\u6279")) + " ")]), t.record.isapproval == 1 ? a("i", { staticClass: "gd-icons gd-icon-xuanzhong active-color", staticStyle: { "font-size": "18px" } }) : a("i", { staticClass: "gd-icons gd-icon-jinyong1", staticStyle: { "font-size": "20px", color: "#999" } })], 2), a("el-descriptions-item", { attrs: { contentStyle: { "text-align": "center" } } }, [a("template", { slot: "label" }, [t._v(" " + t._s(t.$i18nt("gd.table.enableAdvancedLookup", "\u542F\u7528\u67E5\u627E")) + " ")]), t.record.isquery == 1 ? a("i", { staticClass: "gd-icons gd-icon-xuanzhong active-color", staticStyle: { "font-size": "18px" } }) : a("i", { staticClass: "gd-icons gd-icon-jinyong1", staticStyle: { "font-size": "20px", color: "#999" } })], 2), a("el-descriptions-item", { attrs: { contentStyle: { "text-align": "center" } } }, [a("template", { slot: "label" }, [t._v(" " + t._s(t.$i18nt("gd.table.enableReview", "\u542F\u7528\u67E5\u91CD")) + " ")]), t.record.ischeckduplicate == 1 ? a("i", { staticClass: "gd-icons gd-icon-xuanzhong active-color", staticStyle: { "font-size": "18px" } }) : a("i", { staticClass: "gd-icons gd-icon-jinyong1", staticStyle: { "font-size": "20px", color: "#999" } })], 2), a("el-descriptions-item", { attrs: { contentStyle: { "text-align": "center" } } }, [a("template", { slot: "label" }, [t._v(" " + t._s(t.$i18nt("gd.table.startBusinessProcess", "\u5F00\u542F\u4E1A\u52A1\u6D41\u7A0B")) + " ")]), t.record.isbusinessprocess == 1 ? a("i", { staticClass: "gd-icons gd-icon-xuanzhong active-color", staticStyle: { "font-size": "18px" } }) : a("i", { staticClass: "gd-icons gd-icon-jinyong1", staticStyle: { "font-size": "20px", color: "#999" } })], 2), a("el-descriptions-item", { attrs: { contentStyle: { "text-align": "center" } } }, [a("template", { attrs: { contentStyle: { "text-align": "center" } }, slot: "label" }, [t._v(" " + t._s(t.$i18nt("gd.table.mslaveSubmit", "\u4E3B\u4ECE\u63D0\u4EA4")) + " ")]), t.record.ischildagent == 1 ? a("i", { staticClass: "gd-icons gd-icon-xuanzhong active-color", staticStyle: { "font-size": "18px" } }) : a("i", { staticClass: "gd-icons gd-icon-jinyong1", staticStyle: { "font-size": "20px", color: "#999" } })], 2)], 1)],
|
|
125891
|
+
return a("div", { staticClass: "page-descriptions-item" }, [a("div", { staticClass: "descriptionst" }, [a("gd-btn-list", { attrs: { sysViewButtons: t.tableButtons }, on: { functionName: t.doEvent } })], 1), a("div", { staticClass: "descriptionsb", style: t.style }, [a("el-descriptions", { attrs: { column: 1, size: t.tableSize, border: "", direction: "vertical" } }, [a("el-descriptions-item", [a("template", { slot: "label" }, [t._v(" " + t._s(t.$i18nt("gd.table.businessName", "\u4E1A\u52A1\u540D")) + " ")]), t._v(" " + t._s(t.$i18nt(`Dynamics.${t.record.transkey}`, t.record.busname)) + " ")], 2), a("el-descriptions-item", [a("template", { slot: "label" }, [t._v(" " + t._s(t.$i18nt("gd.table.tableName", "\u8868\u540D\u79F0")) + " ")]), t._v(" " + t._s(t.record.tablename) + " ")], 2), a("el-descriptions-item", [a("template", { slot: "label" }, [t._v(" " + t._s(t.$i18nt("gd.table.authorName", "\u4F5C\u8005\u59D3\u540D")) + " ")]), t._v(" " + t._s(t.record.authorname) + " ")], 2)], 1), t.record.isvirtualtable == 1 ? [a("el-descriptions", { staticStyle: { "margin-top": "-1px" }, attrs: { column: 1, size: t.tableSize, border: "" } }, [a("el-descriptions-item", { attrs: { labelStyle: { width: "66%" }, contentStyle: { "text-align": "center" } } }, [a("template", { slot: "label" }, [t._v(" " + t._s(t.$i18nt("gd.table.virtualTable", "\u865A\u62DF\u8868")) + " ")]), t.record.isvirtualtable == 1 ? a("i", { staticClass: "gd-icons gd-icon-xuanzhong active-color", staticStyle: { "font-size": "18px" } }) : a("i", { staticClass: "gd-icons gd-icon-jinyong1", staticStyle: { "font-size": "20px", color: "#999" } })], 2)], 1), a("el-descriptions", { staticStyle: { "margin-top": "-1px" }, attrs: { column: 1, size: t.tableSize, border: "", direction: "vertical" } }, [a("el-descriptions-item", [a("template", { slot: "label" }, [t._v(" " + t._s(t.$i18nt("gd.table.dataSource", "\u6570\u636E\u6E90")) + " ")]), t._v(" " + t._s(t.sysdatasource) + " ")], 2), a("el-descriptions-item", [a("template", { slot: "label" }, [t._v(" " + t._s(t.$i18nt("gd.table.virtualObjectType", "\u865A\u62DF\u5BF9\u8C61\u7C7B\u578B")) + " ")]), t._v(" " + t._s(t.virtualobjecttype) + " ")], 2)], 1)] : a("el-descriptions", { staticStyle: { "margin-top": "-1px" }, attrs: { column: 1, size: t.tableSize, border: "" } }, [a("el-descriptions-item", { attrs: { labelStyle: { width: "66%" }, contentStyle: { "text-align": "center" } } }, [a("template", { slot: "label" }, [t._v(" " + t._s(t.$i18nt("gd.table.virtualTable", "\u865A\u62DF\u8868")) + " ")]), t.record.isvirtualtable == 1 ? a("i", { staticClass: "gd-icons gd-icon-xuanzhong active-color", staticStyle: { "font-size": "18px" } }) : a("i", { staticClass: "gd-icons gd-icon-jinyong1", staticStyle: { "font-size": "20px", color: "#999" } })], 2), a("el-descriptions-item", { attrs: { labelStyle: { width: "66%" }, contentStyle: { "text-align": "center" } } }, [a("template", { slot: "label" }, [t._v(" " + t._s(t.$i18nt("gd.table.isLocked", "\u662F\u5426\u9501\u5B9A")) + " ")]), t.record.islocked == 1 ? a("i", { staticClass: "gd-icons gd-icon-xuanzhong active-color", staticStyle: { "font-size": "18px" } }) : a("i", { staticClass: "gd-icons gd-icon-jinyong1", staticStyle: { "font-size": "20px", color: "#999" } })], 2), a("el-descriptions-item", { attrs: { contentStyle: { "text-align": "center" } } }, [a("template", { slot: "label" }, [t._v(" " + t._s(t.$i18nt("gd.table.allowNewField", "\u5B57\u6BB5\u65B0\u589E")) + " ")]), t.record.allownewfield == 1 ? a("i", { staticClass: "gd-icons gd-icon-xuanzhong active-color", staticStyle: { "font-size": "18px" } }) : a("i", { staticClass: "gd-icons gd-icon-jinyong1", staticStyle: { "font-size": "20px", color: "#999" } })], 2), a("el-descriptions-item", { attrs: { contentStyle: { "text-align": "center" } } }, [a("template", { slot: "label" }, [t._v(" " + t._s(t.$i18nt("gd.table.audit", "\u542F\u7528\u5BA1\u8BA1")) + " ")]), t.record.isaudit == 1 ? a("i", { staticClass: "gd-icons gd-icon-xuanzhong active-color", staticStyle: { "font-size": "18px" } }) : a("i", { staticClass: "gd-icons gd-icon-jinyong1", staticStyle: { "font-size": "20px", color: "#999" } })], 2), a("el-descriptions-item", { attrs: { contentStyle: { "text-align": "center" } } }, [a("template", { slot: "label" }, [t._v(" " + t._s(t.$i18nt("gd.table.plugIn", "\u542F\u7528\u63D2\u4EF6")) + " ")]), t.record.isplugIn == 1 ? a("i", { staticClass: "gd-icons gd-icon-xuanzhong active-color", staticStyle: { "font-size": "18px" } }) : a("i", { staticClass: "gd-icons gd-icon-jinyong1", staticStyle: { "font-size": "20px", color: "#999" } })], 2), a("el-descriptions-item", { attrs: { contentStyle: { "text-align": "center" } } }, [a("template", { slot: "label" }, [t._v(" " + t._s(t.$i18nt("gd.table.plugIn", "\u542F\u7528\u4EE3\u7406")) + " ")]), t.record.isagent == 1 ? a("i", { staticClass: "gd-icons gd-icon-xuanzhong active-color", staticStyle: { "font-size": "18px" } }) : a("i", { staticClass: "gd-icons gd-icon-jinyong1", staticStyle: { "font-size": "20px", color: "#999" } })], 2), a("el-descriptions-item", { attrs: { contentStyle: { "text-align": "center" } } }, [a("template", { slot: "label" }, [t._v(" " + t._s(t.$i18nt("gd.table.share", "\u542F\u7528\u5171\u4EAB")) + " ")]), t.record.isteam == 1 ? a("i", { staticClass: "gd-icons gd-icon-xuanzhong active-color", staticStyle: { "font-size": "18px" } }) : a("i", { staticClass: "gd-icons gd-icon-jinyong1", staticStyle: { "font-size": "20px", color: "#999" } })], 2), a("el-descriptions-item", { attrs: { contentStyle: { "text-align": "center" } } }, [a("template", { slot: "label" }, [t._v(" " + t._s(t.$i18nt("gd.table.approval", "\u542F\u7528\u5BA1\u6279")) + " ")]), t.record.isapproval == 1 ? a("i", { staticClass: "gd-icons gd-icon-xuanzhong active-color", staticStyle: { "font-size": "18px" } }) : a("i", { staticClass: "gd-icons gd-icon-jinyong1", staticStyle: { "font-size": "20px", color: "#999" } })], 2), a("el-descriptions-item", { attrs: { contentStyle: { "text-align": "center" } } }, [a("template", { slot: "label" }, [t._v(" " + t._s(t.$i18nt("gd.table.enableAdvancedLookup", "\u542F\u7528\u67E5\u627E")) + " ")]), t.record.isquery == 1 ? a("i", { staticClass: "gd-icons gd-icon-xuanzhong active-color", staticStyle: { "font-size": "18px" } }) : a("i", { staticClass: "gd-icons gd-icon-jinyong1", staticStyle: { "font-size": "20px", color: "#999" } })], 2), a("el-descriptions-item", { attrs: { contentStyle: { "text-align": "center" } } }, [a("template", { slot: "label" }, [t._v(" " + t._s(t.$i18nt("gd.table.enableReview", "\u542F\u7528\u67E5\u91CD")) + " ")]), t.record.ischeckduplicate == 1 ? a("i", { staticClass: "gd-icons gd-icon-xuanzhong active-color", staticStyle: { "font-size": "18px" } }) : a("i", { staticClass: "gd-icons gd-icon-jinyong1", staticStyle: { "font-size": "20px", color: "#999" } })], 2), a("el-descriptions-item", { attrs: { contentStyle: { "text-align": "center" } } }, [a("template", { slot: "label" }, [t._v(" " + t._s(t.$i18nt("gd.table.startBusinessProcess", "\u5F00\u542F\u4E1A\u52A1\u6D41\u7A0B")) + " ")]), t.record.isbusinessprocess == 1 ? a("i", { staticClass: "gd-icons gd-icon-xuanzhong active-color", staticStyle: { "font-size": "18px" } }) : a("i", { staticClass: "gd-icons gd-icon-jinyong1", staticStyle: { "font-size": "20px", color: "#999" } })], 2), a("el-descriptions-item", { attrs: { contentStyle: { "text-align": "center" } } }, [a("template", { attrs: { contentStyle: { "text-align": "center" } }, slot: "label" }, [t._v(" " + t._s(t.$i18nt("gd.table.mslaveSubmit", "\u4E3B\u4ECE\u63D0\u4EA4")) + " ")]), t.record.ischildagent == 1 ? a("i", { staticClass: "gd-icons gd-icon-xuanzhong active-color", staticStyle: { "font-size": "18px" } }) : a("i", { staticClass: "gd-icons gd-icon-jinyong1", staticStyle: { "font-size": "20px", color: "#999" } })], 2)], 1)], 2)]);
|
|
125699
125892
|
}, _sfc_staticRenderFns$Q = [], __component__$Q = /* @__PURE__ */ normalizeComponent(
|
|
125700
125893
|
_sfc_main$Q,
|
|
125701
125894
|
_sfc_render$Q,
|
|
125702
125895
|
_sfc_staticRenderFns$Q,
|
|
125703
125896
|
!1,
|
|
125704
125897
|
null,
|
|
125705
|
-
"
|
|
125898
|
+
"049bd272",
|
|
125706
125899
|
null,
|
|
125707
125900
|
null
|
|
125708
125901
|
);
|
|
125709
|
-
const tableDescriptions = __component__$Q.exports,
|
|
125902
|
+
const tableDescriptions = __component__$Q.exports, main_vue_vue_type_style_index_0_scoped_92dcedf3_lang = "", _sfc_main$P = {
|
|
125710
125903
|
mixins: [tablesFilter, mixins$i],
|
|
125711
125904
|
props: {
|
|
125712
125905
|
mode: {
|
|
@@ -125732,12 +125925,22 @@ const tableDescriptions = __component__$Q.exports, main_vue_vue_type_style_index
|
|
|
125732
125925
|
tableNameData: [],
|
|
125733
125926
|
numberRulesData: [],
|
|
125734
125927
|
numberNoRulesData: [],
|
|
125928
|
+
virtualFieldsList: [],
|
|
125735
125929
|
fetching: !1,
|
|
125736
|
-
isLocked: 100
|
|
125930
|
+
isLocked: 100,
|
|
125931
|
+
openManage: !1
|
|
125737
125932
|
};
|
|
125738
125933
|
},
|
|
125739
125934
|
components: { manage: manage$1, tableDescriptions },
|
|
125740
125935
|
computed: {
|
|
125936
|
+
getEffectList() {
|
|
125937
|
+
const s = this.record.isvirtualtable == 1 ? "virtual_table_effect_type" : "code_gen_effect_type";
|
|
125938
|
+
return this.getDictionary(s);
|
|
125939
|
+
},
|
|
125940
|
+
getTableColumns() {
|
|
125941
|
+
const s = this.record.isvirtualtable == 1 ? ["fkEntityName", "defaultType", "sysNumberRulesId", "isAudit", "isSecurity", "isNull"] : ["virtualcolumn", "isprimarykey"];
|
|
125942
|
+
return this.tableColumns.filter((a) => !s.includes(a.prop));
|
|
125943
|
+
},
|
|
125741
125944
|
stylep() {
|
|
125742
125945
|
return this.mode == "page" ? "" : "padding:12px 12px 0 12px;";
|
|
125743
125946
|
},
|
|
@@ -125764,6 +125967,12 @@ const tableDescriptions = __component__$Q.exports, main_vue_vue_type_style_index
|
|
|
125764
125967
|
...mapGetters(["tablePageSize", "tableSize", "screenHeight", "labelPosition", "formMode", "tableLists"])
|
|
125765
125968
|
},
|
|
125766
125969
|
methods: {
|
|
125970
|
+
changePrimaryKey(s, t) {
|
|
125971
|
+
let a = this.$refs.table.tableData;
|
|
125972
|
+
a.forEach((r, o) => {
|
|
125973
|
+
a[o].isprimarykey = t.id === r.id;
|
|
125974
|
+
}), this.$refs.table.tableData = [...a];
|
|
125975
|
+
},
|
|
125767
125976
|
lookupSeled(s, t) {
|
|
125768
125977
|
t.columncomment = s.defaulttext;
|
|
125769
125978
|
},
|
|
@@ -125792,7 +126001,13 @@ const tableDescriptions = __component__$Q.exports, main_vue_vue_type_style_index
|
|
|
125792
126001
|
(u.id ? String(u.id).split("u") : []).length > 1 && d.set("id", 0);
|
|
125793
126002
|
for (const h in u)
|
|
125794
126003
|
u[h] === !0 && d.set(h, "Y"), u[h] === !1 && d.set(h, "N");
|
|
125795
|
-
["about", "participants"].includes(u.effecttype) && d.set("fkentityname", u.fkentitynamed.join(",")), ["inputnumber"].includes(u.effecttype) && d.set("nettype", u.filedsize == 32 ? "int" : "long"), r.push(
|
|
126004
|
+
["about", "participants"].includes(u.effecttype) && d.set("fkentityname", u.fkentitynamed.join(",")), ["inputnumber"].includes(u.effecttype) && d.set("nettype", u.filedsize == 32 ? "int" : "long"), r.push(
|
|
126005
|
+
Object.assign({ ...u }, Object.fromEntries(d), {
|
|
126006
|
+
tableNameData: void 0,
|
|
126007
|
+
numberRulesData: void 0,
|
|
126008
|
+
isprimarykey: u.isprimarykey ? 1 : 0
|
|
126009
|
+
})
|
|
126010
|
+
);
|
|
125796
126011
|
}
|
|
125797
126012
|
const o = this.$message({
|
|
125798
126013
|
message: this.$i18nt("gd.https.Loading", "\u52A0\u8F7D\u4E2D..."),
|
|
@@ -125820,7 +126035,7 @@ const tableDescriptions = __component__$Q.exports, main_vue_vue_type_style_index
|
|
|
125820
126035
|
effecttype: "input",
|
|
125821
126036
|
fkcolumnname: null,
|
|
125822
126037
|
fkcolumnnettype: null,
|
|
125823
|
-
fkentityname:
|
|
126038
|
+
fkentityname: "",
|
|
125824
126039
|
fkentitynamed: [],
|
|
125825
126040
|
filedstatic: 0,
|
|
125826
126041
|
issynchronous: 1,
|
|
@@ -125846,9 +126061,11 @@ const tableDescriptions = __component__$Q.exports, main_vue_vue_type_style_index
|
|
|
125846
126061
|
filedsize: 255,
|
|
125847
126062
|
tablenamedata: this.tableNameData,
|
|
125848
126063
|
numberrulesdata: this.numberNoRulesData.filter((a) => !t.includes(a.id)),
|
|
125849
|
-
defaulttype:
|
|
126064
|
+
defaulttype: "",
|
|
125850
126065
|
islocked: 0,
|
|
125851
|
-
disabled: !1
|
|
126066
|
+
disabled: !1,
|
|
126067
|
+
virtualcolumn: "",
|
|
126068
|
+
isprimarykey: !1
|
|
125852
126069
|
}), this.dataSource = [...s], this.$refs.table.setLoadData(s);
|
|
125853
126070
|
},
|
|
125854
126071
|
rowClassName({ row: s, rowIndex: t }) {
|
|
@@ -125870,7 +126087,7 @@ const tableDescriptions = __component__$Q.exports, main_vue_vue_type_style_index
|
|
|
125870
126087
|
let r = [...this.dataSource], o = this.numberRulesData.filter((u) => u.columnid == null && u.syscodegenid == null), l = [];
|
|
125871
126088
|
r.map((u) => {
|
|
125872
126089
|
let f = this.numberRulesData.filter((p) => p.id == u.sysnumberrulesid), h = o.filter((p) => p.id != u.sysnumberrulesid);
|
|
125873
|
-
return u.tablenamedata = this.tableNameData, u.defaulttype = u.defaulttype ? String(u.defaulttype) :
|
|
126090
|
+
return u.tablenamedata = this.tableNameData, u.defaulttype = u.defaulttype ? String(u.defaulttype) : "", u.isprimarykey = u.isprimarykey == 1, u.numberrulesdata = f.concat(h), u.sysnumberrulesid = u.sysnumberrulesid ? u.sysnumberrulesid : "", u.sysnumberrulesid && l.push(u.sysnumberrulesid), u.effecttype == "inputnumber" && u.filedsize != 32 && u.filedsize != 64 && (u.filedsize = 32), u.disabled = u.islocked == 1, u;
|
|
125874
126091
|
});
|
|
125875
126092
|
let d = this.numberRulesData.filter((u) => l.includes(u.id));
|
|
125876
126093
|
this.numberNoRulesData = o.concat(d), this.dataSource = [...r], this.loading = !1, s({ pageNo: 1, pageSize: 40, totalRows: 0, rows: this.dataSource });
|
|
@@ -125878,7 +126095,7 @@ const tableDescriptions = __component__$Q.exports, main_vue_vue_type_style_index
|
|
|
125878
126095
|
});
|
|
125879
126096
|
},
|
|
125880
126097
|
init(s) {
|
|
125881
|
-
this.record = s, this.$nextTick(() => {
|
|
126098
|
+
this.record = s, this.openManage = !0, this.getVirtualFields(), this.$nextTick(() => {
|
|
125882
126099
|
setTimeout(() => {
|
|
125883
126100
|
this.$refs.table.refresh();
|
|
125884
126101
|
}, 0);
|
|
@@ -125894,6 +126111,11 @@ const tableDescriptions = __component__$Q.exports, main_vue_vue_type_style_index
|
|
|
125894
126111
|
}), this.dataSource = [...t];
|
|
125895
126112
|
});
|
|
125896
126113
|
},
|
|
126114
|
+
getVirtualFields() {
|
|
126115
|
+
(this.record.isvirtualtable !== void 0 ? this.record.isvirtualtable : 0) == 1 && sysDataSourceColumns({ dataSourceId: this.record.sysdatasource, tableName: this.record.virtualobject }).then((t) => {
|
|
126116
|
+
t.code === 200 && (this.virtualFieldsList = t.data.map((a) => (a.label = a.columndescription !== "" ? `${a.columnname} (${a.columndescription})` : a.columnname, a)));
|
|
126117
|
+
});
|
|
126118
|
+
},
|
|
125897
126119
|
getDetail() {
|
|
125898
126120
|
codeGenerateGetDetail({
|
|
125899
126121
|
id: this.record.id
|
|
@@ -126038,10 +126260,16 @@ const tableDescriptions = __component__$Q.exports, main_vue_vue_type_style_index
|
|
|
126038
126260
|
};
|
|
126039
126261
|
var _sfc_render$P = function s() {
|
|
126040
126262
|
var t = this, a = t._self._c;
|
|
126041
|
-
return a("div", { staticClass: "gd-page-view", staticStyle: { position: "absolute", top: "0", "z-index": "8", left: "0", right: "0", bottom: "0", background: "#fff" }, style: t.stylep }, [a("div", { staticStyle: { display: "flex", background: "#f5f5f5" }, style: t.styleh }, [a("div", { directives: [{ name: "loading", rawName: "v-loading", value: t.loading, expression: "loading" }], staticClass: "page-view-descriptions", attrs: { "element-loading-spinner": "el-icon-loading active-color" } }, [a("tableDescriptions", { attrs: { record: t.record, tableButtons: t.tableButtons, height: t.height }, on: { functionName: t.functionName } })], 1), a("div", { directives: [{ name: "loading", rawName: "v-loading", value: t.formLoading, expression: "formLoading" }], staticClass: "page-view-list", staticStyle: { padding: "0 12px 0 12px", "overflow-y": "auto", "margin-right": "-12px" }, attrs: { "element-loading-spinner": "el-icon-loading" } }, [a("gd-table-virtual", { ref: "table", attrs: { dataSource: t.loadData, size: t.tableSize, pageSize: t.tablePageSize, columns: t.
|
|
126263
|
+
return a("div", { staticClass: "gd-page-view", staticStyle: { position: "absolute", top: "0", "z-index": "8", left: "0", right: "0", bottom: "0", background: "#fff" }, style: t.stylep }, [a("div", { staticStyle: { display: "flex", background: "#f5f5f5" }, style: t.styleh }, [a("div", { directives: [{ name: "loading", rawName: "v-loading", value: t.loading, expression: "loading" }], staticClass: "page-view-descriptions", attrs: { "element-loading-spinner": "el-icon-loading active-color" } }, [a("tableDescriptions", { attrs: { record: t.record, tableButtons: t.tableButtons, height: t.height }, on: { functionName: t.functionName } })], 1), a("div", { directives: [{ name: "loading", rawName: "v-loading", value: t.formLoading, expression: "formLoading" }], staticClass: "page-view-list", staticStyle: { padding: "0 12px 0 12px", "overflow-y": "auto", "margin-right": "-12px" }, attrs: { "element-loading-spinner": "el-icon-loading" } }, [t.openManage ? a("gd-table-virtual", { ref: "table", attrs: { dataSource: t.loadData, size: t.tableSize, pageSize: t.tablePageSize, columns: t.getTableColumns, height: t.getHeight, showPagination: !1, initialLoading: !1, rowClassName: t.rowClassName, rowHeight: 56 }, scopedSlots: t._u([{ key: "handle", fn: function({ column: r, row: o, index: l }) {
|
|
126042
126264
|
return [o.islocked == 1 ? a("i", { staticClass: "el-icon-lock", staticStyle: { color: "#c0c4cc", "font-size": "20px", cursor: "not-allowed" } }) : a("el-popconfirm", { attrs: { "confirm-button-text": t.$i18nt("gd.btn.confirm", "\u786E\u8BA4"), "cancel-button-text": t.$i18nt("gd.btn.cancel", "\u53D6\u6D88"), icon: "el-icon-warning", "icon-color": "#faad14", title: t.$i18nt("https.delContent", "\u662F\u5426\u5220\u9664\u9009\u4E2D\u6570\u636E?") }, on: { confirm: function(d) {
|
|
126043
126265
|
return t.confirmDel({ column: r, row: o, index: l });
|
|
126044
126266
|
} } }, [a("el-button", { attrs: { slot: "reference", type: "text" }, slot: "reference" }, [a("i", { staticClass: "el-icon-delete", staticStyle: { color: "#f00", "font-size": "20px" } })])], 1)];
|
|
126267
|
+
} }, { key: "virtualcolumn", fn: function({ column: r, row: o }) {
|
|
126268
|
+
return [a("el-select", { staticStyle: { width: "100%" }, attrs: { filterable: "", "reserve-keyword": "", size: "mini", disabled: !o.isnew }, model: { value: o.virtualcolumn, callback: function(l) {
|
|
126269
|
+
t.$set(o, "virtualcolumn", l);
|
|
126270
|
+
}, expression: "row.virtualcolumn" } }, [t._l(t.virtualFieldsList, function(l) {
|
|
126271
|
+
return [a("el-option", { attrs: { label: l.label, value: l.columnname } })];
|
|
126272
|
+
})], 2)];
|
|
126045
126273
|
} }, { key: "columnName", fn: function({ column: r, row: o }) {
|
|
126046
126274
|
return [a("el-input", { attrs: { disabled: !o.isnew, size: "mini" }, model: { value: o.columnname, callback: function(l) {
|
|
126047
126275
|
t.$set(o, "columnname", l);
|
|
@@ -126053,7 +126281,7 @@ var _sfc_render$P = function s() {
|
|
|
126053
126281
|
} }, { key: "effectType", fn: function({ column: r, row: o, index: l }) {
|
|
126054
126282
|
return [a("el-select", { staticStyle: { width: "100%" }, attrs: { disabled: !o.isnew, size: "mini" }, on: { change: (d) => t.effectTypeChange(d, { column: r, row: o, index: l }) }, model: { value: o.effecttype, callback: function(d) {
|
|
126055
126283
|
t.$set(o, "effecttype", d);
|
|
126056
|
-
}, expression: "row.effecttype" } }, t._l(t.
|
|
126284
|
+
}, expression: "row.effecttype" } }, t._l(t.getEffectList, function(d) {
|
|
126057
126285
|
return a("el-option", { key: d.code, attrs: { label: t.$i18nt(`Dynamics.${d.transkey}`, d.name), value: d.code } });
|
|
126058
126286
|
}), 1)];
|
|
126059
126287
|
} }, { key: "dictTypeCode", fn: function({ column: r, row: o }) {
|
|
@@ -126118,22 +126346,26 @@ var _sfc_render$P = function s() {
|
|
|
126118
126346
|
return [a("el-checkbox", { attrs: { disabled: o.disabled }, model: { value: o.isaudit, callback: function(l) {
|
|
126119
126347
|
t.$set(o, "isaudit", l);
|
|
126120
126348
|
}, expression: "row.isaudit" } })];
|
|
126349
|
+
} }, { key: "isprimarykey", fn: function({ column: r, row: o }) {
|
|
126350
|
+
return [a("el-checkbox", { attrs: { disabled: o.disabled }, on: { change: (l) => t.changePrimaryKey(l, o) }, model: { value: o.isprimarykey, callback: function(l) {
|
|
126351
|
+
t.$set(o, "isprimarykey", l);
|
|
126352
|
+
}, expression: "row.isprimarykey" } })];
|
|
126121
126353
|
} }, { key: "operator", fn: function() {
|
|
126122
126354
|
return [a("div", { staticClass: "gd-table-operator" }, [a("div", { staticClass: "gd-table-operatorls" }, [a("el-radio-group", { model: { value: t.isLocked, callback: function(r) {
|
|
126123
126355
|
t.isLocked = r;
|
|
126124
126356
|
}, expression: "isLocked" } }, [a("el-radio-button", { attrs: { label: 100 } }, [t._v(t._s(t.$i18nt("gd.field.whole", "\u5168\u90E8")))]), a("el-radio-button", { attrs: { label: 0 } }, [t._v(t._s(t.$i18nt("gd.field.unlocked", "\u672A\u9501\u5B9A")))])], 1)], 1), a("div", { staticClass: "gd-table-operatorr" }, [a("gd-btn-list", { attrs: { sysViewButtons: t.formButtons }, on: { functionName: t.doEvent } })], 1)])];
|
|
126125
|
-
}, proxy: !0 }]) }), a("manage", { ref: "manage", attrs: { record: t.record, height: t.mode === "page" ? t.getHeightd : t.getHeightd + 60, maxHeigh: t.height } })], 1)])]);
|
|
126357
|
+
}, proxy: !0 }], null, !1, 3726976262) }) : t._e(), a("manage", { ref: "manage", attrs: { record: t.record, height: t.mode === "page" ? t.getHeightd : t.getHeightd + 60, maxHeigh: t.height } })], 1)])]);
|
|
126126
126358
|
}, _sfc_staticRenderFns$P = [], __component__$P = /* @__PURE__ */ normalizeComponent(
|
|
126127
126359
|
_sfc_main$P,
|
|
126128
126360
|
_sfc_render$P,
|
|
126129
126361
|
_sfc_staticRenderFns$P,
|
|
126130
126362
|
!1,
|
|
126131
126363
|
null,
|
|
126132
|
-
"
|
|
126364
|
+
"92dcedf3",
|
|
126133
126365
|
null,
|
|
126134
126366
|
null
|
|
126135
126367
|
);
|
|
126136
|
-
const fkConfig = __component__$P.exports,
|
|
126368
|
+
const fkConfig = __component__$P.exports, main_vue_vue_type_style_index_0_scoped_98923686_lang = "", _sfc_main$O = {
|
|
126137
126369
|
name: "GdTableDevelopment",
|
|
126138
126370
|
props: {
|
|
126139
126371
|
mode: {
|
|
@@ -126153,6 +126385,7 @@ const fkConfig = __component__$P.exports, main_vue_vue_type_style_index_0_scoped
|
|
|
126153
126385
|
formLoading: !1,
|
|
126154
126386
|
viewsLoading: !1,
|
|
126155
126387
|
formsLoading: !1,
|
|
126388
|
+
datasourceLoading: !1,
|
|
126156
126389
|
loading: !1,
|
|
126157
126390
|
selectedRowKeys: [],
|
|
126158
126391
|
selectedRows: [],
|
|
@@ -126161,13 +126394,33 @@ const fkConfig = __component__$P.exports, main_vue_vue_type_style_index_0_scoped
|
|
|
126161
126394
|
selItemData: {},
|
|
126162
126395
|
openManage: !1,
|
|
126163
126396
|
formWebList: [],
|
|
126164
|
-
viewWebList: []
|
|
126397
|
+
viewWebList: [],
|
|
126398
|
+
datasourceList: [],
|
|
126399
|
+
fkEntityName: "sys_datasource",
|
|
126400
|
+
isVirtualTable: 2
|
|
126165
126401
|
};
|
|
126166
126402
|
},
|
|
126167
126403
|
components: { fkConfig },
|
|
126168
126404
|
computed: {
|
|
126405
|
+
getHideColumns() {
|
|
126406
|
+
let s = [];
|
|
126407
|
+
return this.isVirtualTable === 1 ? s = [
|
|
126408
|
+
"isaudit",
|
|
126409
|
+
"isplugin",
|
|
126410
|
+
"isagent",
|
|
126411
|
+
"isteam",
|
|
126412
|
+
"isapproval",
|
|
126413
|
+
"allownewfield",
|
|
126414
|
+
"isquery",
|
|
126415
|
+
"ischeckduplicate",
|
|
126416
|
+
"isbusinessprocess",
|
|
126417
|
+
"ischildagent",
|
|
126418
|
+
"sys_accessteamtemplateid",
|
|
126419
|
+
"connectiontable"
|
|
126420
|
+
] : this.isVirtualTable === 0 && (s = ["sysdatasource", "virtualobjecttype", "virtualobject"]), s;
|
|
126421
|
+
},
|
|
126169
126422
|
getFormColumns() {
|
|
126170
|
-
return this.formColumns.filter((t) => (t.disabled = !1, this.selItemData.id !== void 0 && this.selItemData.islocked == 1 ? t.disabled = t.label !== "\u662F\u5426\u4E3B\u4ECE\u63D0\u4EA4" : this.selItemData.id !== void 0 && this.selItemData.islocked != 1 && (t.disabled = t.label === "\u8868\u540D\u79F0"), ["\u5B57\u6BB5\u65B0\u589E", "\u8BBF\u95EE\u56E2\u961F\u6A21\u677F", "\u8FDE\u63A5\u8868"].includes(t.label) && (t.disabled = !0), !0));
|
|
126423
|
+
return this.formColumns.filter((t) => (t.disabled = !1, this.selItemData.id !== void 0 && this.selItemData.islocked == 1 ? t.disabled = t.label !== "\u662F\u5426\u4E3B\u4ECE\u63D0\u4EA4" : this.selItemData.id !== void 0 && this.selItemData.islocked != 1 && (t.disabled = t.label === "\u8868\u540D\u79F0"), ["\u5B57\u6BB5\u65B0\u589E", "\u8BBF\u95EE\u56E2\u961F\u6A21\u677F", "\u8FDE\u63A5\u8868"].includes(t.label) && (t.disabled = !0), this.selItemData.id !== void 0 && ["\u865A\u62DF\u8868"].includes(t.label) && (t.disabled = !0), !this.getHideColumns.includes(t.prop)));
|
|
126171
126424
|
},
|
|
126172
126425
|
styled() {
|
|
126173
126426
|
return this.openManage ? "padding: 0px 0px 0px 0px;z-index:7;" : "padding: 0px 0px 0px 0px;";
|
|
@@ -126178,9 +126431,21 @@ const fkConfig = __component__$P.exports, main_vue_vue_type_style_index_0_scoped
|
|
|
126178
126431
|
stylep() {
|
|
126179
126432
|
return this.mode == "page" ? "" : "padding:12px 12px 12px 12px;background: #fff;";
|
|
126180
126433
|
},
|
|
126181
|
-
...mapGetters(["tablePageSize", "tableSize", "screenHeight", "labelPosition", "formMode"])
|
|
126434
|
+
...mapGetters(["tablePageSize", "tableSize", "screenHeight", "labelPosition", "formMode", "primaryColor"])
|
|
126182
126435
|
},
|
|
126183
126436
|
methods: {
|
|
126437
|
+
lookup(s, t) {
|
|
126438
|
+
const a = s[t.prop];
|
|
126439
|
+
this.$refs.viewSearch.open({
|
|
126440
|
+
fkEntityName: "DataSource",
|
|
126441
|
+
effectType: t.effectType,
|
|
126442
|
+
val: a || ""
|
|
126443
|
+
});
|
|
126444
|
+
},
|
|
126445
|
+
lookupSeledfk(s) {
|
|
126446
|
+
const t = s.data[0] ? s.data[0] : "";
|
|
126447
|
+
this.$refs.editForm.setData({ sysdatasource: String(t) }), this.datasourceList = s.fkData;
|
|
126448
|
+
},
|
|
126184
126449
|
lookupSeled(s, t, a) {
|
|
126185
126450
|
t[a.prop] = s.defaulttext;
|
|
126186
126451
|
},
|
|
@@ -126190,9 +126455,12 @@ const fkConfig = __component__$P.exports, main_vue_vue_type_style_index_0_scoped
|
|
|
126190
126455
|
async searchViewWeb(s) {
|
|
126191
126456
|
this.loading = !0, this.viewWebList = [], this.viewWebList = await this.getWebResources(s), this.loading = !1, this.viewsLoading = !0;
|
|
126192
126457
|
},
|
|
126458
|
+
async searchDataSource(s) {
|
|
126459
|
+
this.loading = !0, this.datasourceList = [], this.datasourceList = await this.getDataSource(s), this.loading = !1, this.datasourceLoading = !0;
|
|
126460
|
+
},
|
|
126193
126461
|
fkSearch(s) {
|
|
126194
126462
|
const t = `${s}Loading`;
|
|
126195
|
-
s === "views" && !this[t] ? this.searchViewWeb("") : s === "forms" && !this[t]
|
|
126463
|
+
s === "views" && !this[t] ? this.searchViewWeb("") : s === "forms" && !this[t] ? this.searchFormWeb("") : s === "datasource" && !this[t] && this.searchDataSource("");
|
|
126196
126464
|
},
|
|
126197
126465
|
saveQueries(s) {
|
|
126198
126466
|
this.queryParam = { ...s }, this.refresh();
|
|
@@ -126285,12 +126553,29 @@ const fkConfig = __component__$P.exports, main_vue_vue_type_style_index_0_scoped
|
|
|
126285
126553
|
t.confirmButtonLoading = !1, t.cancelButtonLoading = !1, t.showCancelButton = !0, a(), r.success ? this.$message.success(this.$i18nt("gd.https.delSucc", "\u5220\u9664\u6210\u529F")) : this.$message.error(this.$i18nt("gd.https.delFail", "\u5220\u9664\u5931\u8D25") + r.message), this.handleOk();
|
|
126286
126554
|
});
|
|
126287
126555
|
},
|
|
126556
|
+
changeVirtual(s) {
|
|
126557
|
+
this.isVirtualTable = s ? 1 : 0;
|
|
126558
|
+
},
|
|
126559
|
+
async editFormOpne(s) {
|
|
126560
|
+
this.isVirtualTable = 2, await this.$refs.editForm.init(), this.isVirtualTable = s && s.isvirtualtable ? s.isvirtualtable : 0;
|
|
126561
|
+
let t = s ? JSON.parse(JSON.stringify(s)) : {};
|
|
126562
|
+
s && this.formColumns.forEach((a) => {
|
|
126563
|
+
["switch"].includes(a.effectType) && t[a.prop] !== void 0 && (t[a.prop] = t[a.prop] === 1);
|
|
126564
|
+
}), this.$refs.editForm.openHand(s && t).then((a) => {
|
|
126565
|
+
a.done(
|
|
126566
|
+
s && Object.assign(t, {
|
|
126567
|
+
virtualobjecttype: String(s.virtualobjecttype),
|
|
126568
|
+
sysdatasource: String(s.sysdatasource)
|
|
126569
|
+
})
|
|
126570
|
+
), s && this.getDataSourceId(s.sysdatasource);
|
|
126571
|
+
});
|
|
126572
|
+
},
|
|
126288
126573
|
add() {
|
|
126289
|
-
this.viewsLoading = !1, this.formsLoading = !1, this.selItemData = {}, this.transKey = "gd.btn.add", this
|
|
126574
|
+
this.viewsLoading = !1, this.formsLoading = !1, this.datasourceLoading = !1, this.selItemData = {}, this.transKey = "gd.btn.add", this.editFormOpne(null);
|
|
126290
126575
|
},
|
|
126291
126576
|
edit(s) {
|
|
126292
|
-
if (this.viewsLoading = !1, this.formsLoading = !1, s) {
|
|
126293
|
-
this.selItemData = s, this.transKey = "gd.btn.edit", this
|
|
126577
|
+
if (this.viewsLoading = !1, this.formsLoading = !1, this.datasourceLoading = !1, s) {
|
|
126578
|
+
this.selItemData = s, this.transKey = "gd.btn.edit", this.editFormOpne(s);
|
|
126294
126579
|
return;
|
|
126295
126580
|
}
|
|
126296
126581
|
if (this.selectedRowKeys.length === 0) {
|
|
@@ -126301,16 +126586,36 @@ const fkConfig = __component__$P.exports, main_vue_vue_type_style_index_0_scoped
|
|
|
126301
126586
|
this.$message.warning(this.$i18nt("gd.https.editTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u5217\u6570\u636E\u7F16\u8F91!"));
|
|
126302
126587
|
return;
|
|
126303
126588
|
}
|
|
126304
|
-
this.selItemData = this.selectedRows[0], this.transKey = "gd.btn.edit", this
|
|
126589
|
+
this.selItemData = this.selectedRows[0], this.transKey = "gd.btn.edit", this.editFormOpne(this.selectedRows[0]);
|
|
126305
126590
|
},
|
|
126306
126591
|
sbumit({ data: s, record: t, btn: a }, r, o) {
|
|
126307
|
-
this.formLoading = !0
|
|
126308
|
-
|
|
126592
|
+
this.formLoading = !0;
|
|
126593
|
+
let l = t ? codeGenerateEdit : codeGenerateAddOnline, d = { ...s };
|
|
126594
|
+
this.formColumns.forEach((u) => {
|
|
126595
|
+
["switch"].includes(u.effectType) && d[u.prop] !== void 0 && (d[u.prop] = d[u.prop] ? 1 : 0);
|
|
126596
|
+
}), l(d).then((u) => {
|
|
126597
|
+
u.success ? (this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), this.selItemData = Object.assign({ ...this.selItemData }, s), o(), this.handleOk()) : this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + u.message), this.formLoading = !1;
|
|
126309
126598
|
});
|
|
126310
126599
|
},
|
|
126311
126600
|
getWebResources(s) {
|
|
126312
126601
|
return sysWebResourceGetList({ name: s, type: 1 }).then((t) => t.data);
|
|
126313
126602
|
},
|
|
126603
|
+
getDataSource(s) {
|
|
126604
|
+
let t = {
|
|
126605
|
+
name: s,
|
|
126606
|
+
fkEntityName: this.fkEntityName
|
|
126607
|
+
};
|
|
126608
|
+
return baseFkList(t).then((a) => a.data.map((r) => (r.id = String(r.id), r)));
|
|
126609
|
+
},
|
|
126610
|
+
getDataSourceId(s) {
|
|
126611
|
+
let t = {
|
|
126612
|
+
id: s,
|
|
126613
|
+
fkEntityName: this.fkEntityName
|
|
126614
|
+
};
|
|
126615
|
+
baseFkList(t).then((a) => {
|
|
126616
|
+
this.datasourceList = a.data.map((r) => (r.id = String(r.id), r));
|
|
126617
|
+
});
|
|
126618
|
+
},
|
|
126314
126619
|
handleOk() {
|
|
126315
126620
|
this.$refs.table.refresh(), this.openManage && this.$refs.fkConfig.init(this.selItemData);
|
|
126316
126621
|
},
|
|
@@ -126331,6 +126636,8 @@ var _sfc_render$O = function s() {
|
|
|
126331
126636
|
var t = this, a = t._self._c;
|
|
126332
126637
|
return a("div", { staticClass: "gd-page-view", style: t.stylep }, [a("div", { staticClass: "page-view-list", style: t.styled }, [a("gd-tables", { ref: "table", attrs: { dataSource: t.loadData, size: t.tableSize, pageSize: t.tablePageSize, columns: t.tableColumns, selectedRowKeys: t.selectedRowKeys, height: t.getHeight, filtering: !0 }, on: { onChange: t.onSelectChange }, scopedSlots: t._u([{ key: "busName", fn: function({ column: r, row: o }) {
|
|
126333
126638
|
return [a("gd-tooltip", { attrs: { rowKey: "busname", row: o, highlight: "", transKey: `Dynamics.${o.transkey}` }, on: { click: t.editForm } })];
|
|
126639
|
+
} }, { key: "isvirtualtable", fn: function({ column: r, row: o }) {
|
|
126640
|
+
return [o.isvirtualtable == 1 ? a("i", { staticClass: "gd-icons gd-icon-xuanzhong active-color", staticStyle: { "font-size": "18px" } }) : a("i", { staticClass: "gd-icons gd-icon-jinyong1", staticStyle: { "font-size": "18px", color: "#999" } })];
|
|
126334
126641
|
} }, { key: "isLocked", fn: function({ column: r, row: o }) {
|
|
126335
126642
|
return [o.islocked == 1 ? a("i", { staticClass: "gd-icons gd-icon-xuanzhong active-color", staticStyle: { "font-size": "18px" } }) : a("i", { staticClass: "gd-icons gd-icon-jinyong1", staticStyle: { "font-size": "18px", color: "#999" } })];
|
|
126336
126643
|
} }, { key: "allowNewField", fn: function({ column: r, row: o }) {
|
|
@@ -126355,10 +126662,24 @@ var _sfc_render$O = function s() {
|
|
|
126355
126662
|
}, expression: "queryParam.tableName" } }), a("div", { staticClass: "table-operator-search", on: { click: t.refresh } }, [a("i", { staticClass: "el-input__icon el-icon-search" })])], 1), a("div", { staticClass: "gd-table-operatorr" }, [a("gd-btn-list", { attrs: { sysViewButtons: t.tableButtons }, on: { functionName: t.doEvent } })], 1)])];
|
|
126356
126663
|
}, proxy: !0 }, { key: "filtering", fn: function({ colse: r, visible: o }) {
|
|
126357
126664
|
return [a("gd-table-queries-field", { attrs: { columns: t.tableQueries, height: t.getHeight, queryParam: t.queryParam, colse: r, visible: o }, on: { save: t.saveQueries } })];
|
|
126358
|
-
} }]) })], 1), t.openManage ? a("fkConfig", { ref: "fkConfig", attrs: { openManage: t.openManage, height: t.getHeight, mode: t.mode }, on: { functionName: t.functionNameFk } }) : t._e(), a("gd-edit-form", { ref: "editForm", attrs: { formItemWidth: "90%", loading: t.formLoading, transKey: t.transKey, buttons: t.formButtons, columns: t.getFormColumns, labelPosition: t.labelPosition, formMode: t.formMode, translationType: t.translationType, inline: !0, duplicate: !0, width: "1000px" }, on: { sbumit: t.sbumit }, scopedSlots: t._u([{ key: "busname", fn: function({ data: r, column: o, record: l }) {
|
|
126665
|
+
} }]) })], 1), t.openManage ? a("fkConfig", { ref: "fkConfig", attrs: { openManage: t.openManage, height: t.getHeight, mode: t.mode }, on: { functionName: t.functionNameFk } }) : t._e(), a("gd-edit-form", { ref: "editForm", attrs: { formItemWidth: "90%", loading: t.formLoading, transKey: t.transKey, buttons: t.formButtons, columns: t.getFormColumns, labelPosition: t.labelPosition, formMode: t.formMode, translationType: t.translationType, inline: !0, duplicate: !0, width: "1000px", labelWidth: "150px", needLoad: !0 }, on: { sbumit: t.sbumit }, scopedSlots: t._u([{ key: "busname", fn: function({ data: r, column: o, record: l }) {
|
|
126359
126666
|
return [a("el-input", { directives: [{ name: "show", rawName: "v-show", value: !l, expression: "!record" }], attrs: { disabled: o.disabled, placeholder: t.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165") }, model: { value: r[o.prop], callback: function(d) {
|
|
126360
126667
|
t.$set(r, o.prop, d);
|
|
126361
126668
|
}, expression: "data[column.prop]" } }), l ? a("gd-translation", { ref: "gdTranslation", attrs: { recordData: r, name: "busname", type: 2 }, on: { lookupSeled: (d) => t.lookupSeled(d, r, o) } }) : t._e()];
|
|
126669
|
+
} }, { key: "virtualTable", fn: function({ data: r, column: o }) {
|
|
126670
|
+
return [a("el-switch", { attrs: { "active-color": t.primaryColor, disabled: o.disabled }, on: { change: t.changeVirtual }, model: { value: r[o.prop], callback: function(l) {
|
|
126671
|
+
t.$set(r, o.prop, l);
|
|
126672
|
+
}, expression: "data[column.prop]" } })];
|
|
126673
|
+
} }, { key: "datasource", fn: function({ data: r, column: o }) {
|
|
126674
|
+
return [a("div", { staticClass: "cao_about" }, [a("el-select", { staticClass: "cao_input", attrs: { placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), filterable: "", remote: "", clearable: "", "reserve-keyword": "", loading: t.loading, "remote-method": t.searchDataSource }, on: { focus: function(l) {
|
|
126675
|
+
return t.fkSearch("datasource");
|
|
126676
|
+
} }, model: { value: r[o.prop], callback: function(l) {
|
|
126677
|
+
t.$set(r, o.prop, l);
|
|
126678
|
+
}, expression: "data[column.prop]" } }, [t._l(t.datasourceList, function(l) {
|
|
126679
|
+
return [a("el-option", { attrs: { label: l.name, value: l.id } })];
|
|
126680
|
+
})], 2), a("div", { staticClass: "cao_setting" }, [a("i", { staticClass: "el-input__icon el-icon-search", on: { click: function(l) {
|
|
126681
|
+
return t.lookup(r, o);
|
|
126682
|
+
} } })])], 1)];
|
|
126362
126683
|
} }, { key: "viewWeb", fn: function({ data: r, column: o }) {
|
|
126363
126684
|
return [a("el-select", { staticStyle: { width: "100%" }, attrs: { placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), filterable: "", remote: "", clearable: "", "reserve-keyword": "", loading: t.loading, "remote-method": t.searchViewWeb }, on: { focus: function(l) {
|
|
126364
126685
|
return t.fkSearch("views");
|
|
@@ -126375,14 +126696,14 @@ var _sfc_render$O = function s() {
|
|
|
126375
126696
|
}, expression: "data[column.prop]" } }, [t._l(t.formWebList, function(l) {
|
|
126376
126697
|
return [a("el-option", { attrs: { label: l.displayName, value: l.name } })];
|
|
126377
126698
|
})], 2)];
|
|
126378
|
-
} }]) })], 1);
|
|
126699
|
+
} }]) }), a("gd-search", { ref: "viewSearch", attrs: { appendToBody: !0 }, on: { lookupSeled: t.lookupSeledfk } })], 1);
|
|
126379
126700
|
}, _sfc_staticRenderFns$O = [], __component__$O = /* @__PURE__ */ normalizeComponent(
|
|
126380
126701
|
_sfc_main$O,
|
|
126381
126702
|
_sfc_render$O,
|
|
126382
126703
|
_sfc_staticRenderFns$O,
|
|
126383
126704
|
!1,
|
|
126384
126705
|
null,
|
|
126385
|
-
"
|
|
126706
|
+
"98923686",
|
|
126386
126707
|
null,
|
|
126387
126708
|
null
|
|
126388
126709
|
);
|
|
@@ -129003,6 +129324,77 @@ const mixins$6 = {
|
|
|
129003
129324
|
permission: "sysDictData:changeStatus",
|
|
129004
129325
|
remark: ""
|
|
129005
129326
|
}]
|
|
129327
|
+
},
|
|
129328
|
+
{
|
|
129329
|
+
name: "\u6570\u636E\u6E90",
|
|
129330
|
+
transKey: null,
|
|
129331
|
+
component: "GdPageBuild",
|
|
129332
|
+
code: "gdsys_data_source",
|
|
129333
|
+
router: "dataSource",
|
|
129334
|
+
icon: "gd-icon-xitong",
|
|
129335
|
+
url: "",
|
|
129336
|
+
viewWeights: "1",
|
|
129337
|
+
weight: "2",
|
|
129338
|
+
sort: 100,
|
|
129339
|
+
visible: "Y",
|
|
129340
|
+
remark: "",
|
|
129341
|
+
pageContent: {
|
|
129342
|
+
type: "sysComponents",
|
|
129343
|
+
key: "",
|
|
129344
|
+
label: "\u8868\u5B9A\u4E49",
|
|
129345
|
+
icon: "gd-icon-xitong",
|
|
129346
|
+
transKey: null,
|
|
129347
|
+
component: "GdDataSource",
|
|
129348
|
+
options: {},
|
|
129349
|
+
css: {},
|
|
129350
|
+
defined: {
|
|
129351
|
+
pc: {},
|
|
129352
|
+
mobile: {}
|
|
129353
|
+
}
|
|
129354
|
+
},
|
|
129355
|
+
list: [{
|
|
129356
|
+
name: "\u65B0\u589E",
|
|
129357
|
+
transKey: null,
|
|
129358
|
+
component: "",
|
|
129359
|
+
code: "gdsys_data_source_add",
|
|
129360
|
+
router: "",
|
|
129361
|
+
icon: "",
|
|
129362
|
+
url: "",
|
|
129363
|
+
viewWeights: "1",
|
|
129364
|
+
weight: "2",
|
|
129365
|
+
sort: 101,
|
|
129366
|
+
visible: "Y",
|
|
129367
|
+
permission: "sysDataSource:add",
|
|
129368
|
+
remark: ""
|
|
129369
|
+
}, {
|
|
129370
|
+
name: "\u7F16\u8F91",
|
|
129371
|
+
transKey: null,
|
|
129372
|
+
component: "",
|
|
129373
|
+
code: "gdsys_data_source_edit",
|
|
129374
|
+
router: "",
|
|
129375
|
+
icon: "",
|
|
129376
|
+
url: "",
|
|
129377
|
+
viewWeights: "1",
|
|
129378
|
+
weight: "2",
|
|
129379
|
+
sort: 102,
|
|
129380
|
+
visible: "Y",
|
|
129381
|
+
permission: "sysDataSource:edit",
|
|
129382
|
+
remark: ""
|
|
129383
|
+
}, {
|
|
129384
|
+
name: "\u5220\u9664",
|
|
129385
|
+
transKey: null,
|
|
129386
|
+
component: "",
|
|
129387
|
+
code: "gdsys_data_source_delete",
|
|
129388
|
+
router: "",
|
|
129389
|
+
icon: "",
|
|
129390
|
+
url: "",
|
|
129391
|
+
viewWeights: "1",
|
|
129392
|
+
weight: "2",
|
|
129393
|
+
sort: 103,
|
|
129394
|
+
visible: "Y",
|
|
129395
|
+
permission: "sysDataSource:delete",
|
|
129396
|
+
remark: ""
|
|
129397
|
+
}]
|
|
129006
129398
|
}
|
|
129007
129399
|
]
|
|
129008
129400
|
}], flowsItems = [{
|
|
@@ -136899,7 +137291,7 @@ var _sfc_render$k = function s() {
|
|
|
136899
137291
|
null,
|
|
136900
137292
|
null
|
|
136901
137293
|
);
|
|
136902
|
-
const ViewCharts = __component__$k.exports,
|
|
137294
|
+
const ViewCharts = __component__$k.exports, main_vue_vue_type_style_index_0_scoped_a0dcc514_lang = "", _sfc_main$j = {
|
|
136903
137295
|
name: "GdViewBuildDesigner",
|
|
136904
137296
|
props: {
|
|
136905
137297
|
record: {
|
|
@@ -136964,7 +137356,8 @@ const ViewCharts = __component__$k.exports, main_vue_vue_type_style_index_0_scop
|
|
|
136964
137356
|
r = a.data.rows.filter((l) => l.id !== null);
|
|
136965
137357
|
const o = a.data.rows.filter((l) => l.id === null)[0];
|
|
136966
137358
|
this.summaryData = o || {}, this.showSummary = !!o, this.$emit("changeData", r), this.$refs.charts && this.$refs.charts.setLoadData(r);
|
|
136967
|
-
}
|
|
137359
|
+
} else
|
|
137360
|
+
this.$message.error(a.message);
|
|
136968
137361
|
return Object.assign(a.data, {
|
|
136969
137362
|
rows: r
|
|
136970
137363
|
});
|
|
@@ -137008,6 +137401,14 @@ const ViewCharts = __component__$k.exports, main_vue_vue_type_style_index_0_scop
|
|
|
137008
137401
|
ViewCharts
|
|
137009
137402
|
},
|
|
137010
137403
|
computed: {
|
|
137404
|
+
rowKey() {
|
|
137405
|
+
let s = "id";
|
|
137406
|
+
if (this.tableData.isvirtualtable === 1) {
|
|
137407
|
+
const a = this.fieldData.filter((r) => r.isprimarykey === 1)[0];
|
|
137408
|
+
s = a ? a.columnname : s;
|
|
137409
|
+
}
|
|
137410
|
+
return s;
|
|
137411
|
+
},
|
|
137011
137412
|
disabledRefresh() {
|
|
137012
137413
|
return this.openMode != 3 ? !1 : this.foreign.fkValue === "";
|
|
137013
137414
|
},
|
|
@@ -137220,15 +137621,25 @@ const ViewCharts = __component__$k.exports, main_vue_vue_type_style_index_0_scop
|
|
|
137220
137621
|
}) : this.changeQuickViewOk(s);
|
|
137221
137622
|
},
|
|
137222
137623
|
changeQuickViewOk(s) {
|
|
137223
|
-
|
|
137224
|
-
|
|
137225
|
-
|
|
137226
|
-
|
|
137624
|
+
if (this.statu)
|
|
137625
|
+
return;
|
|
137626
|
+
if (this.statu = !0, setTimeout(() => {
|
|
137627
|
+
this.statu = !1;
|
|
137628
|
+
}, 1e3), this.openMode == 3) {
|
|
137629
|
+
this.open({
|
|
137630
|
+
title: this.$i18nt("gd.common.https.edit", "\u7F16\u8F91"),
|
|
137631
|
+
data: s
|
|
137632
|
+
});
|
|
137633
|
+
return;
|
|
137634
|
+
}
|
|
137635
|
+
if (this.tableData.isvirtualtable === 1) {
|
|
137636
|
+
this.open(Object.assign({ title: this.$i18nt("gd.common.https.edit", "\u7F16\u8F91") }, { ...s }));
|
|
137637
|
+
return;
|
|
137638
|
+
}
|
|
137639
|
+
this.open({
|
|
137227
137640
|
title: this.$i18nt("gd.common.https.edit", "\u7F16\u8F91"),
|
|
137228
137641
|
id: s.id
|
|
137229
|
-
})
|
|
137230
|
-
this.statu = !1;
|
|
137231
|
-
}, 1e3));
|
|
137642
|
+
});
|
|
137232
137643
|
},
|
|
137233
137644
|
operatorScope(s, t) {
|
|
137234
137645
|
const a = s.sourceFk !== void 0 ? s.sourceFk : !(s.fieldType != "fk" && s.fieldType != "about" && s.fieldType != "user");
|
|
@@ -137828,14 +138239,14 @@ const ViewCharts = __component__$k.exports, main_vue_vue_type_style_index_0_scop
|
|
|
137828
138239
|
};
|
|
137829
138240
|
var _sfc_render$j = function s() {
|
|
137830
138241
|
var t = this, a = t._self._c;
|
|
137831
|
-
return a("div", [a("div", { staticClass: "gd-base-flex-body" }, [a("div", { staticClass: "main-tree" }, [t.laoding && t.viewRecord.viewtree != "{}" ? a("gd-view-tree-left", { ref: "viewTree", attrs: { queryParam: t.queryParam, viewRecord: t.viewRecord, openMode: t.openMode, height: t.hig, record: t.record }, on: { change: t.changeViewTree } }) : t._e()], 1), a("div", { staticClass: "gd-table-box-header", style: t.viewRecord.viewtree != "{}" ? "padding-left:12px;" : "padding-left:0px;" }, [a("gd-tables", { ref: "table", attrs: { dataSource: t.loadData, size: t.tableSized, pageSize: t.tablePageSize, columns: t.columns, selectedRowKeys: t.selectedRowKeys, selectedKeep: t.selectedKeep, height: t.openMode == 3 ? 0 : t.hig, maxHeight: t.hig, filtering: t.tableQueries.length > 0, initialLoading: !1, showSummary: t.showSummary, amount: t.amount, disabledRowId: t.disabledRowId, isGather: t.openMode == 1, pageSizes: t.paginationPageSize, disabledRefresh: t.disabledRefresh }, on: { onChange: t.onSelectChange, columnChange: t.columnChange, baseSeecharts: t.baseSeecharts }, scopedSlots: t._u([{ key: "operator", fn: function() {
|
|
138242
|
+
return a("div", [a("div", { staticClass: "gd-base-flex-body" }, [a("div", { staticClass: "main-tree" }, [t.laoding && t.viewRecord.viewtree != "{}" ? a("gd-view-tree-left", { ref: "viewTree", attrs: { queryParam: t.queryParam, viewRecord: t.viewRecord, openMode: t.openMode, height: t.hig, record: t.record }, on: { change: t.changeViewTree } }) : t._e()], 1), a("div", { staticClass: "gd-table-box-header", style: t.viewRecord.viewtree != "{}" ? "padding-left:12px;" : "padding-left:0px;" }, [a("gd-tables", { ref: "table", attrs: { dataSource: t.loadData, size: t.tableSized, pageSize: t.tablePageSize, columns: t.columns, selectedRowKeys: t.selectedRowKeys, selectedKeep: t.selectedKeep, height: t.openMode == 3 ? 0 : t.hig, maxHeight: t.hig, filtering: t.tableQueries.length > 0, initialLoading: !1, showSummary: t.showSummary, amount: t.amount, disabledRowId: t.disabledRowId, isGather: t.openMode == 1, pageSizes: t.paginationPageSize, disabledRefresh: t.disabledRefresh, rowKey: t.rowKey }, on: { onChange: t.onSelectChange, columnChange: t.columnChange, baseSeecharts: t.baseSeecharts }, scopedSlots: t._u([{ key: "operator", fn: function() {
|
|
137832
138243
|
return [t.laoding ? a("ViewSelection", { attrs: { record: t.record, sysViewButtons: t.sysViewButtons, sysViewList: t.sysViewList, personalViewList: t.personalViewList, viewCode: t.viewCode, defaultViewId: t.defaultViewId, tableData: t.tableData, selectedRowKeys: t.selectedRowKeys, openMode: t.openMode, maxBtnLength: t.options.maxBtnLength, fieldData: t.fieldData }, on: { functionName: t.doEvent, handleMenuClick: t.handleMenuClick, baseSetDefaultView: t.baseSetDefaultView, updatePersonalView: t.baseUpdatePersonalView } }) : t._e()];
|
|
137833
138244
|
}, proxy: !0 }, t._l(t.getColumnsed, function(r) {
|
|
137834
138245
|
return { key: r.prop, fn: function({ column: o, row: l }) {
|
|
137835
138246
|
return [a("ChildRenItem", { attrs: { item: r, row: l, getFristColumn: t.getFristColumn }, on: { operatorScope: t.operatorScope, baseQuickForm: t.baseQuickForm, showFile: t.showFile, showImg: t.showImg, preview: t.preview } })];
|
|
137836
138247
|
} };
|
|
137837
|
-
}), { key: "filtering", fn: function({ colse: r, visible: o }) {
|
|
137838
|
-
return [a("gd-table-queries-field", { ref: "queriesField", attrs: { columns: t.tableQueries, height: t.hig, queryParam: t.queryParam, colse: r, visible: o, openMode: t.openMode, recordRelation: t.record, viewRecord: t.viewRecord, openRules: !0 }, on: { save: t.queriesRefresh, hideQueryParam: t.hideQueryParam } })];
|
|
138248
|
+
}), { key: "filtering", fn: function({ colse: r, visible: o, changeTrigger: l }) {
|
|
138249
|
+
return [a("gd-table-queries-field", { ref: "queriesField", attrs: { columns: t.tableQueries, height: t.hig, queryParam: t.queryParam, colse: r, visible: o, openMode: t.openMode, recordRelation: t.record, viewRecord: t.viewRecord, openRules: !0, changeTrigger: l }, on: { save: t.queriesRefresh, hideQueryParam: t.hideQueryParam } })];
|
|
137839
138250
|
} }], null, !0) })], 1)]), a("ImgPreview", { ref: "imgPreview", attrs: { filePreviewShow: t.imgList.length > 0, imgList: t.imgList, currentImg: t.currentImg } }), a("gd-file-preview", { ref: "filePreview", attrs: { options: t.fileOptions } }), a("XlsxImport", { ref: "xlsxImport", attrs: { entityName: t.tableData.tableName, tableData: t.tableData }, on: { ok: t.refresh } }), a("XlsxExport", { ref: "xlsxExport", attrs: { entityId: t.tableData.id, queryParam: t.queryParam, tableData: t.tableData } }), a("TeamSharing", { ref: "teamSharing", attrs: { tableData: t.tableData }, on: { ok: t.refresh } }), a("BatchUpdate", { ref: "batchUpdate", attrs: { tableData: t.tableData, queryTable: t.queryTable, columns: t.columns, fieldData: t.fieldData, viewCode: t.viewCode }, on: { ok: t.refresh } }), a("DataAssign", { ref: "dataAssign", attrs: { tableData: t.tableData } }), a("ViewCharts", { ref: "charts", attrs: { tableData: t.tableData, fieldData: t.fieldData }, on: { setLoadData: t.setLoadData } }), a("gd-middleware", { ref: "middleware", on: { ok: t.refresh } }), t._l(t.componentList, function(r, o) {
|
|
137840
138251
|
return [a(r.componentItem, { key: o, ref: r.ref, refInFor: !0, tag: "component", attrs: { record: r, openMode: t.openMode, tableData: t.tableData }, on: { change: (l) => t.doEventComponent(l, r) } })];
|
|
137841
138252
|
})], 2);
|
|
@@ -137845,7 +138256,7 @@ var _sfc_render$j = function s() {
|
|
|
137845
138256
|
_sfc_staticRenderFns$j,
|
|
137846
138257
|
!1,
|
|
137847
138258
|
null,
|
|
137848
|
-
"
|
|
138259
|
+
"a0dcc514",
|
|
137849
138260
|
null,
|
|
137850
138261
|
null
|
|
137851
138262
|
);
|
|
@@ -140171,7 +140582,7 @@ var _sfc_render$9 = function s() {
|
|
|
140171
140582
|
null,
|
|
140172
140583
|
null
|
|
140173
140584
|
);
|
|
140174
|
-
const plateTemp = __component__$9.exports,
|
|
140585
|
+
const plateTemp = __component__$9.exports, editForm_vue_vue_type_style_index_0_scoped_c5fb9e1c_lang = "", _sfc_main$8 = {
|
|
140175
140586
|
data() {
|
|
140176
140587
|
return {
|
|
140177
140588
|
fullscreen: !1,
|
|
@@ -140241,7 +140652,7 @@ const plateTemp = __component__$9.exports, editForm_vue_vue_type_style_index_0_s
|
|
|
140241
140652
|
lookup(s) {
|
|
140242
140653
|
let t = s, a = {
|
|
140243
140654
|
effectType: "fk",
|
|
140244
|
-
fkEntityName: "
|
|
140655
|
+
fkEntityName: "SysMsgTemplateLibrary",
|
|
140245
140656
|
val: t || []
|
|
140246
140657
|
};
|
|
140247
140658
|
this.$refs.msgSearch.open(a);
|
|
@@ -140383,7 +140794,7 @@ var _sfc_render$8 = function s() {
|
|
|
140383
140794
|
_sfc_staticRenderFns$8,
|
|
140384
140795
|
!1,
|
|
140385
140796
|
null,
|
|
140386
|
-
"
|
|
140797
|
+
"c5fb9e1c",
|
|
140387
140798
|
null,
|
|
140388
140799
|
null
|
|
140389
140800
|
);
|