gds-plus-design-vue 1.1.36 → 1.1.38
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 +97 -15
- package/lib/gd-initial.umd.js +12 -12
- package/lib/{index.ca6180b4.mjs → index.261e13fe.mjs} +419 -182
- package/lib/{main.d23ad4e2.mjs → main.34b6a2eb.mjs} +1 -1
- package/lib/style.css +2 -2
- package/locale/en_US.js +4 -1
- package/locale/id_ID.js +4 -1
- package/locale/vi_VN.js +4 -1
- package/locale/zh_CN.js +4 -1
- 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.34b6a2eb.mjs"),
|
|
634
634
|
meta: {
|
|
635
635
|
title: "\u767B\u5F55",
|
|
636
636
|
transKey: "gd.login.title"
|
|
@@ -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_2bfcfb8c_lang = "";
|
|
4299
4299
|
var outTime = null;
|
|
4300
4300
|
const _sfc_main$5W = {
|
|
4301
4301
|
name: "GdSideNavMenu",
|
|
@@ -4461,7 +4461,7 @@ var _sfc_render$5W = function() {
|
|
|
4461
4461
|
})], 2) : a("div", { staticClass: "gd-app" }, [t._l(t.defMenus, function(r, o) {
|
|
4462
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) {
|
|
4463
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) {
|
|
4464
|
-
return [a("el-menu-item", { attrs: { index: u.key, title: t.$i18nt(`Dynamics.${u.transkey}`, u.
|
|
4464
|
+
return [a("el-menu-item", { attrs: { index: u.key, title: t.$i18nt(`Dynamics.${u.transkey}`, u.meta.title) } }, [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.meta.title)))])])], 2)];
|
|
4465
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
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
4467
|
})], 2)], 1), a("SidebarMenus", { ref: "sMenu", attrs: { collapsed: t.sidebar, menus: t.defMenus, activeKey: t.activeKey }, on: { goPath: t.goPath, close: function(r) {
|
|
@@ -4473,7 +4473,7 @@ var _sfc_render$5W = function() {
|
|
|
4473
4473
|
_sfc_staticRenderFns$5W,
|
|
4474
4474
|
!1,
|
|
4475
4475
|
null,
|
|
4476
|
-
"
|
|
4476
|
+
"2bfcfb8c",
|
|
4477
4477
|
null,
|
|
4478
4478
|
null
|
|
4479
4479
|
);
|
|
@@ -5400,7 +5400,7 @@ var _sfc_render$5T = function() {
|
|
|
5400
5400
|
null,
|
|
5401
5401
|
null
|
|
5402
5402
|
);
|
|
5403
|
-
const FieldMapping = __component__$5T.exports,
|
|
5403
|
+
const FieldMapping = __component__$5T.exports, main_vue_vue_type_style_index_0_scoped_dee02d38_lang = "", _sfc_main$5S = {
|
|
5404
5404
|
name: "GdXlsxImport",
|
|
5405
5405
|
props: {
|
|
5406
5406
|
tableData: {
|
|
@@ -5457,6 +5457,7 @@ const FieldMapping = __component__$5T.exports, main_vue_vue_type_style_index_0_s
|
|
|
5457
5457
|
},
|
|
5458
5458
|
excelData: [],
|
|
5459
5459
|
loading: !1,
|
|
5460
|
+
autoInputOver: !1,
|
|
5460
5461
|
serviceData: [],
|
|
5461
5462
|
fileId: 0,
|
|
5462
5463
|
loadData: [],
|
|
@@ -5464,9 +5465,9 @@ const FieldMapping = __component__$5T.exports, main_vue_vue_type_style_index_0_s
|
|
|
5464
5465
|
excelImportData: [],
|
|
5465
5466
|
selItem: {},
|
|
5466
5467
|
loadSoData: (s) => new Promise((t, a) => {
|
|
5467
|
-
|
|
5468
|
-
t({ pageNo: 1, pageSize: 200, totalRows: 0, rows: this.loadData });
|
|
5469
|
-
},
|
|
5468
|
+
setTimeout(() => {
|
|
5469
|
+
this.confirmLoading = !1, t({ pageNo: 1, pageSize: 200, totalRows: 0, rows: this.loadData });
|
|
5470
|
+
}, 200);
|
|
5470
5471
|
}),
|
|
5471
5472
|
columns: [
|
|
5472
5473
|
{
|
|
@@ -5714,8 +5715,8 @@ const FieldMapping = __component__$5T.exports, main_vue_vue_type_style_index_0_s
|
|
|
5714
5715
|
const o = this.isCheckedName(s, a.langs);
|
|
5715
5716
|
let l = null;
|
|
5716
5717
|
o && (l = this.autoInputData(o, a, r)), l && t.push(l);
|
|
5717
|
-
}), this.
|
|
5718
|
-
setTimeout(() => {
|
|
5718
|
+
}), this.autoInputOver = !0, this.$nextTick(() => {
|
|
5719
|
+
this.refresh(), setTimeout(() => {
|
|
5719
5720
|
t.forEach((a) => {
|
|
5720
5721
|
this.getFk(a.ele, a.tableidx, a.statu);
|
|
5721
5722
|
});
|
|
@@ -5787,7 +5788,11 @@ const FieldMapping = __component__$5T.exports, main_vue_vue_type_style_index_0_s
|
|
|
5787
5788
|
t.map((a) => (a.checkzd = "", a)), this.loadData = [...t], this.getEntutityConfig();
|
|
5788
5789
|
},
|
|
5789
5790
|
getEntutityConfig(s) {
|
|
5790
|
-
this.ruleFormData.entityValue
|
|
5791
|
+
if (this.ruleFormData.entityValue === "") {
|
|
5792
|
+
this.autoInputOver = !0;
|
|
5793
|
+
return;
|
|
5794
|
+
}
|
|
5795
|
+
sysCodeGenerateConfigList({
|
|
5791
5796
|
codeGenId: this.ruleFormData.entityValue
|
|
5792
5797
|
}).then((t) => {
|
|
5793
5798
|
if (t.code === 200) {
|
|
@@ -5798,7 +5803,7 @@ const FieldMapping = __component__$5T.exports, main_vue_vue_type_style_index_0_s
|
|
|
5798
5803
|
});
|
|
5799
5804
|
},
|
|
5800
5805
|
checkFile() {
|
|
5801
|
-
this.confirmLoading || this.$excelAction.importExcel((s, t, a, r, o) => {
|
|
5806
|
+
this.confirmLoading || (this.autoInputOver = !1, this.$excelAction.importExcel((s, t, a, r, o) => {
|
|
5802
5807
|
this.confirmLoading = !0;
|
|
5803
5808
|
let l = [];
|
|
5804
5809
|
this.excelFielData = {
|
|
@@ -5835,15 +5840,15 @@ const FieldMapping = __component__$5T.exports, main_vue_vue_type_style_index_0_s
|
|
|
5835
5840
|
}), this.excelImportData = [...u], this.loadData = l.filter((h) => d.includes(h.importName) ? !1 : h.show).map((h, p) => (h.ind = p, h)), s.shift(), this.excelData = s;
|
|
5836
5841
|
let f = new FormData();
|
|
5837
5842
|
this.getEntutityConfig(), f.append("file", o[0]), sysFileUpload(f).then((h) => {
|
|
5838
|
-
if (
|
|
5843
|
+
if (!h.success) {
|
|
5839
5844
|
this.$message.error(this.$i18nt("gd.https.uploadFail", "\u6587\u4EF6\u4E0A\u4F20\u5931\u8D25!"));
|
|
5840
5845
|
return;
|
|
5841
5846
|
}
|
|
5842
|
-
this.fileId = h.data;
|
|
5847
|
+
this.confirmLoading = this.autoInputOver ? !1 : this.confirmLoading, this.fileId = h.data;
|
|
5843
5848
|
const p = document.getElementById("file");
|
|
5844
5849
|
p && p.remove();
|
|
5845
5850
|
});
|
|
5846
|
-
});
|
|
5851
|
+
}));
|
|
5847
5852
|
},
|
|
5848
5853
|
open() {
|
|
5849
5854
|
this.fullscreen = !1, this.visible = !0, this.serviceData = [], this.searchData(""), this.excelFielData = {
|
|
@@ -5871,22 +5876,22 @@ const FieldMapping = __component__$5T.exports, main_vue_vue_type_style_index_0_s
|
|
|
5871
5876
|
}
|
|
5872
5877
|
});
|
|
5873
5878
|
},
|
|
5874
|
-
getLangs(s) {
|
|
5875
|
-
const
|
|
5876
|
-
let
|
|
5879
|
+
getLangs(s, t) {
|
|
5880
|
+
const a = this.$i18n.messages;
|
|
5881
|
+
let r = [
|
|
5877
5882
|
{
|
|
5878
5883
|
code: "default",
|
|
5879
|
-
val: s.columncomment,
|
|
5884
|
+
val: s.columncomment || s.name,
|
|
5880
5885
|
name: ""
|
|
5881
5886
|
}
|
|
5882
5887
|
];
|
|
5883
|
-
for (let
|
|
5884
|
-
|
|
5885
|
-
code:
|
|
5886
|
-
val: this.$i18n.t(`Dynamics.${s.transkey}`,
|
|
5888
|
+
for (let o in a)
|
|
5889
|
+
r.push({
|
|
5890
|
+
code: o,
|
|
5891
|
+
val: this.$i18n.t(`Dynamics.${s.transkey}`, o),
|
|
5887
5892
|
name: ""
|
|
5888
5893
|
});
|
|
5889
|
-
return
|
|
5894
|
+
return r;
|
|
5890
5895
|
},
|
|
5891
5896
|
dictionarysP(s, t) {
|
|
5892
5897
|
if (!s.dicttypecode)
|
|
@@ -5916,7 +5921,7 @@ const FieldMapping = __component__$5T.exports, main_vue_vue_type_style_index_0_s
|
|
|
5916
5921
|
hasDict(s, t) {
|
|
5917
5922
|
s.forEach((o, l) => {
|
|
5918
5923
|
let d = o.langs.filter((u) => u.val == t)[0];
|
|
5919
|
-
|
|
5924
|
+
o.hasName = !!d;
|
|
5920
5925
|
});
|
|
5921
5926
|
let a = s.filter((o) => o.hasName);
|
|
5922
5927
|
if (a[0] === void 0)
|
|
@@ -5988,7 +5993,7 @@ var _sfc_render$5S = function() {
|
|
|
5988
5993
|
_sfc_staticRenderFns$5S,
|
|
5989
5994
|
!1,
|
|
5990
5995
|
null,
|
|
5991
|
-
"
|
|
5996
|
+
"dee02d38",
|
|
5992
5997
|
null,
|
|
5993
5998
|
null
|
|
5994
5999
|
);
|
|
@@ -8341,7 +8346,7 @@ var dist$2 = { exports: {} };
|
|
|
8341
8346
|
}]);
|
|
8342
8347
|
});
|
|
8343
8348
|
})(dist$2);
|
|
8344
|
-
const
|
|
8349
|
+
const avatarModal_vue_vue_type_style_index_0_scoped_b476a8b6_lang = "", _sfc_main$5G = {
|
|
8345
8350
|
data() {
|
|
8346
8351
|
return {
|
|
8347
8352
|
width: "800px",
|
|
@@ -8443,16 +8448,16 @@ var _sfc_render$5G = function() {
|
|
|
8443
8448
|
return t.changeScale(1);
|
|
8444
8449
|
} } })], 1), a("el-col", { attrs: { lg: { span: 1, offset: 1 }, md: 2 } }, [a("el-button", { staticClass: "el-icon-minus", on: { click: function(r) {
|
|
8445
8450
|
return t.changeScale(-1);
|
|
8446
|
-
} } })], 1), a("el-col", { attrs: { lg: { span: 1, offset: 1 }, md: 2 } }, [a("el-button", { staticClass: "el-icon-refresh-left", on: { click: t.rotateLeft } })], 1), a("el-col", { attrs: { lg: { span: 1, offset: 1 }, md: 2 } }, [a("el-button", { staticClass: "el-icon-refresh-right", on: { click: t.rotateRight } })], 1), a("el-col", { attrs: { lg: { span: 2, offset: 6 }, md: 2 } }, [
|
|
8451
|
+
} } })], 1), a("el-col", { attrs: { lg: { span: 1, offset: 1 }, md: 2 } }, [a("el-button", { staticClass: "el-icon-refresh-left", on: { click: t.rotateLeft } })], 1), a("el-col", { attrs: { lg: { span: 1, offset: 1 }, md: 2 } }, [a("el-button", { staticClass: "el-icon-refresh-right", on: { click: t.rotateRight } })], 1), a("el-col", { attrs: { lg: { span: 2, offset: 6 }, md: 2 } }, [a("el-button", { attrs: { type: "primary", loading: t.uploading }, on: { click: function(r) {
|
|
8447
8452
|
return t.finish("blob");
|
|
8448
|
-
} } }, [t._v(" " + t._s(t.$i18nt("gd.btn.save")) + " ")])
|
|
8453
|
+
} } }, [t._v(" " + t._s(t.$i18nt("gd.btn.save")) + " ")])], 1)], 1)], 1)], 2);
|
|
8449
8454
|
}, _sfc_staticRenderFns$5G = [], __component__$5G = /* @__PURE__ */ normalizeComponent(
|
|
8450
8455
|
_sfc_main$5G,
|
|
8451
8456
|
_sfc_render$5G,
|
|
8452
8457
|
_sfc_staticRenderFns$5G,
|
|
8453
8458
|
!1,
|
|
8454
8459
|
null,
|
|
8455
|
-
"
|
|
8460
|
+
"b476a8b6",
|
|
8456
8461
|
null,
|
|
8457
8462
|
null
|
|
8458
8463
|
);
|
|
@@ -8478,7 +8483,7 @@ function sysTimezonePage(s) {
|
|
|
8478
8483
|
params: s
|
|
8479
8484
|
});
|
|
8480
8485
|
}
|
|
8481
|
-
const
|
|
8486
|
+
const main_vue_vue_type_style_index_0_scoped_d3ca8f12_lang = "", _sfc_main$5F = {
|
|
8482
8487
|
props: {
|
|
8483
8488
|
height: {
|
|
8484
8489
|
type: Number,
|
|
@@ -8643,7 +8648,7 @@ var _sfc_render$5F = function() {
|
|
|
8643
8648
|
t.$set(t.ruleForm, "timezoneId", r);
|
|
8644
8649
|
}, expression: "ruleForm.timezoneId" } }, t._l(t.timezoneData, function(r, o) {
|
|
8645
8650
|
return a("el-option", { key: o, attrs: { value: r.id, label: r.name } });
|
|
8646
|
-
}), 1)], 1), a("el-form-item", [
|
|
8651
|
+
}), 1)], 1), a("el-form-item", [a("el-button", { attrs: { type: "primary" }, on: { click: t.submitUserInfo } }, [t._v(" " + t._s(t.$i18nt("gd.account.updateInformation", "\u66F4\u65B0\u57FA\u672C\u4FE1\u606F")) + " ")])], 1)], 1)], 1), a("el-col", { style: { minHeight: "180px" }, attrs: { md: 24, lg: 8 } }, [a("div", { staticClass: "ant-upload-preview", on: { click: function(r) {
|
|
8647
8652
|
return t.$refs.modal.edit(t.userInfo.id);
|
|
8648
8653
|
} } }, [a("i", { staticClass: "el-icon-upload upload-icon" }), a("div", { staticClass: "mask" }, [a("i", { staticClass: "el-icon-plus" })]), a("img", { attrs: { src: t.option.img } })])])], 1), a("avatar-modal", { ref: "modal", on: { ok: t.setavatar } })], 1);
|
|
8649
8654
|
}, _sfc_staticRenderFns$5F = [], __component__$5F = /* @__PURE__ */ normalizeComponent(
|
|
@@ -8652,7 +8657,7 @@ var _sfc_render$5F = function() {
|
|
|
8652
8657
|
_sfc_staticRenderFns$5F,
|
|
8653
8658
|
!1,
|
|
8654
8659
|
null,
|
|
8655
|
-
"
|
|
8660
|
+
"d3ca8f12",
|
|
8656
8661
|
null,
|
|
8657
8662
|
null
|
|
8658
8663
|
);
|
|
@@ -9202,7 +9207,7 @@ var _sfc_render$5C = function() {
|
|
|
9202
9207
|
null,
|
|
9203
9208
|
null
|
|
9204
9209
|
);
|
|
9205
|
-
const weChatBind = __component__$5C.exports,
|
|
9210
|
+
const weChatBind = __component__$5C.exports, main_vue_vue_type_style_index_0_scoped_6ac33441_lang = "", _sfc_main$5B = {
|
|
9206
9211
|
name: "GdSecuritySettings",
|
|
9207
9212
|
components: {
|
|
9208
9213
|
UpdPwd,
|
|
@@ -9308,14 +9313,14 @@ const weChatBind = __component__$5C.exports, main_vue_vue_type_style_index_0_sco
|
|
|
9308
9313
|
};
|
|
9309
9314
|
var _sfc_render$5B = function() {
|
|
9310
9315
|
var t = this, a = t._self._c;
|
|
9311
|
-
return a("div", { staticStyle: { "padding-top": "12px" } }, [a("el-row", { attrs: { gutter: 20 } }, [a("el-col", { attrs: { span: 24 } }, [a("div", { staticClass: "grid-content bg-purple" }, [t._v(" " + t._s(t.$i18nt("gd.account.passWord", "\u8D26\u6237\u5BC6\u7801")) + " ")])])], 1), a("el-row", { staticStyle: { "margin-top": "6px" }, attrs: { gutter: 20 } }, [a("el-col", { attrs: { span: 8 } }, [a("div", { staticClass: "grid-content strength", staticStyle: { color: "rgba(0, 0, 0, .45)" } }, [t._v(" " + t._s(t.$i18nt("gd.account.strength", "\u5F53\u524D\u5BC6\u7801\u5F3A\u5EA6")) + ":" + t._s(t.$i18nt("gd.account.strong", "\u5F3A")) + " ")])]), a("el-col", { attrs: { span: 16 } }, [a("div", { staticClass: "grid-content paw grid-flex" }, [
|
|
9316
|
+
return a("div", { staticStyle: { "padding-top": "12px" } }, [a("el-row", { attrs: { gutter: 20 } }, [a("el-col", { attrs: { span: 24 } }, [a("div", { staticClass: "grid-content bg-purple" }, [t._v(" " + t._s(t.$i18nt("gd.account.passWord", "\u8D26\u6237\u5BC6\u7801")) + " ")])])], 1), a("el-row", { staticStyle: { "margin-top": "6px" }, attrs: { gutter: 20 } }, [a("el-col", { attrs: { span: 8 } }, [a("div", { staticClass: "grid-content strength", staticStyle: { color: "rgba(0, 0, 0, .45)" } }, [t._v(" " + t._s(t.$i18nt("gd.account.strength", "\u5F53\u524D\u5BC6\u7801\u5F3A\u5EA6")) + ":" + t._s(t.$i18nt("gd.account.strong", "\u5F3A")) + " ")])]), a("el-col", { attrs: { span: 16 } }, [a("div", { staticClass: "grid-content paw grid-flex" }, [a("span", { staticClass: "active-color", staticStyle: { cursor: "pointer" }, on: { click: t.updPwd } }, [t._v(" " + t._s(t.$i18nt("gd.account.changePaw", "\u4FEE\u6539\u5BC6\u7801")) + " ")])])])], 1), a("el-divider"), a("el-row", { attrs: { gutter: 20 } }, [a("el-col", { attrs: { span: 24 } }, [a("div", { staticClass: "grid-content bd", staticStyle: { color: "rgba(0, 0, 0, .45)" } }, [t._v(" " + t._s(t.$i18nt("gd.account.bindenterpriseWechat", "\u7ED1\u5B9A\u4F01\u4E1A\u5FAE\u4FE1")) + " ")])])], 1), a("el-row", { staticStyle: { "margin-top": "6px" }, attrs: { gutter: 20 } }, [a("el-col", { attrs: { span: 8 } }, [a("div", { staticClass: "grid-content state" }, [t._v(" " + t._s(t.$i18nt("gd.account.currentState", "\u5F53\u524D\u72B6\u6001")) + ":" + t._s(t.wxUserId == null || t.wxUserId == "" ? t.$i18nt("gd.state.no", "\u5426") : t.$i18nt("gd.state.yes", "\u662F")) + " ")])]), t.wxUserId == null || t.wxUserId == "" ? a("el-col", { attrs: { span: 16 } }, [a("div", { staticClass: "grid-content paw grid-flex" }, [a("span", { staticClass: "active-color", staticStyle: { cursor: "pointer" }, on: { click: t.bind } }, [t._v(t._s(t.$i18nt("gd.account.bind", "\u7ED1\u5B9A")))])])]) : t._e()], 1), a("upd-pwd", { ref: "updPwd", attrs: { isShow: t.isShow }, on: { bindCode: t.bindCode } }), a("weChatBind", { ref: "weChatBind", on: { bindCode: t.bindCode } })], 1);
|
|
9312
9317
|
}, _sfc_staticRenderFns$5B = [], __component__$5B = /* @__PURE__ */ normalizeComponent(
|
|
9313
9318
|
_sfc_main$5B,
|
|
9314
9319
|
_sfc_render$5B,
|
|
9315
9320
|
_sfc_staticRenderFns$5B,
|
|
9316
9321
|
!1,
|
|
9317
9322
|
null,
|
|
9318
|
-
"
|
|
9323
|
+
"6ac33441",
|
|
9319
9324
|
null,
|
|
9320
9325
|
null
|
|
9321
9326
|
);
|
|
@@ -9364,7 +9369,7 @@ const GDpackage$$ = __component__$5A.exports;
|
|
|
9364
9369
|
GDpackage$$.install = function(s) {
|
|
9365
9370
|
s.component(GDpackage$$.name, GDpackage$$);
|
|
9366
9371
|
};
|
|
9367
|
-
const
|
|
9372
|
+
const composeFilter_vue_vue_type_style_index_0_scoped_10e3c1b6_lang = "", _sfc_main$5z = {
|
|
9368
9373
|
name: "composeFilter",
|
|
9369
9374
|
props: {
|
|
9370
9375
|
record: {
|
|
@@ -9405,6 +9410,15 @@ const composeFilter_vue_vue_type_style_index_0_scoped_3b21a76f_lang = "", _sfc_m
|
|
|
9405
9410
|
};
|
|
9406
9411
|
},
|
|
9407
9412
|
computed: {
|
|
9413
|
+
hasTimePicker() {
|
|
9414
|
+
const s = this.record.fieldformat ? this.record.fieldformat : "yyyy-MM-dd";
|
|
9415
|
+
return ["hh:mm:ss", "hh:mm", "mm:ss"].includes(s);
|
|
9416
|
+
},
|
|
9417
|
+
pickerType() {
|
|
9418
|
+
const s = this.record.fieldformat ? this.record.fieldformat : "yyyy-MM-dd";
|
|
9419
|
+
let t = "date";
|
|
9420
|
+
return s === "yyyy-MM-dd hh:mm:ss" ? t = "datetime" : s === "yyyy-MM" ? t = "month" : s === "yyyy" && (t = "year"), t;
|
|
9421
|
+
},
|
|
9408
9422
|
precision() {
|
|
9409
9423
|
const s = this.loadData.filter((t) => t.id === this.record.columnid)[0];
|
|
9410
9424
|
return s ? s.effecttype === "inputnumber" ? 0 : s.filedsize : 0;
|
|
@@ -9579,9 +9593,11 @@ var _sfc_render$5z = function() {
|
|
|
9579
9593
|
t.$set(t.record, "value", r);
|
|
9580
9594
|
}, expression: "record.value" } }) : t.record.columntype == "datepicker" ? [t.getDatepickerShow === 3 ? a("el-input-number", { staticStyle: { width: "100%" }, attrs: { placeholder: t.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165"), step: 1, min: 1, max: 999, "controls-position": "right", disabled: t.choiceDisabled, clearable: "" }, model: { value: t.record.value, callback: function(r) {
|
|
9581
9595
|
t.$set(t.record, "value", r);
|
|
9582
|
-
}, expression: "record.value" } }) : t._e(), t.getDatepickerShow === 1 ? a("el-
|
|
9596
|
+
}, expression: "record.value" } }) : t._e(), t.getDatepickerShow === 1 ? [t.hasTimePicker ? a("el-time-picker", { staticStyle: { width: "100%" }, attrs: { "value-format": t.record.fieldformat, format: t.record.fieldformat, placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), disabled: t.choiceDisabled, clearable: "" }, model: { value: t.record.value, callback: function(r) {
|
|
9597
|
+
t.$set(t.record, "value", r);
|
|
9598
|
+
}, expression: "record.value" } }) : a("el-date-picker", { staticStyle: { width: "100%" }, attrs: { type: t.pickerType, "value-format": t.record.fieldformat, format: t.record.fieldformat, placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), disabled: t.choiceDisabled, clearable: "" }, model: { value: t.record.value, callback: function(r) {
|
|
9583
9599
|
t.$set(t.record, "value", r);
|
|
9584
|
-
}, expression: "record.value" } }) : t._e()] : ["fk", "about"].includes(t.record.columntype) ? [t.record.operators != 11 && t.record.operators != 12 ? a("div", { staticClass: "cao_about" }, [a("el-select", { directives: [{ name: "show", rawName: "v-show", value: t.record.operators != 3 && t.record.operators != 4, expression: "record.operators != 3 && record.operators != 4" }], staticStyle: { flex: "1", overflow: "hidden" }, attrs: { placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), "remote-method": t.searchData, loading: t.fetching, disabled: t.choiceDisabled, clearable: "", filterable: "", remote: "", "reserve-keyword": "" }, on: { change: t.selectData }, model: { value: t.record.value, callback: function(r) {
|
|
9600
|
+
}, expression: "record.value" } })] : t._e()] : ["fk", "about"].includes(t.record.columntype) ? [t.record.operators != 11 && t.record.operators != 12 ? a("div", { staticClass: "cao_about" }, [a("el-select", { directives: [{ name: "show", rawName: "v-show", value: t.record.operators != 3 && t.record.operators != 4, expression: "record.operators != 3 && record.operators != 4" }], staticStyle: { flex: "1", overflow: "hidden" }, attrs: { placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), "remote-method": t.searchData, loading: t.fetching, disabled: t.choiceDisabled, clearable: "", filterable: "", remote: "", "reserve-keyword": "" }, on: { change: t.selectData }, model: { value: t.record.value, callback: function(r) {
|
|
9585
9601
|
t.$set(t.record, "value", r);
|
|
9586
9602
|
}, expression: "record.value" } }, [t._l(t.fkData, function(r, o) {
|
|
9587
9603
|
return [a("el-option", { attrs: { value: r.id, label: t.$i18nt(`Dynamics.${r.transkey}`, r.name) } })];
|
|
@@ -9614,7 +9630,7 @@ var _sfc_render$5z = function() {
|
|
|
9614
9630
|
_sfc_staticRenderFns$5z,
|
|
9615
9631
|
!1,
|
|
9616
9632
|
null,
|
|
9617
|
-
"
|
|
9633
|
+
"10e3c1b6",
|
|
9618
9634
|
null,
|
|
9619
9635
|
null
|
|
9620
9636
|
);
|
|
@@ -20586,6 +20602,7 @@ const iconfont = "", index$1 = "", formMixins = {
|
|
|
20586
20602
|
},
|
|
20587
20603
|
data() {
|
|
20588
20604
|
return {
|
|
20605
|
+
statu: !1,
|
|
20589
20606
|
visible: !1,
|
|
20590
20607
|
id: "",
|
|
20591
20608
|
record: null,
|
|
@@ -20606,6 +20623,14 @@ const iconfont = "", index$1 = "", formMixins = {
|
|
|
20606
20623
|
}
|
|
20607
20624
|
},
|
|
20608
20625
|
methods: {
|
|
20626
|
+
showLoading() {
|
|
20627
|
+
this.statu = !0, this.$refs.form.showLoading();
|
|
20628
|
+
},
|
|
20629
|
+
hideLoading(s = 1500) {
|
|
20630
|
+
this.$refs.form.hideLoading(s), setTimeout(() => {
|
|
20631
|
+
this.statu = !1;
|
|
20632
|
+
}, s);
|
|
20633
|
+
},
|
|
20609
20634
|
save(s) {
|
|
20610
20635
|
this.id === "" ? this.baseAdd() : this.baseEdit();
|
|
20611
20636
|
},
|
|
@@ -20621,6 +20646,9 @@ const iconfont = "", index$1 = "", formMixins = {
|
|
|
20621
20646
|
assign() {
|
|
20622
20647
|
this.baseAssign();
|
|
20623
20648
|
},
|
|
20649
|
+
teamSharing() {
|
|
20650
|
+
this.baseTeamSharing();
|
|
20651
|
+
},
|
|
20624
20652
|
setFormRecord(s) {
|
|
20625
20653
|
return this.$refs.form.baseCustomComponents(this.componentList), this.$refs.form.setFormRecord(s).then((t) => (this.formRecordSource = t.formRecordSource, this.formData = t.formData, this.allField = t.allField, this.sysViewButtons = t.sysViewButtons, !0));
|
|
20626
20654
|
},
|
|
@@ -20671,6 +20699,9 @@ const iconfont = "", index$1 = "", formMixins = {
|
|
|
20671
20699
|
baseAssign() {
|
|
20672
20700
|
this.$refs.form.baseAssign();
|
|
20673
20701
|
},
|
|
20702
|
+
baseTeamSharing() {
|
|
20703
|
+
this.$refs.form.baseTeamSharing();
|
|
20704
|
+
},
|
|
20674
20705
|
baseSetError(s) {
|
|
20675
20706
|
this.$refs.form.baseSetError(s);
|
|
20676
20707
|
},
|
|
@@ -20740,7 +20771,7 @@ const iconfont = "", index$1 = "", formMixins = {
|
|
|
20740
20771
|
console.log("\u8BF7\u5B9A\u4E49 " + t + " \u65B9\u6CD5");
|
|
20741
20772
|
return;
|
|
20742
20773
|
}
|
|
20743
|
-
this[t] && this[t](a);
|
|
20774
|
+
this.showLoading(), this[t] && this[t](a), this.hideLoading();
|
|
20744
20775
|
}
|
|
20745
20776
|
}
|
|
20746
20777
|
}, viewMixins = {
|
|
@@ -20772,6 +20803,7 @@ const iconfont = "", index$1 = "", formMixins = {
|
|
|
20772
20803
|
},
|
|
20773
20804
|
data() {
|
|
20774
20805
|
return {
|
|
20806
|
+
statu: !1,
|
|
20775
20807
|
viewRecord: {},
|
|
20776
20808
|
formList: [],
|
|
20777
20809
|
tableData: {},
|
|
@@ -20810,6 +20842,14 @@ const iconfont = "", index$1 = "", formMixins = {
|
|
|
20810
20842
|
...mapGetters(["tableLists"])
|
|
20811
20843
|
},
|
|
20812
20844
|
methods: {
|
|
20845
|
+
showLoading() {
|
|
20846
|
+
this.statu = !0, this.$refs.table.showLoading();
|
|
20847
|
+
},
|
|
20848
|
+
hideLoading(s = 1500) {
|
|
20849
|
+
this.$refs.table.hideLoading(s), setTimeout(() => {
|
|
20850
|
+
this.statu = !1;
|
|
20851
|
+
}, s);
|
|
20852
|
+
},
|
|
20813
20853
|
add(s) {
|
|
20814
20854
|
this.baseAdd();
|
|
20815
20855
|
},
|
|
@@ -20886,9 +20926,11 @@ const iconfont = "", index$1 = "", formMixins = {
|
|
|
20886
20926
|
const a = this.options.table.tableName || this.options.table.tablename;
|
|
20887
20927
|
return t.tablename.toLowerCase() === a.toLowerCase();
|
|
20888
20928
|
})[0];
|
|
20889
|
-
return baseTableData({
|
|
20929
|
+
return s ? baseTableData({
|
|
20890
20930
|
tableId: s.id
|
|
20891
|
-
}).then((t) => (t.code === 200 ? (t.data.viewlist.map((a) => (a.mode = 1, a)), this.formList = t.data.formlist, this.tableData = t.data.table, this.sysViewList = t.data.viewlist) : this.$message.error(t.message), t))
|
|
20931
|
+
}).then((t) => (t.code === 200 ? (t.data.viewlist.map((a) => (a.mode = 1, a)), this.formList = t.data.formlist, this.tableData = t.data.table, this.sysViewList = t.data.viewlist) : this.$message.error(t.message), t)) : (console.log("\u6570\u636E\u9519\u8BEF,\u8868\u4E0D\u5B58\u5728"), new Promise((t, a) => {
|
|
20932
|
+
t({});
|
|
20933
|
+
}));
|
|
20892
20934
|
},
|
|
20893
20935
|
baseGetPersonalView(s) {
|
|
20894
20936
|
if (s && this.openMode != 1)
|
|
@@ -20908,11 +20950,13 @@ const iconfont = "", index$1 = "", formMixins = {
|
|
|
20908
20950
|
const a = this.options.table.tableName || this.options.table.tablename;
|
|
20909
20951
|
return t.tablename.toLowerCase() === a.toLowerCase();
|
|
20910
20952
|
})[0];
|
|
20911
|
-
return onlineFormGetCodeGenerateList({
|
|
20953
|
+
return s ? onlineFormGetCodeGenerateList({
|
|
20912
20954
|
codeGenId: s.id
|
|
20913
20955
|
}).then((t) => {
|
|
20914
20956
|
t.code === 200 && (this.fieldData = t.data, this.$emit("fieldData", t.data));
|
|
20915
|
-
})
|
|
20957
|
+
}) : (console.log("\u6570\u636E\u9519\u8BEF,\u8868\u4E0D\u5B58\u5728"), new Promise((t, a) => {
|
|
20958
|
+
t({});
|
|
20959
|
+
}));
|
|
20916
20960
|
},
|
|
20917
20961
|
baseAdd() {
|
|
20918
20962
|
this.$nextTick(() => {
|
|
@@ -21006,7 +21050,7 @@ const iconfont = "", index$1 = "", formMixins = {
|
|
|
21006
21050
|
console.log("\u8BF7\u5B9A\u4E49 " + t + " \u65B9\u6CD5");
|
|
21007
21051
|
return;
|
|
21008
21052
|
}
|
|
21009
|
-
this[t] && this[t](a);
|
|
21053
|
+
this.showLoading(), this[t] && this[t](a), this.hideLoading();
|
|
21010
21054
|
}
|
|
21011
21055
|
},
|
|
21012
21056
|
created() {
|
|
@@ -21231,7 +21275,7 @@ var _sfc_render$56 = function() {
|
|
|
21231
21275
|
null,
|
|
21232
21276
|
null
|
|
21233
21277
|
);
|
|
21234
|
-
const Column = __component__$56.exports,
|
|
21278
|
+
const Column = __component__$56.exports, main_vue_vue_type_style_index_0_scoped_fd92e483_lang = "", _sfc_main$55 = {
|
|
21235
21279
|
name: "GdTables",
|
|
21236
21280
|
props: Object.assign(
|
|
21237
21281
|
{},
|
|
@@ -21627,7 +21671,7 @@ const Column = __component__$56.exports, main_vue_vue_type_style_index_0_scoped_
|
|
|
21627
21671
|
this.columnsSetting = [...this.columns], this.$emit("columnChange", this.columnsSetting);
|
|
21628
21672
|
const t = this.columns.filter((a) => a.fixed);
|
|
21629
21673
|
this.frozenColumn = t.length, setTimeout(() => {
|
|
21630
|
-
this.$refs.columnSettings.init(), this.$refs.refTable.doLayout(), s(!0);
|
|
21674
|
+
this.$refs.columnSettings && this.$refs.columnSettings.init(), this.$refs.refTable && this.$refs.refTable.doLayout(), s(!0);
|
|
21631
21675
|
}, 0);
|
|
21632
21676
|
});
|
|
21633
21677
|
});
|
|
@@ -21774,7 +21818,7 @@ var _sfc_render$55 = function() {
|
|
|
21774
21818
|
_sfc_staticRenderFns$55,
|
|
21775
21819
|
!1,
|
|
21776
21820
|
null,
|
|
21777
|
-
"
|
|
21821
|
+
"fd92e483",
|
|
21778
21822
|
null,
|
|
21779
21823
|
null
|
|
21780
21824
|
);
|
|
@@ -23095,7 +23139,7 @@ const GDpackage$S = __component__$50.exports;
|
|
|
23095
23139
|
GDpackage$S.install = function(s) {
|
|
23096
23140
|
s.component(GDpackage$S.name, GDpackage$S);
|
|
23097
23141
|
};
|
|
23098
|
-
const
|
|
23142
|
+
const main_vue_vue_type_style_index_0_scoped_6a0ef9f3_lang = "", _sfc_main$4$ = {
|
|
23099
23143
|
name: "GdBtnList",
|
|
23100
23144
|
props: {
|
|
23101
23145
|
sysViewButtons: {
|
|
@@ -23157,7 +23201,7 @@ var _sfc_render$4$ = function() {
|
|
|
23157
23201
|
return t.functionName(r);
|
|
23158
23202
|
} } }, [a("i", { staticClass: "gd-icons", class: r.icon, staticStyle: { "font-size": "12px" } }), t._v(" " + t._s(t.$i18nt(r.transKey, r.displayName)) + " ")])], 2) : a("el-button", { class: r.btnType ? "" : "active-color", style: r.btnType ? "color:#ff4d4f;font-size: 13px;" : "font-size: 13px;", attrs: { type: "text" }, on: { click: function(l) {
|
|
23159
23203
|
return t.functionName(r);
|
|
23160
|
-
} } }, [a("i", { staticClass: "gd-icons", class: r.icon,
|
|
23204
|
+
} } }, [a("i", { staticClass: "gd-icons", class: r.icon, style: r.iconStyle ? r.iconStyle : "font-size: 12px" }), t._v(" " + t._s(t.$i18nt(r.transKey, r.displayName)) + " ")])] : [r.children && r.children.length > 0 ? a("el-dropdown", { attrs: { placement: "bottom" }, on: { command: t.command } }, [a("el-button", { staticStyle: { margin: "0 1px 0 0", padding: "6px 8px" }, attrs: { type: "primary" } }, [a("i", { staticClass: "gd-icons", class: r.icon, staticStyle: { "font-size": "12px" } }), t._v(" " + t._s(t.$i18nt(r.transKey, r.displayName)) + " "), a("i", { staticClass: "el-icon-arrow-down" })]), a("el-dropdown-menu", { style: { "--dilute": t.fadeColord }, attrs: { slot: "dropdown" }, slot: "dropdown" }, t._l(r.children, function(l) {
|
|
23161
23205
|
return a("el-dropdown-item", { key: l.key, attrs: { command: { item: r, key: l.key } } }, [a("i", { staticClass: "gd-icons", class: r.icon, staticStyle: { "font-size": "12px" } }), t._v(" " + t._s(t.$i18nt(l.transKey, l.displayName)) + " ")]);
|
|
23162
23206
|
}), 1)], 1) : r.btnType == "popconfirm" ? a("el-popconfirm", { attrs: { slot: "reference", "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(r.transKeyTip, r.tip) }, on: { confirm: function(l) {
|
|
23163
23207
|
return t.functionName(r);
|
|
@@ -23165,7 +23209,7 @@ var _sfc_render$4$ = function() {
|
|
|
23165
23209
|
return t.functionName(r);
|
|
23166
23210
|
} } }, [a("i", { staticClass: "gd-icons", class: r.icon, staticStyle: { "font-size": "12px" } }), t._v(" " + t._s(t.$i18nt(r.transKey, r.displayName)) + " ")])], 2) : a("el-button", { style: `margin: 0 1px 0 0; padding: 6px 8px;${t.styled}${r.style ? r.style : ""}`, attrs: { type: r.btnType || "primary" }, on: { click: function(l) {
|
|
23167
23211
|
return t.functionName(r);
|
|
23168
|
-
} } }, [a("i", { staticClass: "gd-icons", class: r.icon,
|
|
23212
|
+
} } }, [a("i", { staticClass: "gd-icons", class: r.icon, style: r.iconStyle ? r.iconStyle : "font-size: 12px" }), t._v(" " + t._s(t.$i18nt(r.transKey, r.displayName)) + " ")])]] : t._e()];
|
|
23169
23213
|
}), t.moreList.length > 0 ? a("el-dropdown", { attrs: { placement: "bottom" }, on: { command: t.command } }, [t.btnModed === "text" ? a("el-button", { staticClass: "active-color", staticStyle: { margin: "0 1px 0 0", padding: "6px 8px" }, attrs: { type: "text" } }, [a("i", { staticClass: "gd-icons el-icon-more", staticStyle: { "font-size": "12px" } })]) : a("el-button", { style: `margin: 0 1px 0 0; padding: 6px 8px;${t.styled}`, attrs: { type: "primary" } }, [a("i", { staticClass: "gd-icons el-icon-more", staticStyle: { "font-size": "12px" } })]), a("el-dropdown-menu", { style: { "--dilute": t.fadeColord, minWidth: "100px" }, attrs: { slot: "dropdown" }, slot: "dropdown" }, t._l(t.moreList, function(r) {
|
|
23170
23214
|
return a("el-dropdown-item", { key: r.key, attrs: { command: { item: r, key: null } } }, [a("i", { staticClass: "gd-icons", class: r.icon, staticStyle: { "font-size": "12px" } }), t._v(" " + t._s(t.$i18nt(r.transKey, r.displayName)) + " ")]);
|
|
23171
23215
|
}), 1)], 1) : t._e()], 2);
|
|
@@ -23175,7 +23219,7 @@ var _sfc_render$4$ = function() {
|
|
|
23175
23219
|
_sfc_staticRenderFns$4$,
|
|
23176
23220
|
!1,
|
|
23177
23221
|
null,
|
|
23178
|
-
"
|
|
23222
|
+
"6a0ef9f3",
|
|
23179
23223
|
null,
|
|
23180
23224
|
null
|
|
23181
23225
|
);
|
|
@@ -33184,7 +33228,7 @@ var _sfc_render$4N = function() {
|
|
|
33184
33228
|
null,
|
|
33185
33229
|
null
|
|
33186
33230
|
);
|
|
33187
|
-
const GDpackage$K = __component__$4N.exports,
|
|
33231
|
+
const GDpackage$K = __component__$4N.exports, main_vue_vue_type_style_index_0_scoped_58feac11_lang = "", _sfc_main$4M = {
|
|
33188
33232
|
name: "GdMiddleware",
|
|
33189
33233
|
data() {
|
|
33190
33234
|
return {
|
|
@@ -33204,17 +33248,17 @@ const GDpackage$K = __component__$4N.exports, main_vue_vue_type_style_index_0_sc
|
|
|
33204
33248
|
}
|
|
33205
33249
|
},
|
|
33206
33250
|
methods: {
|
|
33207
|
-
invokeFun({ ref: s = "editForm", functionName: t, data: a }) {
|
|
33208
|
-
return new Promise((
|
|
33251
|
+
invokeFun({ ref: s = "editForm", functionName: t, data: a, time: r = 50 }) {
|
|
33252
|
+
return new Promise((o, l) => {
|
|
33209
33253
|
this.$nextTick(() => {
|
|
33210
33254
|
setTimeout(() => {
|
|
33211
|
-
const
|
|
33212
|
-
if (!
|
|
33213
|
-
|
|
33255
|
+
const d = this.$refs[s];
|
|
33256
|
+
if (!d) {
|
|
33257
|
+
o({ code: 404, message: "\u672A\u627E\u5230\u5BF9\u5E94\u5143\u7D20" });
|
|
33214
33258
|
return;
|
|
33215
33259
|
}
|
|
33216
|
-
t &&
|
|
33217
|
-
},
|
|
33260
|
+
t && d[t] ? (d[t](a), o({ code: 200 })) : o({ code: 404, message: "\u672A\u627E\u5230\u65B9\u6CD5" });
|
|
33261
|
+
}, r);
|
|
33218
33262
|
});
|
|
33219
33263
|
});
|
|
33220
33264
|
},
|
|
@@ -33316,7 +33360,7 @@ var _sfc_render$4M = function() {
|
|
|
33316
33360
|
_sfc_staticRenderFns$4M,
|
|
33317
33361
|
!1,
|
|
33318
33362
|
null,
|
|
33319
|
-
"
|
|
33363
|
+
"58feac11",
|
|
33320
33364
|
null,
|
|
33321
33365
|
null
|
|
33322
33366
|
);
|
|
@@ -75825,7 +75869,7 @@ var _sfc_render$4K = function() {
|
|
|
75825
75869
|
null,
|
|
75826
75870
|
null
|
|
75827
75871
|
);
|
|
75828
|
-
const ColumnarChart = __component__$4K.exports,
|
|
75872
|
+
const ColumnarChart = __component__$4K.exports, funnelChart_vue_vue_type_style_index_0_scoped_426323a5_lang = "", _sfc_main$4J = {
|
|
75829
75873
|
props: {
|
|
75830
75874
|
develop: {
|
|
75831
75875
|
type: [Number, String],
|
|
@@ -75856,11 +75900,10 @@ const ColumnarChart = __component__$4K.exports, funnelChart_vue_vue_type_style_i
|
|
|
75856
75900
|
});
|
|
75857
75901
|
},
|
|
75858
75902
|
getOption(s) {
|
|
75859
|
-
console.log(s);
|
|
75860
75903
|
let t = 0;
|
|
75861
75904
|
s.data.forEach((l, d) => {
|
|
75862
75905
|
t += Number(l.value), s.data[d].order = l.value;
|
|
75863
|
-
}),
|
|
75906
|
+
}), s.data = [...sort$3(s.data)];
|
|
75864
75907
|
let a = this.$i18nt(`Dynamics.${s.transKey}`, s.name), r = {
|
|
75865
75908
|
text: a ? `${a} (${this.$i18nt("gd.basics.total", "\u5171")} ${s.count} ${this.$i18nt(
|
|
75866
75909
|
"gd.basics.data",
|
|
@@ -75942,7 +75985,7 @@ var _sfc_render$4J = function() {
|
|
|
75942
75985
|
_sfc_staticRenderFns$4J,
|
|
75943
75986
|
!1,
|
|
75944
75987
|
null,
|
|
75945
|
-
"
|
|
75988
|
+
"426323a5",
|
|
75946
75989
|
null,
|
|
75947
75990
|
null
|
|
75948
75991
|
);
|
|
@@ -78979,7 +79022,7 @@ var _sfc_render$4v = function() {
|
|
|
78979
79022
|
null,
|
|
78980
79023
|
null
|
|
78981
79024
|
);
|
|
78982
|
-
const RoleScope = __component__$4v.exports,
|
|
79025
|
+
const RoleScope = __component__$4v.exports, roleGrant_vue_vue_type_style_index_0_scoped_2a913c42_lang = "", _sfc_main$4u = {
|
|
78983
79026
|
data() {
|
|
78984
79027
|
return {
|
|
78985
79028
|
buttons: [
|
|
@@ -79047,6 +79090,24 @@ const RoleScope = __component__$4v.exports, roleGrant_vue_vue_type_style_index_0
|
|
|
79047
79090
|
type: "slot",
|
|
79048
79091
|
slotType: "delgrantd",
|
|
79049
79092
|
width: 270
|
|
79093
|
+
},
|
|
79094
|
+
{
|
|
79095
|
+
transKey: "gd.relation.assignment",
|
|
79096
|
+
prop: "allocationcustor",
|
|
79097
|
+
label: "\u5206\u6D3E",
|
|
79098
|
+
align: "left",
|
|
79099
|
+
type: "slot",
|
|
79100
|
+
slotType: "allocationcustor",
|
|
79101
|
+
width: 270
|
|
79102
|
+
},
|
|
79103
|
+
{
|
|
79104
|
+
transKey: "gd.btn.share",
|
|
79105
|
+
prop: "sharecustor",
|
|
79106
|
+
label: "\u5171\u4EAB",
|
|
79107
|
+
align: "left",
|
|
79108
|
+
type: "slot",
|
|
79109
|
+
slotType: "sharecustor",
|
|
79110
|
+
width: 270
|
|
79050
79111
|
}
|
|
79051
79112
|
],
|
|
79052
79113
|
currentList: {}
|
|
@@ -79063,7 +79124,7 @@ const RoleScope = __component__$4v.exports, roleGrant_vue_vue_type_style_index_0
|
|
|
79063
79124
|
handleSubmit() {
|
|
79064
79125
|
this.confirmLoading = !0;
|
|
79065
79126
|
let s = this.$refs.table.tableData;
|
|
79066
|
-
s.map((t) => (t.addgrant = t.addgrantd.length > 0 ? t.addgrantd.join(",") : null, t.delgrant = t.delgrantd.length > 0 ? t.delgrantd.join(",") : null, t.editgrant = t.editgrantd.length > 0 ? t.editgrantd.join(",") : null, t.getgrant = t.getgrantd.length > 0 ? t.getgrantd.join(",") : null, t)), saveOrgDetail(
|
|
79127
|
+
s.map((t) => (t.addgrant = t.addgrantd.length > 0 ? t.addgrantd.join(",") : null, t.delgrant = t.delgrantd.length > 0 ? t.delgrantd.join(",") : null, t.editgrant = t.editgrantd.length > 0 ? t.editgrantd.join(",") : null, t.getgrant = t.getgrantd.length > 0 ? t.getgrantd.join(",") : null, t.sharegrant = t.sharecustor.length > 0 ? t.sharecustor.join(",") : null, t.allocationgrant = t.allocationcustor.length > 0 ? t.allocationcustor.join(",") : null, t)), saveOrgDetail(
|
|
79067
79128
|
Object.assign(
|
|
79068
79129
|
{ ...this.submitData },
|
|
79069
79130
|
{
|
|
@@ -79085,7 +79146,7 @@ const RoleScope = __component__$4v.exports, roleGrant_vue_vue_type_style_index_0
|
|
|
79085
79146
|
},
|
|
79086
79147
|
getUserControlData() {
|
|
79087
79148
|
this.confirmLoading = !0, getOrgDetail({ roleId: this.record.id }).then((s) => {
|
|
79088
|
-
s.success ? (s.data.grants.map((t) => (t.addgrantd = t.addgrant ? t.addgrant.split(",") : [], t.delgrantd = t.delgrant ? t.delgrant.split(",") : [], t.editgrantd = t.editgrant ? t.editgrant.split(",") : [], t.getgrantd = t.getgrant ? t.getgrant.split(",") : [], t)), this.loadData = s.data.grants, this.submitData = s.data, this.$nextTick(() => {
|
|
79149
|
+
s.success ? (s.data.grants.map((t) => (t.addgrantd = t.addgrant ? t.addgrant.split(",") : [], t.delgrantd = t.delgrant ? t.delgrant.split(",") : [], t.editgrantd = t.editgrant ? t.editgrant.split(",") : [], t.getgrantd = t.getgrant ? t.getgrant.split(",") : [], t.sharecustor = t.sharegrant ? t.sharegrant.split(",") : [], t.allocationcustor = t.allocationgrant ? t.allocationgrant.split(",") : [], t)), this.loadData = s.data.grants, this.submitData = s.data, this.$nextTick(() => {
|
|
79089
79150
|
setTimeout(() => {
|
|
79090
79151
|
this.refresh();
|
|
79091
79152
|
}, 0);
|
|
@@ -79134,7 +79195,7 @@ var _sfc_render$4u = function() {
|
|
|
79134
79195
|
_sfc_staticRenderFns$4u,
|
|
79135
79196
|
!1,
|
|
79136
79197
|
null,
|
|
79137
|
-
"
|
|
79198
|
+
"2a913c42",
|
|
79138
79199
|
null,
|
|
79139
79200
|
null
|
|
79140
79201
|
);
|
|
@@ -79364,7 +79425,7 @@ var _sfc_render$4s = function() {
|
|
|
79364
79425
|
null,
|
|
79365
79426
|
null
|
|
79366
79427
|
);
|
|
79367
|
-
const RoleMenu = __component__$4s.exports,
|
|
79428
|
+
const RoleMenu = __component__$4s.exports, roleMenuVF_vue_vue_type_style_index_0_scoped_eec05935_lang = "", _sfc_main$4r = {
|
|
79368
79429
|
data() {
|
|
79369
79430
|
return {
|
|
79370
79431
|
buttons: [
|
|
@@ -79463,7 +79524,7 @@ const RoleMenu = __component__$4s.exports, roleMenuVF_vue_vue_type_style_index_0
|
|
|
79463
79524
|
a.forEach((l, d) => {
|
|
79464
79525
|
const u = this.getMenuIds(l);
|
|
79465
79526
|
a[d].menuIds = u.arr, a[d].menuBtnIds = u.btn, !(this.checkedKeys.filter((p) => u.arr.includes(p)).length === u.arr.length) && u.arr.length > 0 && o.push(l.id);
|
|
79466
|
-
}), this.list = a, this.allClose = this.checkedKeys.length === this.allCheckedKeys.length && this.allCheckedKeys.length > 0, this.menuTreeData = [...t], this.handleItem();
|
|
79527
|
+
}), this.list = a, this.allClose = this.checkedKeys.length === this.allCheckedKeys.length && this.allCheckedKeys.length > 0, this.menuTreeData = [...t], this.handleItem(), console.log(this.menuAll, "123");
|
|
79467
79528
|
});
|
|
79468
79529
|
},
|
|
79469
79530
|
getList() {
|
|
@@ -79521,7 +79582,7 @@ var _sfc_render$4r = function() {
|
|
|
79521
79582
|
_sfc_staticRenderFns$4r,
|
|
79522
79583
|
!1,
|
|
79523
79584
|
null,
|
|
79524
|
-
"
|
|
79585
|
+
"eec05935",
|
|
79525
79586
|
null,
|
|
79526
79587
|
null
|
|
79527
79588
|
);
|
|
@@ -81775,7 +81836,7 @@ const mixins$19 = {
|
|
|
81775
81836
|
};
|
|
81776
81837
|
}
|
|
81777
81838
|
}, _sfc_main$4j = {
|
|
81778
|
-
name: "
|
|
81839
|
+
name: "GdVislog",
|
|
81779
81840
|
props: {
|
|
81780
81841
|
height: {
|
|
81781
81842
|
type: Number,
|
|
@@ -109545,7 +109606,7 @@ var _sfc_render$2m = function s() {
|
|
|
109545
109606
|
null,
|
|
109546
109607
|
null
|
|
109547
109608
|
);
|
|
109548
|
-
const ButtonRule = __component__$2m.exports,
|
|
109609
|
+
const ButtonRule = __component__$2m.exports, viewTree_vue_vue_type_style_index_0_scoped_84376534_lang = "", disableList$1 = [
|
|
109549
109610
|
{
|
|
109550
109611
|
code: 1,
|
|
109551
109612
|
name: "\u662F",
|
|
@@ -109674,7 +109735,24 @@ const ButtonRule = __component__$2m.exports, viewTree_vue_vue_type_style_index_0
|
|
|
109674
109735
|
this.fullscreen = !this.fullscreen;
|
|
109675
109736
|
},
|
|
109676
109737
|
open(s) {
|
|
109677
|
-
this.visible = !0, this.selData = s, this.getList(), Object.keys(s).length
|
|
109738
|
+
if (console.log(s), this.visible = !0, this.selData = s, this.getList(), Object.keys(s).length == 0) {
|
|
109739
|
+
this.ruleFormData = {
|
|
109740
|
+
treeId: "",
|
|
109741
|
+
sysViewId: "",
|
|
109742
|
+
detailId: "",
|
|
109743
|
+
isDisable: 0,
|
|
109744
|
+
ifSet: "",
|
|
109745
|
+
rulesValue: "1",
|
|
109746
|
+
operators: "1",
|
|
109747
|
+
conditional: "",
|
|
109748
|
+
parentId: "",
|
|
109749
|
+
parentPid: "",
|
|
109750
|
+
relevanceId: "",
|
|
109751
|
+
childrenId: ""
|
|
109752
|
+
}, this.$refs.ruleForm.resetFields();
|
|
109753
|
+
return;
|
|
109754
|
+
}
|
|
109755
|
+
this.listData();
|
|
109678
109756
|
},
|
|
109679
109757
|
listData(s) {
|
|
109680
109758
|
this.ruleFormData.treeId = s ? "" : this.selData.treeId, this.loadData = s ? "" : this.selData.loadData, this.ruleFormData.sysViewId = s ? "" : this.selData.sysViewId, this.viewList = s ? [] : this.selData.viewList, this.ruleFormData.detailId = s ? "" : this.selData.detailId, this.detailList = s ? [] : this.selData.detailList, this.ruleFormData.parentId = s ? "" : this.selData.parentId, this.ruleFormData.parentPid = s ? "" : this.selData.parentPid, this.parentList = s ? [] : this.selData.parentList, this.parentPidList = s ? [] : this.selData.parentPidList, this.ruleFormData.relevanceId = s ? "" : this.selData.relevanceId, this.relevanceList = s ? [] : this.selData.relevanceList, this.ruleFormData.childrenId = s ? "" : this.selData.childrenId, this.childrenList = s ? [] : this.selData.childrenList, this.ruleFormData.isDisable = s ? 0 : this.selData.isDisable, this.ruleFormData.ifSet = s ? "" : this.selData.ifSet, this.ifSetList = s ? [] : this.selData.ifSetList, this.ruleFormData.conditional = s ? "" : this.selData.conditional, this.conditionalList = s ? [] : this.selData.conditionalList, this.ruleFormData.rulesValue = s ? "" : this.selData.rulesValue, this.rulesList = s ? [] : this.selData.rulesList, this.cascadeList = s ? [] : this.selData.cascadeList, this.ruleFormData.treeId != "" && (this.getTable(), this.getDetail(this.ruleFormData.sysViewId));
|
|
@@ -109691,7 +109769,7 @@ const ButtonRule = __component__$2m.exports, viewTree_vue_vue_type_style_index_0
|
|
|
109691
109769
|
});
|
|
109692
109770
|
},
|
|
109693
109771
|
getView(s) {
|
|
109694
|
-
let t = this.tableLists.filter((a) => a.
|
|
109772
|
+
let t = this.tableLists.filter((a) => a.tablename == s)[0];
|
|
109695
109773
|
sysViewList$1({
|
|
109696
109774
|
SysCodeGenId: t.id
|
|
109697
109775
|
}).then((a) => {
|
|
@@ -109739,16 +109817,16 @@ const ButtonRule = __component__$2m.exports, viewTree_vue_vue_type_style_index_0
|
|
|
109739
109817
|
this.ruleFormData.detailId = s;
|
|
109740
109818
|
},
|
|
109741
109819
|
ifClick(s) {
|
|
109742
|
-
|
|
109820
|
+
this.ruleFormData.conditional = "", this.cascadeList = [s], this.rulesList = this.dictData.filter((t) => t.code < 3), s.effecttype == "fk" || s.effecttype == "user" ? (this.fildFk = s, this.searchData("")) : this.conditionalList = [];
|
|
109743
109821
|
},
|
|
109744
109822
|
isSet(s) {
|
|
109745
|
-
|
|
109823
|
+
this.ruleFormData.rulesValue = s;
|
|
109746
109824
|
},
|
|
109747
109825
|
showTime(s) {
|
|
109748
109826
|
return s.fieldFormat.length > 10;
|
|
109749
109827
|
},
|
|
109750
109828
|
inputRadio(s) {
|
|
109751
|
-
this.rulesList = this.dictData.filter((t) => t.code < 3)
|
|
109829
|
+
this.rulesList = this.dictData.filter((t) => t.code < 3);
|
|
109752
109830
|
},
|
|
109753
109831
|
searchData(s) {
|
|
109754
109832
|
this.fetching = !0, baseFkList({
|
|
@@ -109820,7 +109898,7 @@ const ButtonRule = __component__$2m.exports, viewTree_vue_vue_type_style_index_0
|
|
|
109820
109898
|
rulesList: this.ruleFormData.isDisable == 1 ? this.rulesList.filter((p) => p.code == this.ruleFormData.rulesValue) : [],
|
|
109821
109899
|
cascadeList: this.cascadeList
|
|
109822
109900
|
};
|
|
109823
|
-
|
|
109901
|
+
this.$emit("ok", h), this.closed();
|
|
109824
109902
|
}
|
|
109825
109903
|
});
|
|
109826
109904
|
},
|
|
@@ -109923,7 +110001,7 @@ var _sfc_render$2l = function s() {
|
|
|
109923
110001
|
_sfc_staticRenderFns$2l,
|
|
109924
110002
|
!1,
|
|
109925
110003
|
null,
|
|
109926
|
-
"
|
|
110004
|
+
"84376534",
|
|
109927
110005
|
null,
|
|
109928
110006
|
null
|
|
109929
110007
|
);
|
|
@@ -111903,7 +111981,8 @@ const operationMenus = __component__$2g.exports, abilityItems = [{
|
|
|
111903
111981
|
labelHide: !1,
|
|
111904
111982
|
bringTo: !0,
|
|
111905
111983
|
disabledColumnName: !1,
|
|
111906
|
-
initialType: []
|
|
111984
|
+
initialType: [],
|
|
111985
|
+
spaceTrim: "none"
|
|
111907
111986
|
},
|
|
111908
111987
|
operationAttribute: !0,
|
|
111909
111988
|
help: "",
|
|
@@ -114019,6 +114098,8 @@ function letterSpacing(s) {
|
|
|
114019
114098
|
return t === "" ? "" : `letter-spacing:${t}px;`;
|
|
114020
114099
|
}
|
|
114021
114100
|
function colorData(s) {
|
|
114101
|
+
if (s.color === "0")
|
|
114102
|
+
return "color:var(--color);";
|
|
114022
114103
|
const t = s.color ? s.color : "";
|
|
114023
114104
|
return t === "" ? "" : `color:${t};`;
|
|
114024
114105
|
}
|
|
@@ -114104,7 +114185,7 @@ function getProperti(s, t) {
|
|
|
114104
114185
|
return "";
|
|
114105
114186
|
}
|
|
114106
114187
|
}
|
|
114107
|
-
const
|
|
114188
|
+
const textContent_vue_vue_type_style_index_0_scoped_e79340be_lang = "", _sfc_main$22 = {
|
|
114108
114189
|
props: {
|
|
114109
114190
|
record: {
|
|
114110
114191
|
type: Object,
|
|
@@ -114136,6 +114217,9 @@ const textContent_vue_vue_type_style_index_0_scoped_5c6af951_lang = "", _sfc_mai
|
|
|
114136
114217
|
}
|
|
114137
114218
|
},
|
|
114138
114219
|
computed: {
|
|
114220
|
+
gclass() {
|
|
114221
|
+
return this.develop == 1 ? "" : this.record.customClass ? `${this.record.customClass}` : "";
|
|
114222
|
+
},
|
|
114139
114223
|
columnName() {
|
|
114140
114224
|
const s = this.options.columnContextName ? this.options.columnContextName : [];
|
|
114141
114225
|
return s[s.length - 1];
|
|
@@ -114158,14 +114242,14 @@ const textContent_vue_vue_type_style_index_0_scoped_5c6af951_lang = "", _sfc_mai
|
|
|
114158
114242
|
};
|
|
114159
114243
|
var _sfc_render$22 = function s() {
|
|
114160
114244
|
var t = this, a = t._self._c;
|
|
114161
|
-
return a("div", { style: t.wstyle }, [t.develop == 1 ? a("div", { style: t.style }, [t._v(t._s(t.$i18nt(`Dynamics.${t.options.transKey}`, t.options.title)))]) : [t.columnName ? a("div", { style: t.style }, [t._v(t._s(t.itemData[t.columnName]))]) : a("div", { style: t.style }, [t._v(t._s(t.$i18nt(`Dynamics.${t.options.transKey}`, t.options.title)))])]], 2);
|
|
114245
|
+
return a("div", { class: t.gclass, style: t.wstyle }, [t.develop == 1 ? a("div", { style: t.style }, [t._v(t._s(t.$i18nt(`Dynamics.${t.options.transKey}`, t.options.title)))]) : [t.columnName ? a("div", { style: t.style }, [t._v(t._s(t.itemData[t.columnName]))]) : a("div", { style: t.style }, [t._v(t._s(t.$i18nt(`Dynamics.${t.options.transKey}`, t.options.title)))])]], 2);
|
|
114162
114246
|
}, _sfc_staticRenderFns$22 = [], __component__$22 = /* @__PURE__ */ normalizeComponent(
|
|
114163
114247
|
_sfc_main$22,
|
|
114164
114248
|
_sfc_render$22,
|
|
114165
114249
|
_sfc_staticRenderFns$22,
|
|
114166
114250
|
!1,
|
|
114167
114251
|
null,
|
|
114168
|
-
"
|
|
114252
|
+
"e79340be",
|
|
114169
114253
|
null,
|
|
114170
114254
|
null
|
|
114171
114255
|
);
|
|
@@ -114693,7 +114777,7 @@ var _sfc_render$20 = function s() {
|
|
|
114693
114777
|
null,
|
|
114694
114778
|
null
|
|
114695
114779
|
);
|
|
114696
|
-
const UnifiedComponents = __component__$20.exports,
|
|
114780
|
+
const UnifiedComponents = __component__$20.exports, fonticon_vue_vue_type_style_index_0_scoped_eb3d4744_lang = "", _sfc_main$1$ = {
|
|
114697
114781
|
props: {
|
|
114698
114782
|
record: {
|
|
114699
114783
|
type: Object,
|
|
@@ -114739,6 +114823,9 @@ const UnifiedComponents = __component__$20.exports, fonticon_vue_vue_type_style_
|
|
|
114739
114823
|
}
|
|
114740
114824
|
},
|
|
114741
114825
|
computed: {
|
|
114826
|
+
gclass() {
|
|
114827
|
+
return this.develop == 1 ? "" : this.record.customClass ? `${this.record.customClass}` : "";
|
|
114828
|
+
},
|
|
114742
114829
|
options() {
|
|
114743
114830
|
return this.record.options;
|
|
114744
114831
|
},
|
|
@@ -114761,14 +114848,14 @@ const UnifiedComponents = __component__$20.exports, fonticon_vue_vue_type_style_
|
|
|
114761
114848
|
};
|
|
114762
114849
|
var _sfc_render$1$ = function s() {
|
|
114763
114850
|
var t = this, a = t._self._c;
|
|
114764
|
-
return a("div", { style: t.wstyle }, [a("div", { staticClass: "gd-icons", class: t.options.icon, style: t.style, on: { click: t.doEvent } }), t.develop == 2 ? a("UnifiedComponents", { ref: "unifiedComponents", attrs: { record: t.record, itemData: t.itemData, fieldContext: t.fieldContext } }) : t._e()], 1);
|
|
114851
|
+
return a("div", { class: t.gclass, style: t.wstyle }, [a("div", { staticClass: "gd-icons", class: t.options.icon, style: t.style, on: { click: t.doEvent } }), t.develop == 2 ? a("UnifiedComponents", { ref: "unifiedComponents", attrs: { record: t.record, itemData: t.itemData, fieldContext: t.fieldContext } }) : t._e()], 1);
|
|
114765
114852
|
}, _sfc_staticRenderFns$1$ = [], __component__$1$ = /* @__PURE__ */ normalizeComponent(
|
|
114766
114853
|
_sfc_main$1$,
|
|
114767
114854
|
_sfc_render$1$,
|
|
114768
114855
|
_sfc_staticRenderFns$1$,
|
|
114769
114856
|
!1,
|
|
114770
114857
|
null,
|
|
114771
|
-
"
|
|
114858
|
+
"eb3d4744",
|
|
114772
114859
|
null,
|
|
114773
114860
|
null
|
|
114774
114861
|
);
|
|
@@ -118326,7 +118413,7 @@ var _sfc_render$1H = function s() {
|
|
|
118326
118413
|
null,
|
|
118327
118414
|
null
|
|
118328
118415
|
);
|
|
118329
|
-
const detailView = __component__$1H.exports,
|
|
118416
|
+
const detailView = __component__$1H.exports, btnGroup_vue_vue_type_style_index_0_scoped_80466ede_lang = "", _sfc_main$1G = {
|
|
118330
118417
|
props: {
|
|
118331
118418
|
record: {
|
|
118332
118419
|
type: Object,
|
|
@@ -118375,7 +118462,8 @@ const detailView = __component__$1H.exports, btnGroup_vue_vue_type_style_index_0
|
|
|
118375
118462
|
sysViewButtons() {
|
|
118376
118463
|
let s = [];
|
|
118377
118464
|
return this.columns.forEach((t) => {
|
|
118378
|
-
|
|
118465
|
+
const a = fontSize(t);
|
|
118466
|
+
let r = {
|
|
118379
118467
|
displayName: t.displayName,
|
|
118380
118468
|
show: !t.hide,
|
|
118381
118469
|
icon: t.icon,
|
|
@@ -118383,10 +118471,10 @@ const detailView = __component__$1H.exports, btnGroup_vue_vue_type_style_index_0
|
|
|
118383
118471
|
name: t.permissionsPage ? t.permissionsPage : t.id,
|
|
118384
118472
|
children: t.sublevel ? t.children : [],
|
|
118385
118473
|
id: t.id,
|
|
118386
|
-
style:
|
|
118474
|
+
style: a
|
|
118387
118475
|
};
|
|
118388
|
-
const
|
|
118389
|
-
s.push(Object.assign(
|
|
118476
|
+
const o = a ? { iconStyle: a } : {}, l = t.btnStyle !== "none" ? { btnType: t.btnStyle } : {};
|
|
118477
|
+
s.push(Object.assign(r, l, o));
|
|
118390
118478
|
}), s;
|
|
118391
118479
|
},
|
|
118392
118480
|
cssData() {
|
|
@@ -118426,7 +118514,7 @@ var _sfc_render$1G = function s() {
|
|
|
118426
118514
|
_sfc_staticRenderFns$1G,
|
|
118427
118515
|
!1,
|
|
118428
118516
|
null,
|
|
118429
|
-
"
|
|
118517
|
+
"80466ede",
|
|
118430
118518
|
null,
|
|
118431
118519
|
null
|
|
118432
118520
|
);
|
|
@@ -118556,7 +118644,7 @@ var _sfc_render$1E = function s() {
|
|
|
118556
118644
|
null,
|
|
118557
118645
|
null
|
|
118558
118646
|
);
|
|
118559
|
-
const iframeComponents = __component__$1E.exports,
|
|
118647
|
+
const iframeComponents = __component__$1E.exports, moneyNumber_vue_vue_type_style_index_0_scoped_c38a6dcd_lang = "", _sfc_main$1D = {
|
|
118560
118648
|
props: {
|
|
118561
118649
|
record: {
|
|
118562
118650
|
type: Object,
|
|
@@ -118671,7 +118759,7 @@ var _sfc_render$1D = function s() {
|
|
|
118671
118759
|
_sfc_staticRenderFns$1D,
|
|
118672
118760
|
!1,
|
|
118673
118761
|
null,
|
|
118674
|
-
"
|
|
118762
|
+
"c38a6dcd",
|
|
118675
118763
|
null,
|
|
118676
118764
|
null
|
|
118677
118765
|
);
|
|
@@ -118885,7 +118973,7 @@ const echartsView = __component__$1B.exports, componentArray = {
|
|
|
118885
118973
|
uploadImg,
|
|
118886
118974
|
echarts: echartsView,
|
|
118887
118975
|
inputNumber: moneyNumber
|
|
118888
|
-
},
|
|
118976
|
+
}, layoutItem_vue_vue_type_style_index_0_scoped_42111220_lang = "", _sfc_main$1A = {
|
|
118889
118977
|
props: {
|
|
118890
118978
|
record: {
|
|
118891
118979
|
type: Object,
|
|
@@ -118983,7 +119071,7 @@ const echartsView = __component__$1B.exports, componentArray = {
|
|
|
118983
119071
|
fieldData(s) {
|
|
118984
119072
|
this.develop !== 1 && (this.record.fieldsData = [...s]);
|
|
118985
119073
|
},
|
|
118986
|
-
handleChange() {
|
|
119074
|
+
handleChange(s) {
|
|
118987
119075
|
this.$emit("change", this.record);
|
|
118988
119076
|
},
|
|
118989
119077
|
lookup() {
|
|
@@ -119025,7 +119113,7 @@ const echartsView = __component__$1B.exports, componentArray = {
|
|
|
119025
119113
|
this.loading = !0;
|
|
119026
119114
|
const a = this.options.effectType, r = a === "fk" || a === "user" ? this.options.fkEntityName : this.options.fkEntityName.split(",")[0];
|
|
119027
119115
|
baseFkList({ id: s, fkEntityName: t || r }).then((l) => {
|
|
119028
|
-
this.loading = !1, l.code === 200 && (this.fkData = l.data.map((d) => (d.tableName = t || r, d)), this.record.fkData = [...this.fkData]);
|
|
119116
|
+
this.loading = !1, l.code === 200 && (this.fkData = l.data.map((d) => (d.tableName = t || r, d)), this.record.fkData = [...this.fkData], this.firstLoading = this.fkData.length != 0);
|
|
119029
119117
|
});
|
|
119030
119118
|
},
|
|
119031
119119
|
setData({ val: s, data: t, items: a, fkData: r }) {
|
|
@@ -119173,7 +119261,7 @@ var _sfc_render$1A = function s() {
|
|
|
119173
119261
|
_sfc_staticRenderFns$1A,
|
|
119174
119262
|
!1,
|
|
119175
119263
|
null,
|
|
119176
|
-
"
|
|
119264
|
+
"42111220",
|
|
119177
119265
|
null,
|
|
119178
119266
|
null
|
|
119179
119267
|
);
|
|
@@ -124107,7 +124195,7 @@ var _sfc_render$13 = function s() {
|
|
|
124107
124195
|
null,
|
|
124108
124196
|
null
|
|
124109
124197
|
);
|
|
124110
|
-
const propertiesInterac = __component__$13.exports,
|
|
124198
|
+
const propertiesInterac = __component__$13.exports, properties_vue_vue_type_style_index_0_scoped_d048438a_lang = "", _sfc_main$12 = {
|
|
124111
124199
|
props: {
|
|
124112
124200
|
selectItem: {
|
|
124113
124201
|
type: Object,
|
|
@@ -124233,6 +124321,25 @@ const propertiesInterac = __component__$13.exports, properties_vue_vue_type_styl
|
|
|
124233
124321
|
}
|
|
124234
124322
|
];
|
|
124235
124323
|
},
|
|
124324
|
+
spaceTrimList() {
|
|
124325
|
+
return [
|
|
124326
|
+
{
|
|
124327
|
+
name: "\u9ED8\u8BA4",
|
|
124328
|
+
code: "none",
|
|
124329
|
+
transKey: "gd.basics.default"
|
|
124330
|
+
},
|
|
124331
|
+
{
|
|
124332
|
+
name: "\u524D\u540E\u7A7A\u683C",
|
|
124333
|
+
code: "around",
|
|
124334
|
+
transKey: "gd.page.aroundSpace"
|
|
124335
|
+
},
|
|
124336
|
+
{
|
|
124337
|
+
name: "\u6240\u6709\u7A7A\u683C",
|
|
124338
|
+
code: "all",
|
|
124339
|
+
transKey: "gd.page.allSpace"
|
|
124340
|
+
}
|
|
124341
|
+
];
|
|
124342
|
+
},
|
|
124236
124343
|
inputComponentList() {
|
|
124237
124344
|
const s = formItems.filter((t) => this.options.initialType.includes(t.type));
|
|
124238
124345
|
return s ? JSON.parse(JSON.stringify(s)) : [];
|
|
@@ -124525,7 +124632,11 @@ var _sfc_render$12 = function s() {
|
|
|
124525
124632
|
t.$set(t.options, "defaultValue", r);
|
|
124526
124633
|
}, expression: "options.defaultValue" } }) : a("el-input", { attrs: { placeholder: t.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165"), clearable: "" }, model: { value: t.options.defaultValue, callback: function(r) {
|
|
124527
124634
|
t.$set(t.options, "defaultValue", r);
|
|
124528
|
-
}, expression: "options.defaultValue" } })], 1) : t._e(), a("propertiesRelevance", { attrs: { selectItem: t.selectItem, tableFieldList: t.tableFieldList, table: t.table } }), t.getTypeof("
|
|
124635
|
+
}, expression: "options.defaultValue" } })], 1) : t._e(), a("propertiesRelevance", { attrs: { selectItem: t.selectItem, tableFieldList: t.tableFieldList, table: t.table } }), t.isFormItem && t.getTypeof("spaceTrim") ? a("el-form-item", { attrs: { label: t.$i18nt("gd.page.spaceTrim", "\u53BB\u9664\u7A7A\u683C") } }, [a("el-select", { model: { value: t.options.spaceTrim, callback: function(r) {
|
|
124636
|
+
t.$set(t.options, "spaceTrim", r);
|
|
124637
|
+
}, expression: "options.spaceTrim" } }, t._l(t.spaceTrimList, function(r) {
|
|
124638
|
+
return a("el-option", { key: r.code, attrs: { label: t.$i18nt(r.transKey, r.name), value: r.code } });
|
|
124639
|
+
}), 1)], 1) : t._e(), t.getTypeof("operationAttribute", "selectItem") ? a("el-form-item", { attrs: { label: t.$i18nt("gd.page.actionProperties", "\u64CD\u4F5C\u5C5E\u6027") } }, [t.getTypeof("clearable") ? a("pCheckbox", { attrs: { label: t.$i18nt("gd.page.clearable", "\u53EF\u6E05\u9664") }, model: { value: t.options.clearable, callback: function(r) {
|
|
124529
124640
|
t.$set(t.options, "clearable", r);
|
|
124530
124641
|
}, expression: "options.clearable" } }) : t._e(), t.getTypeof("hidden") ? a("pCheckbox", { attrs: { label: t.$i18nt("gd.page.hide", "\u9690\u85CF") }, model: { value: t.options.hidden, callback: function(r) {
|
|
124531
124642
|
t.$set(t.options, "hidden", r);
|
|
@@ -124644,11 +124755,11 @@ var _sfc_render$12 = function s() {
|
|
|
124644
124755
|
_sfc_staticRenderFns$12,
|
|
124645
124756
|
!1,
|
|
124646
124757
|
null,
|
|
124647
|
-
"
|
|
124758
|
+
"d048438a",
|
|
124648
124759
|
null,
|
|
124649
124760
|
null
|
|
124650
124761
|
);
|
|
124651
|
-
const pageProperties = __component__$12.exports,
|
|
124762
|
+
const pageProperties = __component__$12.exports, businessRules_vue_vue_type_style_index_0_scoped_7513de0f_lang = "", _sfc_main$11 = {
|
|
124652
124763
|
props: {
|
|
124653
124764
|
formRecord: {
|
|
124654
124765
|
type: Object,
|
|
@@ -124764,6 +124875,15 @@ const pageProperties = __component__$12.exports, businessRules_vue_vue_type_styl
|
|
|
124764
124875
|
...mapGetters(["screenHeight", "primaryColor"])
|
|
124765
124876
|
},
|
|
124766
124877
|
methods: {
|
|
124878
|
+
hasTimePicker(s) {
|
|
124879
|
+
const t = s || "yyyy-MM-dd";
|
|
124880
|
+
return ["hh:mm:ss", "hh:mm", "mm:ss"].includes(t);
|
|
124881
|
+
},
|
|
124882
|
+
pickerType(s) {
|
|
124883
|
+
const t = s || "yyyy-MM-dd";
|
|
124884
|
+
let a = "date";
|
|
124885
|
+
return t === "yyyy-MM-dd hh:mm:ss" ? a = "datetime" : t === "yyyy-MM" ? a = "month" : t === "yyyy" && (a = "year"), a;
|
|
124886
|
+
},
|
|
124767
124887
|
handleSubmit() {
|
|
124768
124888
|
let s = [], t = [];
|
|
124769
124889
|
if (this.list.forEach((a, r) => {
|
|
@@ -125071,9 +125191,9 @@ var _sfc_render$11 = function s() {
|
|
|
125071
125191
|
return [a("el-option", { attrs: { value: u.code, label: t.$i18nt(`Dynamics.${u.transkey}`, u.name) } })];
|
|
125072
125192
|
})], 2) : ["inputnumber", "double", "currency"].includes(l.effectType) ? a("el-input-number", { staticStyle: { width: "100%" }, attrs: { placeholder: t.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165"), "controls-position": "right", step: 1 }, model: { value: l.val, callback: function(u) {
|
|
125073
125193
|
t.$set(l, "val", u);
|
|
125074
|
-
}, expression: "ite.val" } }) : l.effectType === "datepicker" ? [l.fieldFormat
|
|
125194
|
+
}, expression: "ite.val" } }) : l.effectType === "datepicker" ? [t.hasTimePicker(l.fieldFormat) ? a("el-time-picker", { attrs: { "value-format": l.fieldFormat, format: l.fieldFormat, placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9") }, model: { value: l.val, callback: function(u) {
|
|
125075
125195
|
t.$set(l, "val", u);
|
|
125076
|
-
}, expression: "ite.val" } }) : a("el-date-picker", { staticStyle: { width: "100%" }, attrs: { placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), type: l.
|
|
125196
|
+
}, expression: "ite.val" } }) : a("el-date-picker", { staticStyle: { width: "100%" }, attrs: { placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), type: t.pickerType(l.fieldFormat), "value-format": l.fieldFormat, format: l.fieldFormat, clearable: "" }, model: { value: l.val, callback: function(u) {
|
|
125077
125197
|
t.$set(l, "val", u);
|
|
125078
125198
|
}, expression: "ite.val" } })] : ["fk", "about", "user"].includes(l.effectType) ? a("div", { staticClass: "cao_about" }, [a("el-select", { staticClass: "cao_input", attrs: { placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), "reserve-keyword": "", filterable: "", remote: "", clearable: "", loading: t.loading, "remote-method": (u) => t.searchData(u, l) }, model: { value: l.val, callback: function(u) {
|
|
125079
125199
|
t.$set(l, "val", u);
|
|
@@ -125117,9 +125237,9 @@ var _sfc_render$11 = function s() {
|
|
|
125117
125237
|
return [a("el-option", { attrs: { value: u.code, label: t.$i18nt(`Dynamics.${u.transkey}`, u.name) } })];
|
|
125118
125238
|
})], 2) : ["inputnumber", "double", "currency"].includes(l.effectType) ? a("el-input-number", { staticStyle: { width: "100%" }, attrs: { placeholder: t.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165"), "controls-position": "right", step: 1 }, model: { value: l.val, callback: function(u) {
|
|
125119
125239
|
t.$set(l, "val", u);
|
|
125120
|
-
}, expression: "ite.val" } }) : l.effectType === "datepicker" ? [l.fieldFormat
|
|
125240
|
+
}, expression: "ite.val" } }) : l.effectType === "datepicker" ? [t.hasTimePicker(l.fieldFormat) ? a("el-time-picker", { attrs: { "value-format": l.fieldFormat, format: l.fieldFormat, placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9") }, model: { value: l.val, callback: function(u) {
|
|
125121
125241
|
t.$set(l, "val", u);
|
|
125122
|
-
}, expression: "ite.val" } }) : a("el-date-picker", { staticStyle: { width: "100%" }, attrs: { placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), type: l.
|
|
125242
|
+
}, expression: "ite.val" } }) : a("el-date-picker", { staticStyle: { width: "100%" }, attrs: { placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), type: t.pickerType(l.fieldFormat), "value-format": l.fieldFormat, format: l.fieldFormat, clearable: "" }, model: { value: l.val, callback: function(u) {
|
|
125123
125243
|
t.$set(l, "val", u);
|
|
125124
125244
|
}, expression: "ite.val" } })] : ["fk", "about", "user"].includes(l.effectType) ? a("div", { staticClass: "cao_about" }, [a("el-select", { staticClass: "cao_input", attrs: { placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), "reserve-keyword": "", filterable: "", remote: "", clearable: "", loading: t.loading, "remote-method": (u) => t.searchData(u, l) }, model: { value: l.val, callback: function(u) {
|
|
125125
125245
|
t.$set(l, "val", u);
|
|
@@ -125158,7 +125278,7 @@ var _sfc_render$11 = function s() {
|
|
|
125158
125278
|
_sfc_staticRenderFns$11,
|
|
125159
125279
|
!1,
|
|
125160
125280
|
null,
|
|
125161
|
-
"
|
|
125281
|
+
"7513de0f",
|
|
125162
125282
|
null,
|
|
125163
125283
|
null
|
|
125164
125284
|
);
|
|
@@ -131855,7 +131975,7 @@ const mixins$6 = {
|
|
|
131855
131975
|
label: "\u8BBF\u95EE\u65E5\u5FD7",
|
|
131856
131976
|
icon: "gd-icon-xitong",
|
|
131857
131977
|
transKey: null,
|
|
131858
|
-
component: "
|
|
131978
|
+
component: "GdVislog",
|
|
131859
131979
|
options: {},
|
|
131860
131980
|
css: {},
|
|
131861
131981
|
defined: {
|
|
@@ -133934,7 +134054,7 @@ const mixins$6 = {
|
|
|
133934
134054
|
]
|
|
133935
134055
|
}
|
|
133936
134056
|
]
|
|
133937
|
-
}], getComponentsTree = authorityItems.concat(baseItems).concat(dataItems).concat(flowsItems).concat(logItems).concat(messageItems).concat(organizationItems).concat(systemItems),
|
|
134057
|
+
}], getComponentsTree = authorityItems.concat(baseItems).concat(dataItems).concat(flowsItems).concat(logItems).concat(messageItems).concat(organizationItems).concat(systemItems), addPage_vue_vue_type_style_index_0_scoped_2e0c6173_lang = "", _sfc_main$H = {
|
|
133938
134058
|
data() {
|
|
133939
134059
|
return {
|
|
133940
134060
|
sysCode: "GDS_LCDP",
|
|
@@ -134101,21 +134221,21 @@ const mixins$6 = {
|
|
|
134101
134221
|
s !== this.activeKey && (this.activeKey = s);
|
|
134102
134222
|
},
|
|
134103
134223
|
createItem(s) {
|
|
134104
|
-
this.activeKey = 1, this.type = "copy", this.visible = !0, this.confirmLoading = !0, this.disabledBtns = ["prev", "next"], this.mode = 2, this.selType = s.
|
|
134224
|
+
this.activeKey = 1, this.type = "copy", this.visible = !0, this.confirmLoading = !0, this.disabledBtns = ["prev", "next"], this.mode = 2, this.selType = s.modetype, sysMenuDetail({ id: s.id }).then((t) => {
|
|
134105
134225
|
let a = { ...s };
|
|
134106
134226
|
t.code === 200 && (a = { ...t.data }), this.record = Object.assign(a, { sysAppsIded: s.sysAppsIded }), this.ruleForm = {
|
|
134107
134227
|
name: a.name,
|
|
134108
|
-
code: a.code +
|
|
134228
|
+
code: a.code + uuid$1(2),
|
|
134109
134229
|
router: a.router,
|
|
134110
134230
|
icon: a.icon,
|
|
134111
|
-
viewWeights: a.
|
|
134112
|
-
weight: a.weight,
|
|
134231
|
+
viewWeights: a.viewweights,
|
|
134232
|
+
weight: String(a.weight),
|
|
134113
134233
|
sort: a.sort,
|
|
134114
134234
|
visible: a.visible,
|
|
134115
134235
|
remark: a.remark,
|
|
134116
134236
|
sysCodeGenName: ""
|
|
134117
134237
|
}, this.confirmLoading = !1;
|
|
134118
|
-
})
|
|
134238
|
+
});
|
|
134119
134239
|
},
|
|
134120
134240
|
handleSubmit() {
|
|
134121
134241
|
this.confirmLoading = !0, this.$refs.ruleForm.validate((s) => {
|
|
@@ -134141,11 +134261,11 @@ const mixins$6 = {
|
|
|
134141
134261
|
} : {
|
|
134142
134262
|
pid: this.record.pid,
|
|
134143
134263
|
application: this.record.application,
|
|
134144
|
-
openType: this.record.
|
|
134264
|
+
openType: this.record.opentype,
|
|
134145
134265
|
type: this.record.type,
|
|
134146
134266
|
component: this.record.component,
|
|
134147
|
-
webSource: this.record.
|
|
134148
|
-
pageContent: this.record.
|
|
134267
|
+
webSource: this.record.websource,
|
|
134268
|
+
pageContent: this.record.pagecontent,
|
|
134149
134269
|
sysAppsId: this.record.sysAppsIded
|
|
134150
134270
|
};
|
|
134151
134271
|
sysMenuAddV2(Object.assign({ ...this.ruleForm }, s)).then((t) => {
|
|
@@ -134294,7 +134414,7 @@ var _sfc_render$H = function s() {
|
|
|
134294
134414
|
_sfc_staticRenderFns$H,
|
|
134295
134415
|
!1,
|
|
134296
134416
|
null,
|
|
134297
|
-
"
|
|
134417
|
+
"2e0c6173",
|
|
134298
134418
|
null,
|
|
134299
134419
|
null
|
|
134300
134420
|
);
|
|
@@ -137015,7 +137135,7 @@ function processingResults(s, t, a) {
|
|
|
137015
137135
|
function isSatisfyed(s, t) {
|
|
137016
137136
|
return t === "2" ? s.every((a, r, o) => !a) : s.every((a, r, o) => !!a);
|
|
137017
137137
|
}
|
|
137018
|
-
const
|
|
137138
|
+
const processFlow_vue_vue_type_style_index_0_scoped_3002a235_lang = "", _sfc_main$n = {
|
|
137019
137139
|
props: {
|
|
137020
137140
|
fieldData: {
|
|
137021
137141
|
type: Array,
|
|
@@ -137440,7 +137560,7 @@ const processFlow_vue_vue_type_style_index_0_scoped_0daf0169_lang = "", _sfc_mai
|
|
|
137440
137560
|
if (!s || s.id === this.seeData.id)
|
|
137441
137561
|
return;
|
|
137442
137562
|
let t = [...this.list];
|
|
137443
|
-
t.map((a) => (a.class = a.id == s.id ? "item-active" : a.statu == 0 || a.statu == 1 ? "item-over" : "", a.style = a.id == s.id ? {} : this.styled(a), a)), this.seeData = { ...s }, this.list = [...t], this.changeData({})
|
|
137563
|
+
t.map((a) => (a.class = a.id == s.id ? "item-active" : a.statu == 0 || a.statu == 1 ? "item-over" : "", a.style = a.id == s.id ? {} : this.styled(a), a)), this.seeData = { ...s }, this.list = [...t], this.changeData({});
|
|
137444
137564
|
},
|
|
137445
137565
|
boundField() {
|
|
137446
137566
|
const s = (r) => (r = r.filter((o, l) => {
|
|
@@ -137522,10 +137642,11 @@ const processFlow_vue_vue_type_style_index_0_scoped_0daf0169_lang = "", _sfc_mai
|
|
|
137522
137642
|
stagecompletename: f.join(",")
|
|
137523
137643
|
}, p = Object.assign({ ...this.stageData }, { ...h }), v = {
|
|
137524
137644
|
fieldsList: o.fieldsList ? o.fieldsList : [],
|
|
137525
|
-
updateOpen: o.updateOpen === void 0 ? !1 : o.updateOpen
|
|
137645
|
+
updateOpen: o.updateOpen === void 0 ? !1 : o.updateOpen,
|
|
137646
|
+
id: this.seeData.id
|
|
137526
137647
|
};
|
|
137527
137648
|
onlineBizProcessStageSave(p).then((g) => {
|
|
137528
|
-
g.success ? (this.stageData = p, this.isSerialize = !1, this.editHandling()
|
|
137649
|
+
g.success ? (this.baseEdit(v), this.stageData = p, this.isSerialize = !1, this.editHandling()) : this.$message.warning(g.message), this.confirmLoading = !1;
|
|
137529
137650
|
});
|
|
137530
137651
|
}).catch(() => {
|
|
137531
137652
|
this.confirmLoading = !1;
|
|
@@ -137562,7 +137683,7 @@ const processFlow_vue_vue_type_style_index_0_scoped_0daf0169_lang = "", _sfc_mai
|
|
|
137562
137683
|
let o = /* @__PURE__ */ new Map();
|
|
137563
137684
|
a.updateFiled.forEach((v) => {
|
|
137564
137685
|
const g = this.fieldData.filter((y) => y.id === v)[0];
|
|
137565
|
-
o.set(g.
|
|
137686
|
+
o.set(g.columnname, this.parameterData[g.columnname]);
|
|
137566
137687
|
});
|
|
137567
137688
|
let l = t.filter((v) => ["about"].includes(v.options.effectType)), d = t.filter((v) => ["participants"].includes(v.options.effectType));
|
|
137568
137689
|
l.forEach((v) => {
|
|
@@ -137588,7 +137709,7 @@ const processFlow_vue_vue_type_style_index_0_scoped_0daf0169_lang = "", _sfc_mai
|
|
|
137588
137709
|
id: this.parameterData.id
|
|
137589
137710
|
};
|
|
137590
137711
|
baseEdit(Object.assign(u, p)).then((v) => {
|
|
137591
|
-
v.code === 200
|
|
137712
|
+
v.code === 200 ? (this.$emit("ok"), this.$emit("flowFields", { data: Object.fromEntries(f), updateOpen: s.updateOpen })) : this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25:") + v.message);
|
|
137592
137713
|
});
|
|
137593
137714
|
},
|
|
137594
137715
|
addHandling() {
|
|
@@ -137751,11 +137872,11 @@ var _sfc_render$n = function s() {
|
|
|
137751
137872
|
_sfc_staticRenderFns$n,
|
|
137752
137873
|
!1,
|
|
137753
137874
|
null,
|
|
137754
|
-
"
|
|
137875
|
+
"3002a235",
|
|
137755
137876
|
null,
|
|
137756
137877
|
null
|
|
137757
137878
|
);
|
|
137758
|
-
const ProcessFlow = __component__$n.exports,
|
|
137879
|
+
const ProcessFlow = __component__$n.exports, main_vue_vue_type_style_index_0_scoped_17ddf9dd_lang = "", _sfc_main$m = {
|
|
137759
137880
|
name: "GdFormBuild",
|
|
137760
137881
|
props: {
|
|
137761
137882
|
modeType: {
|
|
@@ -137789,6 +137910,7 @@ const ProcessFlow = __component__$n.exports, main_vue_vue_type_style_index_0_sco
|
|
|
137789
137910
|
},
|
|
137790
137911
|
data() {
|
|
137791
137912
|
return {
|
|
137913
|
+
statu: !1,
|
|
137792
137914
|
tableDetails: null,
|
|
137793
137915
|
id: "",
|
|
137794
137916
|
record: null,
|
|
@@ -137848,8 +137970,16 @@ const ProcessFlow = __component__$n.exports, main_vue_vue_type_style_index_0_sco
|
|
|
137848
137970
|
this.$emit("changeId", s);
|
|
137849
137971
|
}
|
|
137850
137972
|
},
|
|
137851
|
-
components: { BuildBlocks, DataAssign, ProcessFlow, Duplicate },
|
|
137973
|
+
components: { BuildBlocks, DataAssign, ProcessFlow, Duplicate, TeamSharing },
|
|
137852
137974
|
methods: {
|
|
137975
|
+
showLoading() {
|
|
137976
|
+
this.statu = !0;
|
|
137977
|
+
},
|
|
137978
|
+
hideLoading(s = 1500) {
|
|
137979
|
+
setTimeout(() => {
|
|
137980
|
+
this.statu = !1;
|
|
137981
|
+
}, s);
|
|
137982
|
+
},
|
|
137853
137983
|
changeFlowFields(s) {
|
|
137854
137984
|
s.updateOpen && this.baseSetData(s.data);
|
|
137855
137985
|
},
|
|
@@ -137882,6 +138012,9 @@ const ProcessFlow = __component__$n.exports, main_vue_vue_type_style_index_0_sco
|
|
|
137882
138012
|
assign() {
|
|
137883
138013
|
this.baseAssign();
|
|
137884
138014
|
},
|
|
138015
|
+
teamSharing() {
|
|
138016
|
+
this.baseTeamSharing();
|
|
138017
|
+
},
|
|
137885
138018
|
getTableData() {
|
|
137886
138019
|
this.tableDetails || codeGenerateGetDetail({
|
|
137887
138020
|
id: this.tableData.id
|
|
@@ -137920,9 +138053,7 @@ const ProcessFlow = __component__$n.exports, main_vue_vue_type_style_index_0_sco
|
|
|
137920
138053
|
return this.confirmLoading = !0, new Promise((t, a) => {
|
|
137921
138054
|
this.getFormAllData().then((r) => {
|
|
137922
138055
|
[...r.fkList];
|
|
137923
|
-
let o = this.recordRelation.foreign === void 0 ? "" : this.recordRelation.foreign.fkValue;
|
|
137924
|
-
console.log(o, this.recordRelation.foreign, this.recordRelation);
|
|
137925
|
-
let l = !1, d = !1;
|
|
138056
|
+
let o = this.recordRelation.foreign === void 0 ? "" : this.recordRelation.foreign.fkValue, l = !1, d = !1;
|
|
137926
138057
|
if (this.recordRelation.options && (l = this.recordRelation.options.saved === void 0 ? !1 : this.recordRelation.options.saved, d = this.recordRelation.options.refreshHost === void 0 ? !1 : this.recordRelation.options.refreshHost), this.isRelevance) {
|
|
137927
138058
|
this.$emit("relationOk", { data: r, fkDataList: this.allField });
|
|
137928
138059
|
return;
|
|
@@ -138519,6 +138650,9 @@ const ProcessFlow = __component__$n.exports, main_vue_vue_type_style_index_0_sco
|
|
|
138519
138650
|
baseAssign() {
|
|
138520
138651
|
this.$refs.dataAssign.open([this.id]);
|
|
138521
138652
|
},
|
|
138653
|
+
baseTeamSharing() {
|
|
138654
|
+
this.$refs.teamSharing.open(this.id);
|
|
138655
|
+
},
|
|
138522
138656
|
baseAddFlow(s, t) {
|
|
138523
138657
|
this.id = s, this.parameterData = Object.assign(this.parameterData, { id: s }), this.$refs.processFlow.baseAddFlow(s), t !== 1 && (this.confirmLoading = !0, this.getDetail());
|
|
138524
138658
|
},
|
|
@@ -138692,14 +138826,15 @@ const ProcessFlow = __component__$n.exports, main_vue_vue_type_style_index_0_sco
|
|
|
138692
138826
|
},
|
|
138693
138827
|
baseChange(s, t = 1) {
|
|
138694
138828
|
const a = s.options.columnName ? s.options.columnName.toLowerCase() : s.options.columnName;
|
|
138695
|
-
let r = this.allField.filter((
|
|
138696
|
-
|
|
138829
|
+
let r = this.allField.filter((u) => (u.options.columnName ? u.options.columnName.toLowerCase() : u.options.columnName) === a)[0];
|
|
138830
|
+
const o = s.options.spaceTrim ? s.options.spaceTrim : "none";
|
|
138831
|
+
["around", "all"].includes(o) && (this.parameterData[a] = o === "around" ? this.parameterData[a].trim() : this.parameterData[a].replace(/\s+/g, "")), t === 1 && this.$refs.processFlow.setData(s), r && r.setData && t === 2 && (r.setData({
|
|
138697
138832
|
val: r.options.effectType === "file" ? s.sourceData : this.parameterData[a],
|
|
138698
138833
|
items: Object.assign(r, { effecttype: r.options.effectType }),
|
|
138699
138834
|
fkData: ["file", "images"].includes(r.options.effectType) ? null : s.fkData
|
|
138700
138835
|
}), r.fkData = ["file", "images"].includes(r.options.effectType) ? null : s.fkData), this.setCurrencies(s), this.baseUsageFieldRules(s), this.fkNotice(s, !0), this.displayNotice(s);
|
|
138701
|
-
const
|
|
138702
|
-
|
|
138836
|
+
const l = this.formData.options.controlStatu !== void 0 ? this.formData.options.controlStatu : !1, d = this.fieldData.filter((u) => u.columnname == this.formData.options.controlField)[0];
|
|
138837
|
+
l && d && a === d.columnname && this.setDelevanceBtn(), setTimeout(() => {
|
|
138703
138838
|
this.$emit("change", s);
|
|
138704
138839
|
}, 10);
|
|
138705
138840
|
},
|
|
@@ -138817,13 +138952,13 @@ var _sfc_render$m = function s() {
|
|
|
138817
138952
|
var t = this, a = t._self._c;
|
|
138818
138953
|
return a("div", [t.modeType === "editForm" ? [t.getFormModes === "dialog" ? 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, "append-to-body": !0, "modal-append-to-body": !0, top: "80px" }, on: { "update:visible": function(r) {
|
|
138819
138954
|
t.visible = r;
|
|
138820
|
-
}, closed: t.closed } }, [a("gd-modal-title", { attrs: { slot: "title", title: t.title, fullscreen: t.fullscreen, buttons: t.sysViewButtons, confirmLoading: t.confirmLoading }, on: { changeEvent: t.doEvent, toggleFullscreen: t.toggleFullscreen }, slot: "title" }), a("div", { directives: [{ name: "loading", rawName: "v-loading", value: t.confirmLoading, expression: "confirmLoading" }], staticStyle: { "min-height": "30vh" } }, [t.visible ? a("ProcessFlow", { ref: "processFlow", attrs: { parameterData: t.parameterData, tableData: t.tableData, fieldData: t.fieldData, allField: t.allField, formData: t.formData, openMode: t.openMode, fkValue: t.id, options: t.options, labelWidth: t.labelWidth }, on: { change: (r) => t.baseChange(r, 2), ok: function(r) {
|
|
138955
|
+
}, closed: t.closed } }, [a("gd-modal-title", { attrs: { slot: "title", title: t.title, fullscreen: t.fullscreen, buttons: t.sysViewButtons, confirmLoading: !!(t.confirmLoading || t.statu) }, on: { changeEvent: t.doEvent, toggleFullscreen: t.toggleFullscreen }, slot: "title" }), a("div", { directives: [{ name: "loading", rawName: "v-loading", value: t.confirmLoading, expression: "confirmLoading" }], staticStyle: { "min-height": "30vh" } }, [t.visible ? a("ProcessFlow", { ref: "processFlow", attrs: { parameterData: t.parameterData, tableData: t.tableData, fieldData: t.fieldData, allField: t.allField, formData: t.formData, openMode: t.openMode, fkValue: t.id, options: t.options, labelWidth: t.labelWidth }, on: { change: (r) => t.baseChange(r, 2), ok: function(r) {
|
|
138821
138956
|
return t.$emit("ok");
|
|
138822
138957
|
}, lookup: t.lookup, updateFiled: t.changeFlowFiled, flowFields: t.changeFlowFields } }) : t._e(), t.visible ? a("el-form", { ref: "ruleForm", attrs: { model: t.parameterData, "label-width": t.labelWidth, "label-position": t.options.labelPosition, inline: t.options.inline }, nativeOn: { submit: function(r) {
|
|
138823
138958
|
r.preventDefault();
|
|
138824
138959
|
} } }, [a("BuildBlocks", { attrs: { record: { options: t.formData }, isForm: !0, model: t.parameterData, tableData: t.tableData, height: t.getHeight }, on: { lookup: t.lookup, change: (r) => t.baseChange(r, 1) } })], 1) : t._e()], 1)], 1) : a("el-drawer", { attrs: { visible: t.visible, "close-on-press-escape": !1, "append-to-body": !0, "modal-append-to-body": !1, size: t.drawerWidth, "custom-class": "gd-drawer-form", wrapperClosable: !1 }, on: { "update:visible": function(r) {
|
|
138825
138960
|
t.visible = r;
|
|
138826
|
-
} } }, [a("gd-modal-title", { attrs: { slot: "title", title: t.title, modalType: "drawer", fullscreen: t.fullscreen, buttons: t.sysViewButtons, confirmLoading: t.confirmLoading }, on: { changeEvent: t.doEvent, toggleFullscreen: t.toggleFullscreen }, slot: "title" }), a("div", { directives: [{ name: "loading", rawName: "v-loading", value: t.confirmLoading, expression: "confirmLoading" }] }, [t.visible ? a("ProcessFlow", { ref: "processFlow", attrs: { parameterData: t.parameterData, tableData: t.tableData, fieldData: t.fieldData, allField: t.allField, formData: t.formData, openMode: t.openMode, fkValue: t.id, options: t.options, labelWidth: t.labelWidth }, on: { change: (r) => t.baseChange(r, 2), ok: function(r) {
|
|
138961
|
+
} } }, [a("gd-modal-title", { attrs: { slot: "title", title: t.title, modalType: "drawer", fullscreen: t.fullscreen, buttons: t.sysViewButtons, confirmLoading: !!(t.confirmLoading || t.statu) }, on: { changeEvent: t.doEvent, toggleFullscreen: t.toggleFullscreen }, slot: "title" }), a("div", { directives: [{ name: "loading", rawName: "v-loading", value: t.confirmLoading, expression: "confirmLoading" }] }, [t.visible ? a("ProcessFlow", { ref: "processFlow", attrs: { parameterData: t.parameterData, tableData: t.tableData, fieldData: t.fieldData, allField: t.allField, formData: t.formData, openMode: t.openMode, fkValue: t.id, options: t.options, labelWidth: t.labelWidth }, on: { change: (r) => t.baseChange(r, 2), ok: function(r) {
|
|
138827
138962
|
return t.$emit("ok");
|
|
138828
138963
|
}, lookup: t.lookup, updateFiled: t.changeFlowFiled, flowFields: t.changeFlowFields } }) : t._e(), t.visible ? a("el-form", { ref: "ruleForm", attrs: { model: t.parameterData, "label-width": t.labelWidth, "label-position": t.options.labelPosition, inline: t.options.inline } }, [a("BuildBlocks", { attrs: { record: { options: t.formData }, isForm: !0, height: t.getHeight, model: t.parameterData, tableData: t.tableData }, on: { lookup: t.lookup, change: (r) => t.baseChange(r, 1) } })], 1) : t._e()], 1)], 1)] : t.modeType === "iframe" ? [a("div", { directives: [{ name: "loading", rawName: "v-loading", value: t.confirmLoading, expression: "confirmLoading" }], staticClass: "gd-form-iframe" }, [a("div", { staticClass: "iframe-title" }, [a("div", { staticClass: "iframe-title-l" }, [t._v(t._s(t.title))]), a("div", { staticClass: "iframe-title-r" }, [a("gd-btn-list", { attrs: { sysViewButtons: t.sysViewButtons }, on: { functionName: t.doEvent } })], 1), a("div", { staticClass: "el-icon-close", on: { click: function(r) {
|
|
138829
138964
|
return t.closed(1);
|
|
@@ -138831,7 +138966,7 @@ var _sfc_render$m = function s() {
|
|
|
138831
138966
|
return t.$emit("ok");
|
|
138832
138967
|
}, lookup: t.lookup, updateFiled: t.changeFlowFiled, flowFields: t.changeFlowFields } }) : t._e(), t.visible ? a("el-form", { ref: "ruleForm", attrs: { model: t.parameterData, "label-width": t.labelWidth, "label-position": t.options.labelPosition, inline: t.options.inline } }, [a("BuildBlocks", { attrs: { record: { options: t.formData }, isForm: !0, model: t.parameterData, tableData: t.tableData }, on: { lookup: t.lookup, change: (r) => t.baseChange(r, 1) } })], 1) : t._e()], 1)])] : a("div", [t.visible ? a("el-form", { ref: "ruleForm", attrs: { model: t.parameterData, "label-width": t.labelWidth, "label-position": t.options.labelPosition, inline: t.options.inline }, nativeOn: { submit: function(r) {
|
|
138833
138968
|
r.preventDefault();
|
|
138834
|
-
} } }, [a("BuildBlocks", { attrs: { record: { options: t.formData }, isForm: !0, model: t.parameterData, tableData: t.tableData }, on: { lookup: t.lookup, change: (r) => t.baseChange(r, 1) } })], 1) : t._e()], 1), a("DataAssign", { ref: "dataAssign", attrs: { tableData: t.tableData } }), a("gd-search", { ref: "viewSearch", attrs: { appendToBody: !0 }, on: { lookupSeled: t.lookupSeled } }), t._l(t.componentList, function(r, o) {
|
|
138969
|
+
} } }, [a("BuildBlocks", { attrs: { record: { options: t.formData }, isForm: !0, model: t.parameterData, tableData: t.tableData }, on: { lookup: t.lookup, change: (r) => t.baseChange(r, 1) } })], 1) : t._e()], 1), a("DataAssign", { ref: "dataAssign", attrs: { tableData: t.tableData } }), a("TeamSharing", { ref: "teamSharing", attrs: { tableData: t.tableData } }), a("gd-search", { ref: "viewSearch", attrs: { appendToBody: !0 }, on: { lookupSeled: t.lookupSeled } }), t._l(t.componentList, function(r, o) {
|
|
138835
138970
|
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) } })];
|
|
138836
138971
|
}), t.tableDetails && t.tableDetails.ischeckduplicate == 1 ? a("Duplicate", { ref: "duplicate", on: { ok: t.handleOk } }) : t._e()], 2);
|
|
138837
138972
|
}, _sfc_staticRenderFns$m = [], __component__$m = /* @__PURE__ */ normalizeComponent(
|
|
@@ -138840,7 +138975,7 @@ var _sfc_render$m = function s() {
|
|
|
138840
138975
|
_sfc_staticRenderFns$m,
|
|
138841
138976
|
!1,
|
|
138842
138977
|
null,
|
|
138843
|
-
"
|
|
138978
|
+
"17ddf9dd",
|
|
138844
138979
|
null,
|
|
138845
138980
|
null
|
|
138846
138981
|
);
|
|
@@ -138848,7 +138983,7 @@ const GDpackage$6 = __component__$m.exports;
|
|
|
138848
138983
|
GDpackage$6.install = function(s) {
|
|
138849
138984
|
s.component(GDpackage$6.name, GDpackage$6);
|
|
138850
138985
|
};
|
|
138851
|
-
const
|
|
138986
|
+
const main_vue_vue_type_style_index_0_scoped_4cbbb9fa_lang = "", plugFilters = {
|
|
138852
138987
|
referencefiled: "",
|
|
138853
138988
|
referencetable: "",
|
|
138854
138989
|
checked: !1,
|
|
@@ -138916,6 +139051,10 @@ const main_vue_vue_type_style_index_0_scoped_b5a328d2_lang = "", plugFilters = {
|
|
|
138916
139051
|
openMode: {
|
|
138917
139052
|
type: [String, Number],
|
|
138918
139053
|
default: 1
|
|
139054
|
+
},
|
|
139055
|
+
confirmLoading: {
|
|
139056
|
+
type: Boolean,
|
|
139057
|
+
default: !1
|
|
138919
139058
|
}
|
|
138920
139059
|
},
|
|
138921
139060
|
data() {
|
|
@@ -139071,18 +139210,18 @@ var _sfc_render$l = function s() {
|
|
|
139071
139210
|
} } }, [t.defaultViewId === r.id ? a("i", { staticClass: "el-icon-star-on active-color" }) : t._e(), a("div", { staticClass: "name-title" }, [t._v(t._s(t.$i18nt(`Dynamics.${r.transkey}`, r.name)))]), t.defaultViewId !== r.id ? a("i", { staticClass: "el-icon-star-off active-color", on: { click: function(o) {
|
|
139072
139211
|
return o.stopPropagation(), t.setDefault(r);
|
|
139073
139212
|
} } }) : t._e(), t.viewCode === r.id ? a("i", { staticClass: "gd-icons gd-icon-a-dingshuding-fill1" }) : t._e()])];
|
|
139074
|
-
})], 2), a("el-button", { attrs: { slot: "reference", type: "primary" }, slot: "reference" }, [a("div", { staticClass: "selectionl-popover-view" }, [a("div", { staticClass: "selectionl-popover-name line1" }, [t._v(t._s(t.getTitle))]), a("i", { staticClass: "el-icon-arrow-down" })])])], 1)], 1) : a("div", { staticClass: "selectionl" }, [t.openMode == 2 ? a("div", { staticClass: "operatorsel" }, [t._v(" " + t._s(t.$i18nt("gd.basics.selected")) + " "), a("span", [t._v(t._s(t.selectedRowKeys.length))]), t._v(" " + t._s(t.$i18nt("gd.basics.data")) + " ")]) : t._e()]), a("div", { staticClass: "selectionr" }, [a("gd-btn-list", { attrs: { sysViewButtons: t.sysViewButtons, max: t.maxBtnLength }, on: { functionName: t.functionName } })], 1), a("EditPerson", { ref: "editPerson", attrs: { table: t.tableData }, on: { ok: t.configOk } })], 1);
|
|
139213
|
+
})], 2), a("el-button", { attrs: { slot: "reference", type: "primary" }, slot: "reference" }, [a("div", { staticClass: "selectionl-popover-view" }, [a("div", { staticClass: "selectionl-popover-name line1" }, [t._v(t._s(t.getTitle))]), a("i", { staticClass: "el-icon-arrow-down" })])])], 1)], 1) : a("div", { staticClass: "selectionl" }, [t.openMode == 2 ? a("div", { staticClass: "operatorsel" }, [t._v(" " + t._s(t.$i18nt("gd.basics.selected")) + " "), a("span", [t._v(t._s(t.selectedRowKeys.length))]), t._v(" " + t._s(t.$i18nt("gd.basics.data")) + " ")]) : t._e()]), a("div", { staticClass: "selectionr" }, [a("gd-btn-list", { attrs: { sysViewButtons: t.sysViewButtons, max: t.maxBtnLength }, on: { functionName: t.functionName } }), t.confirmLoading ? a("div", { staticClass: "gd-dialog-meng" }) : t._e()], 1), a("EditPerson", { ref: "editPerson", attrs: { table: t.tableData }, on: { ok: t.configOk } })], 1);
|
|
139075
139214
|
}, _sfc_staticRenderFns$l = [], __component__$l = /* @__PURE__ */ normalizeComponent(
|
|
139076
139215
|
_sfc_main$l,
|
|
139077
139216
|
_sfc_render$l,
|
|
139078
139217
|
_sfc_staticRenderFns$l,
|
|
139079
139218
|
!1,
|
|
139080
139219
|
null,
|
|
139081
|
-
"
|
|
139220
|
+
"4cbbb9fa",
|
|
139082
139221
|
null,
|
|
139083
139222
|
null
|
|
139084
139223
|
);
|
|
139085
|
-
const ViewSelection = __component__$l.exports,
|
|
139224
|
+
const ViewSelection = __component__$l.exports, main_vue_vue_type_style_index_0_scoped_e325fd0b_lang = "", _sfc_main$k = {
|
|
139086
139225
|
props: {
|
|
139087
139226
|
tableData: {
|
|
139088
139227
|
type: Object,
|
|
@@ -139205,6 +139344,9 @@ const ViewSelection = __component__$l.exports, main_vue_vue_type_style_index_0_s
|
|
|
139205
139344
|
let a = parseInt(s.substring(1, 3), 16), r = parseInt(s.substring(3, 5), 16), o = parseInt(s.substring(5, 7), 16);
|
|
139206
139345
|
return `rgba(${a},${r},${o},${t})`;
|
|
139207
139346
|
},
|
|
139347
|
+
getDictionary(s) {
|
|
139348
|
+
return this.$options.filters.dictData(s);
|
|
139349
|
+
},
|
|
139208
139350
|
doEvent(s) {
|
|
139209
139351
|
let t = s.item.functionName;
|
|
139210
139352
|
this[t] && this[t]();
|
|
@@ -139230,11 +139372,11 @@ var _sfc_render$k = function s() {
|
|
|
139230
139372
|
_sfc_staticRenderFns$k,
|
|
139231
139373
|
!1,
|
|
139232
139374
|
null,
|
|
139233
|
-
"
|
|
139375
|
+
"e325fd0b",
|
|
139234
139376
|
null,
|
|
139235
139377
|
null
|
|
139236
139378
|
);
|
|
139237
|
-
const ViewCharts = __component__$k.exports,
|
|
139379
|
+
const ViewCharts = __component__$k.exports, main_vue_vue_type_style_index_0_scoped_00665f78_lang = "", _sfc_main$j = {
|
|
139238
139380
|
name: "GdViewBuildDesigner",
|
|
139239
139381
|
props: {
|
|
139240
139382
|
record: {
|
|
@@ -139392,6 +139534,14 @@ const ViewCharts = __component__$k.exports, main_vue_vue_type_style_index_0_scop
|
|
|
139392
139534
|
...mapGetters(["primaryColor", "screenHeight", "tableLists", "tableSize", "tablePageSize"])
|
|
139393
139535
|
},
|
|
139394
139536
|
methods: {
|
|
139537
|
+
showLoading() {
|
|
139538
|
+
this.statu = !0;
|
|
139539
|
+
},
|
|
139540
|
+
hideLoading(s = 1500) {
|
|
139541
|
+
setTimeout(() => {
|
|
139542
|
+
this.statu = !1;
|
|
139543
|
+
}, s);
|
|
139544
|
+
},
|
|
139395
139545
|
hideQueryParam(s) {
|
|
139396
139546
|
this.hideQueryField = [...s];
|
|
139397
139547
|
},
|
|
@@ -139466,6 +139616,9 @@ const ViewCharts = __component__$k.exports, main_vue_vue_type_style_index_0_scop
|
|
|
139466
139616
|
s.id != this.viewCode && (this.viewCode = s.id, this.queryParam = {}, this.$refs.table.setTableData([], !1), this.baseGetView());
|
|
139467
139617
|
},
|
|
139468
139618
|
showFile(s, t, a) {
|
|
139619
|
+
if (this.statu)
|
|
139620
|
+
return;
|
|
139621
|
+
this.showLoading();
|
|
139469
139622
|
const r = t[s.prop];
|
|
139470
139623
|
let o = r;
|
|
139471
139624
|
typeof r == "string" && (o = JSON.parse(r));
|
|
@@ -139487,30 +139640,33 @@ const ViewCharts = __component__$k.exports, main_vue_vue_type_style_index_0_scop
|
|
|
139487
139640
|
d.generateAsync({
|
|
139488
139641
|
type: "blob"
|
|
139489
139642
|
}).then((p) => {
|
|
139490
|
-
FileSaver$1.saveAs(p, l);
|
|
139491
|
-
})
|
|
139643
|
+
FileSaver$1.saveAs(p, l), this.hideLoading(), h.close();
|
|
139644
|
+
});
|
|
139492
139645
|
}).catch((p) => {
|
|
139493
|
-
h.close(), this.$message.error("err!");
|
|
139646
|
+
h.close(), this.hideLoading(), this.$message.error("err!");
|
|
139494
139647
|
});
|
|
139495
139648
|
},
|
|
139496
139649
|
showImg(s, t) {
|
|
139497
|
-
this.imgList = t, this.currentImg = s, this.$refs.imgPreview.imgListShow = !0, this.$refs.imgPreview.open();
|
|
139650
|
+
this.statu || (this.showLoading(), this.imgList = t, this.currentImg = s, this.$refs.imgPreview.imgListShow = !0, this.$refs.imgPreview.open(), this.hideLoading());
|
|
139498
139651
|
},
|
|
139499
139652
|
preview(s, t) {
|
|
139500
139653
|
if (this.statu)
|
|
139501
139654
|
return;
|
|
139655
|
+
this.showLoading();
|
|
139502
139656
|
const a = s.fileoriginname.substr(s.fileoriginname.lastIndexOf(".") + 1).toLowerCase();
|
|
139503
|
-
this.fileOptions = { ...t }, ["gif", "jpeg", "png", "jpg", "JPG", "PNG"].includes(a) ?
|
|
139657
|
+
this.fileOptions = { ...t }, ["gif", "jpeg", "png", "jpg", "JPG", "PNG"].includes(a) ? sysFileInfoPreview({
|
|
139504
139658
|
id: s.id
|
|
139505
139659
|
}).then((r) => {
|
|
139506
139660
|
const o = window.URL.createObjectURL(new Blob([r]));
|
|
139507
|
-
this.imgList = [o], this.currentImg = o, this.$refs.imgPreview.open(), this.statu = !1;
|
|
139508
|
-
})
|
|
139661
|
+
this.imgList = [o], this.currentImg = o, this.$refs.imgPreview.open(), this.statu = !1, this.hideLoading();
|
|
139662
|
+
}).catch(() => {
|
|
139663
|
+
this.hideLoading();
|
|
139664
|
+
}) : ["mp4", "webm", "mp3", "wav", "docx", "excel", "pdf", "xlsx", "pptx"].includes(a) && (this.$refs.filePreview.open(Object.assign(s, { fileId: s.id || s.Id, name: s.fileoriginname })), this.hideLoading());
|
|
139509
139665
|
},
|
|
139510
139666
|
baseQuickForm(s, t) {
|
|
139511
139667
|
if (this.statu)
|
|
139512
139668
|
return;
|
|
139513
|
-
if (String(s.id).split("u").length > 1) {
|
|
139669
|
+
if (this.showLoading(), String(s.id).split("u").length > 1) {
|
|
139514
139670
|
let r = t.fieldType == "about" ? t.prop + "_AboutTable" : t.columnName, o = t.fieldType == "about" ? s[r] : t.fkEntityName, l = this.tableLists.filter((h) => h.tablename == o)[0], d = (t.fieldType == "about", s[t.columnName]), u = {
|
|
139515
139671
|
tableId: l.id,
|
|
139516
139672
|
data: [
|
|
@@ -139528,7 +139684,7 @@ const ViewCharts = __component__$k.exports, main_vue_vue_type_style_index_0_scop
|
|
|
139528
139684
|
this.$refs.middleware.init(u).then((h) => {
|
|
139529
139685
|
setTimeout(() => {
|
|
139530
139686
|
this.statu = !1;
|
|
139531
|
-
}, 1e3), f.close();
|
|
139687
|
+
}, 1e3), f.close(), this.hideLoading();
|
|
139532
139688
|
});
|
|
139533
139689
|
return;
|
|
139534
139690
|
}
|
|
@@ -139554,40 +139710,39 @@ const ViewCharts = __component__$k.exports, main_vue_vue_type_style_index_0_scop
|
|
|
139554
139710
|
}).then((l) => {
|
|
139555
139711
|
setTimeout(() => {
|
|
139556
139712
|
this.statu = !1;
|
|
139557
|
-
}, 1e3), o.close();
|
|
139713
|
+
}, 1e3), o.close(), this.hideLoading();
|
|
139558
139714
|
});
|
|
139559
139715
|
return;
|
|
139560
139716
|
}
|
|
139561
139717
|
this.baseQuickFk({ data: s, item: t });
|
|
139562
139718
|
},
|
|
139563
139719
|
changeQuickView(s) {
|
|
139720
|
+
if (this.statu)
|
|
139721
|
+
return;
|
|
139722
|
+
this.showLoading();
|
|
139564
139723
|
const t = this.lineQuickView(s);
|
|
139565
139724
|
(typeof t == "object" || typeof t == "function") && typeof t.then == "function" ? t.then((a) => {
|
|
139566
139725
|
this.changeQuickViewOk(a);
|
|
139567
139726
|
}).catch(() => {
|
|
139568
|
-
console.log("\u7528\u6237\u7EC8\u6B62\u64CD\u4F5C");
|
|
139727
|
+
console.log("\u7528\u6237\u7EC8\u6B62\u64CD\u4F5C"), this.hideLoading();
|
|
139569
139728
|
}) : this.changeQuickViewOk(s);
|
|
139570
139729
|
},
|
|
139571
139730
|
changeQuickViewOk(s) {
|
|
139572
|
-
if (this.
|
|
139573
|
-
return;
|
|
139574
|
-
if (this.statu = !0, setTimeout(() => {
|
|
139575
|
-
this.statu = !1;
|
|
139576
|
-
}, 1e3), this.openMode == 3) {
|
|
139731
|
+
if (this.openMode == 3) {
|
|
139577
139732
|
this.open({
|
|
139578
139733
|
title: this.$i18nt("gd.common.https.edit", "\u7F16\u8F91"),
|
|
139579
139734
|
data: s
|
|
139580
|
-
});
|
|
139735
|
+
}), this.hideLoading();
|
|
139581
139736
|
return;
|
|
139582
139737
|
}
|
|
139583
139738
|
if (this.tableData.isvirtualtable === 1) {
|
|
139584
|
-
this.open(Object.assign({ title: this.$i18nt("gd.common.https.edit", "\u7F16\u8F91") }, { ...s }));
|
|
139739
|
+
this.open(Object.assign({ title: this.$i18nt("gd.common.https.edit", "\u7F16\u8F91") }, { ...s })), this.hideLoading();
|
|
139585
139740
|
return;
|
|
139586
139741
|
}
|
|
139587
139742
|
this.open({
|
|
139588
139743
|
title: this.$i18nt("gd.common.https.edit", "\u7F16\u8F91"),
|
|
139589
139744
|
id: s.id
|
|
139590
|
-
});
|
|
139745
|
+
}), this.hideLoading();
|
|
139591
139746
|
},
|
|
139592
139747
|
operatorScope(s, t) {
|
|
139593
139748
|
const a = s.sourceFk !== void 0 ? s.sourceFk : !(s.fieldType != "fk" && s.fieldType != "about" && s.fieldType != "user");
|
|
@@ -140004,7 +140159,6 @@ const ViewCharts = __component__$k.exports, main_vue_vue_type_style_index_0_scop
|
|
|
140004
140159
|
this.$refs.dataAssign.open(this.selectedRowKeys);
|
|
140005
140160
|
},
|
|
140006
140161
|
baseQuickAbout(s, t) {
|
|
140007
|
-
this.statu = !0;
|
|
140008
140162
|
const a = this.$message({
|
|
140009
140163
|
message: this.$i18nt("gd.https.Loading", "\u52A0\u8F7D\u4E2D..."),
|
|
140010
140164
|
duration: 0,
|
|
@@ -140023,13 +140177,15 @@ const ViewCharts = __component__$k.exports, main_vue_vue_type_style_index_0_scop
|
|
|
140023
140177
|
};
|
|
140024
140178
|
this.baseQuickFk(l, a);
|
|
140025
140179
|
} else
|
|
140026
|
-
a.close(), setTimeout(() => {
|
|
140180
|
+
a.close(), this.hideLoading(), setTimeout(() => {
|
|
140027
140181
|
this.statu = !1;
|
|
140028
140182
|
}, 1e3), this.$nextTick(() => {
|
|
140029
140183
|
setTimeout(() => {
|
|
140030
140184
|
this.$message.error(r.message);
|
|
140031
140185
|
}, 0);
|
|
140032
140186
|
});
|
|
140187
|
+
}).catch(() => {
|
|
140188
|
+
this.hideLoading();
|
|
140033
140189
|
});
|
|
140034
140190
|
},
|
|
140035
140191
|
baseQuickFk(s, t) {
|
|
@@ -140053,14 +140209,14 @@ const ViewCharts = __component__$k.exports, main_vue_vue_type_style_index_0_scop
|
|
|
140053
140209
|
).then((l) => {
|
|
140054
140210
|
setTimeout(() => {
|
|
140055
140211
|
this.statu = !1;
|
|
140056
|
-
}, 1e3), a.close();
|
|
140057
|
-
}) : (a.close(),
|
|
140058
|
-
this.statu = !1;
|
|
140059
|
-
}, 1e3), this.$nextTick(() => {
|
|
140212
|
+
}, 1e3), a.close(), this.hideLoading();
|
|
140213
|
+
}) : (a.close(), this.hideLoading(), this.$nextTick(() => {
|
|
140060
140214
|
setTimeout(() => {
|
|
140061
140215
|
this.$message.error(o.message);
|
|
140062
140216
|
}, 0);
|
|
140063
140217
|
}));
|
|
140218
|
+
}).catch(() => {
|
|
140219
|
+
this.hideLoading();
|
|
140064
140220
|
});
|
|
140065
140221
|
},
|
|
140066
140222
|
baseSeecharts() {
|
|
@@ -140188,7 +140344,7 @@ const ViewCharts = __component__$k.exports, main_vue_vue_type_style_index_0_scop
|
|
|
140188
140344
|
var _sfc_render$j = function s() {
|
|
140189
140345
|
var t = this, a = t._self._c;
|
|
140190
140346
|
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() {
|
|
140191
|
-
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()];
|
|
140347
|
+
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, confirmLoading: t.statu, maxBtnLength: t.options.maxBtnLength, fieldData: t.fieldData }, on: { functionName: t.doEvent, handleMenuClick: t.handleMenuClick, baseSetDefaultView: t.baseSetDefaultView, updatePersonalView: t.baseUpdatePersonalView } }) : t._e()];
|
|
140192
140348
|
}, proxy: !0 }, t._l(t.getColumnsed, function(r) {
|
|
140193
140349
|
return { key: r.prop, fn: function({ column: o, row: l }) {
|
|
140194
140350
|
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 } })];
|
|
@@ -140204,7 +140360,7 @@ var _sfc_render$j = function s() {
|
|
|
140204
140360
|
_sfc_staticRenderFns$j,
|
|
140205
140361
|
!1,
|
|
140206
140362
|
null,
|
|
140207
|
-
"
|
|
140363
|
+
"00665f78",
|
|
140208
140364
|
null,
|
|
140209
140365
|
null
|
|
140210
140366
|
);
|
|
@@ -145787,7 +145943,7 @@ const Alert = __component__.exports;
|
|
|
145787
145943
|
Alert.install = function(s) {
|
|
145788
145944
|
s.component(Alert.name, Alert);
|
|
145789
145945
|
};
|
|
145790
|
-
const formMixin = formMixins, viewMixin = viewMixins, platformMenus = menuData, constantRouterMaps = constantRouterMap, bootstrap = Initializer, storeApp = storeApps, storeGetter = getters, camelCase = camelCases, menuEscape = menuEscapes, routerMetas = routerMeta, routerUserAccounts = routerUserAccount, constantRouterComponent = constantRouterComponents, components = [
|
|
145946
|
+
const formMixin = formMixins, viewMixin = viewMixins, platformMenus = menuData, constantRouterMaps = constantRouterMap, bootstrap = Initializer, storeApp = storeApps, storeGetter = getters, camelCase = camelCases, menuEscape = menuEscapes, routerMetas = routerMeta, routerUserAccounts = routerUserAccount, constantRouterComponent = constantRouterComponents, GdButtons = GDpackage$Y, GdTables = GDpackage$X, GdTableVirtual = GDpackage$W, GdTableUmy = GDpackage$V, GdTablesFilter = GDpackage$U, GdColumnSettings = GDpackage$T, GdTooltip = GDpackage$S, GdBtnList = GDpackage$R, GdEditForm = GDpackage$P, GdSelectTree = GDpackage$O, GdTableQueriesField = GDpackage$N, GdImgPreview = ImgPreview, GdIconSelector = GDpackage$Q, GdModalTitle = GDpackage$M, GdSearch = GDpackage$L, GdTeamSharing = TeamSharing, GdBatchUpdate = BatchUpdate, GdDataAssign = DataAssign, GdMiddleware = GDpackage$J, GdColorEditor = GDpackage$I, GdEcharts = GDpackage$H, GdViewLoading = GDpackage$G, GdExceptionPage = GDpackage$F, GdUploadFile = uploadFile, GdUploadImg = uploadImg, GdBasicLayout = GDpackage$19, GdBlankLayout = GDpackage$18, GdIframeLayout = GDpackage$16, GdPageView = GDpackage$17, GdRouteView = routeView, GdUserLayout = GDpackage$1d, GdBasicLayoutEmpty = GDpackage$15, GdBasicLayoutTop = GDpackage$14, GdOrg = GDpackage$E, GdPos = GDpackage$D, GdDict = GDpackage$C, GdUse = GDpackage$A, GdAuditlog = GDpackage$z, GdExlog = GDpackage$y, GdVislog = GDpackage$x, GdOplog = GDpackage$w, GdNoticeReceived = GDpackage$q, GdEvtlog = GDpackage$v, GdMachine = GDpackage$u, GdOnlineUser = GDpackage$t, GdConfig = GDpackage$s, GdNotice = GDpackage$r, GdWebResource = GDpackage$p, GdRole = GDpackage$B, GdFieldSecurity = GDpackage$o, GdFile = GDpackage$n, GdTimers = GDpackage$m, GdSolution = GDpackage$l, GdTranslationList = GDpackage$k, GdDuplicateChecking = GDpackage$j, GdPlugin = GDpackage$i, GdEmail = GDpackage$h, GdAccountSettings = GDpackage$13, GdBaseSettings = GDpackage$12, GdCustomSettings = GDpackage$11, GdSecuritySettings = GDpackage$10, GdUserPermissions = GDpackage$g, GdDataSource = GDpackage$f, GdFlowList = GDpackage$e, GdProcessFlow = GDpackage$d, GdWorkFlow = GDpackage$c, GdApprovalFlow = GDpackage$b, GdFindFilter = FlowsFilter, GdTableDevelopment = tableDevelopment, GdApplication = GDpackage$9, GdPageDesigner = GDpackage$8, GdPageBuild = GDpackage$7, GdFormDesigner = GDpackage$a, GdFormBuild = GDpackage$6, GdViewBuildDesigner = GDpackage$5, GdFormBuildDesigner = GDpackage$K, GdViewTreeLeft = GDpackage$4, GdPersonalEcharts = GDpackage$Z, GdSysMsgTemPlate = GDpackage$3, GdSysMsgSendPlan = GDpackage$2, GdSysMsgSendRecord = GDpackage$1, GdSysMsgTemplateLibrary = GDpackage, GdTranslation = Alert, components = [
|
|
145791
145947
|
GDpackage$Y,
|
|
145792
145948
|
GDpackage$X,
|
|
145793
145949
|
GDpackage$W,
|
|
@@ -145871,9 +146027,9 @@ const formMixin = formMixins, viewMixin = viewMixins, platformMenus = menuData,
|
|
|
145871
146027
|
GDpackage$1,
|
|
145872
146028
|
GDpackage,
|
|
145873
146029
|
Alert
|
|
145874
|
-
], install = function(s, t, a) {
|
|
145875
|
-
t && (window.axios = t, install.axios = t),
|
|
145876
|
-
s.component(
|
|
146030
|
+
], install = function(s, t, a, r, o = !0) {
|
|
146031
|
+
t && (window.axios = t, install.axios = t), r && (window.$i18nt = r, install.$i18nt = r), !install.installed && (install.installed = !0, o && components.map((l) => {
|
|
146032
|
+
s.component(l.name, l);
|
|
145877
146033
|
}));
|
|
145878
146034
|
};
|
|
145879
146035
|
function getComponents() {
|
|
@@ -145884,12 +146040,92 @@ function getComponents() {
|
|
|
145884
146040
|
}
|
|
145885
146041
|
const componentsd = getComponents(), GdsDesignVue = {
|
|
145886
146042
|
install,
|
|
145887
|
-
...componentsd
|
|
145888
|
-
...components
|
|
146043
|
+
...componentsd
|
|
145889
146044
|
};
|
|
145890
146045
|
export {
|
|
145891
|
-
|
|
146046
|
+
GdRouteView as $,
|
|
146047
|
+
GdTableUmy as A,
|
|
146048
|
+
GdTablesFilter as B,
|
|
146049
|
+
GdColumnSettings as C,
|
|
146050
|
+
GdTooltip as D,
|
|
146051
|
+
GdBtnList as E,
|
|
146052
|
+
GdEditForm as F,
|
|
146053
|
+
GdButtons as G,
|
|
146054
|
+
GdSelectTree as H,
|
|
146055
|
+
GdTableQueriesField as I,
|
|
146056
|
+
GdImgPreview as J,
|
|
146057
|
+
GdIconSelector as K,
|
|
146058
|
+
GdModalTitle as L,
|
|
146059
|
+
GdSearch as M,
|
|
146060
|
+
GdTeamSharing as N,
|
|
146061
|
+
GdBatchUpdate as O,
|
|
146062
|
+
GdDataAssign as P,
|
|
146063
|
+
GdMiddleware as Q,
|
|
146064
|
+
GdColorEditor as R,
|
|
146065
|
+
GdEcharts as S,
|
|
146066
|
+
GdViewLoading as T,
|
|
146067
|
+
GdExceptionPage as U,
|
|
146068
|
+
GdUploadFile as V,
|
|
146069
|
+
GdUploadImg as W,
|
|
146070
|
+
GdBasicLayout as X,
|
|
146071
|
+
GdBlankLayout as Y,
|
|
146072
|
+
GdIframeLayout as Z,
|
|
146073
|
+
GdPageView as _,
|
|
145892
146074
|
getPasswordRules as a,
|
|
146075
|
+
GdUserLayout as a0,
|
|
146076
|
+
GdBasicLayoutEmpty as a1,
|
|
146077
|
+
GdBasicLayoutTop as a2,
|
|
146078
|
+
GdOrg as a3,
|
|
146079
|
+
GdPos as a4,
|
|
146080
|
+
GdDict as a5,
|
|
146081
|
+
GdUse as a6,
|
|
146082
|
+
GdAuditlog as a7,
|
|
146083
|
+
GdExlog as a8,
|
|
146084
|
+
GdVislog as a9,
|
|
146085
|
+
GdApprovalFlow as aA,
|
|
146086
|
+
GdFindFilter as aB,
|
|
146087
|
+
GdTableDevelopment as aC,
|
|
146088
|
+
GdApplication as aD,
|
|
146089
|
+
GdPageDesigner as aE,
|
|
146090
|
+
GdPageBuild as aF,
|
|
146091
|
+
GdFormDesigner as aG,
|
|
146092
|
+
GdFormBuild as aH,
|
|
146093
|
+
GdViewBuildDesigner as aI,
|
|
146094
|
+
GdFormBuildDesigner as aJ,
|
|
146095
|
+
GdViewTreeLeft as aK,
|
|
146096
|
+
GdPersonalEcharts as aL,
|
|
146097
|
+
GdSysMsgTemPlate as aM,
|
|
146098
|
+
GdSysMsgSendPlan as aN,
|
|
146099
|
+
GdSysMsgSendRecord as aO,
|
|
146100
|
+
GdSysMsgTemplateLibrary as aP,
|
|
146101
|
+
GdTranslation as aQ,
|
|
146102
|
+
GdsDesignVue as aR,
|
|
146103
|
+
GdOplog as aa,
|
|
146104
|
+
GdNoticeReceived as ab,
|
|
146105
|
+
GdEvtlog as ac,
|
|
146106
|
+
GdMachine as ad,
|
|
146107
|
+
GdOnlineUser as ae,
|
|
146108
|
+
GdConfig as af,
|
|
146109
|
+
GdNotice as ag,
|
|
146110
|
+
GdWebResource as ah,
|
|
146111
|
+
GdRole as ai,
|
|
146112
|
+
GdFieldSecurity as aj,
|
|
146113
|
+
GdFile as ak,
|
|
146114
|
+
GdTimers as al,
|
|
146115
|
+
GdSolution as am,
|
|
146116
|
+
GdTranslationList as an,
|
|
146117
|
+
GdDuplicateChecking as ao,
|
|
146118
|
+
GdPlugin as ap,
|
|
146119
|
+
GdEmail as aq,
|
|
146120
|
+
GdAccountSettings as ar,
|
|
146121
|
+
GdBaseSettings as as,
|
|
146122
|
+
GdCustomSettings as at,
|
|
146123
|
+
GdSecuritySettings as au,
|
|
146124
|
+
GdUserPermissions as av,
|
|
146125
|
+
GdDataSource as aw,
|
|
146126
|
+
GdFlowList as ax,
|
|
146127
|
+
GdProcessFlow as ay,
|
|
146128
|
+
GdWorkFlow as az,
|
|
145893
146129
|
applyResetPassword as b,
|
|
145894
146130
|
checkPRCValidation as c,
|
|
145895
146131
|
bindWechatWorkAccount as d,
|
|
@@ -145913,5 +146149,6 @@ export {
|
|
|
145913
146149
|
viewMixin as v,
|
|
145914
146150
|
routerUserAccounts as w,
|
|
145915
146151
|
constantRouterComponent as x,
|
|
145916
|
-
|
|
146152
|
+
GdTables as y,
|
|
146153
|
+
GdTableVirtual as z
|
|
145917
146154
|
};
|