gds-plus-design-vue 1.1.12 → 1.1.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/gd-initial.mjs +1 -1
- package/lib/gd-initial.umd.js +41 -41
- package/lib/{index.5294b35b.mjs → index.852b149f.mjs} +457 -313
- package/lib/{main.6a3d650f.mjs → main.f89aa280.mjs} +1 -1
- package/lib/style.css +2 -2
- package/locale/en_US.js +10 -5
- package/locale/id_ID.js +2159 -2154
- package/locale/vi_VN.js +8 -3
- package/locale/zh_CN.js +8 -3
- 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.f89aa280.mjs"),
|
|
634
634
|
meta: {
|
|
635
635
|
title: "\u767B\u5F55",
|
|
636
636
|
transKey: "gd.login.title"
|
|
@@ -1016,7 +1016,7 @@ const state = {
|
|
|
1016
1016
|
commit: r,
|
|
1017
1017
|
state: t
|
|
1018
1018
|
}) {
|
|
1019
|
-
return
|
|
1019
|
+
return new Promise((a, s) => {
|
|
1020
1020
|
getAppListByAppsId({
|
|
1021
1021
|
appsId: window.$systemInfo.id
|
|
1022
1022
|
}).then((o) => {
|
|
@@ -2639,7 +2639,7 @@ var _sfc_render$5M = function() {
|
|
|
2639
2639
|
null,
|
|
2640
2640
|
null
|
|
2641
2641
|
);
|
|
2642
|
-
const FieldMapping = __component__$5M.exports,
|
|
2642
|
+
const FieldMapping = __component__$5M.exports, main_vue_vue_type_style_index_0_scoped_1aa59567_lang = "", _sfc_main$5L = {
|
|
2643
2643
|
name: "GdXlsxImport",
|
|
2644
2644
|
props: {
|
|
2645
2645
|
tableData: {
|
|
@@ -2703,7 +2703,9 @@ const FieldMapping = __component__$5M.exports, main_vue_vue_type_style_index_0_s
|
|
|
2703
2703
|
excelImportData: [],
|
|
2704
2704
|
selItem: {},
|
|
2705
2705
|
loadSoData: (r) => new Promise((t, a) => {
|
|
2706
|
-
this.confirmLoading = !1,
|
|
2706
|
+
this.confirmLoading = !1, setTimeout(() => {
|
|
2707
|
+
t({ pageNo: 1, pageSize: 200, totalRows: 0, rows: this.loadData });
|
|
2708
|
+
}, 100);
|
|
2707
2709
|
}),
|
|
2708
2710
|
columns: [
|
|
2709
2711
|
{
|
|
@@ -2830,7 +2832,7 @@ const FieldMapping = __component__$5M.exports, main_vue_vue_type_style_index_0_s
|
|
|
2830
2832
|
let a = this.$refs.table.tableData;
|
|
2831
2833
|
const s = this.configData.filter((u) => u.id === r)[0];
|
|
2832
2834
|
if (r === 0) {
|
|
2833
|
-
t.
|
|
2835
|
+
a[t.ind] = Object.assign({ ...a[t.ind] }, { fieIdType: -1, checkzd: r }), this.loadData = [...a], this.$refs.table.setLoadData(this.loadData);
|
|
2834
2836
|
return;
|
|
2835
2837
|
}
|
|
2836
2838
|
let o = {
|
|
@@ -3225,7 +3227,7 @@ var _sfc_render$5L = function() {
|
|
|
3225
3227
|
_sfc_staticRenderFns$5L,
|
|
3226
3228
|
!1,
|
|
3227
3229
|
null,
|
|
3228
|
-
"
|
|
3230
|
+
"1aa59567",
|
|
3229
3231
|
null,
|
|
3230
3232
|
null
|
|
3231
3233
|
);
|
|
@@ -12950,7 +12952,7 @@ var _sfc_render$5h = function() {
|
|
|
12950
12952
|
null,
|
|
12951
12953
|
null
|
|
12952
12954
|
);
|
|
12953
|
-
const EditPerson = __component__$5h.exports,
|
|
12955
|
+
const EditPerson = __component__$5h.exports, settings_vue_vue_type_style_index_0_scoped_d8d13a92_lang = "", _sfc_main$5g = {
|
|
12954
12956
|
props: {
|
|
12955
12957
|
showTitle: {
|
|
12956
12958
|
type: Boolean,
|
|
@@ -13064,6 +13066,9 @@ const EditPerson = __component__$5h.exports, settings_vue_vue_type_style_index_0
|
|
|
13064
13066
|
},
|
|
13065
13067
|
components: { FlowsFilter, EditPerson },
|
|
13066
13068
|
computed: {
|
|
13069
|
+
getQueryTable() {
|
|
13070
|
+
return this.tableLists.filter((r) => r.isquery === 1);
|
|
13071
|
+
},
|
|
13067
13072
|
table() {
|
|
13068
13073
|
return this.tableLists.filter((r) => r.id === this.sysCodeGenId)[0];
|
|
13069
13074
|
},
|
|
@@ -13230,8 +13235,8 @@ const EditPerson = __component__$5h.exports, settings_vue_vue_type_style_index_0
|
|
|
13230
13235
|
});
|
|
13231
13236
|
},
|
|
13232
13237
|
setTableNameData(r) {
|
|
13233
|
-
const t = r !== "" ? r : this.tableLists[0].id, a = this.
|
|
13234
|
-
this.showTitle && a && (this.sysCodeGenId = a.id, this.sysCodeGenoId = a.id, this.selectTable(a.id)), this.visible = !!this.showTitle;
|
|
13238
|
+
const t = r !== "" ? r : this.tableLists[0].id, a = this.getQueryTable.filter((s) => s.id == t)[0];
|
|
13239
|
+
this.showTitle && a && (this.sysCodeGenId = a.id, this.sysCodeGenoId = a.id, this.selectTable(a.id)), this.visible = !!(a && this.showTitle);
|
|
13235
13240
|
},
|
|
13236
13241
|
selectTable(r) {
|
|
13237
13242
|
let t = this;
|
|
@@ -13474,7 +13479,7 @@ var _sfc_render$5g = function() {
|
|
|
13474
13479
|
s.preventDefault();
|
|
13475
13480
|
} } }, [a("el-row", { attrs: { gutter: 20 } }, [a("el-col", { attrs: { span: 8 } }, [a("el-form-item", { staticStyle: { "margin-bottom": "12px" }, attrs: { label: t.$i18nt("gd.advancedFind.lookup", "\u67E5\u627E") } }, [a("el-select", { ref: "refTable", staticStyle: { width: "100%" }, attrs: { placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), filterable: "" }, on: { change: t.selectTable }, model: { value: t.sysCodeGenId, callback: function(s) {
|
|
13476
13481
|
t.sysCodeGenId = s;
|
|
13477
|
-
}, expression: "sysCodeGenId" } }, t._l(t.
|
|
13482
|
+
}, expression: "sysCodeGenId" } }, t._l(t.getQueryTable, function(s) {
|
|
13478
13483
|
return a("el-option", { key: s.id, attrs: { label: t.$i18nt(`Dynamics.${s.transkey}`, s.busname), value: s.id } }, [t._v(" " + t._s(t.$i18nt(`Dynamics.${s.transkey}`, s.busname)) + " " + t._s(s.tablename) + " ")]);
|
|
13479
13484
|
}), 1)], 1)], 1), a("el-col", { attrs: { span: 8 } }, [a("el-form-item", { staticStyle: { "margin-bottom": "12px" }, attrs: { label: t.$i18nt("gd.advancedFind.savedViews", "\u5DF2\u4FDD\u5B58\u7684\u89C6\u56FE") } }, [a("el-select", { ref: "refView", staticStyle: { width: "100%" }, attrs: { placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), filterable: "" }, on: { change: t.selectView }, model: { value: t.viewId, callback: function(s) {
|
|
13480
13485
|
t.viewId = s;
|
|
@@ -13489,7 +13494,7 @@ var _sfc_render$5g = function() {
|
|
|
13489
13494
|
_sfc_staticRenderFns$5g,
|
|
13490
13495
|
!1,
|
|
13491
13496
|
null,
|
|
13492
|
-
"
|
|
13497
|
+
"d8d13a92",
|
|
13493
13498
|
null,
|
|
13494
13499
|
null
|
|
13495
13500
|
);
|
|
@@ -19073,7 +19078,7 @@ var _sfc_render$55 = function() {
|
|
|
19073
19078
|
null,
|
|
19074
19079
|
null
|
|
19075
19080
|
);
|
|
19076
|
-
const viewList = __component__$55.exports,
|
|
19081
|
+
const viewList = __component__$55.exports, main_vue_vue_type_style_index_0_scoped_372451e1_lang = "", _sfc_main$54 = {
|
|
19077
19082
|
name: "GdAdvancedFind",
|
|
19078
19083
|
props: {
|
|
19079
19084
|
showTitle: {
|
|
@@ -19113,8 +19118,7 @@ const viewList = __component__$55.exports, main_vue_vue_type_style_index_0_scope
|
|
|
19113
19118
|
},
|
|
19114
19119
|
computed: {
|
|
19115
19120
|
getHig() {
|
|
19116
|
-
|
|
19117
|
-
const r = this.showTitle ? 32 + 56 : 56;
|
|
19121
|
+
const r = this.showTitle ? 88 : 56;
|
|
19118
19122
|
return this.height - r - 24;
|
|
19119
19123
|
},
|
|
19120
19124
|
style() {
|
|
@@ -19178,7 +19182,7 @@ var _sfc_render$54 = function() {
|
|
|
19178
19182
|
_sfc_staticRenderFns$54,
|
|
19179
19183
|
!1,
|
|
19180
19184
|
null,
|
|
19181
|
-
"
|
|
19185
|
+
"372451e1",
|
|
19182
19186
|
null,
|
|
19183
19187
|
null
|
|
19184
19188
|
);
|
|
@@ -20671,15 +20675,15 @@ const iconfont = "", index = "", formMixins = {
|
|
|
20671
20675
|
},
|
|
20672
20676
|
init() {
|
|
20673
20677
|
this.record.hasLoad && this.record.hasLoad(this.record.key), Promise.all([this.baseGetTableView(), this.baseGetPersonalView(!0), this.baseGetLoadData()]).then((r) => {
|
|
20674
|
-
this.$refs.table.init({
|
|
20678
|
+
this.$refs.table && (this.$refs.table.init({
|
|
20675
20679
|
fieldData: this.fieldData,
|
|
20676
20680
|
tableData: this.tableData,
|
|
20677
20681
|
sysViewList: this.sysViewList,
|
|
20678
20682
|
personalViewList: this.personalViewList,
|
|
20679
20683
|
defaultViewId: this.defaultViewId
|
|
20680
|
-
}), this.$refs.table.baseCustomComponents(this.componentList);
|
|
20684
|
+
}), this.$refs.table.baseCustomComponents(this.componentList));
|
|
20681
20685
|
let t = this.formList.filter((a) => a.id === this.formCode)[0];
|
|
20682
|
-
t || (t = this.formList.filter((a) => a.type === 1)[0]), this.$refs.editForm.setFormRecord(t), this.beaseLoadComplete();
|
|
20686
|
+
t || (t = this.formList.filter((a) => a.type === 1)[0]), this.$refs.editForm && this.$refs.editForm.setFormRecord(t), this.beaseLoadComplete();
|
|
20683
20687
|
});
|
|
20684
20688
|
},
|
|
20685
20689
|
onChangeBtn(r) {
|
|
@@ -21050,7 +21054,7 @@ var _sfc_render$4$ = function() {
|
|
|
21050
21054
|
null,
|
|
21051
21055
|
null
|
|
21052
21056
|
);
|
|
21053
|
-
const Column = __component__$4$.exports,
|
|
21057
|
+
const Column = __component__$4$.exports, main_vue_vue_type_style_index_0_scoped_2f9c8ac5_lang = "", _sfc_main$4_ = {
|
|
21054
21058
|
name: "GdTables",
|
|
21055
21059
|
props: Object.assign(
|
|
21056
21060
|
{},
|
|
@@ -21428,7 +21432,7 @@ const Column = __component__$4$.exports, main_vue_vue_type_style_index_0_scoped_
|
|
|
21428
21432
|
const r = this.dataSource(Object.assign({ ...this.sorter }, { pageNo: this.currentPage, pageSize: this.pageSized }));
|
|
21429
21433
|
(typeof r == "object" || typeof r == "function") && typeof r.then == "function" ? r.then((t) => {
|
|
21430
21434
|
let a = t && t.rows ? t.rows : [];
|
|
21431
|
-
this.tableData = a, this.currentPage = t.pageno, this.total = t.totalrows, this.
|
|
21435
|
+
this.tableData = a, this.currentPage = t.pageno, this.total = t.totalrows, this.toggleRowSelection();
|
|
21432
21436
|
}) : this.loading = !1;
|
|
21433
21437
|
},
|
|
21434
21438
|
loadColumns() {
|
|
@@ -21580,7 +21584,7 @@ var _sfc_render$4_ = function() {
|
|
|
21580
21584
|
_sfc_staticRenderFns$4_,
|
|
21581
21585
|
!1,
|
|
21582
21586
|
null,
|
|
21583
|
-
"
|
|
21587
|
+
"2f9c8ac5",
|
|
21584
21588
|
null,
|
|
21585
21589
|
null
|
|
21586
21590
|
);
|
|
@@ -98686,7 +98690,7 @@ const mixins$p = {
|
|
|
98686
98690
|
tableQueries: []
|
|
98687
98691
|
};
|
|
98688
98692
|
}
|
|
98689
|
-
},
|
|
98693
|
+
}, editForm_vue_vue_type_style_index_0_scoped_b04cae03_lang = "", _sfc_main$2Q = {
|
|
98690
98694
|
data() {
|
|
98691
98695
|
return {
|
|
98692
98696
|
confirmLoading: !0,
|
|
@@ -98856,7 +98860,7 @@ const mixins$p = {
|
|
|
98856
98860
|
this.confirmLoading = !0, detailSysDupRules({
|
|
98857
98861
|
id: r
|
|
98858
98862
|
}).then((t) => {
|
|
98859
|
-
console.log(t.data), this.ruleFormData.name = t.data.name, this.ruleFormData.stateCodes = String(t.data.statecodes), this.ruleFormData.id = t.data.id, this.ruleFormData.explain = t.data.explain, this.ruleFormData.issave = t.data.issave, this.tableData = JSON.parse(t.data.matchingrules), this.filterList = t.data.filterconfig ? JSON.parse(t.data.filterconfig) : JSON.parse(JSON.stringify(this.plugfilters)), this.sysCodeGenId = Number(t.data.basicrecordtable), this.getList(t.data.basicrecordtable, "basicTable"), this.matchingsysCodeGenId = Number(t.data.matchingrecordtable), this.matchingsysCodeGenId && this.matchingsysCodeGenId != this.sysCodeGenId && this.getList(this.matchingsysCodeGenId, "matchingTable"), this.confirmLoading = !1;
|
|
98863
|
+
console.log(t.data), this.ruleFormData.name = t.data.name, this.ruleFormData.stateCodes = String(t.data.statecodes), this.ruleFormData.id = t.data.id, this.ruleFormData.explain = t.data.explain, this.ruleFormData.issave = t.data.issave, this.tableData = JSON.parse(t.data.matchingrules), this.filterList = t.data.filterconfig ? JSON.parse(t.data.filterconfig) : JSON.parse(JSON.stringify(this.plugfilters)), this.sysCodeGenId = Number(t.data.basicrecordtable), this.getList(t.data.basicrecordtable, "basicTable"), this.matchingsysCodeGenId = Number(t.data.matchingrecordtable), this.matchingsysCodeGenId && this.matchingsysCodeGenId != this.sysCodeGenId && this.getList(this.matchingsysCodeGenId, "matchingTable"), this.ruleFormData.stateCodes == 1 && (this.sysViewButtons = []), this.confirmLoading = !1;
|
|
98860
98864
|
});
|
|
98861
98865
|
},
|
|
98862
98866
|
add(r) {
|
|
@@ -98977,11 +98981,13 @@ const mixins$p = {
|
|
|
98977
98981
|
});
|
|
98978
98982
|
},
|
|
98979
98983
|
selFilter() {
|
|
98980
|
-
if (this.
|
|
98981
|
-
|
|
98982
|
-
|
|
98984
|
+
if (this.type != 2) {
|
|
98985
|
+
if (this.matchingsysCodeGenId == "") {
|
|
98986
|
+
this.$message.warning(this.$i18nt("gd.duplicatechecking.pleaseSelectBasicTable", "\u8BF7\u9009\u62E9\u5339\u914D\u8868"));
|
|
98987
|
+
return;
|
|
98988
|
+
}
|
|
98989
|
+
console.log(this.filterList), this.$refs.flowsFilter.init(this.filterList);
|
|
98983
98990
|
}
|
|
98984
|
-
console.log(this.filterList), this.$refs.flowsFilter.init(this.filterList);
|
|
98985
98991
|
}
|
|
98986
98992
|
}
|
|
98987
98993
|
};
|
|
@@ -98991,66 +98997,66 @@ var _sfc_render$2Q = function() {
|
|
|
98991
98997
|
t.visible = s;
|
|
98992
98998
|
}, closed: t.handleCancel } }, [a("template", { slot: "title" }, [a("div", { staticClass: "gd-dialog-head" }, [a("div", { staticClass: "dialog-head-title" }, [t._v(t._s(t.title) + t._s(t.$i18nt("gd.duplicatechecking.checkConfigurationRetryRule", "\u67E5\u91CD\u89C4\u5219\u914D\u7F6E")))]), a("div", { staticClass: "dialog-head-btn" }, [a("gd-btn-list", { attrs: { sysViewButtons: t.sysViewButtons }, on: { functionName: t.doEvent } })], 1), a("div", { staticClass: "dialog-head-operate" }, [a("i", { staticClass: "gd-icons active-color", class: t.fullScreen ? "gd-icon-quanpingsuoxiao" : "gd-icon-fangda", on: { click: t.toggleFullscreen } })]), t.confirmLoading ? a("div", { staticClass: "gd-dialog-meng" }) : t._e()])]), a("div", { directives: [{ name: "loading", rawName: "v-loading", value: t.confirmLoading, expression: "confirmLoading" }] }, [a("div", { staticClass: "setting-navs", class: t.fullScreen ? "modal-bodyq" : "modal-body" }, [a("el-form", { ref: "ruleForm", attrs: { model: t.ruleFormData, rules: t.rules, "label-width": "120px" }, nativeOn: { submit: function(s) {
|
|
98993
98999
|
s.preventDefault();
|
|
98994
|
-
} } }, [a("el-row", { attrs: { gutter: 20 } }, [a("el-col", { attrs: { span: 11 } }, [a("el-form-item", { staticStyle: { "margin-bottom": "12px" }, attrs: { label: t.$i18nt("gd.duplicatechecking.name", "\u540D\u79F0\uFF1A"), prop: "name" } }, [a("el-input", { attrs: { placeholder: t.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165") }, model: { value: t.ruleFormData.name, callback: function(s) {
|
|
99000
|
+
} } }, [a("el-row", { attrs: { gutter: 20 } }, [a("el-col", { attrs: { span: 11 } }, [a("el-form-item", { staticStyle: { "margin-bottom": "12px" }, attrs: { label: t.$i18nt("gd.duplicatechecking.name", "\u540D\u79F0\uFF1A"), prop: "name" } }, [a("el-input", { attrs: { placeholder: t.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165"), disabled: t.type == 2 && t.ruleFormData.stateCodes == 1 }, model: { value: t.ruleFormData.name, callback: function(s) {
|
|
98995
99001
|
t.$set(t.ruleFormData, "name", s);
|
|
98996
99002
|
}, expression: "ruleFormData['name']" } })], 1)], 1), a("el-col", { attrs: { span: 11 } }, [a("el-form-item", { staticStyle: { "margin-bottom": "12px" }, attrs: { label: t.$i18nt("gd.duplicatechecking.status", "\u72B6\u6001\uFF1A") } }, [a("el-select", { ref: "refView", staticStyle: { width: "100%" }, attrs: { placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), filterable: "", disabled: "" }, model: { value: t.ruleFormData.stateCodes, callback: function(s) {
|
|
98997
99003
|
t.$set(t.ruleFormData, "stateCodes", s);
|
|
98998
|
-
}, expression: "ruleFormData['stateCodes']" } }, [a("el-option", { attrs: { value: "1", label: t.$i18nt("gd.duplicatechecking.enable", "\u542F\u7528]") } }), a("el-option", { attrs: { value: "0", label: t.$i18nt("gd.duplicatechecking.deactivate", "\u7981\u7528]") } })], 1)], 1)], 1), a("el-col", { attrs: { span: 22 } }, [a("el-form-item", { staticStyle: { "margin-bottom": "12px" }, attrs: { label: t.$i18nt("gd.duplicatechecking.explain", "\u8BF4\u660E\uFF1A") } }, [a("el-input", { attrs: { type: "textarea", placeholder: t.$i18nt("gd.placeholder.inputcontent", "\u8BF7\u8F93\u5165\u5185\u5BB9"), autosize: { minRows: 4, maxRows: 6 } }, model: { value: t.ruleFormData.explain, callback: function(s) {
|
|
99004
|
+
}, expression: "ruleFormData['stateCodes']" } }, [a("el-option", { attrs: { value: "1", label: t.$i18nt("gd.duplicatechecking.enable", "\u542F\u7528]") } }), a("el-option", { attrs: { value: "0", label: t.$i18nt("gd.duplicatechecking.deactivate", "\u7981\u7528]") } })], 1)], 1)], 1), a("el-col", { attrs: { span: 22 } }, [a("el-form-item", { staticStyle: { "margin-bottom": "12px" }, attrs: { label: t.$i18nt("gd.duplicatechecking.explain", "\u8BF4\u660E\uFF1A") } }, [a("el-input", { attrs: { type: "textarea", placeholder: t.$i18nt("gd.placeholder.inputcontent", "\u8BF7\u8F93\u5165\u5185\u5BB9"), autosize: { minRows: 4, maxRows: 6 }, disabled: t.type == 2 && t.ruleFormData.stateCodes == 1 }, model: { value: t.ruleFormData.explain, callback: function(s) {
|
|
98999
99005
|
t.$set(t.ruleFormData, "explain", s);
|
|
99000
|
-
}, expression: "ruleFormData['explain']" } })], 1)], 1), a("el-col", { staticClass: "setting-navs-btn", attrs: { source: 24 } }, [a("span", [t._v(t._s(t.$i18nt("gd.duplicatechecking.repeatDetectionRuleCondition", "\u91CD\u590D\u68C0\u6D4B\u89C4\u5219\u6761\u4EF6")))])]), a("el-col", { attrs: { span: 10 } }, [a("el-form-item", { staticStyle: { "margin-bottom": "12px" }, attrs: { label: t.$i18nt("gd.duplicatechecking.basicTable", "\u57FA\u672C\u8868\uFF1A") } }, [a("el-select", { ref: "refTable", staticStyle: { width: "100%" }, attrs: { placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), filterable: "", disabled: t.
|
|
99006
|
+
}, expression: "ruleFormData['explain']" } })], 1)], 1), a("el-col", { staticClass: "setting-navs-btn", attrs: { source: 24 } }, [a("span", [t._v(t._s(t.$i18nt("gd.duplicatechecking.repeatDetectionRuleCondition", "\u91CD\u590D\u68C0\u6D4B\u89C4\u5219\u6761\u4EF6")))])]), a("el-col", { attrs: { span: 10 } }, [a("el-form-item", { staticStyle: { "margin-bottom": "12px" }, attrs: { label: t.$i18nt("gd.duplicatechecking.basicTable", "\u57FA\u672C\u8868\uFF1A") } }, [a("el-select", { ref: "refTable", staticStyle: { width: "100%" }, attrs: { placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), filterable: "", disabled: t.type == 2 && t.ruleFormData.stateCodes == 1 }, on: { change: t.selectTable }, model: { value: t.sysCodeGenId, callback: function(s) {
|
|
99001
99007
|
t.sysCodeGenId = s;
|
|
99002
99008
|
}, expression: "sysCodeGenId" } }, t._l(t.tableLists, function(s) {
|
|
99003
99009
|
return a("el-option", { key: s.id, attrs: { label: t.$i18nt(`Dynamics.${s.transkey}`, s.busname), value: s.id } }, [t._v(" " + t._s(t.$i18nt(`Dynamics.${s.transkey}`, s.busname)) + " " + t._s(s.tablename) + " ")]);
|
|
99004
|
-
}), 1)], 1)], 1), a("el-col", { attrs: { span: 10 } }, [a("el-form-item", { staticStyle: { "margin-bottom": "12px" }, attrs: { label: t.$i18nt("gd.duplicatechecking.matchingTable", "\u5339\u914D\u8868\uFF1A") } }, [a("el-select", { ref: "refTable", staticStyle: { width: "100%" }, attrs: { placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), filterable: "", disabled: t.
|
|
99010
|
+
}), 1)], 1)], 1), a("el-col", { attrs: { span: 10 } }, [a("el-form-item", { staticStyle: { "margin-bottom": "12px" }, attrs: { label: t.$i18nt("gd.duplicatechecking.matchingTable", "\u5339\u914D\u8868\uFF1A") } }, [a("el-select", { ref: "refTable", staticStyle: { width: "100%" }, attrs: { placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), filterable: "", disabled: t.type == 2 && t.ruleFormData.stateCodes == 1 }, on: { change: t.handleModeChange }, model: { value: t.matchingsysCodeGenId, callback: function(s) {
|
|
99005
99011
|
t.matchingsysCodeGenId = s;
|
|
99006
99012
|
}, expression: "matchingsysCodeGenId" } }, t._l(t.tableLists, function(s) {
|
|
99007
99013
|
return a("el-option", { key: s.id, attrs: { label: t.$i18nt(`Dynamics.${s.transkey}`, s.busname), value: s.id } }, [t._v(" " + t._s(t.$i18nt(`Dynamics.${s.transkey}`, s.busname)) + " " + t._s(s.tablename) + " ")]);
|
|
99008
|
-
}), 1)], 1)], 1), a("el-col", { attrs: { span: 4 } }, [a("el-button", { attrs: { type: "primary" }, on: { click: t.selFilter } }, [t._v(t._s(t.$i18nt("gd.view.filterConditions", "\u8FC7\u6EE4\u6761\u4EF6")))])], 1), a("el-col", { attrs: { span: 10 } }, [a("el-form-item", { staticStyle: { "margin-bottom": "12px" }, attrs: { label: t.$i18nt("gd.duplicatechecking.allowSave", "\u5141\u8BB8\u4FDD\u5B58\uFF1A") } }, [a("el-switch", { model: { value: t.ruleFormData.issave, callback: function(s) {
|
|
99014
|
+
}), 1)], 1)], 1), a("el-col", { attrs: { span: 4 } }, [a("el-button", { attrs: { type: "primary" }, on: { click: t.selFilter } }, [t._v(t._s(t.$i18nt("gd.view.filterConditions", "\u8FC7\u6EE4\u6761\u4EF6")))])], 1), a("el-col", { attrs: { span: 10 } }, [a("el-form-item", { staticStyle: { "margin-bottom": "12px" }, attrs: { label: t.$i18nt("gd.duplicatechecking.allowSave", "\u5141\u8BB8\u4FDD\u5B58\uFF1A") } }, [a("el-switch", { attrs: { disabled: t.type == 2 && t.ruleFormData.stateCodes == 1 }, model: { value: t.ruleFormData.issave, callback: function(s) {
|
|
99009
99015
|
t.$set(t.ruleFormData, "issave", s);
|
|
99010
99016
|
}, expression: "ruleFormData['issave']" } })], 1)], 1)], 1)], 1), a("div", { staticClass: "setting-conter" }, [a("div", { staticClass: "config-table-container" }, [a("el-table", { staticStyle: { width: "100%" }, attrs: { data: t.processedTableData, border: "", "header-cell-class-name": "table-header", "row-class-name": t.tableRowClassName }, on: { "cell-mouse-enter": t.handleCellHover } }, [a("el-table-column", { attrs: { prop: t.fieldProp, label: t.fieldLabel, width: "180" }, scopedSlots: t._u([{ key: "default", fn: function(s) {
|
|
99011
|
-
return [s.row.isPlaceholder ? t._e() : a("el-select", { staticStyle: { width: "100%" }, attrs: { placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), filterable: "" }, on: { change: function(o) {
|
|
99017
|
+
return [s.row.isPlaceholder ? t._e() : a("el-select", { staticStyle: { width: "100%" }, attrs: { placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), filterable: "", disabled: t.type == 2 && t.ruleFormData.stateCodes == 1 }, on: { change: function(o) {
|
|
99012
99018
|
return t.changeRelevant(s.row, "field");
|
|
99013
99019
|
} }, model: { value: s.row.basicField, callback: function(o) {
|
|
99014
99020
|
t.$set(s.row, "basicField", o);
|
|
99015
99021
|
}, expression: "scope.row.basicField" } }, t._l(t.fieldloadData, function(o, l) {
|
|
99016
99022
|
return a("el-option", { key: o.id, attrs: { value: o.columnname, label: t.$i18nt(`Dynamics.${o.transkey}`, o.columnname), clearable: "" } }, [a("span", { staticStyle: { "padding-left": "2px" } }, [t._v(" " + t._s(t.$i18nt(`Dynamics.${o.transkey}`, o.columnname)) + " " + t._s(o.columnname) + " ")])]);
|
|
99017
|
-
}), 1), t.selShow && s.row.isPlaceholder ? a("div", { staticClass: "select-placeholder", on: {
|
|
99023
|
+
}), 1), t.selShow && s.row.isPlaceholder && !t.type == 2 ? a("div", { staticClass: "select-placeholder", on: { click: function(o) {
|
|
99018
99024
|
return t.addNewRow(s.row);
|
|
99019
99025
|
} } }, [a("span", { staticClass: "blue-text" }, [t._v("\u9009\u62E9")])]) : t._e()];
|
|
99020
99026
|
} }]) }), t.tableMode === "match" ? a("el-table-column", { attrs: { prop: "matchingField", label: "\u5339\u914D\u5B57\u6BB5", width: "180" }, scopedSlots: t._u([{ key: "default", fn: function(s) {
|
|
99021
|
-
return [s.row.isPlaceholder ? t._e() : a("el-select", { attrs: { placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), disabled: !s.row.basicField }, on: { change: function(o) {
|
|
99027
|
+
return [s.row.isPlaceholder ? t._e() : a("el-select", { attrs: { placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), disabled: !s.row.basicField || t.type == 2 && t.ruleFormData.stateCodes == 1 }, on: { change: function(o) {
|
|
99022
99028
|
return t.changeRelevant(s.row, "mactch");
|
|
99023
99029
|
} }, model: { value: s.row.matchingField, callback: function(o) {
|
|
99024
99030
|
t.$set(s.row, "matchingField", o);
|
|
99025
99031
|
}, expression: "scope.row.matchingField" } }, t._l(t.matchFieldloadData, function(o, l) {
|
|
99026
99032
|
return a("el-option", { key: o.id, attrs: { value: o.columnname, label: t.$i18nt(`Dynamics.${o.transkey}`, o.columnname) } }, [a("span", { staticStyle: { "padding-left": "2px" } }, [t._v(" " + t._s(t.$i18nt(`Dynamics.${o.transkey}`, o.columnname)) + " " + t._s(o.columnname) + " ")])]);
|
|
99027
99033
|
}), 1)];
|
|
99028
|
-
} }], null, !1,
|
|
99029
|
-
return [!s.row.isPlaceholder && s.row.ruleslists && s.row.ruleslists.length > 0 ? a("el-select", { staticStyle: { width: "100%" }, on: { change: t.selectRules }, model: { value: s.row.condition, callback: function(o) {
|
|
99034
|
+
} }], null, !1, 3249492152) }) : t._e(), a("el-table-column", { attrs: { prop: "condition", label: "\u6761\u4EF6", width: "180" }, scopedSlots: t._u([{ key: "default", fn: function(s) {
|
|
99035
|
+
return [!s.row.isPlaceholder && s.row.ruleslists && s.row.ruleslists.length > 0 ? a("el-select", { staticStyle: { width: "100%" }, attrs: { disabled: t.type == 2 && t.ruleFormData.stateCodes == 1 }, on: { change: t.selectRules }, model: { value: s.row.condition, callback: function(o) {
|
|
99030
99036
|
t.$set(s.row, "condition", o);
|
|
99031
99037
|
}, expression: "scope.row.condition" } }, [t._l(s.row.ruleslists, function(o) {
|
|
99032
99038
|
return [a("el-option", { attrs: { value: o.code, label: t.$i18nt(`Dynamics.${o.transkey}`, o.name) } })];
|
|
99033
99039
|
})], 2) : t._e()];
|
|
99034
99040
|
} }]) }), a("el-table-column", { attrs: { prop: "charactorcount", label: "\u5B57\u7B26\u6570" }, scopedSlots: t._u([{ key: "default", fn: function(s) {
|
|
99035
|
-
return [t.shouldShowCharCount(s.row) ? a("el-input-number", { attrs: { min: 0, label: "\u8BF7\u8F93\u5165" }, model: { value: s.row.charactorcount, callback: function(o) {
|
|
99041
|
+
return [t.shouldShowCharCount(s.row) ? a("el-input-number", { attrs: { disabled: t.type == 2 && t.ruleFormData.stateCodes == 1, min: 0, label: "\u8BF7\u8F93\u5165" }, model: { value: s.row.charactorcount, callback: function(o) {
|
|
99036
99042
|
t.$set(s.row, "charactorcount", o);
|
|
99037
99043
|
}, expression: "scope.row.charactorcount" } }) : t._e()];
|
|
99038
99044
|
} }]) }), a("el-table-column", { attrs: { prop: "ignoreNull", label: "\u5FFD\u7565\u7A7A\u503C" }, scopedSlots: t._u([{ key: "default", fn: function(s) {
|
|
99039
|
-
return [s.row.isPlaceholder ? t._e() : a("el-checkbox", { model: { value: s.row.ignoreNull, callback: function(o) {
|
|
99045
|
+
return [s.row.isPlaceholder ? t._e() : a("el-checkbox", { attrs: { disabled: t.type == 2 && t.ruleFormData.stateCodes == 1 }, model: { value: s.row.ignoreNull, callback: function(o) {
|
|
99040
99046
|
t.$set(s.row, "ignoreNull", o);
|
|
99041
99047
|
}, expression: "scope.row.ignoreNull" } })];
|
|
99042
99048
|
} }]) }), a("el-table-column", { attrs: { label: "\u64CD\u4F5C" }, scopedSlots: t._u([{ key: "default", fn: function(s) {
|
|
99043
|
-
return
|
|
99049
|
+
return t.type == 2 ? [!t.type == 2 ? a("i", { staticClass: "el-icon-delete", staticStyle: { "font-size": "16px", color: "#ff4d4f" }, on: { click: function(o) {
|
|
99044
99050
|
return t.removeRow(s.$index);
|
|
99045
|
-
} } })];
|
|
99046
|
-
} }]) })], 1)], 1)]), t.isflows ? a("FlowsFilter", { ref: "flowsFilter", attrs: { type: 2, table: t.table }, on: { ok: t.okFilter } }) : t._e()], 1)])], 2);
|
|
99051
|
+
} } }) : t._e()] : void 0;
|
|
99052
|
+
} }], null, !0) })], 1)], 1)]), t.isflows ? a("FlowsFilter", { ref: "flowsFilter", attrs: { type: 2, table: t.table }, on: { ok: t.okFilter } }) : t._e()], 1)])], 2);
|
|
99047
99053
|
}, _sfc_staticRenderFns$2Q = [], __component__$2Q = /* @__PURE__ */ normalizeComponent(
|
|
99048
99054
|
_sfc_main$2Q,
|
|
99049
99055
|
_sfc_render$2Q,
|
|
99050
99056
|
_sfc_staticRenderFns$2Q,
|
|
99051
99057
|
!1,
|
|
99052
99058
|
null,
|
|
99053
|
-
"
|
|
99059
|
+
"b04cae03",
|
|
99054
99060
|
null,
|
|
99055
99061
|
null
|
|
99056
99062
|
);
|
|
@@ -120523,7 +120529,7 @@ var _sfc_render$12 = function() {
|
|
|
120523
120529
|
null,
|
|
120524
120530
|
null
|
|
120525
120531
|
);
|
|
120526
|
-
const pageProperties = __component__$12.exports,
|
|
120532
|
+
const pageProperties = __component__$12.exports, businessRules_vue_vue_type_style_index_0_scoped_9e3de45d_lang = "", _sfc_main$11 = {
|
|
120527
120533
|
props: {
|
|
120528
120534
|
formRecord: {
|
|
120529
120535
|
type: Object,
|
|
@@ -120935,7 +120941,7 @@ var _sfc_render$11 = function() {
|
|
|
120935
120941
|
t.$set(l, "val", u);
|
|
120936
120942
|
}, expression: "ite.val" } }) : a("el-date-picker", { staticStyle: { width: "100%" }, attrs: { placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), type: l.showTime ? "datetime" : "date", "value-format": l.fieldFormat, format: l.fieldFormat, clearable: "" }, model: { value: l.val, callback: function(u) {
|
|
120937
120943
|
t.$set(l, "val", u);
|
|
120938
|
-
}, expression: "ite.val" } })] : ["fk", "about", "user"].includes(l.
|
|
120944
|
+
}, 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) {
|
|
120939
120945
|
t.$set(l, "val", u);
|
|
120940
120946
|
}, expression: "ite.val" } }, [t._l(l.fkData, function(u, f) {
|
|
120941
120947
|
return [a("el-option", { attrs: { label: u.name, value: u.id } })];
|
|
@@ -121014,7 +121020,7 @@ var _sfc_render$11 = function() {
|
|
|
121014
121020
|
_sfc_staticRenderFns$11,
|
|
121015
121021
|
!1,
|
|
121016
121022
|
null,
|
|
121017
|
-
"
|
|
121023
|
+
"9e3de45d",
|
|
121018
121024
|
null,
|
|
121019
121025
|
null
|
|
121020
121026
|
);
|
|
@@ -124365,6 +124371,14 @@ const mixins$a = {
|
|
|
124365
124371
|
label: "\u7248\u672C",
|
|
124366
124372
|
align: "left"
|
|
124367
124373
|
},
|
|
124374
|
+
{
|
|
124375
|
+
transKey: "gd.flow.state",
|
|
124376
|
+
prop: "stateCodes",
|
|
124377
|
+
label: "\u72B6\u6001",
|
|
124378
|
+
type: "slot",
|
|
124379
|
+
slotType: "stateCodes",
|
|
124380
|
+
align: "left"
|
|
124381
|
+
},
|
|
124368
124382
|
{
|
|
124369
124383
|
transKey: "gd.application.introduction",
|
|
124370
124384
|
prop: "introduction",
|
|
@@ -125293,7 +125307,7 @@ var _sfc_render$J = function() {
|
|
|
125293
125307
|
null,
|
|
125294
125308
|
null
|
|
125295
125309
|
);
|
|
125296
|
-
const menusManager = __component__$J.exports,
|
|
125310
|
+
const menusManager = __component__$J.exports, main_vue_vue_type_style_index_0_scoped_54cc4a43_lang = "", _sfc_main$I = {
|
|
125297
125311
|
name: "GdApplication",
|
|
125298
125312
|
props: {
|
|
125299
125313
|
height: {
|
|
@@ -125492,13 +125506,17 @@ const menusManager = __component__$J.exports, main_vue_vue_type_style_index_0_sc
|
|
|
125492
125506
|
this.disableBtn = [];
|
|
125493
125507
|
return;
|
|
125494
125508
|
}
|
|
125495
|
-
const a = t.filter((
|
|
125496
|
-
this.disableBtn = a ? ["\u5220\u9664"] : [];
|
|
125509
|
+
const a = t.filter((o) => o.code === "GDS_LCDP")[0], s = t.filter((o) => o.statecodes === 1)[0];
|
|
125510
|
+
this.disableBtn = a || s ? ["\u5220\u9664"] : [];
|
|
125497
125511
|
},
|
|
125498
125512
|
doEvent(r) {
|
|
125499
125513
|
let t = r.item.functionName;
|
|
125500
125514
|
this[t] && this[t]();
|
|
125501
125515
|
},
|
|
125516
|
+
dictSwitch(r, t) {
|
|
125517
|
+
let a = this.$options.filters.dictData(t).filter((s) => s.code == r)[0];
|
|
125518
|
+
return a != null && a.colour ? a.colour : null;
|
|
125519
|
+
},
|
|
125502
125520
|
functionNameFk(r) {
|
|
125503
125521
|
let t = r.item.functionName;
|
|
125504
125522
|
this[t] && this[t](this.selItemData);
|
|
@@ -125515,6 +125533,8 @@ var _sfc_render$I = function() {
|
|
|
125515
125533
|
return [a("img", { directives: [{ name: "lazyImg", rawName: "v-lazyImg", value: o.logo, expression: "row.logo" }], staticStyle: { display: "block", height: "24px", width: "24px" }, attrs: { "data-url": o.logo } })];
|
|
125516
125534
|
} }, { key: "name", fn: function({ column: s, row: o }) {
|
|
125517
125535
|
return [a("gd-tooltip", { attrs: { rowKey: "name", row: o, highlight: "" }, on: { click: t.editForm } })];
|
|
125536
|
+
} }, { key: "stateCodes", fn: function(s) {
|
|
125537
|
+
return [t.dictSwitch(s.row.statecodes, "state_code") ? a("el-tag", { staticStyle: { "border-color": "transparent" }, attrs: { effect: "dark", color: t.dictSwitch(s.row.statecodes, "state_code") } }, [t._v(" " + t._s(t._f("dictType")("state_code", s.row.statecodes)) + " ")]) : a("span", [t._v(t._s(t._f("dictType")("state_code", s.row.statecodes)))])];
|
|
125518
125538
|
} }, { key: "operator", fn: function() {
|
|
125519
125539
|
return [a("div", { staticClass: "gd-table-operator" }, [a("div", { staticClass: "gd-table-operatorl" }, [a("el-input", { staticClass: "table-operator-input", attrs: { placeholder: t.$i18nt("gd.application.name", "\u540D\u79F0"), clearable: "" }, nativeOn: { keyup: function(s) {
|
|
125520
125540
|
return !s.type.indexOf("key") && t._k(s.keyCode, "enter", 13, s.key, "Enter") ? null : t.refresh.apply(null, arguments);
|
|
@@ -125530,7 +125550,7 @@ var _sfc_render$I = function() {
|
|
|
125530
125550
|
_sfc_staticRenderFns$I,
|
|
125531
125551
|
!1,
|
|
125532
125552
|
null,
|
|
125533
|
-
"
|
|
125553
|
+
"54cc4a43",
|
|
125534
125554
|
null,
|
|
125535
125555
|
null
|
|
125536
125556
|
);
|
|
@@ -129443,7 +129463,7 @@ const mixins$6 = {
|
|
|
129443
129463
|
]
|
|
129444
129464
|
}
|
|
129445
129465
|
]
|
|
129446
|
-
}], getComponentsTree = authorityItems.concat(baseItems).concat(dataItems).concat(flowsItems).concat(logItems).concat(messageItems).concat(organizationItems).concat(systemItems),
|
|
129466
|
+
}], getComponentsTree = authorityItems.concat(baseItems).concat(dataItems).concat(flowsItems).concat(logItems).concat(messageItems).concat(organizationItems).concat(systemItems), addPage_vue_vue_type_style_index_0_scoped_847603f7_lang = "", _sfc_main$H = {
|
|
129447
129467
|
data() {
|
|
129448
129468
|
return {
|
|
129449
129469
|
sysCode: "GDS_LCDP",
|
|
@@ -129728,6 +129748,27 @@ const mixins$6 = {
|
|
|
129728
129748
|
},
|
|
129729
129749
|
getDictionary(r) {
|
|
129730
129750
|
return this.$options.filters.dictData(r);
|
|
129751
|
+
},
|
|
129752
|
+
getTransKey(r) {
|
|
129753
|
+
let t = `STF_T${r.code}_${uuid$1(8)}`, a = [
|
|
129754
|
+
{
|
|
129755
|
+
val: r.name,
|
|
129756
|
+
code: "zh_CN"
|
|
129757
|
+
},
|
|
129758
|
+
{
|
|
129759
|
+
val: r.name,
|
|
129760
|
+
code: "en_US"
|
|
129761
|
+
},
|
|
129762
|
+
{
|
|
129763
|
+
val: r.name,
|
|
129764
|
+
code: "vi_VN"
|
|
129765
|
+
},
|
|
129766
|
+
{
|
|
129767
|
+
val: r.name,
|
|
129768
|
+
code: "id_ID"
|
|
129769
|
+
}
|
|
129770
|
+
];
|
|
129771
|
+
return JSON.stringify({ name: t, langs: a });
|
|
129731
129772
|
}
|
|
129732
129773
|
}
|
|
129733
129774
|
};
|
|
@@ -129745,9 +129786,9 @@ var _sfc_render$H = function() {
|
|
|
129745
129786
|
return t.changeKey(2);
|
|
129746
129787
|
} } }, [a("i", { staticClass: "gd-icons gd-icon-xitong" }), a("span", { staticClass: "name" }, [t._v(t._s(t.$i18nt("gd.menuTree.systemPage", "\u7CFB\u7EDF\u9875\u9762")))])])], 1) : t._e(), a("div", { staticClass: "page-flex-r" }, [a("el-form", { directives: [{ name: "show", rawName: "v-show", value: t.activeKey === 1, expression: "activeKey === 1" }], ref: "ruleForm", staticStyle: { width: "90%", margin: "0 auto" }, attrs: { model: t.ruleForm, rules: t.rules, "label-width": "140px", size: "mini" }, nativeOn: { submit: function(s) {
|
|
129747
129788
|
s.preventDefault();
|
|
129748
|
-
} } }, [a("el-form-item", { attrs: { label: t.$i18nt("gd.directory.name", "\u540D\u79F0"), prop: "name" } }, [a("el-input", { attrs: { placeholder: t.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165") }, model: { value: t.ruleForm.name, callback: function(s) {
|
|
129789
|
+
} } }, [a("el-form-item", { attrs: { label: t.$i18nt("gd.directory.name", "\u540D\u79F0"), prop: "name" } }, [a("div", { staticClass: "gd-form-item-displayName" }, [a("el-input", { attrs: { placeholder: t.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165") }, model: { value: t.ruleForm.name, callback: function(s) {
|
|
129749
129790
|
t.$set(t.ruleForm, "name", s);
|
|
129750
|
-
}, expression: "ruleForm.name" } })], 1), a("el-form-item", { attrs: { label: t.$i18nt("gd.directory.code", "\u552F\u4E00\u7F16\u7801"), prop: "code" } }, [a("el-input", { attrs: { placeholder: t.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165") }, model: { value: t.ruleForm.code, callback: function(s) {
|
|
129791
|
+
}, expression: "ruleForm.name" } }), t.ruleForm.name && !t.ruleForm.transkey ? a("gd-translation", { ref: "gdTranslation", attrs: { transKey: t.getTransKey(t.ruleForm, 2), recordData: t.ruleForm, type: 3 } }) : t._e()], 1)]), a("el-form-item", { attrs: { label: t.$i18nt("gd.directory.code", "\u552F\u4E00\u7F16\u7801"), prop: "code" } }, [a("el-input", { attrs: { placeholder: t.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165") }, model: { value: t.ruleForm.code, callback: function(s) {
|
|
129751
129792
|
t.$set(t.ruleForm, "code", s);
|
|
129752
129793
|
}, expression: "ruleForm.code" } })], 1), a("el-form-item", { attrs: { label: t.$i18nt("gd.directory.router", "\u8DEF\u7531\u5730\u5740"), prop: "router" } }, [a("el-input", { attrs: { placeholder: t.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165") }, model: { value: t.ruleForm.router, callback: function(s) {
|
|
129753
129794
|
t.$set(t.ruleForm, "router", s);
|
|
@@ -129782,7 +129823,7 @@ var _sfc_render$H = function() {
|
|
|
129782
129823
|
_sfc_staticRenderFns$H,
|
|
129783
129824
|
!1,
|
|
129784
129825
|
null,
|
|
129785
|
-
"
|
|
129826
|
+
"847603f7",
|
|
129786
129827
|
null,
|
|
129787
129828
|
null
|
|
129788
129829
|
);
|
|
@@ -131738,6 +131779,150 @@ GDpackage$7.install = function(r) {
|
|
|
131738
131779
|
GDpackage$a.install = function(r) {
|
|
131739
131780
|
r.component(GDpackage$a.name, GDpackage$a);
|
|
131740
131781
|
};
|
|
131782
|
+
function getColumns(r, t, a) {
|
|
131783
|
+
var h, p, v, g;
|
|
131784
|
+
if (!r.syscodegenconfig && !r.syscodegenconfigfk)
|
|
131785
|
+
return console.log("\u5B57\u6BB5:" + r.name + "\u6570\u636E\u9519\u8BEF!"), null;
|
|
131786
|
+
const s = ["fk", "user"].includes(r.syscodegenconfig.effecttype) ? (h = r.syscodegenconfigfk) == null ? void 0 : h.effecttype : r.syscodegenconfig.effecttype, o = r.syscodegenconfig.effecttype, l = getColumnName(r).toLowerCase(), d = r.align ? r.align.split("&") : [], u = getScopedSlots(o, l, r);
|
|
131787
|
+
let f = {
|
|
131788
|
+
key: l,
|
|
131789
|
+
transKey: `Dynamics.${r.transkey}`,
|
|
131790
|
+
prop: l,
|
|
131791
|
+
label: r.name,
|
|
131792
|
+
width: String(r.width),
|
|
131793
|
+
owidth: String(r.width),
|
|
131794
|
+
columnName: r.syscodegenconfig.columnname,
|
|
131795
|
+
fkEntityName: r.syscodegenconfig.fkentityname,
|
|
131796
|
+
id: r.fieldid,
|
|
131797
|
+
fkId: ["fk", "about", "user"].includes(o) ? (p = r.syscodegenconfigfk) == null ? void 0 : p.id : null,
|
|
131798
|
+
align: d[0] ? d[0] : "center",
|
|
131799
|
+
checked: d[1] ? d[1] == 1 : !0,
|
|
131800
|
+
effectType: s,
|
|
131801
|
+
fieldType: o,
|
|
131802
|
+
gatherConfig: r.gatherconfig == 1,
|
|
131803
|
+
fieldFormat: ["fk", "user"].includes(o) ? (v = r.syscodegenconfigfk) == null ? void 0 : v.fieldformat : r.syscodegenconfig.fieldformat,
|
|
131804
|
+
dictTypeCode: ["fk", "user"].includes(o) ? (g = r.syscodegenconfigfk) == null ? void 0 : g.dicttypecode : r.syscodegenconfig.dicttypecode,
|
|
131805
|
+
dictTypeList: [],
|
|
131806
|
+
maxTagCount: r.maxtagcount ? Number(r.maxtagcount) : 2,
|
|
131807
|
+
sourceFk: !!["fk", "about", "user"].includes(o),
|
|
131808
|
+
displayMode: d[2] ? d[2] : "none",
|
|
131809
|
+
displayPrefix: d[3] ? d[3] : "none",
|
|
131810
|
+
preview: d[4] ? d[4] === "true" : !0,
|
|
131811
|
+
download: d[5] ? d[5] === "true" : !0
|
|
131812
|
+
};
|
|
131813
|
+
return r.orderconfig === 1 && Object.assign(f, {
|
|
131814
|
+
sortable: "custom"
|
|
131815
|
+
}), t < a && Object.assign(f, {
|
|
131816
|
+
fixed: "left"
|
|
131817
|
+
}), ["participants"].includes(o) && Object.assign(f, {
|
|
131818
|
+
showTooltip: !1
|
|
131819
|
+
}), Object.assign(f, u);
|
|
131820
|
+
}
|
|
131821
|
+
function getColumnName(r) {
|
|
131822
|
+
var t, a;
|
|
131823
|
+
switch (r.syscodegenconfig.effecttype) {
|
|
131824
|
+
case "fk":
|
|
131825
|
+
return ((t = r.syscodegenconfigfk) == null ? void 0 : t.columnname) + r.syscodegenconfig.fkentityname + r.syscodegenconfig.columnname;
|
|
131826
|
+
case "user":
|
|
131827
|
+
return ((a = r.syscodegenconfigfk) == null ? void 0 : a.columnname) + r.syscodegenconfig.fkentityname + r.syscodegenconfig.columnname;
|
|
131828
|
+
case "about":
|
|
131829
|
+
return r.syscodegenconfig.relations.toLowerCase();
|
|
131830
|
+
default:
|
|
131831
|
+
return r.syscodegenconfig.columnname;
|
|
131832
|
+
}
|
|
131833
|
+
}
|
|
131834
|
+
function getScopedSlots(r, t, a) {
|
|
131835
|
+
var o;
|
|
131836
|
+
if (r == "input")
|
|
131837
|
+
return {};
|
|
131838
|
+
const s = ["fk", "user"].includes(r) ? (o = a.syscodegenconfigfk) == null ? void 0 : o.fieldformat : a.syscodegenconfig.fieldformat;
|
|
131839
|
+
return ["datepicker"].includes(r) && s === 1 ? {} : {
|
|
131840
|
+
type: "slot",
|
|
131841
|
+
slotType: t
|
|
131842
|
+
};
|
|
131843
|
+
}
|
|
131844
|
+
function getQueries(r, t, a) {
|
|
131845
|
+
if (r.syscodegenconfig == null)
|
|
131846
|
+
return !1;
|
|
131847
|
+
let s = r.options ? JSON.parse(r.options) : {}, o = {
|
|
131848
|
+
required: s.required,
|
|
131849
|
+
message: a,
|
|
131850
|
+
trigger: "blur"
|
|
131851
|
+
};
|
|
131852
|
+
return ["inputnumber", "double", " currency"].includes(r.syscodegenconfig.effecttype) && Object.assign(o, {
|
|
131853
|
+
type: "number"
|
|
131854
|
+
}), {
|
|
131855
|
+
id: r.syscodegenconfig.id,
|
|
131856
|
+
transKey: r.syscodegenconfig.transkey,
|
|
131857
|
+
prop: r.syscodegenconfig.columnname,
|
|
131858
|
+
label: r.syscodegenconfig.columncomment,
|
|
131859
|
+
effectType: getEffectType(r.syscodegenconfig.effecttype),
|
|
131860
|
+
dictTypeCode: r.syscodegenconfig.dicttypecode,
|
|
131861
|
+
fkEntityName: r.syscodegenconfig.fkentityname,
|
|
131862
|
+
disabled: r.disabled === void 0 ? !1 : r.disabled,
|
|
131863
|
+
options: s,
|
|
131864
|
+
fieldFormat: r.syscodegenconfig.fieldformat,
|
|
131865
|
+
valueFormat: getFieldFormat(r.syscodegenconfig.fieldformat, t),
|
|
131866
|
+
rules: [o],
|
|
131867
|
+
hasFiltered: !1,
|
|
131868
|
+
filterList: [],
|
|
131869
|
+
fkData: []
|
|
131870
|
+
};
|
|
131871
|
+
}
|
|
131872
|
+
function getFieldFormat(r, t) {
|
|
131873
|
+
if (r === null)
|
|
131874
|
+
return r;
|
|
131875
|
+
const a = t.filter((s) => String(s.code) === String(r))[0];
|
|
131876
|
+
return a ? a.name.replace("DD", "dd") : "yyyy-MM-dd hh:mm:ss";
|
|
131877
|
+
}
|
|
131878
|
+
function getEffectType(r) {
|
|
131879
|
+
let t = r;
|
|
131880
|
+
return ["image", "file"].includes(r) ? t = "input" : ["select", "radio", "switch", "checkbox"].includes(r) ? t = "selectMultiple" : ["fk", "about", "participants", "user"].includes(r) && (t = "selectFkMultiple"), t;
|
|
131881
|
+
}
|
|
131882
|
+
function switchingDate(r, t) {
|
|
131883
|
+
let a = /* @__PURE__ */ new Map();
|
|
131884
|
+
for (var s in r) {
|
|
131885
|
+
let o = r[s] != null && r[s] !== void 0 ? r[s] : "", l = t ? t.filter((u) => u.columnName === s)[0] : null;
|
|
131886
|
+
if ((l ? l.effectType : "input") === "datepicker") {
|
|
131887
|
+
let u = dateProcessing(o, l);
|
|
131888
|
+
u && (a.set(s + "Start", u[0]), a.set(s + "End", u[1]));
|
|
131889
|
+
} else
|
|
131890
|
+
Array.isArray(o) ? o.length > 0 && a.set(s, o.join(",")) : !o == "" && a.set(s, o);
|
|
131891
|
+
}
|
|
131892
|
+
return a.size == 0 ? {} : Object.fromEntries(a);
|
|
131893
|
+
}
|
|
131894
|
+
function dateProcessing(r, t) {
|
|
131895
|
+
return r === "" ? !1 : typeof r == "array" || typeof r == "object" ? r[1] ? [r[0].split(" ")[0] + " 00:00:00", r[1].split(" ")[0] + " 23:59:59"] : !1 : t.fieldFormat == 1 ? [r, r] : [r + " 00:00:00", r + " 23:59:59"];
|
|
131896
|
+
}
|
|
131897
|
+
function hasDefaultVal(r) {
|
|
131898
|
+
let t = /* @__PURE__ */ new Map(), a = getDatepickerVal(r);
|
|
131899
|
+
return ["switch", "select", "radio", "checkbox"].includes(r.effectType) && r.options.defaultValueList.length > 0 ? t.set(r.prop, r.options.defaultValueList) : ["datepicker"].includes(r.effectType) && a ? t.set(r.prop, a) : (["input", "textarea", "editor"].includes(r.effectType) && r.options.defaultValue !== "" || ["inputnumber", "double", " currency"].includes(r.effectType) && r.options.defaultValue !== "") && t.set(r.prop, r.options.defaultValue), Object.fromEntries(t);
|
|
131900
|
+
}
|
|
131901
|
+
function getDatepickerVal(r) {
|
|
131902
|
+
if (!["datepicker"].includes(r.effectType))
|
|
131903
|
+
return !1;
|
|
131904
|
+
let t = r.options.displayStyle, a = r.options.defaultInterval.filter((d) => d.type === "interval")[0], s = r.options.defaultInterval.filter((d) => d.type === "equal")[0], o = s.value === "" ? r.options.defaultValue : getTimeDatas(s, t, r), l = a.value === "" ? r.options.defaultValueList : getTimeDatas(a, t, r);
|
|
131905
|
+
return t == 1 ? o === "" ? !1 : o : l.length === 0 ? !1 : l;
|
|
131906
|
+
}
|
|
131907
|
+
function getTimeDatas(r, t, a) {
|
|
131908
|
+
let s = Number(r.value), o = new Date().getTime(), l = o - s * 1e3 * 60 * 60 * 24, d = getFormatTime(o), u = getFormatTime(l), f = `${d.year}-${d.mon}-${d.day} ${d.hours}:${d.min}:${d.sec}`, h = `${u.year}-${u.mon}-${u.day} ${u.hours}:${u.min}:${u.sec}`;
|
|
131909
|
+
return t == 1 ? a.valueFormat.replace("DD", "dd") === "YYYY-MM-dd" ? h.split(" ")[0] : h : [h, f];
|
|
131910
|
+
}
|
|
131911
|
+
function getFormatTime(r) {
|
|
131912
|
+
let a = r.toString().length == 10 ? parseInt(r) * 1e3 : parseInt(r);
|
|
131913
|
+
var s = new Date(a), o = s.getFullYear(), l = s.getMonth() + 1, d = s.getDate(), u = s.getHours(), f = s.getMinutes(), h = s.getSeconds();
|
|
131914
|
+
return {
|
|
131915
|
+
year: o,
|
|
131916
|
+
mon: formatNumber(l),
|
|
131917
|
+
day: formatNumber(d),
|
|
131918
|
+
hours: formatNumber(u),
|
|
131919
|
+
min: formatNumber(f),
|
|
131920
|
+
sec: formatNumber(h)
|
|
131921
|
+
};
|
|
131922
|
+
}
|
|
131923
|
+
function formatNumber(r) {
|
|
131924
|
+
return r = r.toString(), r[1] ? r : "0" + r;
|
|
131925
|
+
}
|
|
131741
131926
|
const mixins$4 = {
|
|
131742
131927
|
data() {
|
|
131743
131928
|
return {
|
|
@@ -131750,16 +131935,7 @@ const mixins$4 = {
|
|
|
131750
131935
|
slotType: "name",
|
|
131751
131936
|
align: "left",
|
|
131752
131937
|
fixed: !0,
|
|
131753
|
-
renderHeader: (r, ...t) => this.renderHeader(r, ...t, {
|
|
131754
|
-
effectType: "input"
|
|
131755
|
-
}),
|
|
131756
131938
|
showOverflowTooltip: !0
|
|
131757
|
-
},
|
|
131758
|
-
{
|
|
131759
|
-
transKey: "gd.duplicatechecking.remark",
|
|
131760
|
-
prop: "remark",
|
|
131761
|
-
label: "\u8BF4\u660E",
|
|
131762
|
-
align: "left"
|
|
131763
131939
|
}
|
|
131764
131940
|
],
|
|
131765
131941
|
formColumns: [],
|
|
@@ -131775,7 +131951,7 @@ const mixins$4 = {
|
|
|
131775
131951
|
tableQueries: []
|
|
131776
131952
|
};
|
|
131777
131953
|
}
|
|
131778
|
-
},
|
|
131954
|
+
}, main_vue_vue_type_style_index_0_scoped_aaced12f_lang = "", _sfc_main$o = {
|
|
131779
131955
|
name: "Gdduplicate",
|
|
131780
131956
|
mixins: [tablesFilter, mixins$4],
|
|
131781
131957
|
props: {
|
|
@@ -131792,8 +131968,8 @@ const mixins$4 = {
|
|
|
131792
131968
|
fullScreen: !1,
|
|
131793
131969
|
width: "1000px",
|
|
131794
131970
|
tableData: [],
|
|
131971
|
+
newtableData: [],
|
|
131795
131972
|
visible: !1,
|
|
131796
|
-
sysCodeGenId: "",
|
|
131797
131973
|
sysViewButtons: [
|
|
131798
131974
|
{
|
|
131799
131975
|
displayName: "\u4FDD\u5B58",
|
|
@@ -131803,8 +131979,20 @@ const mixins$4 = {
|
|
|
131803
131979
|
icon: "save"
|
|
131804
131980
|
}
|
|
131805
131981
|
],
|
|
131806
|
-
loadData: (r) =>
|
|
131807
|
-
|
|
131982
|
+
loadData: (r) => new Promise((t, a) => {
|
|
131983
|
+
t({ pageNo: 1, pageSize: 40, totalRows: 0, rows: this.newtableData });
|
|
131984
|
+
}),
|
|
131985
|
+
tableDataduplic: (r) => new Promise((t, a) => {
|
|
131986
|
+
const s = this.tables[this.selectedTable].table || [];
|
|
131987
|
+
t({ pageNo: 1, pageSize: 40, totalRows: s.totalrows, rows: s.rows });
|
|
131988
|
+
}),
|
|
131989
|
+
queryParam: {},
|
|
131990
|
+
tables: {},
|
|
131991
|
+
selectedTable: "",
|
|
131992
|
+
sysViewFields: [],
|
|
131993
|
+
columns: [],
|
|
131994
|
+
objdata: {},
|
|
131995
|
+
newformdata: {}
|
|
131808
131996
|
};
|
|
131809
131997
|
},
|
|
131810
131998
|
computed: {
|
|
@@ -131824,35 +132012,80 @@ const mixins$4 = {
|
|
|
131824
132012
|
getHeight() {
|
|
131825
132013
|
return this.height;
|
|
131826
132014
|
},
|
|
131827
|
-
|
|
132015
|
+
sysviewfields() {
|
|
132016
|
+
var t;
|
|
132017
|
+
return ((t = this.tables[Object.keys(this.tables)[0]]) == null ? void 0 : t.viewfields) || [];
|
|
132018
|
+
},
|
|
132019
|
+
getColumnsed() {
|
|
132020
|
+
const r = this.columns.filter((t) => t.prop !== "name");
|
|
132021
|
+
return console.log(r), r;
|
|
132022
|
+
},
|
|
132023
|
+
...mapGetters(["screenHeight", "tablePageSize", "tableSize", "labelPosition", "formMode"])
|
|
131828
132024
|
},
|
|
131829
132025
|
methods: {
|
|
131830
132026
|
toggleFullscreen() {
|
|
131831
132027
|
this.fullScreen = !this.fullScreen;
|
|
131832
132028
|
},
|
|
131833
|
-
init(r) {
|
|
131834
|
-
this.tableData = r || [], this.
|
|
132029
|
+
init(r, t, a) {
|
|
132030
|
+
console.log(r, t, a), this.tableData = [], this.tables = {}, this.selectedTable = "", this.newtableData = [], this.sysViewFields = [], this.columns = [], this.tableData = r || [], this.tables = r.data || {}, this.selectedTable = Object.keys(this.tables)[0], console.log(t), this.newformdata = t, this.newtableData = [t], console.log(this.newtableData), this.objdata = a;
|
|
132031
|
+
let s = [], o = [], l = 0;
|
|
132032
|
+
this.sysviewfields.forEach((d, u) => {
|
|
132033
|
+
const f = String(d.id);
|
|
132034
|
+
let h = getColumns(d, u, 0);
|
|
132035
|
+
l === 0 && h && h.checked && (Object.assign(h, {
|
|
132036
|
+
type: "slot",
|
|
132037
|
+
slotType: h.prop
|
|
132038
|
+
}), l += 1), h && Object.assign(h, {
|
|
132039
|
+
type: "slot",
|
|
132040
|
+
slotType: h.prop
|
|
132041
|
+
}), s.push(h);
|
|
132042
|
+
let p = {
|
|
132043
|
+
name: d.alias == "" ? d.columncomment : d.alias,
|
|
132044
|
+
width: Number(d.num),
|
|
132045
|
+
order: u,
|
|
132046
|
+
type: f.length > 1 ? 2 : 1,
|
|
132047
|
+
fieldid: f,
|
|
132048
|
+
jointableid: d.codegenid,
|
|
132049
|
+
joinfieldid: f,
|
|
132050
|
+
orderconfig: d.orderconfig ? 1 : 0,
|
|
132051
|
+
maxtagcount: d.maxtagcount ? Number(d.maxtagcount) : 2
|
|
132052
|
+
};
|
|
132053
|
+
o.push(p);
|
|
132054
|
+
}), this.sysViewFields = [...o], this.columns = [...s], console.log(this.columns), console.log(this.sysViewFields), this.fullScreen = !1, this.confirmLoading = !1, this.visible = !0;
|
|
131835
132055
|
},
|
|
131836
132056
|
handleSubmit() {
|
|
132057
|
+
this.objdata.data.id ? this.objdata.fucedit(this.objdata).then((r) => {
|
|
132058
|
+
this.handleCancel();
|
|
132059
|
+
}).catch((r) => {
|
|
132060
|
+
this.$message.error(r.message);
|
|
132061
|
+
}) : this.objdata.fucadd(this.objdata).then((r) => {
|
|
132062
|
+
this.handleCancel();
|
|
132063
|
+
}).catch((r) => {
|
|
132064
|
+
this.$message.error(r.message);
|
|
132065
|
+
});
|
|
131837
132066
|
},
|
|
131838
132067
|
handleCancel() {
|
|
131839
|
-
this.visible = !1, this.confirmLoading = !1, this.tableData = [];
|
|
132068
|
+
this.visible = !1, this.confirmLoading = !1, this.tableData = [], this.tables = {}, this.selectedTable = "", this.newtableData = [], this.sysViewFields = [], this.columns = [], this.newformdata = {};
|
|
131840
132069
|
},
|
|
131841
132070
|
doEvent(r) {
|
|
131842
132071
|
let t = r.item.functionName;
|
|
131843
132072
|
this[t]();
|
|
131844
132073
|
},
|
|
131845
|
-
onSelectChange(r, t) {
|
|
131846
|
-
this.selectedRows = t, this.selectedRowKeys = r;
|
|
131847
|
-
},
|
|
131848
132074
|
refresh() {
|
|
131849
132075
|
this.$refs.table.refresh();
|
|
131850
132076
|
},
|
|
131851
132077
|
editForm(r) {
|
|
131852
|
-
console.log("\u67E5\u770B", r), this.
|
|
132078
|
+
console.log("\u67E5\u770B", r), this.$refs.middleware.init({
|
|
132079
|
+
tableId: this.newformdata.tableId,
|
|
132080
|
+
data: [r]
|
|
132081
|
+
}).then((t) => {
|
|
132082
|
+
setTimeout(() => {
|
|
132083
|
+
this.statu = !1;
|
|
132084
|
+
}, 1e3);
|
|
132085
|
+
});
|
|
131853
132086
|
},
|
|
131854
132087
|
selectTable(r) {
|
|
131855
|
-
this.
|
|
132088
|
+
this.selectedTable = r, this.refresh();
|
|
131856
132089
|
}
|
|
131857
132090
|
}
|
|
131858
132091
|
};
|
|
@@ -131860,26 +132093,30 @@ var _sfc_render$o = function() {
|
|
|
131860
132093
|
var t = this, a = t._self._c;
|
|
131861
132094
|
return a("el-dialog", { class: t.fullScreen ? "gd-dialog" : "gd-dialog gd-dialog-fangda", style: t.modalStyle.dialogStyle, attrs: { width: t.modalStyle.width, visible: t.visible, footer: null, top: "30px", "append-to-body": "" }, on: { "update:visible": function(s) {
|
|
131862
132095
|
t.visible = s;
|
|
131863
|
-
}, closed: t.handleCancel } }, [a("template", { slot: "title" }, [a("div", { staticClass: "gd-dialog-head" }, [a("div", { staticClass: "dialog-head-title" }, [t._v(t._s(t.$i18nt("gd.duplicatechecking.duplicateDetected", "\u68C0\u6D4B\u5230\u91CD\u590D\u4FE1\u606F")))]), a("div", { staticClass: "dialog-head-btn" }, [a("gd-btn-list", { attrs: { sysViewButtons: t.sysViewButtons }, on: { functionName: t.doEvent } })], 1), a("div", { staticClass: "dialog-head-operate" }, [a("i", { staticClass: "gd-icons active-color", class: t.fullScreen ? "gd-icon-quanpingsuoxiao" : "gd-icon-fangda", on: { click: t.toggleFullscreen } })]), t.confirmLoading ? a("div", { staticClass: "gd-dialog-meng" }) : t._e()])]), a("div", { directives: [{ name: "loading", rawName: "v-loading", value: t.confirmLoading, expression: "confirmLoading" }] }, [a("div", { staticClass: "setting-navs", class: t.fullScreen ? "modal-bodyq" : "modal-body" }, [a("span", [t._v("\u8BB0\u5F55\u53EF\u80FD\u4E0E\u67D0\u4E2A\u73B0\u6709\u8BB0\u5F55\u91CD\u590D\u3002\u8BF7\u68C0\u67E5\u53EF\u80FD\u91CD\u590D\u7684\u9879\u5E76\u51B3\u5B9A\u662F\u5426\u4ECD\u8981\
|
|
132096
|
+
}, closed: t.handleCancel } }, [a("template", { slot: "title" }, [a("div", { staticClass: "gd-dialog-head" }, [a("div", { staticClass: "dialog-head-title" }, [t._v(t._s(t.$i18nt("gd.duplicatechecking.duplicateDetected", "\u68C0\u6D4B\u5230\u91CD\u590D\u4FE1\u606F")))]), a("div", { staticClass: "dialog-head-btn" }, [a("gd-btn-list", { attrs: { sysViewButtons: t.sysViewButtons }, on: { functionName: t.doEvent } })], 1), a("div", { staticClass: "dialog-head-operate" }, [a("i", { staticClass: "gd-icons active-color", class: t.fullScreen ? "gd-icon-quanpingsuoxiao" : "gd-icon-fangda", on: { click: t.toggleFullscreen } })]), t.confirmLoading ? a("div", { staticClass: "gd-dialog-meng" }) : t._e()])]), t.visible ? a("div", { directives: [{ name: "loading", rawName: "v-loading", value: t.confirmLoading, expression: "confirmLoading" }] }, [a("div", { staticClass: "setting-navs", class: t.fullScreen ? "modal-bodyq" : "modal-body" }, [a("span", [t._v("\u8BB0\u5F55\u53EF\u80FD\u4E0E\u67D0\u4E2A\u73B0\u6709\u8BB0\u5F55\u91CD\u590D\u3002\u8BF7\u68C0\u67E5\u53EF\u80FD\u91CD\u590D\u7684\u9879\u5E76\u51B3\u5B9A\u662F\u5426\u4ECD\u8981\u4FDD\u5B58\u6B64\u8BB0\u5F55\u3002")]), a("div", [a("span", [t._v(t._s(t.$i18nt("gd.duplicatechecking.myNewRecord", "\u6211\u7684\u65B0\u8BB0\u5F55")))]), a("gd-tables", { ref: "table", attrs: { dataSource: t.loadData, size: t.tableSize, pageSize: t.tablePageSize, columns: t.columns, height: t.getHeight }, scopedSlots: t._u([{ key: "name", fn: function({ column: s, row: o }) {
|
|
131864
132097
|
return [a("gd-tooltip", { attrs: { rowKey: "name", row: o, highlight: "" }, on: { click: t.editForm } })];
|
|
131865
|
-
} },
|
|
131866
|
-
return
|
|
131867
|
-
|
|
131868
|
-
|
|
131869
|
-
},
|
|
131870
|
-
|
|
131871
|
-
}
|
|
132098
|
+
} }, t._l(t.getColumnsed, function(s) {
|
|
132099
|
+
return { key: s.prop, fn: function({ column: o, row: l }) {
|
|
132100
|
+
return [a("span", [t._v(t._s(l[s.prop]))])];
|
|
132101
|
+
} };
|
|
132102
|
+
})], null, !0) })], 1), a("div", [a("div", { staticStyle: { "align-items": "center", display: "flex" } }, [a("span", { staticStyle: { flex: "1" } }, [t._v(t._s(t.$i18nt("gd.duplicatechecking.possibleDuplicateRecords", "\u53EF\u80FD\u91CD\u590D\u7684\u8BB0\u5F55")))]), a("el-select", { ref: "refTable", attrs: { placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), filterable: "" }, on: { change: t.selectTable }, model: { value: t.selectedTable, callback: function(s) {
|
|
132103
|
+
t.selectedTable = s;
|
|
132104
|
+
}, expression: "selectedTable" } }, t._l(t.tables, function(s, o) {
|
|
132105
|
+
return a("el-option", { key: o, attrs: { label: t.$i18nt(`Dynamics.${s.transkey}`, o), value: o } }, [t._v(" " + t._s(t.$i18nt(`Dynamics.${s.transkey}`, o)) + " ")]);
|
|
132106
|
+
}), 1)], 1), a("gd-tables", { ref: "table", attrs: { dataSource: t.tableDataduplic, size: t.tableSize, pageSize: t.tablePageSize, columns: t.columns, height: t.getHeight }, scopedSlots: t._u([{ key: "name", fn: function({ column: s, row: o }) {
|
|
131872
132107
|
return [a("gd-tooltip", { attrs: { rowKey: "name", row: o, highlight: "" }, on: { click: t.editForm } })];
|
|
131873
|
-
} },
|
|
131874
|
-
return
|
|
131875
|
-
|
|
132108
|
+
} }, t._l(t.getColumnsed, function(s) {
|
|
132109
|
+
return { key: s.prop, fn: function({ column: o, row: l }) {
|
|
132110
|
+
return [a("span", [t._v(t._s(l[s.prop]))])];
|
|
132111
|
+
} };
|
|
132112
|
+
})], null, !0) })], 1)])]) : t._e(), a("gd-middleware", { ref: "middleware", on: { ok: t.refresh } })], 2);
|
|
131876
132113
|
}, _sfc_staticRenderFns$o = [], __component__$o = /* @__PURE__ */ normalizeComponent(
|
|
131877
132114
|
_sfc_main$o,
|
|
131878
132115
|
_sfc_render$o,
|
|
131879
132116
|
_sfc_staticRenderFns$o,
|
|
131880
132117
|
!1,
|
|
131881
132118
|
null,
|
|
131882
|
-
"
|
|
132119
|
+
"aaced12f",
|
|
131883
132120
|
null,
|
|
131884
132121
|
null
|
|
131885
132122
|
);
|
|
@@ -132032,11 +132269,11 @@ function isEqual({
|
|
|
132032
132269
|
let s = t.filter((u) => u.id === r.columnId)[0];
|
|
132033
132270
|
if (!s)
|
|
132034
132271
|
return !1;
|
|
132035
|
-
let o = s.
|
|
132272
|
+
let o = s.columnname, l = a[o];
|
|
132036
132273
|
if (l === "")
|
|
132037
132274
|
return !1;
|
|
132038
132275
|
let d = r.val;
|
|
132039
|
-
return ["currency", "double", "inputnumber"].includes(s.
|
|
132276
|
+
return ["currency", "double", "inputnumber"].includes(s.effecttype) && (l = Number(l), d = Number(d)), ["switch", "select", "radiobox"].includes(s.effecttype) && (l = String(l), d = String(d)), r.rules === "1" ? l === d : l !== d;
|
|
132040
132277
|
}
|
|
132041
132278
|
function isContain({
|
|
132042
132279
|
data: r,
|
|
@@ -132046,7 +132283,7 @@ function isContain({
|
|
|
132046
132283
|
let s = t.filter((u) => u.id === r.columnId)[0];
|
|
132047
132284
|
if (!s)
|
|
132048
132285
|
return !1;
|
|
132049
|
-
let o = a[s.
|
|
132286
|
+
let o = a[s.columnname], l = o === void 0 ? "" : String(o), d = String(r.val);
|
|
132050
132287
|
return r.rules === "3" ? l.indexOf(d) !== -1 : l.indexOf(d) === -1;
|
|
132051
132288
|
}
|
|
132052
132289
|
function isIncludeData({
|
|
@@ -132057,7 +132294,7 @@ function isIncludeData({
|
|
|
132057
132294
|
let s = t.filter((d) => d.id === r.columnId)[0];
|
|
132058
132295
|
if (!s)
|
|
132059
132296
|
return !1;
|
|
132060
|
-
let o = a[s.
|
|
132297
|
+
let o = a[s.columnname], l = !0;
|
|
132061
132298
|
return (o == null || o === "") && (l = !1), r.rules === "5" ? l : !l;
|
|
132062
132299
|
}
|
|
132063
132300
|
function isGreaterThan({
|
|
@@ -132068,8 +132305,8 @@ function isGreaterThan({
|
|
|
132068
132305
|
let s = t.filter((u) => u.id === r.columnId)[0];
|
|
132069
132306
|
if (!s)
|
|
132070
132307
|
return !1;
|
|
132071
|
-
let o = a[s.
|
|
132072
|
-
if (o === "")
|
|
132308
|
+
let o = a[s.columnname];
|
|
132309
|
+
if (o === "" || o === void 0)
|
|
132073
132310
|
return !1;
|
|
132074
132311
|
let l = dataConversion(o, s), d = dataConversion(r.val, s);
|
|
132075
132312
|
if (e.rules === "7")
|
|
@@ -132083,7 +132320,7 @@ function isGreaterThan({
|
|
|
132083
132320
|
}
|
|
132084
132321
|
function dataConversion(r, t) {
|
|
132085
132322
|
let a = 0;
|
|
132086
|
-
return t.
|
|
132323
|
+
return t.effecttype === "inputnumber" ? a = Number(r) : a = new Date(String(r)).getTime(), a;
|
|
132087
132324
|
}
|
|
132088
132325
|
function processingResults(r, t, a) {
|
|
132089
132326
|
let s = t.rule.length;
|
|
@@ -132095,7 +132332,7 @@ function processingResults(r, t, a) {
|
|
|
132095
132332
|
function isSatisfyed(r, t) {
|
|
132096
132333
|
return t === "2" ? r.every((a, s, o) => !a) : r.every((a, s, o) => !!a);
|
|
132097
132334
|
}
|
|
132098
|
-
const
|
|
132335
|
+
const processFlow_vue_vue_type_style_index_0_scoped_efe4b01b_lang = "", _sfc_main$n = {
|
|
132099
132336
|
props: {
|
|
132100
132337
|
fieldData: {
|
|
132101
132338
|
type: Array,
|
|
@@ -132234,6 +132471,12 @@ const processFlow_vue_vue_type_style_index_0_scoped_2c978502_lang = "", _sfc_mai
|
|
|
132234
132471
|
});
|
|
132235
132472
|
},
|
|
132236
132473
|
baseSetLocking(r) {
|
|
132474
|
+
const t = this.getCurrentList.filter((s) => (s.options.columnName ? s.options.columnName.toLowerCase() : s.options.columnName) === r.columnName)[0];
|
|
132475
|
+
!t || !this.baseHasFieldPermission(r.columnName) || Object.assign(t, {
|
|
132476
|
+
options: Object.assign(t.options, {
|
|
132477
|
+
disabled: r.data === "1"
|
|
132478
|
+
})
|
|
132479
|
+
});
|
|
132237
132480
|
},
|
|
132238
132481
|
baseHasFieldPermission(r) {
|
|
132239
132482
|
const t = this.fieldData.filter((s) => s.columnname === r)[0];
|
|
@@ -132267,7 +132510,7 @@ const processFlow_vue_vue_type_style_index_0_scoped_2c978502_lang = "", _sfc_mai
|
|
|
132267
132510
|
val: this.parameterData[r.options.columnName],
|
|
132268
132511
|
items: t,
|
|
132269
132512
|
fkData: r.fkData
|
|
132270
|
-
});
|
|
132513
|
+
}), this.editHandling(!1);
|
|
132271
132514
|
},
|
|
132272
132515
|
baseChange(r) {
|
|
132273
132516
|
this.editHandling(!1), this.$emit("change", r);
|
|
@@ -132477,7 +132720,24 @@ const processFlow_vue_vue_type_style_index_0_scoped_2c978502_lang = "", _sfc_mai
|
|
|
132477
132720
|
if (!r || r.id === this.seeData.id)
|
|
132478
132721
|
return;
|
|
132479
132722
|
let t = [...this.list];
|
|
132480
|
-
t.map((a) => (a.class = a.id == r.id ? "item-active" : a.statu == 0 || a.statu == 1 ? "item-over" : "", a.style = a.id == r.id ? {} : this.styled(a), a)), this.seeData = { ...r }, this.list = [...t], this.changeData({});
|
|
132723
|
+
t.map((a) => (a.class = a.id == r.id ? "item-active" : a.statu == 0 || a.statu == 1 ? "item-over" : "", a.style = a.id == r.id ? {} : this.styled(a), a)), this.seeData = { ...r }, this.list = [...t], this.changeData({}), this.boundField();
|
|
132724
|
+
},
|
|
132725
|
+
boundField() {
|
|
132726
|
+
const r = (s) => (s = s.filter((o, l) => {
|
|
132727
|
+
if (o.options && o.options.columnName) {
|
|
132728
|
+
const d = this.allField.filter((u) => u.options.columnName === o.options.columnName)[0];
|
|
132729
|
+
d && Object.assign(o, {
|
|
132730
|
+
rules: JSON.parse(JSON.stringify(d.rules)),
|
|
132731
|
+
help: d.help,
|
|
132732
|
+
options: Object.assign(o.options, {
|
|
132733
|
+
hidden: d.options.hidden,
|
|
132734
|
+
disabled: d.options.disabled
|
|
132735
|
+
})
|
|
132736
|
+
});
|
|
132737
|
+
}
|
|
132738
|
+
return o.list && (o.list = r(o.list)), !0;
|
|
132739
|
+
}), s), t = this.list.filter((s) => s.show && s.id === this.seeData.id)[0], a = t ? t.columns : [];
|
|
132740
|
+
r(a);
|
|
132481
132741
|
},
|
|
132482
132742
|
previousStage() {
|
|
132483
132743
|
if (this.confirmLoading)
|
|
@@ -132756,11 +133016,11 @@ var _sfc_render$n = function() {
|
|
|
132756
133016
|
_sfc_staticRenderFns$n,
|
|
132757
133017
|
!1,
|
|
132758
133018
|
null,
|
|
132759
|
-
"
|
|
133019
|
+
"efe4b01b",
|
|
132760
133020
|
null,
|
|
132761
133021
|
null
|
|
132762
133022
|
);
|
|
132763
|
-
const ProcessFlow = __component__$n.exports,
|
|
133023
|
+
const ProcessFlow = __component__$n.exports, main_vue_vue_type_style_index_0_scoped_dcf7872a_lang = "", _sfc_main$m = {
|
|
132764
133024
|
name: "GdFormBuild",
|
|
132765
133025
|
props: {
|
|
132766
133026
|
modeType: {
|
|
@@ -132909,46 +133169,45 @@ const ProcessFlow = __component__$n.exports, main_vue_vue_type_style_index_0_sco
|
|
|
132909
133169
|
baseAdd(r = 2) {
|
|
132910
133170
|
return this.confirmLoading = !0, new Promise((t, a) => {
|
|
132911
133171
|
this.getFormAllData().then((s) => {
|
|
132912
|
-
|
|
132913
|
-
let
|
|
132914
|
-
if (this.recordRelation.options && (
|
|
133172
|
+
[...s.fkList];
|
|
133173
|
+
let o = this.recordRelation.foreign === void 0 ? "" : this.recordRelation.foreign.fkValue, l = !1, d = !1;
|
|
133174
|
+
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) {
|
|
132915
133175
|
this.$emit("relationOk", { data: s, fkDataList: this.allField });
|
|
132916
133176
|
return;
|
|
132917
133177
|
}
|
|
132918
|
-
if (String(this.openMode) === "3" &&
|
|
133178
|
+
if (String(this.openMode) === "3" && o === "") {
|
|
132919
133179
|
this.$emit("relationOk", { data: s, fkDataList: this.allField }), this.closed();
|
|
132920
133180
|
return;
|
|
132921
133181
|
}
|
|
132922
|
-
if (String(this.openMode) === "3" &&
|
|
133182
|
+
if (String(this.openMode) === "3" && o !== "" && !l) {
|
|
132923
133183
|
this.$emit("relationOk", { data: s, fkDataList: this.allField }), this.closed();
|
|
132924
133184
|
return;
|
|
132925
133185
|
}
|
|
132926
|
-
if (String(this.openMode) === "3" &&
|
|
132927
|
-
let
|
|
132928
|
-
|
|
132929
|
-
let
|
|
132930
|
-
|
|
132931
|
-
updateFiled_GD:
|
|
133186
|
+
if (String(this.openMode) === "3" && o !== "" && l) {
|
|
133187
|
+
let f = s.updateFiled_GD.split(","), h = this.recordRelation.options.foreign, p = this.fieldData.filter((y) => y.columnname === h)[0], v = f.filter((y) => y !== p.id);
|
|
133188
|
+
v.push(p.id);
|
|
133189
|
+
let g = /* @__PURE__ */ new Map();
|
|
133190
|
+
g.set(h, o), Object.assign(s, Object.fromEntries(g), {
|
|
133191
|
+
updateFiled_GD: v.join(",")
|
|
132932
133192
|
});
|
|
132933
133193
|
}
|
|
132934
133194
|
s.notBringToFields && s.notBringToFields.length > 0 && delete s.notBringToFields, s.id !== void 0 && delete s.id;
|
|
132935
|
-
let
|
|
132936
|
-
this.tableDetails && (
|
|
132937
|
-
|
|
132938
|
-
|
|
132939
|
-
|
|
132940
|
-
|
|
132941
|
-
|
|
132942
|
-
|
|
132943
|
-
|
|
132944
|
-
|
|
132945
|
-
|
|
132946
|
-
|
|
132947
|
-
|
|
132948
|
-
|
|
132949
|
-
|
|
132950
|
-
|
|
132951
|
-
this.confirmLoading = !1;
|
|
133195
|
+
let u = !1;
|
|
133196
|
+
this.tableDetails && (u = this.tableDetails.isPlugIn == 1 || this.tableDetails.isAudit == 1 || this.tableDetails.isAgent == 1), u && (s = Object.assign({ ...s }, { fkList: [] })), this.tableDetails.ischeckduplicate === 1 ? this.addgetDupRecordsSysDupRulesForm(s, {
|
|
133197
|
+
data: s,
|
|
133198
|
+
fucadd: this.addbase,
|
|
133199
|
+
resolve: t,
|
|
133200
|
+
saved: l,
|
|
133201
|
+
refreshHost: d,
|
|
133202
|
+
t: r,
|
|
133203
|
+
statu: u
|
|
133204
|
+
}) : this.addbase({
|
|
133205
|
+
data: s,
|
|
133206
|
+
resolve: t,
|
|
133207
|
+
saved: l,
|
|
133208
|
+
refreshHost: d,
|
|
133209
|
+
t: r,
|
|
133210
|
+
statu: u
|
|
132952
133211
|
});
|
|
132953
133212
|
}).catch((s) => {
|
|
132954
133213
|
this.confirmLoading = !1;
|
|
@@ -132968,37 +133227,60 @@ const ProcessFlow = __component__$n.exports, main_vue_vue_type_style_index_0_sco
|
|
|
132968
133227
|
return;
|
|
132969
133228
|
}
|
|
132970
133229
|
if (String(this.openMode) === "3" && o !== "" && l) {
|
|
132971
|
-
let
|
|
132972
|
-
|
|
132973
|
-
let
|
|
132974
|
-
|
|
132975
|
-
updateFiled_GD:
|
|
133230
|
+
let f = s.updateFiled_GD.split(","), h = this.recordRelation.options.foreign, p = this.fieldData.filter((y) => y.columnname === h)[0], v = f.filter((y) => y !== p.id);
|
|
133231
|
+
v.push(p.id);
|
|
133232
|
+
let g = /* @__PURE__ */ new Map();
|
|
133233
|
+
g.set(h, o), Object.assign(s, Object.fromEntries(g), {
|
|
133234
|
+
updateFiled_GD: v.join(",")
|
|
132976
133235
|
});
|
|
132977
133236
|
}
|
|
132978
133237
|
s.notBringToFields && s.notBringToFields.length > 0 && delete s.notBringToFields;
|
|
132979
133238
|
const u = Object.assign({ ...s }, { id: this.id });
|
|
132980
|
-
|
|
132981
|
-
|
|
132982
|
-
|
|
132983
|
-
|
|
132984
|
-
|
|
132985
|
-
|
|
132986
|
-
|
|
132987
|
-
|
|
132988
|
-
|
|
132989
|
-
|
|
132990
|
-
|
|
132991
|
-
|
|
132992
|
-
|
|
132993
|
-
}, 50);
|
|
132994
|
-
}).catch(() => {
|
|
132995
|
-
this.confirmLoading = !1;
|
|
133239
|
+
this.tableDetails.ischeckduplicate === 1 ? this.editgetDupRecordsSysDupRulesForm(u, {
|
|
133240
|
+
data: u,
|
|
133241
|
+
fucedit: this.editbase,
|
|
133242
|
+
resolve: t,
|
|
133243
|
+
saved: l,
|
|
133244
|
+
refreshHost: d,
|
|
133245
|
+
t: r
|
|
133246
|
+
}) : this.editbase({
|
|
133247
|
+
data: u,
|
|
133248
|
+
resolve: t,
|
|
133249
|
+
saved: l,
|
|
133250
|
+
refreshHost: d,
|
|
133251
|
+
t: r
|
|
132996
133252
|
});
|
|
132997
133253
|
}).catch((s) => {
|
|
132998
133254
|
this.confirmLoading = !1;
|
|
132999
133255
|
});
|
|
133000
133256
|
});
|
|
133001
133257
|
},
|
|
133258
|
+
editgetDupRecordsSysDupRulesForm(r, t) {
|
|
133259
|
+
let a = JSON.parse(JSON.stringify(r));
|
|
133260
|
+
a.tableId = this.tableData.id, delete a.updateFiled_GD, delete a.fkList, this.confirmLoading = !0, getDupRecordsSysDupRules(a).then((s) => {
|
|
133261
|
+
s.success ? s.data.duplicated ? (this.confirmLoading = !1, this.$refs.duplicate.init(s.data, a, t)) : this.editbase(t) : (this.confirmLoading = !1, this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + s.message));
|
|
133262
|
+
});
|
|
133263
|
+
},
|
|
133264
|
+
editbase({ data: r, resolve: t, saved: a, refreshHost: s, t: o }) {
|
|
133265
|
+
return baseEdit(r).then((l) => (l.code === 200 ? (this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), this.baseClearFk(), this.baseSetDelevanceBtn(), this.baseHandleApproval(), this.$emit("ok", !1), this.closed(o), String(this.openMode) === "3" && a && s && this.baseRelationRefresh(!0, [])) : this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25:") + l.message), this.confirmLoading = !1, setTimeout(() => {
|
|
133266
|
+
t({ res: l, data: r });
|
|
133267
|
+
}, 50), l)).catch(() => {
|
|
133268
|
+
this.confirmLoading = !1;
|
|
133269
|
+
});
|
|
133270
|
+
},
|
|
133271
|
+
addgetDupRecordsSysDupRulesForm(r, t) {
|
|
133272
|
+
let a = JSON.parse(JSON.stringify(r));
|
|
133273
|
+
a.tableId = this.tableData.id, delete a.updateFiled_GD, delete a.fkList, this.confirmLoading = !0, getDupRecordsSysDupRules(a).then((s) => {
|
|
133274
|
+
s.success ? s.data.duplicated ? (this.confirmLoading = !1, this.$refs.duplicate.init(s.data, r, t)) : this.addbase(t) : (this.confirmLoading = !1, this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + s.message));
|
|
133275
|
+
});
|
|
133276
|
+
},
|
|
133277
|
+
addbase({ data: r, resolve: t, saved: a, refreshHost: s, t: o, statu: l }) {
|
|
133278
|
+
return baseAdd(r).then((d) => (d.code === 200 ? (this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), this.title = this.$i18nt("gd.common.btn.edit", "\u7F16\u8F91"), this.id = d.data, l ? this.baseRelationSave({ id: d.data, fkList }, o) : (this.baseAddFlow(d.data, o), this.$emit("ok", !1), this.baseClearFk(), this.closed(o), this.confirmLoading = !1), String(this.openMode) === "3" && a && s && this.baseRelationRefresh(!0, [])) : (this.confirmLoading = !1, this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25:") + d.message)), setTimeout(() => {
|
|
133279
|
+
t({ res: d, data: r });
|
|
133280
|
+
}, 50), d)).catch(() => {
|
|
133281
|
+
this.confirmLoading = !1;
|
|
133282
|
+
});
|
|
133283
|
+
},
|
|
133002
133284
|
getFkList(r = !1) {
|
|
133003
133285
|
let t = [], a = this.allField.filter((s) => s.componentItem);
|
|
133004
133286
|
return a.length === 0 || (r ? a.forEach((s) => {
|
|
@@ -133145,7 +133427,7 @@ const ProcessFlow = __component__$n.exports, main_vue_vue_type_style_index_0_sco
|
|
|
133145
133427
|
},
|
|
133146
133428
|
setFormRecord(r) {
|
|
133147
133429
|
return new Promise((t, a) => {
|
|
133148
|
-
if (this.formRecordSource = JSON.stringify(r), this.formRecord = r, this.formData = JSON.parse(r.formconfig), this.businessConfig = JSON.parse(r.businessconfig), this.allField = this.getItemList(), this.getTableData(), this.modeType === "editForm") {
|
|
133430
|
+
if (this.formRecordSource = JSON.stringify(r), this.formRecord = r, this.formData = JSON.parse(r.formconfig), this.businessConfig = JSON.parse(r.businessconfig), this.allField = this.getItemList(), this.getTableData(), this.modeType === "editForm" || this.modeType === "iframe") {
|
|
133149
133431
|
const s = this.baseRelationBtnShow();
|
|
133150
133432
|
this.sysViewButtons = this.formRecord.sysbuttons.map((o) => (o.show = s, o.displayName = o.displayname, o.transKey = o.transkey ? `Dynamics.${o.transkey}` : null, o));
|
|
133151
133433
|
}
|
|
@@ -133295,10 +133577,7 @@ const ProcessFlow = __component__$n.exports, main_vue_vue_type_style_index_0_sco
|
|
|
133295
133577
|
return this.businessConfig.forEach((a, s) => {
|
|
133296
133578
|
let o = 0;
|
|
133297
133579
|
a.list.forEach((l, d) => {
|
|
133298
|
-
l.condition.list.filter((f) =>
|
|
133299
|
-
const h = r.options.columnName ? r.options.columnName.toLowerCase() : r.options.columnName;
|
|
133300
|
-
return f.columnComment === h;
|
|
133301
|
-
})[0] && (o += 1);
|
|
133580
|
+
l.condition.list.filter((f) => f.columnComment === r.options.columnName)[0] && (o += 1);
|
|
133302
133581
|
}), o > 0 && a.using && t.push(a);
|
|
133303
133582
|
}), t;
|
|
133304
133583
|
},
|
|
@@ -133505,8 +133784,9 @@ const ProcessFlow = __component__$n.exports, main_vue_vue_type_style_index_0_sco
|
|
|
133505
133784
|
});
|
|
133506
133785
|
},
|
|
133507
133786
|
baseUsageFieldRules(r) {
|
|
133508
|
-
const t = r.options.columnName ? r.options.columnName.toLowerCase() : r.options.columnName, a = this.allField.filter((
|
|
133509
|
-
|
|
133787
|
+
const t = r.options.columnName ? r.options.columnName.toLowerCase() : r.options.columnName, a = this.allField.filter((l) => (l.options.columnName ? l.options.columnName.toLowerCase() : l.options.columnName) === t)[0], s = this.parameterData[t];
|
|
133788
|
+
let o = s;
|
|
133789
|
+
a && ["currency", "double", "inputnumber"].includes(a.options.effectType) && (o = s === void 0 ? "" : s), a && a.rulesList && a.rulesList.length > 0 && o !== void 0 && usageBusinessRules({
|
|
133510
133790
|
data: this.parameterData,
|
|
133511
133791
|
rules: a.rulesList,
|
|
133512
133792
|
field: a,
|
|
@@ -133769,7 +134049,11 @@ var _sfc_render$m = function r() {
|
|
|
133769
134049
|
t.visible = s;
|
|
133770
134050
|
} } }, [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: (s) => t.baseChange(s, 2), ok: function(s) {
|
|
133771
134051
|
return t.$emit("ok");
|
|
133772
|
-
}, 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: (s) => t.baseChange(s, 1) } })], 1) : t._e()], 1)], 1)] : a("div", [t.
|
|
134052
|
+
}, 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: (s) => t.baseChange(s, 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(s) {
|
|
134053
|
+
return t.closed(1);
|
|
134054
|
+
} } }), t.confirmLoading ? a("div", { staticClass: "iframe-meng" }) : t._e()]), a("div", { staticClass: "iframe-item" }, [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: (s) => t.baseChange(s, 2), ok: function(s) {
|
|
134055
|
+
return t.$emit("ok");
|
|
134056
|
+
}, 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: (s) => t.baseChange(s, 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(s) {
|
|
133773
134057
|
s.preventDefault();
|
|
133774
134058
|
} } }, [a("BuildBlocks", { attrs: { record: { options: t.formData }, isForm: !0, model: t.parameterData, tableData: t.tableData }, on: { lookup: t.lookup, change: (s) => t.baseChange(s, 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(s, o) {
|
|
133775
134059
|
return [a(s.componentItem, { key: o, ref: s.ref, refInFor: !0, tag: "component", attrs: { record: s, openMode: t.openMode, tableData: t.tableData }, on: { change: (l) => t.doEventComponent(l, s) } })];
|
|
@@ -133780,7 +134064,7 @@ var _sfc_render$m = function r() {
|
|
|
133780
134064
|
_sfc_staticRenderFns$m,
|
|
133781
134065
|
!1,
|
|
133782
134066
|
null,
|
|
133783
|
-
"
|
|
134067
|
+
"dcf7872a",
|
|
133784
134068
|
null,
|
|
133785
134069
|
null
|
|
133786
134070
|
);
|
|
@@ -133788,147 +134072,6 @@ const GDpackage$6 = __component__$m.exports;
|
|
|
133788
134072
|
GDpackage$6.install = function(r) {
|
|
133789
134073
|
r.component(GDpackage$6.name, GDpackage$6);
|
|
133790
134074
|
};
|
|
133791
|
-
function getColumns(r, t, a) {
|
|
133792
|
-
if (!r.syscodegenconfig && !r.syscodegenconfigfk)
|
|
133793
|
-
return console.log("\u5B57\u6BB5:" + r.name + "\u6570\u636E\u9519\u8BEF!"), null;
|
|
133794
|
-
const s = ["fk", "user"].includes(r.syscodegenconfig.effecttype) ? r.syscodegenconfigfk.effecttype : r.syscodegenconfig.effecttype, o = r.syscodegenconfig.effecttype, l = getColumnName(r).toLowerCase(), d = r.align ? r.align.split("&") : [], u = getScopedSlots(o, l, r);
|
|
133795
|
-
let f = {
|
|
133796
|
-
key: l,
|
|
133797
|
-
transKey: `Dynamics.${r.transkey}`,
|
|
133798
|
-
prop: l,
|
|
133799
|
-
label: r.name,
|
|
133800
|
-
width: String(r.width),
|
|
133801
|
-
owidth: String(r.width),
|
|
133802
|
-
columnName: r.syscodegenconfig.columnname,
|
|
133803
|
-
fkEntityName: r.syscodegenconfig.fkentityname,
|
|
133804
|
-
id: r.fieldid,
|
|
133805
|
-
fkId: ["fk", "about", "user"].includes(o) ? r.syscodegenconfigfk.id : null,
|
|
133806
|
-
align: d[0] ? d[0] : "center",
|
|
133807
|
-
checked: d[1] ? d[1] == 1 : !0,
|
|
133808
|
-
effectType: s,
|
|
133809
|
-
fieldType: o,
|
|
133810
|
-
gatherConfig: r.gatherconfig == 1,
|
|
133811
|
-
fieldFormat: ["fk", "user"].includes(o) ? r.syscodegenconfigfk.fieldformat : r.syscodegenconfig.fieldformat,
|
|
133812
|
-
dictTypeCode: ["fk", "user"].includes(o) ? r.syscodegenconfigfk.dicttypecode : r.syscodegenconfig.dicttypecode,
|
|
133813
|
-
dictTypeList: [],
|
|
133814
|
-
maxTagCount: r.maxtagcount ? Number(r.maxtagcount) : 2,
|
|
133815
|
-
sourceFk: !!["fk", "about", "user"].includes(o),
|
|
133816
|
-
displayMode: d[2] ? d[2] : "none",
|
|
133817
|
-
displayPrefix: d[3] ? d[3] : "none",
|
|
133818
|
-
preview: d[4] ? d[4] === "true" : !0,
|
|
133819
|
-
download: d[5] ? d[5] === "true" : !0
|
|
133820
|
-
};
|
|
133821
|
-
return r.orderconfig === 1 && Object.assign(f, {
|
|
133822
|
-
sortable: "custom"
|
|
133823
|
-
}), t < a && Object.assign(f, {
|
|
133824
|
-
fixed: "left"
|
|
133825
|
-
}), ["participants"].includes(o) && Object.assign(f, {
|
|
133826
|
-
showTooltip: !1
|
|
133827
|
-
}), Object.assign(f, u);
|
|
133828
|
-
}
|
|
133829
|
-
function getColumnName(r) {
|
|
133830
|
-
switch (r.syscodegenconfig.effecttype) {
|
|
133831
|
-
case "fk":
|
|
133832
|
-
return r.syscodegenconfigfk.columnname + r.syscodegenconfig.fkentityname + r.syscodegenconfig.columnname;
|
|
133833
|
-
case "user":
|
|
133834
|
-
return r.syscodegenconfigfk.columnname + r.syscodegenconfig.fkentityname + r.syscodegenconfig.columnname;
|
|
133835
|
-
case "about":
|
|
133836
|
-
return r.syscodegenconfig.relations.toLowerCase();
|
|
133837
|
-
default:
|
|
133838
|
-
return r.syscodegenconfig.columnname;
|
|
133839
|
-
}
|
|
133840
|
-
}
|
|
133841
|
-
function getScopedSlots(r, t, a) {
|
|
133842
|
-
if (r == "input")
|
|
133843
|
-
return {};
|
|
133844
|
-
const s = ["fk", "user"].includes(r) ? a.syscodegenconfigfk.fieldformat : a.syscodegenconfig.fieldformat;
|
|
133845
|
-
return ["datepicker"].includes(r) && s === 1 ? {} : {
|
|
133846
|
-
type: "slot",
|
|
133847
|
-
slotType: t
|
|
133848
|
-
};
|
|
133849
|
-
}
|
|
133850
|
-
function getQueries(r, t, a) {
|
|
133851
|
-
if (r.syscodegenconfig == null)
|
|
133852
|
-
return !1;
|
|
133853
|
-
let s = r.options ? JSON.parse(r.options) : {}, o = {
|
|
133854
|
-
required: s.required,
|
|
133855
|
-
message: a,
|
|
133856
|
-
trigger: "blur"
|
|
133857
|
-
};
|
|
133858
|
-
return ["inputnumber", "double", " currency"].includes(r.syscodegenconfig.effecttype) && Object.assign(o, {
|
|
133859
|
-
type: "number"
|
|
133860
|
-
}), {
|
|
133861
|
-
id: r.syscodegenconfig.id,
|
|
133862
|
-
transKey: r.syscodegenconfig.transkey,
|
|
133863
|
-
prop: r.syscodegenconfig.columnname,
|
|
133864
|
-
label: r.syscodegenconfig.columncomment,
|
|
133865
|
-
effectType: getEffectType(r.syscodegenconfig.effecttype),
|
|
133866
|
-
dictTypeCode: r.syscodegenconfig.dicttypecode,
|
|
133867
|
-
fkEntityName: r.syscodegenconfig.fkentityname,
|
|
133868
|
-
disabled: r.disabled === void 0 ? !1 : r.disabled,
|
|
133869
|
-
options: s,
|
|
133870
|
-
fieldFormat: r.syscodegenconfig.fieldformat,
|
|
133871
|
-
valueFormat: getFieldFormat(r.syscodegenconfig.fieldformat, t),
|
|
133872
|
-
rules: [o],
|
|
133873
|
-
hasFiltered: !1,
|
|
133874
|
-
filterList: [],
|
|
133875
|
-
fkData: []
|
|
133876
|
-
};
|
|
133877
|
-
}
|
|
133878
|
-
function getFieldFormat(r, t) {
|
|
133879
|
-
if (r === null)
|
|
133880
|
-
return r;
|
|
133881
|
-
const a = t.filter((s) => String(s.code) === String(r))[0];
|
|
133882
|
-
return a ? a.name.replace("DD", "dd") : "yyyy-MM-dd hh:mm:ss";
|
|
133883
|
-
}
|
|
133884
|
-
function getEffectType(r) {
|
|
133885
|
-
let t = r;
|
|
133886
|
-
return ["image", "file"].includes(r) ? t = "input" : ["select", "radio", "switch", "checkbox"].includes(r) ? t = "selectMultiple" : ["fk", "about", "participants", "user"].includes(r) && (t = "selectFkMultiple"), t;
|
|
133887
|
-
}
|
|
133888
|
-
function switchingDate(r, t) {
|
|
133889
|
-
let a = /* @__PURE__ */ new Map();
|
|
133890
|
-
for (var s in r) {
|
|
133891
|
-
let o = r[s] != null && r[s] !== void 0 ? r[s] : "", l = t ? t.filter((u) => u.columnName === s)[0] : null;
|
|
133892
|
-
if ((l ? l.effectType : "input") === "datepicker") {
|
|
133893
|
-
let u = dateProcessing(o, l);
|
|
133894
|
-
u && (a.set(s + "Start", u[0]), a.set(s + "End", u[1]));
|
|
133895
|
-
} else
|
|
133896
|
-
Array.isArray(o) ? o.length > 0 && a.set(s, o.join(",")) : !o == "" && a.set(s, o);
|
|
133897
|
-
}
|
|
133898
|
-
return a.size == 0 ? {} : Object.fromEntries(a);
|
|
133899
|
-
}
|
|
133900
|
-
function dateProcessing(r, t) {
|
|
133901
|
-
return r === "" ? !1 : typeof r == "array" || typeof r == "object" ? r[1] ? [r[0].split(" ")[0] + " 00:00:00", r[1].split(" ")[0] + " 23:59:59"] : !1 : t.fieldFormat == 1 ? [r, r] : [r + " 00:00:00", r + " 23:59:59"];
|
|
133902
|
-
}
|
|
133903
|
-
function hasDefaultVal(r) {
|
|
133904
|
-
let t = /* @__PURE__ */ new Map(), a = getDatepickerVal(r);
|
|
133905
|
-
return ["switch", "select", "radio", "checkbox"].includes(r.effectType) && r.options.defaultValueList.length > 0 ? t.set(r.prop, r.options.defaultValueList) : ["datepicker"].includes(r.effectType) && a ? t.set(r.prop, a) : (["input", "textarea", "editor"].includes(r.effectType) && r.options.defaultValue !== "" || ["inputnumber", "double", " currency"].includes(r.effectType) && r.options.defaultValue !== "") && t.set(r.prop, r.options.defaultValue), Object.fromEntries(t);
|
|
133906
|
-
}
|
|
133907
|
-
function getDatepickerVal(r) {
|
|
133908
|
-
if (!["datepicker"].includes(r.effectType))
|
|
133909
|
-
return !1;
|
|
133910
|
-
let t = r.options.displayStyle, a = r.options.defaultInterval.filter((d) => d.type === "interval")[0], s = r.options.defaultInterval.filter((d) => d.type === "equal")[0], o = s.value === "" ? r.options.defaultValue : getTimeDatas(s, t, r), l = a.value === "" ? r.options.defaultValueList : getTimeDatas(a, t, r);
|
|
133911
|
-
return t == 1 ? o === "" ? !1 : o : l.length === 0 ? !1 : l;
|
|
133912
|
-
}
|
|
133913
|
-
function getTimeDatas(r, t, a) {
|
|
133914
|
-
let s = Number(r.value), o = new Date().getTime(), l = o - s * 1e3 * 60 * 60 * 24, d = getFormatTime(o), u = getFormatTime(l), f = `${d.year}-${d.mon}-${d.day} ${d.hours}:${d.min}:${d.sec}`, h = `${u.year}-${u.mon}-${u.day} ${u.hours}:${u.min}:${u.sec}`;
|
|
133915
|
-
return t == 1 ? a.valueFormat.replace("DD", "dd") === "YYYY-MM-dd" ? h.split(" ")[0] : h : [h, f];
|
|
133916
|
-
}
|
|
133917
|
-
function getFormatTime(r) {
|
|
133918
|
-
let a = r.toString().length == 10 ? parseInt(r) * 1e3 : parseInt(r);
|
|
133919
|
-
var s = new Date(a), o = s.getFullYear(), l = s.getMonth() + 1, d = s.getDate(), u = s.getHours(), f = s.getMinutes(), h = s.getSeconds();
|
|
133920
|
-
return {
|
|
133921
|
-
year: o,
|
|
133922
|
-
mon: formatNumber(l),
|
|
133923
|
-
day: formatNumber(d),
|
|
133924
|
-
hours: formatNumber(u),
|
|
133925
|
-
min: formatNumber(f),
|
|
133926
|
-
sec: formatNumber(h)
|
|
133927
|
-
};
|
|
133928
|
-
}
|
|
133929
|
-
function formatNumber(r) {
|
|
133930
|
-
return r = r.toString(), r[1] ? r : "0" + r;
|
|
133931
|
-
}
|
|
133932
134075
|
const main_vue_vue_type_style_index_0_scoped_98a4bb72_lang = "", plugFilters = {
|
|
133933
134076
|
referencefiled: "",
|
|
133934
134077
|
referencetable: "",
|
|
@@ -137581,7 +137724,7 @@ var _sfc_render$9 = function r() {
|
|
|
137581
137724
|
null,
|
|
137582
137725
|
null
|
|
137583
137726
|
);
|
|
137584
|
-
const plateTemp = __component__$9.exports,
|
|
137727
|
+
const plateTemp = __component__$9.exports, editForm_vue_vue_type_style_index_0_scoped_3302ace6_lang = "", _sfc_main$8 = {
|
|
137585
137728
|
data() {
|
|
137586
137729
|
return {
|
|
137587
137730
|
fullscreen: !1,
|
|
@@ -137639,7 +137782,7 @@ const plateTemp = __component__$9.exports, editForm_vue_vue_type_style_index_0_s
|
|
|
137639
137782
|
};
|
|
137640
137783
|
},
|
|
137641
137784
|
computed: {
|
|
137642
|
-
...mapGetters(["tablePageSize", "tableSize", "screenHeight", "labelPosition", "formMode"])
|
|
137785
|
+
...mapGetters(["tablePageSize", "tableSize", "tableLists", "screenHeight", "labelPosition", "formMode"])
|
|
137643
137786
|
},
|
|
137644
137787
|
components: {
|
|
137645
137788
|
plateTemp
|
|
@@ -137648,14 +137791,13 @@ const plateTemp = __component__$9.exports, editForm_vue_vue_type_style_index_0_s
|
|
|
137648
137791
|
lookupSeled(r) {
|
|
137649
137792
|
this.dataList = r.fkData, this.ruleFormData.msg_templatelibraryid = r.data[0], this.changeTemplate(r.data[0]);
|
|
137650
137793
|
},
|
|
137651
|
-
lookup() {
|
|
137652
|
-
let t = {
|
|
137794
|
+
lookup(r) {
|
|
137795
|
+
let t = r, a = {
|
|
137653
137796
|
effectType: "fk",
|
|
137654
|
-
fkEntityName: "
|
|
137655
|
-
val:
|
|
137656
|
-
transKey: null
|
|
137797
|
+
fkEntityName: "msg_templatelibrary",
|
|
137798
|
+
val: t || []
|
|
137657
137799
|
};
|
|
137658
|
-
this.$refs.msgSearch.open(
|
|
137800
|
+
console.log(a, this.tableLists), this.$refs.msgSearch.open(a);
|
|
137659
137801
|
},
|
|
137660
137802
|
copyInit(r) {
|
|
137661
137803
|
this.parameterData = {}, this.fullScreen = !1, this.visible = !0, this.detail = r, this.type = 1, this.title = this.$i18nt("gd.https.copy", "\u590D\u5236\u65B0\u589E"), this.getDetail(!1);
|
|
@@ -137785,18 +137927,20 @@ var _sfc_render$8 = function r() {
|
|
|
137785
137927
|
t.$set(t.ruleFormData, "msg_templatelibraryid", s);
|
|
137786
137928
|
}, expression: "ruleFormData.msg_templatelibraryid" } }, t._l(t.dataList, function(s) {
|
|
137787
137929
|
return a("el-option", { key: s.id, attrs: { label: s.name, value: s.id } });
|
|
137788
|
-
}), 1), a("div", { staticClass: "cao_setting" }, [a("i", { staticClass: "el-input__icon el-icon-search", on: { click:
|
|
137930
|
+
}), 1), a("div", { staticClass: "cao_setting" }, [a("i", { staticClass: "el-input__icon el-icon-search", on: { click: function(s) {
|
|
137931
|
+
return s.stopPropagation(), t.lookup(t.ruleFormData.msg_templatelibraryid);
|
|
137932
|
+
} } })])], 1)])], 1)], 1), a("el-row", { attrs: { gutter: 20 } }, [a("el-col", { attrs: { md: 12, sm: 24 } }, [a("el-form-item", { attrs: { label: t.$i18nt("gd.msg.temPlate.diagram", "\u793A\u4F8B\u56FE"), prop: "example" } }, [a("el-upload", { staticClass: "upload-demo", class: t.ruleFormData.example ? "hide-demo" : "", attrs: { action: "", "list-type": "picture-card", "on-preview": t.previewImg, "on-remove": t.removeImg, limit: 1, "http-request": t.uploadImg, "on-success": t.successImg, "file-list": t.fileList, accept: "image/gif, image/jpeg, image/png" } }, [a("i", { staticClass: "el-icon-plus", staticStyle: { "font-size": "18px" } })])], 1)], 1)], 1)], 1), t.visible ? a("plateTemp", { ref: "plateTemp" }) : t._e()], 1)], 2), a("gd-search", { ref: "msgSearch", attrs: { appendToBody: !0 }, on: { lookupSeled: t.lookupSeled } }), a("gd-img-preview", { ref: "imgPreview", attrs: { filePreviewShow: t.imgList.length > 0, imgList: t.imgList, currentImg: t.currentImg } })], 1);
|
|
137789
137933
|
}, _sfc_staticRenderFns$8 = [], __component__$8 = /* @__PURE__ */ normalizeComponent(
|
|
137790
137934
|
_sfc_main$8,
|
|
137791
137935
|
_sfc_render$8,
|
|
137792
137936
|
_sfc_staticRenderFns$8,
|
|
137793
137937
|
!1,
|
|
137794
137938
|
null,
|
|
137795
|
-
"
|
|
137939
|
+
"3302ace6",
|
|
137796
137940
|
null,
|
|
137797
137941
|
null
|
|
137798
137942
|
);
|
|
137799
|
-
const editFormTemplate = __component__$8.exports,
|
|
137943
|
+
const editFormTemplate = __component__$8.exports, editForm_vue_vue_type_style_index_0_scoped_99f2f695_lang = "", _sfc_main$7 = {
|
|
137800
137944
|
data() {
|
|
137801
137945
|
return {
|
|
137802
137946
|
fullscreen: !1,
|
|
@@ -137901,7 +138045,7 @@ const editFormTemplate = __component__$8.exports, editForm_vue_vue_type_style_in
|
|
|
137901
138045
|
console.log(r), this.lookField === "enterprisewechatid" ? (this.ruleFormData.enterprisewechatid = r.data[0], this.weComList = r.fkData) : this.lookField === "enterprisewechatappid" ? (this.ruleFormData.enterprisewechatappid = r.data[0], this.weComAppList = r.fkData) : this.lookField === "wechatpublicaccountid" && (this.ruleFormData.wechatpublicaccountid = r.data[0], this.weOfficialLis = r.fkData);
|
|
137902
138046
|
},
|
|
137903
138047
|
lookup(r, t) {
|
|
137904
|
-
this.lookField = t;
|
|
138048
|
+
console.log(r, "v=="), this.lookField = t;
|
|
137905
138049
|
let a = r, s = this.fkEntity.filter((d) => d.field === t)[0], o = s.filterd.filter((d) => d.fieldValue !== ""), l = {
|
|
137906
138050
|
effectType: "fk",
|
|
137907
138051
|
fkEntityName: s.fkEntityName,
|
|
@@ -137909,7 +138053,7 @@ const editFormTemplate = __component__$8.exports, editForm_vue_vue_type_style_in
|
|
|
137909
138053
|
};
|
|
137910
138054
|
t === "enterprisewechatappid" && (l = Object.assign(l, {
|
|
137911
138055
|
filterList: o
|
|
137912
|
-
})), this.$refs.msgSearch.open(l);
|
|
138056
|
+
})), console.log(l), this.$refs.msgSearch.open(l);
|
|
137913
138057
|
},
|
|
137914
138058
|
open(r) {
|
|
137915
138059
|
this.visible = !0, this.detail = r || [], this.title = r ? this.$i18nt("gd.btn.edit") : this.$i18nt("gd.btn.add"), this.type = r ? 2 : 1, this.loadWeCom = !1, this.loadWeComApp = !1, this.loadWeOfficial = !1, this.showWeCom = !1, this.showWeOfficial = !1, r ? this.getDetail() : this.ruleFormData = {
|
|
@@ -138135,7 +138279,7 @@ var _sfc_render$7 = function r() {
|
|
|
138135
138279
|
_sfc_staticRenderFns$7,
|
|
138136
138280
|
!1,
|
|
138137
138281
|
null,
|
|
138138
|
-
"
|
|
138282
|
+
"99f2f695",
|
|
138139
138283
|
null,
|
|
138140
138284
|
null
|
|
138141
138285
|
);
|