gds-plus-design-vue 1.1.18 → 1.1.22

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.
@@ -630,7 +630,7 @@ const constantRouterMap = [{
630
630
  {
631
631
  path: "login",
632
632
  name: "login",
633
- component: () => import("./main.b31ad365.mjs"),
633
+ component: () => import("./main.3c990201.mjs"),
634
634
  meta: {
635
635
  title: "\u767B\u5F55",
636
636
  transKey: "gd.login.title"
@@ -1069,7 +1069,8 @@ const state = {
1069
1069
  type: 0,
1070
1070
  pid: 0,
1071
1071
  name: S[0].name + "_ucopy",
1072
- component: "PageView"
1072
+ component: "PageView",
1073
+ id: Number(S[0].id + "9")
1073
1074
  }), g = g.concat([{
1074
1075
  ...x
1075
1076
  }])), S.forEach((T) => {
@@ -1080,8 +1081,7 @@ const state = {
1080
1081
  })]) : g = g.concat([Object.assign({
1081
1082
  ...T
1082
1083
  }, {
1083
- pid: x.id,
1084
- id: Number(T.id + "9")
1084
+ pid: x.id
1085
1085
  })]);
1086
1086
  }), v.isnavigation === 0 ? f = f.concat(g) : v.basicattribute && v.basicattribute.layout === "sidemenu" ? h = h.concat(g) : v.basicattribute && v.basicattribute.layout === "topmenu" && (p = p.concat(g));
1087
1087
  }), Object.assign(u, {
@@ -4295,7 +4295,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
4295
4295
  }, {}] }, {}, [10])(10);
4296
4296
  });
4297
4297
  })(jszip_min);
4298
- const JSZip$1 = jszip_min.exports, main_vue_vue_type_style_index_0_scoped_8dbbb24c_lang = "";
4298
+ const JSZip$1 = jszip_min.exports, main_vue_vue_type_style_index_0_scoped_7c7179eb_lang = "";
4299
4299
  var outTime = null;
4300
4300
  const _sfc_main$5T = {
4301
4301
  name: "GdSideNavMenu",
@@ -4349,6 +4349,8 @@ const _sfc_main$5T = {
4349
4349
  },
4350
4350
  methods: {
4351
4351
  selectMenus(s) {
4352
+ if (this.defaultActive === s)
4353
+ return;
4352
4354
  let t = {};
4353
4355
  const a = (o) => (o = o.filter((l) => {
4354
4356
  const d = l.code ? l.code : l.key;
@@ -4356,7 +4358,7 @@ const _sfc_main$5T = {
4356
4358
  }), o);
4357
4359
  a(this.defMenus), (t.type === void 0 ? 1 : t.type) === 1 && (this.$router.push({
4358
4360
  name: t.name
4359
- }), this.defaultActive = t.code ? t.code : t.key, this.activeData = t, console.log(s, t));
4361
+ }), this.defaultActive = t.code ? t.code : t.key, this.activeData = t);
4360
4362
  },
4361
4363
  getDefApp(s) {
4362
4364
  let t = s && s.name ? s.name : "";
@@ -4389,7 +4391,7 @@ const _sfc_main$5T = {
4389
4391
  const o = a.menus.map((d) => (d.show = d.meta.show, d));
4390
4392
  let l = [];
4391
4393
  this.listToTree(o, l, 0), t[r].children = [...l], t[r].show = !0;
4392
- }), t = s(t).filter((a) => a.children.filter((o) => o.show).length === 0 ? !1 : a.show), this.defMenus = [...t], console.log(t), this.navMenuTheme === "vertical" && this.$nextTick(() => {
4394
+ }), t = s(t).filter((a) => a.children.filter((o) => o.show).length === 0 ? !1 : a.show), this.defMenus = [...t], console.log(t), this.$nextTick(() => {
4393
4395
  setTimeout(() => {
4394
4396
  this.$refs.sMenu.setAppMenus(t);
4395
4397
  }, 100);
@@ -4416,7 +4418,7 @@ const _sfc_main$5T = {
4416
4418
  },
4417
4419
  getDefApp(s) {
4418
4420
  let t = s && s.name ? s.name : "";
4419
- this.type = "";
4421
+ this.defaultActive = t, this.type = "";
4420
4422
  let a = "";
4421
4423
  this.apps.forEach((r) => {
4422
4424
  r.menus && r.menus.forEach((o) => {
@@ -4458,20 +4460,20 @@ var _sfc_render$5T = function() {
4458
4460
  }, mouseleave: t.mouseleave } }, [a("i", { staticClass: "gd-icons", class: r.icon }), t.sidebar ? t._e() : a("div", { staticClass: "pname line1" }, [t._v(" " + t._s(t.$i18nt(`Dynamics.${r.transkey}`, r.name)) + " ")]), r.code === t.defApp && !t.sidebar ? a("i", { staticClass: "el-icon-arrow-right" }) : t._e()])];
4459
4461
  })], 2) : a("div", { staticClass: "gd-app" }, [t._l(t.defMenus, function(r, o) {
4460
4462
  return [a("el-menu", { staticClass: "el-menu-vertical-demo", class: [t.sidebar ? "sitem" : ""], attrs: { "default-active": t.defaultActive, "background-color": t.theme === "light" ? "#fff" : "#1d2126", "text-color": t.theme === "light" ? "#333" : "#fff", "active-text-color": t.primaryColor, collapse: t.sidebar }, on: { select: t.selectMenus } }, [r.children && r.children.length > 0 ? a("el-submenu", { attrs: { index: r.code } }, [a("template", { slot: "title" }, [a("i", { staticClass: "gd-icons", class: r.icon, staticStyle: { "padding-right": "4px" } }), a("span", [t._v(t._s(t.$i18nt(`Dynamics.${r.transkey}`, r.name)))])]), t._l(r.children, function(l, d) {
4461
- return [l.children && l.children.length > 0 ? a("el-submenu", { attrs: { index: l.key, title: t.$i18nt(`Dynamics.${l.transkey}`, l.name) } }, [a("template", { slot: "title" }, [a("i", { staticClass: "gd-icons", class: l.icon, staticStyle: { "padding-right": "4px" } }), a("span", [t._v(t._s(t.$i18nt(`Dynamics.${l.transkey}`, l.name)))])]), t._l(l.children, function(u, f) {
4463
+ return [l.children && l.children.length > 0 ? a("el-submenu", { attrs: { index: l.key, title: t.$i18nt(`Dynamics.${l.transkey}`, l.meta.title) } }, [a("template", { slot: "title" }, [a("i", { staticClass: "gd-icons", class: l.icon, staticStyle: { "padding-right": "4px" } }), a("span", [t._v(t._s(t.$i18nt(`Dynamics.${l.transkey}`, l.meta.title)))])]), t._l(l.children, function(u, f) {
4462
4464
  return [a("el-menu-item", { attrs: { index: u.key, title: t.$i18nt(`Dynamics.${u.transkey}`, u.name) } }, [a("template", { slot: "title" }, [a("i", { staticClass: "gd-icons", class: u.icon, staticStyle: { "padding-right": "4px" } }), a("span", [t._v(t._s(t.$i18nt(`Dynamics.${u.transkey}`, u.name)))])])], 2)];
4463
- })], 2) : a("el-menu-item", { attrs: { index: l.key, title: t.$i18nt(`Dynamics.${l.transkey}`, l.name) } }, [a("i", { staticClass: "gd-icons", class: l.icon, staticStyle: { "padding-right": "4px" } }), a("span", { attrs: { slot: "title" }, slot: "title" }, [t._v(t._s(t.$i18nt(`Dynamics.${l.transkey}`, l.name)))])])];
4464
- })], 2) : a("el-menu-item", { attrs: { index: r.code } }, [a("i", { staticClass: "gd-icons", class: r.icon, staticStyle: { "padding-right": "4px" } }), a("span", { attrs: { slot: "title" }, slot: "title" }, [t._v(t._s(t.$i18nt(`Dynamics.${r.transkey}`, r.name)))])])], 1)];
4465
- })], 2)], 1), t.navMenuTheme === "vertical" ? a("SidebarMenus", { ref: "sMenu", attrs: { collapsed: t.sidebar, menus: t.defMenus, activeKey: t.activeKey }, on: { goPath: t.goPath, close: function(r) {
4465
+ })], 2) : a("el-menu-item", { attrs: { index: l.key, title: t.$i18nt(`Dynamics.${l.transkey}`, l.meta.title) } }, [a("i", { staticClass: "gd-icons", class: l.icon, staticStyle: { "padding-right": "4px" } }), a("span", { attrs: { slot: "title" }, slot: "title" }, [t._v(t._s(t.$i18nt(`Dynamics.${l.transkey}`, l.meta.title)))])])];
4466
+ })], 2) : a("el-menu-item", { attrs: { index: r.code } }, [a("i", { staticClass: "gd-icons", class: r.icon, staticStyle: { "padding-right": "4px" } }), a("span", { attrs: { slot: "title" }, slot: "title" }, [t._v(t._s(t.$i18nt(`Dynamics.${r.transkey}`, t.ite.meta.title)))])])], 1)];
4467
+ })], 2)], 1), a("SidebarMenus", { ref: "sMenu", attrs: { collapsed: t.sidebar, menus: t.defMenus, activeKey: t.activeKey }, on: { goPath: t.goPath, close: function(r) {
4466
4468
  return t.getDefApp(t.activeData);
4467
- }, mouseenter: t.mouseenterMenu, mouseleave: t.mouseleaveMenu } }) : t._e()], 1);
4469
+ }, mouseenter: t.mouseenterMenu, mouseleave: t.mouseleaveMenu } })], 1);
4468
4470
  }, _sfc_staticRenderFns$5T = [], __component__$5T = /* @__PURE__ */ normalizeComponent(
4469
4471
  _sfc_main$5T,
4470
4472
  _sfc_render$5T,
4471
4473
  _sfc_staticRenderFns$5T,
4472
4474
  !1,
4473
4475
  null,
4474
- "8dbbb24c",
4476
+ "7c7179eb",
4475
4477
  null,
4476
4478
  null
4477
4479
  );
@@ -14561,7 +14563,7 @@ var _sfc_render$5n = function() {
14561
14563
  null,
14562
14564
  null
14563
14565
  );
14564
- const QueryRules = __component__$5n.exports, viewQuery_vue_vue_type_style_index_0_scoped_db242219_lang = "", intervalList = [
14566
+ const QueryRules = __component__$5n.exports, viewQuery_vue_vue_type_style_index_0_scoped_4237e52a_lang = "", intervalList = [
14565
14567
  {
14566
14568
  name: "\u4ECA\u5929",
14567
14569
  keyI18n: "gd.view.today",
@@ -14716,7 +14718,7 @@ const QueryRules = __component__$5n.exports, viewQuery_vue_vue_type_style_index_
14716
14718
  this.list = this.list.filter((t) => t.id !== s.id), this.selectedRowKeys = this.selectedRowKeys.filter((t) => t !== s.id), this.selectedRows = this.selectedRows.filter((t) => t.id !== s.id);
14717
14719
  },
14718
14720
  popoverItem(s) {
14719
- this.selItem = s;
14721
+ console.log(s), this.selItem = s;
14720
14722
  },
14721
14723
  showPopover() {
14722
14724
  this.record = JSON.parse(JSON.stringify(this.list)), this.visible = !0, this.$nextTick(() => {
@@ -14805,7 +14807,7 @@ var _sfc_render$5m = function() {
14805
14807
  }, !1), t._l(t.list, function(r, o) {
14806
14808
  return a("div", { key: o, staticStyle: { "margin-bottom": "2px" }, on: { click: function(l) {
14807
14809
  return t.popoverItem(r);
14808
- } } }, [a("el-popover", { attrs: { placement: "right", trigger: "click" } }, [a("div", { staticClass: "bitem", attrs: { slot: "reference" }, slot: "reference" }, [a("i", { staticClass: "el-icon-rank active-color drag-move" }), a("EffectTypeIcon", { attrs: { effectType: r.effecttype } }), a("div", { staticClass: "sku" }, [t._v(" " + t._s(r.columnname) + " ")]), a("el-divider", { attrs: { direction: "vertical" } }), a("div", { staticClass: "spu line1" }, [a("span", [t._v(t._s(t.$i18nt(`Dynamics.${r.transKey}`, r.columncomment)))])]), r.options.fieldFiltering ? t._e() : a("i", { staticClass: "el-icon-warning" }), a("i", { staticClass: "el-icon-delete", on: { click: function(l) {
14810
+ } } }, [a("el-popover", { attrs: { placement: "right", trigger: "click" } }, [a("div", { staticClass: "bitem", attrs: { slot: "reference" }, slot: "reference" }, [a("i", { staticClass: "el-icon-rank active-color drag-move" }), a("EffectTypeIcon", { attrs: { effectType: r.effecttype } }), a("div", { staticClass: "sku" }, [t._v(" " + t._s(r.columnname) + " ")]), a("el-divider", { attrs: { direction: "vertical" } }), a("div", { staticClass: "spu line1" }, [a("span", [t._v(t._s(t.$i18nt(`Dynamics.${r.transkey}`, r.columncomment)))])]), r.options.fieldFiltering ? t._e() : a("i", { staticClass: "el-icon-warning" }), a("i", { staticClass: "el-icon-delete", on: { click: function(l) {
14809
14811
  return l.stopPropagation(), t.del(r);
14810
14812
  } } })], 1), a("div", { staticClass: "bconfig" }, [a("el-form-item", { attrs: { label: t.$i18nt("gd.field.effectType", "\u4F5C\u7528\u7C7B\u578B") } }, [a("el-input", { attrs: { placeholder: t.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165"), disabled: "" }, model: { value: t.options.effectType, callback: function(l) {
14811
14813
  t.$set(t.options, "effectType", l);
@@ -14825,7 +14827,7 @@ var _sfc_render$5m = function() {
14825
14827
  "datepicker"
14826
14828
  ].includes(t.selItem.effecttype) ? a("el-form-item", { attrs: { label: "\u9ED8\u8BA4\u503C" } }, [["switch", "select", "radio", "checkbox"].includes(t.selItem.effecttype) ? [a("el-select", { model: { value: t.options.defaultValueList, callback: function(l) {
14827
14829
  t.$set(t.options, "defaultValueList", l);
14828
- }, expression: "options.defaultValueList" } }, t._l(t.getDictionary(t.selItem.dicttypeCode), function(l) {
14830
+ }, expression: "options.defaultValueList" } }, t._l(t.getDictionary(t.selItem.dicttypecode), function(l) {
14829
14831
  return a("el-option", { key: l.code, attrs: { placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), label: t.$i18nt(`Dynamics.${l.transkey}`, l.name), value: l.code } });
14830
14832
  }), 1)] : ["input", "textarea", "editor"].includes(t.selItem.effecttype) ? [a("el-input", { attrs: { placeholder: t.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165") }, model: { value: t.options.defaultValue, callback: function(l) {
14831
14833
  t.$set(t.options, "defaultValue", l);
@@ -14833,7 +14835,7 @@ var _sfc_render$5m = function() {
14833
14835
  t.$set(t.options, "defaultValue", l);
14834
14836
  }, expression: "options.defaultValue" } })] : ["datepicker"].includes(t.selItem.effecttype) ? [a("div", { directives: [{ name: "show", rawName: "v-show", value: t.options.displayStyle == 1, expression: "options.displayStyle == 1" }] }, [a("el-date-picker", { attrs: { type: t.fieldFormat === "yyyy-MM-dd hh:mm:ss" ? "datetime" : "date", "value-format": t.fieldFormat, format: t.fieldFormat, placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), disabled: t.equalData.value !== "" }, model: { value: t.options.defaultValue, callback: function(l) {
14835
14837
  t.$set(t.options, "defaultValue", l);
14836
- }, expression: "options.defaultValue" } })], 1), a("div", { directives: [{ name: "show", rawName: "v-show", value: t.options.displayStyle != 1, expression: "options.displayStyle != 1" }] }, [a("el-date-picker", { staticStyle: { width: "320px" }, attrs: { type: "datetimerange", "range-separator": "~", "start-placeholder": "$i18nt('el.datepicker.startDate', '\u5F00\u59CB\u65E5\u671F')", "end-placeholder": "$i18nt('el.datepicker.endDate', '\u7ED3\u675F\u65E5\u671F')", "value-format": t.fieldFormat, format: t.fieldFormat, disabled: t.intervalData.value !== "" }, model: { value: t.options.defaultValueList, callback: function(l) {
14838
+ }, expression: "options.defaultValue" } })], 1), a("div", { directives: [{ name: "show", rawName: "v-show", value: t.options.displayStyle != 1, expression: "options.displayStyle != 1" }] }, [a("el-date-picker", { staticStyle: { width: "320px" }, attrs: { type: "datetimerange", "range-separator": "~", "start-placeholder": t.$i18nt("el.datepicker.startDate", "\u5F00\u59CB\u65E5\u671F"), "end-placeholder": t.$i18nt("el.datepicker.endDate", "\u7ED3\u675F\u65E5\u671F"), "value-format": t.fieldFormat, format: t.fieldFormat, disabled: t.intervalData.value !== "" }, model: { value: t.options.defaultValueList, callback: function(l) {
14837
14839
  t.$set(t.options, "defaultValueList", l);
14838
14840
  }, expression: "options.defaultValueList" } })], 1), t.options.displayStyle == 1 ? a("div", [t._l(t.equalList, function(l) {
14839
14841
  return [a("el-tag", { staticStyle: { cursor: "pointer", margin: "0 6px 6px 0" }, attrs: { type: t.equalData.value === l.val ? "success" : "info", effect: "dark" }, on: { click: function(d) {
@@ -14855,7 +14857,7 @@ var _sfc_render$5m = function() {
14855
14857
  _sfc_staticRenderFns$5m,
14856
14858
  !1,
14857
14859
  null,
14858
- "db242219",
14860
+ "4237e52a",
14859
14861
  null,
14860
14862
  null
14861
14863
  );
@@ -18905,7 +18907,7 @@ var _sfc_render$5a = function() {
18905
18907
  null,
18906
18908
  null
18907
18909
  );
18908
- const result$1 = __component__$5a.exports, viewList_vue_vue_type_style_index_0_scoped_e39f7e99_lang = "", plugFilters$4 = {
18910
+ const result$1 = __component__$5a.exports, viewList_vue_vue_type_style_index_0_scoped_09c0a2a8_lang = "", plugFilters$4 = {
18909
18911
  referencefiled: "",
18910
18912
  referencetable: "",
18911
18913
  checked: !1,
@@ -19021,7 +19023,9 @@ const result$1 = __component__$5a.exports, viewList_vue_vue_type_style_index_0_s
19021
19023
  selectedRowKeys: [],
19022
19024
  selectedRows: [],
19023
19025
  queryParam: {},
19024
- loadData: (s) => sysSavedQueryPage(this.queryParam).then((t) => ({ pageNo: 1, pageSize: 100, totalRows: 0, rows: t.data }))
19026
+ loadData: (s) => sysSavedQueryPage(this.queryParam).then((t) => ({ pageNo: 1, pageSize: 100, totalRows: 0, rows: t.data })),
19027
+ tableNames: "sys_user,sys_team",
19028
+ tableData: {}
19025
19029
  };
19026
19030
  },
19027
19031
  components: { EditPerson },
@@ -19155,6 +19159,17 @@ const result$1 = __component__$5a.exports, viewList_vue_vue_type_style_index_0_s
19155
19159
  open(s) {
19156
19160
  this.queryParam = { codeGenId: s.sysCodeGenId }, this.refresh();
19157
19161
  },
19162
+ share() {
19163
+ if (this.selectedRowKeys.length === 0) {
19164
+ this.$message.warning(this.$i18nt("gd.https.shareTip", "\u8BF7\u9009\u62E9\u8981\u5171\u4EAB\u7684\u6570\u636E"));
19165
+ return;
19166
+ }
19167
+ if (this.selectedRowKeys.length > 1) {
19168
+ this.$message.warning(this.$i18nt("gd.https.shareTipOne"));
19169
+ return;
19170
+ }
19171
+ this.$refs.teamSharing.open(this.selectedRowKeys[0]);
19172
+ },
19158
19173
  configOk() {
19159
19174
  this.$emit("ok"), this.refresh();
19160
19175
  },
@@ -19184,14 +19199,14 @@ var _sfc_render$59 = function() {
19184
19199
  } } })];
19185
19200
  } }, { key: "isDefault", fn: function({ column: r, row: o }) {
19186
19201
  return [o.isdefault ? a("i", { staticClass: "gd-icons gd-icon-xuanzhong active-color", staticStyle: { "font-size": "18px" } }) : a("i", { staticClass: "gd-icons gd-icon-jinyong1", staticStyle: { "font-size": "20px", color: "#999" } })];
19187
- } }]) }), a("EditPerson", { ref: "editPerson", attrs: { table: t.table }, on: { ok: t.configOk } })], 1);
19202
+ } }]) }), a("EditPerson", { ref: "editPerson", attrs: { table: t.table }, on: { ok: t.configOk } }), a("gd-team-sharing", { ref: "teamSharing", attrs: { tableData: { tablename: "sys_saved_query" }, tableNames: t.tableNames }, on: { ok: t.refresh } })], 1);
19188
19203
  }, _sfc_staticRenderFns$59 = [], __component__$59 = /* @__PURE__ */ normalizeComponent(
19189
19204
  _sfc_main$59,
19190
19205
  _sfc_render$59,
19191
19206
  _sfc_staticRenderFns$59,
19192
19207
  !1,
19193
19208
  null,
19194
- "e39f7e99",
19209
+ "09c0a2a8",
19195
19210
  null,
19196
19211
  null
19197
19212
  );
@@ -19830,7 +19845,7 @@ var _sfc_render$57 = function() {
19830
19845
  null,
19831
19846
  null
19832
19847
  );
19833
- const EditEchartsConfig = __component__$57.exports, main_vue_vue_type_style_index_0_scoped_38c5deb6_lang = "", _sfc_main$56 = {
19848
+ const EditEchartsConfig = __component__$57.exports, main_vue_vue_type_style_index_0_scoped_f07e5e48_lang = "", _sfc_main$56 = {
19834
19849
  name: "GdTeamSharing",
19835
19850
  props: {
19836
19851
  tableNames: {
@@ -20134,7 +20149,7 @@ var _sfc_render$56 = function() {
20134
20149
  _sfc_staticRenderFns$56,
20135
20150
  !1,
20136
20151
  null,
20137
- "38c5deb6",
20152
+ "f07e5e48",
20138
20153
  null,
20139
20154
  null
20140
20155
  );
@@ -20786,7 +20801,7 @@ const iconfont = "", index$1 = "", formMixins = {
20786
20801
  open(s) {
20787
20802
  this.$nextTick(() => {
20788
20803
  setTimeout(() => {
20789
- this.$refs.editForm ? this.$refs.editForm.open(s) : console.log("err:\u8868\u5355\u672A\u52A0\u8F7D\uFF0C\u8BF7\u7B49\u5F85\u52A0\u8F7D\u5B8C\u6210\uFF01");
20804
+ this.$refs.editForm ? this.tableData.isvirtualtable === 1 ? this.$refs.editForm.openDisplay(s) : this.$refs.editForm.open(s) : console.log("err:\u8868\u5355\u672A\u52A0\u8F7D\uFF0C\u8BF7\u7B49\u5F85\u52A0\u8F7D\u5B8C\u6210\uFF01");
20790
20805
  }, 0);
20791
20806
  });
20792
20807
  },
@@ -20803,7 +20818,7 @@ const iconfont = "", index$1 = "", formMixins = {
20803
20818
  defaultViewId: this.defaultViewId
20804
20819
  }), this.$refs.table.baseCustomComponents(this.componentList));
20805
20820
  let t = this.formList.filter((a) => a.id === this.formCode)[0];
20806
- t || (t = this.formList.filter((a) => a.type === 1)[0]), this.$refs.editForm && this.$refs.editForm.setFormRecord(t), this.beaseLoadComplete();
20821
+ t || (t = this.formList.filter((a) => a.type === 1)[0]), this.$refs.editForm && t && this.$refs.editForm.setFormRecord(t), this.beaseLoadComplete();
20807
20822
  });
20808
20823
  },
20809
20824
  onChangeBtn(s) {
@@ -21174,7 +21189,7 @@ var _sfc_render$53 = function() {
21174
21189
  null,
21175
21190
  null
21176
21191
  );
21177
- const Column = __component__$53.exports, main_vue_vue_type_style_index_0_scoped_37dc2213_lang = "", _sfc_main$52 = {
21192
+ const Column = __component__$53.exports, main_vue_vue_type_style_index_0_scoped_93f7f7b0_lang = "", _sfc_main$52 = {
21178
21193
  name: "GdTables",
21179
21194
  props: Object.assign(
21180
21195
  {},
@@ -21361,7 +21376,8 @@ const Column = __component__$53.exports, main_vue_vue_type_style_index_0_scoped_
21361
21376
  columnsSetting: [],
21362
21377
  visibleFilter: !1,
21363
21378
  frozenColumn: 0,
21364
- wid: 0
21379
+ wid: 0,
21380
+ triggerFilter: "manual"
21365
21381
  };
21366
21382
  },
21367
21383
  watch: {
@@ -21409,6 +21425,11 @@ const Column = __component__$53.exports, main_vue_vue_type_style_index_0_scoped_
21409
21425
  }
21410
21426
  },
21411
21427
  methods: {
21428
+ changeFilterVisible() {
21429
+ this.visibleFilter = !this.visibleFilter;
21430
+ },
21431
+ changeTriggerFilter(s) {
21432
+ },
21412
21433
  doLayout() {
21413
21434
  this.$nextTick(() => {
21414
21435
  setTimeout(() => {
@@ -21676,11 +21697,13 @@ const Column = __component__$53.exports, main_vue_vue_type_style_index_0_scoped_
21676
21697
  };
21677
21698
  var _sfc_render$52 = function() {
21678
21699
  var t = this, a = t._self._c;
21679
- return a("div", { ref: "reftables", staticClass: "gd-tables", style: { "--theme": t.primaryColor, "--fadecolor": t.fadeColord }, attrs: { id: "reftables" } }, [a("div", { staticClass: "tables-tool" }, [a("div", { staticClass: "tables-tool-l" }, [t._t("operator")], 2), a("div", { staticClass: "tables-tool-r" }, [t.hasClear ? a("el-tooltip", { directives: [{ name: "delTabIndex", rawName: "v-delTabIndex" }], staticClass: "item", attrs: { effect: "dark", content: t.$i18nt("gd.basics.reset", "\u91CD\u7F6E"), placement: "top" } }, [a("i", { staticClass: "el-icon-brush", on: { click: t.clearAll } })]) : t._e(), t.filtering ? a("el-tooltip", { directives: [{ name: "delTabIndex", rawName: "v-delTabIndex" }], staticClass: "item", attrs: { effect: "dark", content: t.$i18nt("gd.basics.screen", "\u7B5B\u9009"), placement: "top" } }, [a("el-popover", { ref: "filterdropdown", attrs: { trigger: "click", placement: "bottom" }, on: { show: function(r) {
21700
+ return a("div", { ref: "reftables", staticClass: "gd-tables", style: { "--theme": t.primaryColor, "--fadecolor": t.fadeColord }, attrs: { id: "reftables" } }, [a("div", { staticClass: "tables-tool" }, [a("div", { staticClass: "tables-tool-l" }, [t._t("operator")], 2), a("div", { staticClass: "tables-tool-r" }, [t.hasClear ? a("el-tooltip", { directives: [{ name: "delTabIndex", rawName: "v-delTabIndex" }], staticClass: "item", attrs: { effect: "dark", content: t.$i18nt("gd.basics.reset", "\u91CD\u7F6E"), placement: "top" } }, [a("i", { staticClass: "el-icon-brush", on: { click: t.clearAll } })]) : t._e(), t.filtering ? a("el-tooltip", { directives: [{ name: "delTabIndex", rawName: "v-delTabIndex" }], staticClass: "item", attrs: { effect: "dark", content: t.$i18nt("gd.basics.screen", "\u7B5B\u9009"), placement: "top" } }, [a("el-popover", { ref: "filterdropdown", attrs: { trigger: t.triggerFilter, placement: "bottom" }, on: { show: function(r) {
21680
21701
  return t.changeFilter(!0);
21681
21702
  }, hide: function(r) {
21682
21703
  return t.changeFilter(!1);
21683
- } } }, [a("span", { staticClass: "el-dropdown-link", attrs: { slot: "reference" }, slot: "reference" }, [a("i", { staticClass: "gd-icons gd-icon-a-guangqi_guolv11x" })]), a("div", [t._t("filtering", null, { columns: t.columns, height: t.height, colse: t.closeFilter, visible: t.visibleFilter })], 2)])], 1) : t._e(), t.isGather ? a("el-tooltip", { directives: [{ name: "delTabIndex", rawName: "v-delTabIndex" }], staticClass: "item", attrs: { effect: "dark", content: t.$i18nt("gd.basics.chart", "\u56FE\u8868"), placement: "top" } }, [a("i", { staticClass: "gd-icons gd-icon-zhuzhuangtu", on: { click: function(r) {
21704
+ } }, model: { value: t.visibleFilter, callback: function(r) {
21705
+ t.visibleFilter = r;
21706
+ }, expression: "visibleFilter" } }, [a("span", { staticClass: "el-dropdown-link", attrs: { slot: "reference" }, on: { click: t.changeFilterVisible }, slot: "reference" }, [a("i", { staticClass: "gd-icons gd-icon-a-guangqi_guolv11x" })]), a("div", [t._t("filtering", null, { columns: t.columns, height: t.height, colse: t.closeFilter, visible: t.visibleFilter, changeTrigger: t.changeTriggerFilter })], 2)])], 1) : t._e(), t.isGather ? a("el-tooltip", { directives: [{ name: "delTabIndex", rawName: "v-delTabIndex" }], staticClass: "item", attrs: { effect: "dark", content: t.$i18nt("gd.basics.chart", "\u56FE\u8868"), placement: "top" } }, [a("i", { staticClass: "gd-icons gd-icon-zhuzhuangtu", on: { click: function(r) {
21684
21707
  return t.$emit("baseSeecharts");
21685
21708
  } } })]) : t._e(), t.disabledRefresh ? t._e() : a("el-tooltip", { directives: [{ name: "delTabIndex", rawName: "v-delTabIndex" }], staticClass: "item", attrs: { effect: "dark", content: t.$i18nt("gd.basics.refresh", "\u5237\u65B0"), placement: "top" } }, [a("i", { staticClass: "el-icon-refresh", on: { click: function(r) {
21686
21709
  return t.refresh(!1);
@@ -21709,7 +21732,7 @@ var _sfc_render$52 = function() {
21709
21732
  _sfc_staticRenderFns$52,
21710
21733
  !1,
21711
21734
  null,
21712
- "37dc2213",
21735
+ "93f7f7b0",
21713
21736
  null,
21714
21737
  null
21715
21738
  );
@@ -31799,7 +31822,7 @@ const GDpackage$O = __component__$4S.exports;
31799
31822
  GDpackage$O.install = function(s) {
31800
31823
  s.component(GDpackage$O.name, GDpackage$O);
31801
31824
  };
31802
- const selectFkMultiple_vue_vue_type_style_index_0_scoped_9f05f0b5_lang = "", _sfc_main$4R = {
31825
+ const selectFkMultiple_vue_vue_type_style_index_0_scoped_deaddf4b_lang = "", _sfc_main$4R = {
31803
31826
  props: {
31804
31827
  column: {
31805
31828
  type: Object,
@@ -31820,6 +31843,9 @@ const selectFkMultiple_vue_vue_type_style_index_0_scoped_9f05f0b5_lang = "", _sf
31820
31843
  recordRelation: {
31821
31844
  type: Object,
31822
31845
  default: () => ({})
31846
+ },
31847
+ changeTrigger: {
31848
+ type: Function
31823
31849
  }
31824
31850
  },
31825
31851
  data() {
@@ -31853,12 +31879,16 @@ const selectFkMultiple_vue_vue_type_style_index_0_scoped_9f05f0b5_lang = "", _sf
31853
31879
  t === void 0 || t === "" || t.length === 0 || !s.filter((o) => o.fieldName === this.column.prop)[0] || this.fkData.filter((o) => t.includes(o.id))[0] || this.searchDataId();
31854
31880
  },
31855
31881
  lookup() {
31856
- const s = this.ruleFormData[this.column.prop];
31857
- this.$refs.viewSearch.open({
31858
- fkEntityName: this.column.fkEntityName,
31859
- effectType: "participants",
31860
- val: s || [],
31861
- column: this.column
31882
+ this.$nextTick(() => {
31883
+ setTimeout(() => {
31884
+ const s = this.ruleFormData[this.column.prop];
31885
+ this.$refs.viewSearch.open({
31886
+ fkEntityName: this.column.fkEntityName,
31887
+ effectType: "participants",
31888
+ val: s || [],
31889
+ column: this.column
31890
+ });
31891
+ }, 0);
31862
31892
  });
31863
31893
  },
31864
31894
  lookupSeled(s) {
@@ -31907,14 +31937,14 @@ var _sfc_render$4R = function() {
31907
31937
  t.$set(t.ruleFormData, t.column.prop, r);
31908
31938
  }, expression: "ruleFormData[column.prop]" } }, t._l(t.fkData, function(r) {
31909
31939
  return a("el-option", { key: r.id, attrs: { label: r.name ? r.name : t.$i18nt(`Dynamics.${r.transkey}`, r.busname), value: r.id } });
31910
- }), 1), a("div", { staticClass: "cao_setting", on: { click: t.lookup } }, [a("i", { staticClass: "el-input__icon el-icon-search" })]), a("gd-search", { ref: "viewSearch", attrs: { appendToBody: !0 }, on: { lookupSeled: t.lookupSeled } })], 1);
31940
+ }), 1), a("div", { staticClass: "cao_setting", on: { click: t.lookup } }, [a("i", { staticClass: "el-input__icon el-icon-search" })]), a("gd-search", { ref: "viewSearch", attrs: { appendToBody: !0, modalAppendToBody: !0 }, on: { lookupSeled: t.lookupSeled } })], 1);
31911
31941
  }, _sfc_staticRenderFns$4R = [], __component__$4R = /* @__PURE__ */ normalizeComponent(
31912
31942
  _sfc_main$4R,
31913
31943
  _sfc_render$4R,
31914
31944
  _sfc_staticRenderFns$4R,
31915
31945
  !1,
31916
31946
  null,
31917
- "9f05f0b5",
31947
+ "deaddf4b",
31918
31948
  null,
31919
31949
  null
31920
31950
  );
@@ -32032,7 +32062,7 @@ function processingResults$2(s, t) {
32032
32062
  function isSatisfyed$2(s, t) {
32033
32063
  return t === "2" ? s.every((a, r, o) => !a) : s.every((a, r, o) => !!a);
32034
32064
  }
32035
- const main_vue_vue_type_style_index_0_scoped_e787c7f4_lang = "", _sfc_main$4Q = {
32065
+ const main_vue_vue_type_style_index_0_scoped_9b02ec8b_lang = "", _sfc_main$4Q = {
32036
32066
  name: "GdTableQueriesField",
32037
32067
  props: {
32038
32068
  height: {
@@ -32069,6 +32099,9 @@ const main_vue_vue_type_style_index_0_scoped_e787c7f4_lang = "", _sfc_main$4Q =
32069
32099
  openRules: {
32070
32100
  type: Boolean,
32071
32101
  default: !1
32102
+ },
32103
+ changeTrigger: {
32104
+ type: Function
32072
32105
  }
32073
32106
  },
32074
32107
  data() {
@@ -32292,7 +32325,7 @@ var _sfc_render$4Q = function() {
32292
32325
  t.$set(t.ruleFormData, r.prop, l);
32293
32326
  }, expression: "ruleFormData[column.prop]" } }, t._l(t.tableLists, function(l) {
32294
32327
  return a("el-option", { key: l.id, attrs: { label: t.$i18nt(`Dynamics.${l.transkey}`, l.busname), value: l.id } }, [t._v(" " + t._s(t.$i18nt(`Dynamics.${l.transkey}`, l.busname)) + " " + t._s(l.tablename) + " ")]);
32295
- }), 1)] : r.effectType === "selectFkMultiple" ? [a("SelectFkMultiple", { ref: `fk_${r.prop}`, refInFor: !0, attrs: { column: r, ruleFormData: t.ruleFormData, visible: t.visible, recordRelation: t.recordRelation, openMode: t.openMode }, on: { change: function(l) {
32328
+ }), 1)] : r.effectType === "selectFkMultiple" ? [a("SelectFkMultiple", { ref: `fk_${r.prop}`, refInFor: !0, attrs: { column: r, ruleFormData: t.ruleFormData, visible: t.visible, recordRelation: t.recordRelation, openMode: t.openMode, changeTrigger: t.changeTrigger }, on: { change: function(l) {
32296
32329
  return t.handleChange(r);
32297
32330
  } } })] : r.effectType == "datepicker" ? [r.options.displayStyle === 1 ? a("el-date-picker", { staticStyle: { width: "100%" }, attrs: { type: r.fieldFormat === 1 ? "datetime" : "date", "value-format": r.valueFormat, format: r.valueFormat, placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), disabled: r.disabled === void 0 ? !1 : r.disabled }, on: { change: function(l) {
32298
32331
  return t.handleChange(r);
@@ -32314,7 +32347,7 @@ var _sfc_render$4Q = function() {
32314
32347
  _sfc_staticRenderFns$4Q,
32315
32348
  !1,
32316
32349
  null,
32317
- "e787c7f4",
32350
+ "9b02ec8b",
32318
32351
  null,
32319
32352
  null
32320
32353
  );
@@ -32407,7 +32440,7 @@ var _sfc_render$4O = function() {
32407
32440
  null,
32408
32441
  null
32409
32442
  );
32410
- const ViewTable = __component__$4O.exports, main_vue_vue_type_style_index_0_scoped_a8e6122f_lang = "", _sfc_main$4N = {
32443
+ const ViewTable = __component__$4O.exports, main_vue_vue_type_style_index_0_scoped_166a7746_lang = "", _sfc_main$4N = {
32411
32444
  name: "GdSearch",
32412
32445
  props: {
32413
32446
  disabled: {
@@ -32491,16 +32524,18 @@ const ViewTable = __component__$4O.exports, main_vue_vue_type_style_index_0_scop
32491
32524
  }
32492
32525
  ),
32493
32526
  hasLoad: this.hasLoad,
32494
- hideLoad: this.hideLoad
32527
+ hideLoad: this.hideLoad,
32528
+ modalAppendToBody: this.modalAppendToBody,
32529
+ appendToBody: this.appendToBody
32495
32530
  };
32496
32531
  },
32497
32532
  componentItemed() {
32498
- const s = GdsDesignVue[`Gd${this.fkEntityName}`];
32499
- if (s)
32500
- return s;
32501
- const t = this.$importViewFiles();
32502
- let a = `../views/main/${this.fkEntityName}/index.vue`, r = t[a];
32503
- return r ? r.default : ViewTable;
32533
+ const s = this.record.fkEntityName || this.record.fkentityname, t = GdsDesignVue[`Gd${s}`];
32534
+ if (t)
32535
+ return t;
32536
+ const a = this.$importViewFiles();
32537
+ let r = `../views/main/${this.fkEntityName}/index.vue`, o = a[r];
32538
+ return o ? o.default : ViewTable;
32504
32539
  },
32505
32540
  ...mapGetters(["screenHeight", "tableLists"])
32506
32541
  },
@@ -32568,7 +32603,7 @@ const ViewTable = __component__$4O.exports, main_vue_vue_type_style_index_0_scop
32568
32603
  };
32569
32604
  var _sfc_render$4N = function() {
32570
32605
  var t = this, a = t._self._c;
32571
- return a("el-dialog", { directives: [{ name: "drag", rawName: "v-drag" }], ref: "dialog", class: t.fullscreen ? "gd-dialog gd-dialog-fangda" : "gd-dialog", attrs: { fullscreen: t.fullscreen, visible: t.visible, width: t.width, center: !0, "close-on-click-modal": !1, "modal-append-to-body": t.modalAppendToBody, "append-to-body": t.appendToBody, top: "80px" }, on: { "update:visible": function(r) {
32606
+ return a("el-dialog", { directives: [{ name: "drag", rawName: "v-drag" }], ref: "dialog", class: t.fullscreen ? "gd-dialog gd-dialog-fangda" : "gd-dialog", attrs: { fullscreen: t.fullscreen, visible: t.visible, width: t.width, center: !0, "close-on-click-modal": !1, "modal-append-to-body": t.modalAppendToBody, "append-to-body": t.appendToBody, top: "80px", "destroy-on-close": !0 }, on: { "update:visible": function(r) {
32572
32607
  t.visible = r;
32573
32608
  }, closed: t.closed } }, [a("template", { slot: "title" }, [a("gd-modal-title", { attrs: { title: t.title, fullscreen: t.fullscreen, buttons: t.buttons, confirmLoading: t.confirmLoading, showTitle: t.showTitle }, on: { changeEvent: t.doEvent, toggleFullscreen: t.toggleFullscreen } }, [t.showTitle ? t._e() : a("el-form", { ref: "ruleForm", attrs: { "label-width": "130px" }, nativeOn: { submit: function(r) {
32574
32609
  r.preventDefault();
@@ -32583,7 +32618,7 @@ var _sfc_render$4N = function() {
32583
32618
  _sfc_staticRenderFns$4N,
32584
32619
  !1,
32585
32620
  null,
32586
- "a8e6122f",
32621
+ "166a7746",
32587
32622
  null,
32588
32623
  null
32589
32624
  );
@@ -98547,7 +98582,7 @@ const GDpackage$l = __component__$2Y.exports;
98547
98582
  GDpackage$l.install = function(s) {
98548
98583
  s.component(GDpackage$l.name, GDpackage$l);
98549
98584
  };
98550
- const editForm_vue_vue_type_style_index_0_scoped_5bd160d9_lang = "", _sfc_main$2X = {
98585
+ const editForm_vue_vue_type_style_index_0_scoped_b860b667_lang = "", _sfc_main$2X = {
98551
98586
  props: {
98552
98587
  openPermissions: {
98553
98588
  type: Boolean,
@@ -98719,14 +98754,14 @@ var _sfc_render$2X = function() {
98719
98754
  r.preventDefault();
98720
98755
  } } }, [a("el-form-item", { staticStyle: { "margin-bottom": "12px" }, attrs: { prop: "defaulttext" }, scopedSlots: t._u([{ key: "label", fn: function() {
98721
98756
  return [t._v(" " + t._s(t.$i18nt("gd.translation.value")) + "\xA0 "), a("el-tooltip", { attrs: { content: t.$i18nt("gd.translation.valueTip"), placement: "top" } }, [a("i", { staticClass: "el-icon-question" })])];
98722
- }, proxy: !0 }]) }, [a("el-input", { attrs: { placeholder: t.$i18nt("gd.placeholder.input"), disabled: t.type != 1 }, on: { input: t.changeText }, model: { value: t.ruleFormData.defaulttext, callback: function(r) {
98757
+ }, proxy: !0 }]) }, [a("el-input", { attrs: { placeholder: t.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165"), disabled: t.type != 1 }, on: { input: t.changeText }, model: { value: t.ruleFormData.defaulttext, callback: function(r) {
98723
98758
  t.$set(t.ruleFormData, "defaulttext", r);
98724
98759
  }, expression: "ruleFormData.defaulttext" } })], 1), a("el-form-item", { staticStyle: { "margin-bottom": "12px" }, attrs: { prop: "name" }, scopedSlots: t._u([{ key: "label", fn: function() {
98725
98760
  return [t._v(" " + t._s(t.$i18nt("gd.translation.key")) + "\xA0 "), a("el-tooltip", { attrs: { content: t.$i18nt("gd.translation.keyTip"), placement: "top" } }, [a("i", { staticClass: "el-icon-question" })])];
98726
- }, proxy: !0 }]) }, [a("el-input", { attrs: { placeholder: t.$i18nt("gd.placeholder.input"), disabled: t.type != 1 }, model: { value: t.ruleFormData.name, callback: function(r) {
98761
+ }, proxy: !0 }]) }, [a("el-input", { attrs: { placeholder: t.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165"), disabled: t.type != 1 }, model: { value: t.ruleFormData.name, callback: function(r) {
98727
98762
  t.$set(t.ruleFormData, "name", r);
98728
98763
  }, expression: "ruleFormData.name" } })], 1), a("el-divider", { attrs: { dashed: "" } }), t._l(this.translationDetail.langs, function(r) {
98729
- return [a("el-form-item", { staticStyle: { "margin-bottom": "12px" }, attrs: { label: r.languagename } }, [a("el-input", { attrs: { placeholder: t.$i18nt("gd.placeholder.input") }, on: { input: function(o) {
98764
+ return [a("el-form-item", { staticStyle: { "margin-bottom": "12px" }, attrs: { label: r.languagename } }, [a("el-input", { attrs: { placeholder: t.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165"), type: "textarea", autosize: "" }, on: { input: function(o) {
98730
98765
  return t.changeLanguage(o, r);
98731
98766
  } }, model: { value: r.description, callback: function(o) {
98732
98767
  t.$set(r, "description", o);
@@ -98738,7 +98773,7 @@ var _sfc_render$2X = function() {
98738
98773
  _sfc_staticRenderFns$2X,
98739
98774
  !1,
98740
98775
  null,
98741
- "5bd160d9",
98776
+ "b860b667",
98742
98777
  null,
98743
98778
  null
98744
98779
  );
@@ -101224,6 +101259,13 @@ function sysDataSourceDetail(s) {
101224
101259
  params: s
101225
101260
  });
101226
101261
  }
101262
+ function sysDataSourceColumns(s) {
101263
+ return window.axios({
101264
+ url: "/sysDataSource/getTableColumns",
101265
+ method: "post",
101266
+ data: s
101267
+ });
101268
+ }
101227
101269
  const mixins$n = {
101228
101270
  data() {
101229
101271
  return {
@@ -101501,7 +101543,7 @@ const mixins$n = {
101501
101543
  }]
101502
101544
  };
101503
101545
  }
101504
- }, main_vue_vue_type_style_index_0_scoped_d66494b9_lang = "", _sfc_main$2M = {
101546
+ }, main_vue_vue_type_style_index_0_scoped_f319dc31_lang = "", _sfc_main$2M = {
101505
101547
  name: "GdDataSource",
101506
101548
  props: {
101507
101549
  height: {
@@ -101671,7 +101713,7 @@ var _sfc_render$2M = function s() {
101671
101713
  _sfc_staticRenderFns$2M,
101672
101714
  !1,
101673
101715
  null,
101674
- "d66494b9",
101716
+ "f319dc31",
101675
101717
  null,
101676
101718
  null
101677
101719
  );
@@ -105567,7 +105609,7 @@ const GDpackage$c = __component__$2t.exports;
105567
105609
  GDpackage$c.install = function(s) {
105568
105610
  s.component(GDpackage$c.name, GDpackage$c);
105569
105611
  };
105570
- const index_vue_vue_type_style_index_0_scoped_ce4807fb_lang = "", _sfc_main$2s = {
105612
+ const index_vue_vue_type_style_index_0_scoped_79f801f9_lang = "", _sfc_main$2s = {
105571
105613
  props: {
105572
105614
  placement: {
105573
105615
  type: String,
@@ -105608,14 +105650,16 @@ var _sfc_render$2s = function s() {
105608
105650
  return t.selType("circulate");
105609
105651
  } } }, [a("i", { staticClass: "el-icon-s-promotion anticon", staticStyle: { height: "40px", "font-size": "25px" } }), a("div", { staticClass: "title" }, [t._v(t._s(t.$i18nt("gd.flow.approval.CcBy", "\u6284\u9001\u4EBA")))])]), a("div", { staticClass: "item term", on: { click: function(r) {
105610
105652
  return t.selType("condition");
105611
- } } }, [a("i", { staticClass: "gd-icons gd-icon-liucheng anticon" }), a("div", { staticClass: "title" }, [t._v(t._s(t.$i18nt("gd.flow.condition", "\u6761\u4EF6")))])])]), a("el-button", { attrs: { slot: "reference", type: t.disabled ? "info" : "primary", icon: "el-icon-plus", size: "mini", circle: "", disabled: t.disabled }, slot: "reference" })], 1)], 1)]);
105653
+ } } }, [a("i", { staticClass: "gd-icons gd-icon-liucheng anticon" }), a("div", { staticClass: "title" }, [t._v(t._s(t.$i18nt("gd.flow.condition", "\u6761\u4EF6")))])]), a("div", { staticClass: "item para", on: { click: function(r) {
105654
+ return t.selType("parallel");
105655
+ } } }, [a("i", { staticClass: "gd-icons gd-icon-icon-xy anticon" }), a("div", { staticClass: "title" }, [t._v(t._s(t.$i18nt("gd.task.parallel", "\u5E76\u884C")))])])]), a("el-button", { attrs: { slot: "reference", type: t.disabled ? "info" : "primary", icon: "el-icon-plus", size: "mini", circle: "", disabled: t.disabled }, slot: "reference" })], 1)], 1)]);
105612
105656
  }, _sfc_staticRenderFns$2s = [], __component__$2s = /* @__PURE__ */ normalizeComponent(
105613
105657
  _sfc_main$2s,
105614
105658
  _sfc_render$2s,
105615
105659
  _sfc_staticRenderFns$2s,
105616
105660
  !1,
105617
105661
  null,
105618
- "ce4807fb",
105662
+ "79f801f9",
105619
105663
  null,
105620
105664
  null
105621
105665
  );
@@ -108022,6 +108066,19 @@ const mixins$j = {
108022
108066
  }),
108023
108067
  showOverflowTooltip: !0
108024
108068
  },
108069
+ {
108070
+ transKey: "gd.table.virtualTable",
108071
+ prop: "isvirtualtable",
108072
+ label: "\u865A\u62DF\u8868",
108073
+ width: "140",
108074
+ type: "slot",
108075
+ slotType: "isvirtualtable",
108076
+ align: "center",
108077
+ renderHeader: (s, ...t) => this.renderHeader(s, ...t, {
108078
+ effectType: "radio",
108079
+ dictTypeCode: "yes_or_no"
108080
+ })
108081
+ },
108025
108082
  {
108026
108083
  transKey: "gd.table.isLocked",
108027
108084
  prop: "isLocked",
@@ -108251,6 +108308,42 @@ const mixins$j = {
108251
108308
  trigger: "change"
108252
108309
  }]
108253
108310
  },
108311
+ {
108312
+ transKey: "gd.table.virtualTable",
108313
+ prop: "isvirtualtable",
108314
+ effectType: "switch",
108315
+ label: "\u865A\u62DF\u8868",
108316
+ placeholder: "\u8BF7\u9009\u62E9",
108317
+ placeholderTransKey: "gd.placeholder.select",
108318
+ disabled: !1,
108319
+ rules: [],
108320
+ type: "slot",
108321
+ slotType: "virtualTable"
108322
+ },
108323
+ {
108324
+ transKey: null,
108325
+ prop: null,
108326
+ effectType: "",
108327
+ label: "",
108328
+ placeholder: "\u8BF7\u9009\u62E9",
108329
+ placeholderTransKey: "gd.placeholder.select",
108330
+ disabled: !1,
108331
+ rules: [],
108332
+ type: "slot",
108333
+ slotType: "none"
108334
+ },
108335
+ {
108336
+ transKey: null,
108337
+ prop: null,
108338
+ effectType: "",
108339
+ label: "",
108340
+ placeholder: "\u8BF7\u9009\u62E9",
108341
+ placeholderTransKey: "gd.placeholder.select",
108342
+ disabled: !1,
108343
+ rules: [],
108344
+ type: "slot",
108345
+ slotType: "divider"
108346
+ },
108254
108347
  {
108255
108348
  transKey: "gd.table.plugIn",
108256
108349
  prop: "isplugin",
@@ -108370,6 +108463,65 @@ const mixins$j = {
108370
108463
  disabled: !0,
108371
108464
  rules: []
108372
108465
  },
108466
+ {
108467
+ transKey: "gd.table.dataSource",
108468
+ prop: "sysdatasource",
108469
+ effectType: "fk",
108470
+ label: "\u6570\u636E\u6E90",
108471
+ placeholder: "\u8BF7\u8F93\u5165",
108472
+ placeholderTransKey: "gd.placeholder.select",
108473
+ disabled: !1,
108474
+ rules: [{
108475
+ required: !0,
108476
+ message: "\u8BF7\u9009\u62E9",
108477
+ transKey: "gd.placeholder.select",
108478
+ trigger: "change"
108479
+ }],
108480
+ type: "slot",
108481
+ slotType: "datasource"
108482
+ },
108483
+ {
108484
+ transKey: "gd.table.virtualObjectType",
108485
+ prop: "virtualobjecttype",
108486
+ effectType: "select",
108487
+ label: "\u865A\u62DF\u5BF9\u8C61\u7C7B\u578B",
108488
+ placeholder: "\u8BF7\u9009\u62E9",
108489
+ placeholderTransKey: "gd.placeholder.select",
108490
+ disabled: !0,
108491
+ rules: [{
108492
+ required: !0,
108493
+ message: "\u8BF7\u9009\u62E9",
108494
+ transKey: "gd.placeholder.select",
108495
+ trigger: "change"
108496
+ }],
108497
+ dictTypeCode: "virtualobjecttype"
108498
+ },
108499
+ {
108500
+ transKey: "gd.table.virtualObject",
108501
+ effectType: "input",
108502
+ prop: "virtualobject",
108503
+ label: "\u865A\u62DF\u5BF9\u8C61",
108504
+ placeholder: "\u8BF7\u8F93\u5165",
108505
+ placeholderTransKey: "gd.placeholder.input",
108506
+ rules: [{
108507
+ required: !0,
108508
+ message: "\u8BF7\u8F93\u5165",
108509
+ transKey: "gd.placeholder.input",
108510
+ trigger: "change"
108511
+ }]
108512
+ },
108513
+ {
108514
+ transKey: null,
108515
+ prop: null,
108516
+ effectType: "",
108517
+ label: "",
108518
+ placeholder: "\u8BF7\u9009\u62E9",
108519
+ placeholderTransKey: "gd.placeholder.select",
108520
+ disabled: !1,
108521
+ rules: [],
108522
+ type: "slot",
108523
+ slotType: "divider"
108524
+ },
108373
108525
  {
108374
108526
  transKey: "gd.table.viewWeb",
108375
108527
  prop: "viewweb",
@@ -108629,7 +108781,7 @@ const mixins$j = {
108629
108781
  type: "slot",
108630
108782
  slotType: "handle",
108631
108783
  align: "center",
108632
- fixed: !0
108784
+ fixed: "left"
108633
108785
  },
108634
108786
  {
108635
108787
  transKey: "gd.field.describe",
@@ -108639,9 +108791,18 @@ const mixins$j = {
108639
108791
  type: "slot",
108640
108792
  slotType: "columnComment",
108641
108793
  align: "left",
108642
- fixed: !0,
108794
+ fixed: "left",
108643
108795
  showTooltip: !1
108644
108796
  },
108797
+ {
108798
+ transKey: "gd.flow.process.mapFields",
108799
+ prop: "virtualcolumn",
108800
+ label: "\u6620\u5C04\u5B57\u6BB5",
108801
+ width: "200",
108802
+ type: "slot",
108803
+ slotType: "virtualcolumn",
108804
+ align: "left"
108805
+ },
108645
108806
  {
108646
108807
  transKey: "gd.field.field",
108647
108808
  prop: "columnName",
@@ -108735,12 +108896,12 @@ const mixins$j = {
108735
108896
  fixed: "right"
108736
108897
  },
108737
108898
  {
108738
- transKey: "gd.field.isNull",
108739
- prop: "isNull",
108740
- label: "\u4E3A\u7A7A",
108899
+ transKey: "gd.field.primarykey",
108900
+ prop: "isprimarykey",
108901
+ label: "\u4E3B\u952E",
108741
108902
  width: "80",
108742
108903
  type: "slot",
108743
- slotType: "isNull",
108904
+ slotType: "isprimarykey",
108744
108905
  align: "center",
108745
108906
  fixed: "right"
108746
108907
  },
@@ -109680,7 +109841,7 @@ var _sfc_render$2i = function s() {
109680
109841
  null,
109681
109842
  null
109682
109843
  );
109683
- const ViewTree = __component__$2i.exports, edit_vue_vue_type_style_index_0_scoped_f8271139_lang = "", defaultList = [
109844
+ const ViewTree = __component__$2i.exports, edit_vue_vue_type_style_index_0_scoped_eb12b7c2_lang = "", defaultList = [
109684
109845
  {
109685
109846
  code: 1,
109686
109847
  name: "\u662F",
@@ -110202,7 +110363,20 @@ const ViewTree = __component__$2i.exports, edit_vue_vue_type_style_index_0_scope
110202
110363
  this.$message.error(this.$i18nt("gd.view.addColumnTip", "\u8BF7\u914D\u7F6E\u663E\u793A\u5217")), this.confirmLoading = !1;
110203
110364
  return;
110204
110365
  }
110205
- if (this.queryList.filter((a) => a.options && !a.options.fieldFiltering).length > 0) {
110366
+ const t = this.table.isvirtualtable === 1, a = this.tableFieldList.filter((l) => l.isprimarykey === 1)[0];
110367
+ if (t && !a) {
110368
+ this.$message.error(this.$i18nt("gd.view.tablePrimaryKeyTip", "\u8868\u672A\u8BBE\u7F6E\u4E3B\u952E\u5B57\u6BB5")), this.confirmLoading = !1;
110369
+ return;
110370
+ }
110371
+ const r = this.list.filter((l) => {
110372
+ const d = a && a.columnname ? a.columnname : "";
110373
+ return l.columnname === d;
110374
+ })[0];
110375
+ if (t && !r) {
110376
+ this.$message.error(this.$i18nt("gd.view.columnPrimaryKeyTip", "\u663E\u793A\u5217\u672A\u914D\u7F6E\u4E3B\u952E\u5B57\u6BB5")), this.confirmLoading = !1;
110377
+ return;
110378
+ }
110379
+ if (this.queryList.filter((l) => l.options && !l.options.fieldFiltering).length > 0) {
110206
110380
  this.$message.error("\u8BF7\u8865\u5145\u67E5\u8BE2\u6761\u4EF6\u5B57\u6BB5\u6570\u636E\uFF01"), this.confirmLoading = !1;
110207
110381
  return;
110208
110382
  }
@@ -110286,7 +110460,7 @@ var _sfc_render$2h = function s() {
110286
110460
  _sfc_staticRenderFns$2h,
110287
110461
  !1,
110288
110462
  null,
110289
- "f8271139",
110463
+ "eb12b7c2",
110290
110464
  null,
110291
110465
  null
110292
110466
  );
@@ -111032,7 +111206,7 @@ const operationMenus = __component__$2d.exports, abilityItems = [{
111032
111206
  options: {},
111033
111207
  css: {
111034
111208
  width: 40,
111035
- radius: 0,
111209
+ radius: [0, 0, 0, 0],
111036
111210
  padding: [0, 0, 0, 0],
111037
111211
  margin: [0, 0, 0, 0],
111038
111212
  labelUnit: "%"
@@ -111074,19 +111248,21 @@ const operationMenus = __component__$2d.exports, abilityItems = [{
111074
111248
  options: {
111075
111249
  title: "\u6587\u672C\u5185\u5BB9",
111076
111250
  transKey: null,
111077
- flexWidth: 0
111251
+ flexWidth: 100,
111252
+ flexUnit: "%"
111078
111253
  },
111079
111254
  css: {
111255
+ maxLineClamp: void 0,
111080
111256
  bjColor: "transparent",
111081
111257
  fontSize: 12,
111082
111258
  color: "#333",
111083
111259
  padding: [0, 0, 0, 0],
111084
111260
  margin: [0, 0, 0, 0],
111085
111261
  fontWeight: "normal",
111086
- radius: 0,
111262
+ radius: [0, 0, 0, 0],
111087
111263
  align: "left",
111088
- lineHeight: "25",
111089
- letterSpacing: "1",
111264
+ lineHeight: 18,
111265
+ letterSpacing: 0,
111090
111266
  fontStyle: "normal",
111091
111267
  textDecoration: "none"
111092
111268
  },
@@ -111113,7 +111289,7 @@ const operationMenus = __component__$2d.exports, abilityItems = [{
111113
111289
  bjColor: "transparent",
111114
111290
  padding: [0, 0, 0, 0],
111115
111291
  margin: [0, 0, 0, 0],
111116
- radius: 0
111292
+ radius: [0, 0, 0, 0]
111117
111293
  },
111118
111294
  customCss: "",
111119
111295
  defined: {
@@ -111208,7 +111384,7 @@ const operationMenus = __component__$2d.exports, abilityItems = [{
111208
111384
  textDecoration: "none",
111209
111385
  bjColor: "transparent",
111210
111386
  color: "#1456f0",
111211
- radius: 0
111387
+ radius: [0, 0, 0, 0]
111212
111388
  },
111213
111389
  customCss: "",
111214
111390
  defined: {
@@ -111229,7 +111405,7 @@ const operationMenus = __component__$2d.exports, abilityItems = [{
111229
111405
  height: 200,
111230
111406
  padding: [0, 0, 0, 0],
111231
111407
  margin: [0, 0, 0, 0],
111232
- radius: 0
111408
+ radius: [0, 0, 0, 0]
111233
111409
  },
111234
111410
  customCss: "",
111235
111411
  defined: {
@@ -112183,6 +112359,7 @@ const operationMenus = __component__$2d.exports, abilityItems = [{
112183
112359
  options: {
112184
112360
  flex: "",
112185
112361
  flexWidth: 100,
112362
+ flexUnit: "%",
112186
112363
  flexDirection: "horizontal",
112187
112364
  justifyContent: "",
112188
112365
  alignItems: "",
@@ -113286,7 +113463,7 @@ var _sfc_render$24 = function s() {
113286
113463
  null,
113287
113464
  null
113288
113465
  );
113289
- const topNav = __component__$24.exports, main_vue_vue_type_style_index_0_scoped_cf3ef08e_lang = "", _sfc_main$23 = {
113466
+ const topNav = __component__$24.exports, main_vue_vue_type_style_index_0_scoped_c9295208_lang = "", _sfc_main$23 = {
113290
113467
  props: {
113291
113468
  navParameters: {
113292
113469
  type: Object,
@@ -113302,8 +113479,7 @@ const topNav = __component__$24.exports, main_vue_vue_type_style_index_0_scoped_
113302
113479
  },
113303
113480
  computed: {
113304
113481
  componentmenu() {
113305
- const s = { sidemenu: sideNav, topmenu: topNav };
113306
- return console.log(this.navParameters), s[this.navParameters.layout];
113482
+ return { sidemenu: sideNav, topmenu: topNav }[this.navParameters.layout];
113307
113483
  }
113308
113484
  },
113309
113485
  methods: {}
@@ -113317,7 +113493,7 @@ var _sfc_render$23 = function s() {
113317
113493
  _sfc_staticRenderFns$23,
113318
113494
  !1,
113319
113495
  null,
113320
- "cf3ef08e",
113496
+ "c9295208",
113321
113497
  null,
113322
113498
  null
113323
113499
  );
@@ -113477,7 +113653,110 @@ var _sfc_render$20 = function s() {
113477
113653
  null,
113478
113654
  null
113479
113655
  );
113480
- const divider = __component__$20.exports, textContent_vue_vue_type_style_index_0_scoped_29bf4ca2_lang = "", _sfc_main$1$ = {
113656
+ const divider = __component__$20.exports;
113657
+ function getCss(s) {
113658
+ let t = "";
113659
+ for (let a in s)
113660
+ t += getProperti(s, a);
113661
+ return t;
113662
+ }
113663
+ function paddingData(s) {
113664
+ let t = [];
113665
+ return (s.padding ? s.padding : []).forEach((r) => {
113666
+ t.push(r ? `${r}px` : 0);
113667
+ }), t.length === 0 ? "" : `padding:${t.join(" ")};`;
113668
+ }
113669
+ function marginData(s) {
113670
+ let t = [];
113671
+ return (s.margin ? s.margin : []).forEach((r) => {
113672
+ t.push(r ? `${r}px` : 0);
113673
+ }), t.length === 0 ? "" : `margin:${t.join(" ")};`;
113674
+ }
113675
+ function backgroundData(s) {
113676
+ const t = s.bjColor ? s.bjColor : "";
113677
+ return t === "" ? "" : `background-color:${t};`;
113678
+ }
113679
+ function radiusData(s) {
113680
+ let t = [];
113681
+ return (s.radius ? s.radius : []).forEach((r) => {
113682
+ t.push(r ? `${r}px` : 0);
113683
+ }), t.length === 0 ? "" : `border-radius:${t.join(" ")};`;
113684
+ }
113685
+ function textAlign(s) {
113686
+ const t = s.align ? s.align : "";
113687
+ return t === "" ? "" : `text-align:${t};`;
113688
+ }
113689
+ function lineHeight(s) {
113690
+ const t = s.lineHeight ? s.lineHeight : "";
113691
+ return t === "" ? "" : `line-height:${t}px;`;
113692
+ }
113693
+ function letterSpacing(s) {
113694
+ const t = s.letterSpacing ? s.letterSpacing : "";
113695
+ return t === "" ? "" : `letter-spacing:${t}px;`;
113696
+ }
113697
+ function colorData(s) {
113698
+ const t = s.color ? s.color : "";
113699
+ return t === "" ? "" : `color:${t};`;
113700
+ }
113701
+ function fontSize(s) {
113702
+ const t = s.fontSize ? s.fontSize : "";
113703
+ return t === "" ? "" : `font-size:${t}px;`;
113704
+ }
113705
+ function fontWeight(s) {
113706
+ const t = s.fontWeight ? s.fontWeight : "";
113707
+ return t === "" ? "" : `font-weight:${t};`;
113708
+ }
113709
+ function textDecoration(s) {
113710
+ const t = s.textDecoration ? s.textDecoration : "";
113711
+ return t === "" ? "" : `text-decoration:${t};`;
113712
+ }
113713
+ function fontStyle(s) {
113714
+ const t = s.fontStyle ? s.fontStyle : "";
113715
+ return t === "" ? "" : `font-style:${t};`;
113716
+ }
113717
+ function maxLineClamp(s) {
113718
+ const t = s.maxLineClamp ? s.maxLineClamp : "";
113719
+ return t === "" ? "" : `overflow: hidden;text-overflow: ellipsis;display: -webkit-box;-webkit-line-clamp: ${t};-webkit-box-orient: vertical;`;
113720
+ }
113721
+ function widthData(s) {
113722
+ const t = s.flexWidth ? s.flexWidth : "100", a = s.flexUnit ? s.flexUnit : "%";
113723
+ return `width:${a === "%" ? t > 100 ? 100 : t : a === "auto" ? "" : t}${a};`;
113724
+ }
113725
+ function getProperti(s, t) {
113726
+ switch (t) {
113727
+ case "padding":
113728
+ return paddingData(s);
113729
+ case "margin":
113730
+ return marginData(s);
113731
+ case "bjColor":
113732
+ return backgroundData(s);
113733
+ case "radius":
113734
+ return radiusData(s);
113735
+ case "align":
113736
+ return textAlign(s);
113737
+ case "lineHeight":
113738
+ return lineHeight(s);
113739
+ case "letterSpacing":
113740
+ return letterSpacing(s);
113741
+ case "color":
113742
+ return colorData(s);
113743
+ case "fontSize":
113744
+ return fontSize(s);
113745
+ case "fontWeight":
113746
+ return fontWeight(s);
113747
+ case "textDecoration":
113748
+ return textDecoration(s);
113749
+ case "fontStyle":
113750
+ return fontStyle(s);
113751
+ case "maxLineClamp":
113752
+ return maxLineClamp(s);
113753
+ case "flexWidth":
113754
+ return widthData(s);
113755
+ default:
113756
+ return "";
113757
+ }
113758
+ }
113759
+ const textContent_vue_vue_type_style_index_0_scoped_74dcecbe_lang = "", _sfc_main$1$ = {
113481
113760
  props: {
113482
113761
  record: {
113483
113762
  type: Object,
@@ -113493,38 +113772,25 @@ const divider = __component__$20.exports, textContent_vue_vue_type_style_index_0
113493
113772
  },
113494
113773
  computed: {
113495
113774
  options() {
113496
- return console.log(this.record, "record"), this.record.options;
113497
- },
113498
- fstyle() {
113499
- let s = this.record.css;
113500
- return `line-height:${s.lineHeight}px;letter-spacing:${s.letterSpacing}px;
113501
- color:${s.color};font-size:${s.fontSize}px;font-weight:${s.fontWeight};
113502
- text-decoration:${s.textDecoration};
113503
- font-style:${s.fontStyle};`;
113775
+ return this.record.options;
113504
113776
  },
113505
113777
  style() {
113506
- let s = this.record.css, t = [], a = [];
113507
- s.padding && s.padding.forEach((l) => {
113508
- t.push(l + "px");
113509
- }), s.margin && s.margin.forEach((l) => {
113510
- a.push(l + "px");
113511
- });
113512
- let r = `padding:${t.join(" ")}`, o = `margin:${a.join(" ")}`;
113513
- return `background:${s.bjColor};border-radius:${s.radius}px;${r};${o};text-align:${s.align};`;
113778
+ const s = this.record.customCss ? this.record.customCss : "";
113779
+ return `${getCss(this.record.css)}${s}`;
113514
113780
  }
113515
113781
  },
113516
113782
  methods: {}
113517
113783
  };
113518
113784
  var _sfc_render$1$ = function s() {
113519
113785
  var t = this, a = t._self._c;
113520
- return a("div", { style: t.style }, [t.develop == 1 ? a("div", { staticClass: "content line1", style: t.fstyle }, [t._v(" " + t._s(t.$i18nt(`Dynamics.${t.options.transKey}`, t.options.title)) + " ")]) : t.develop == 2 ? a("div", { staticClass: "content line", style: t.fstyle }, [t._v(" " + t._s(t.$i18nt(`Dynamics.${t.options.transKey}`, t.options.title)) + " ")]) : t._e()]);
113786
+ return a("div", { staticStyle: { overflow: "hidden" } }, [a("div", { style: t.style }, [t._v(" " + t._s(t.$i18nt(`Dynamics.${t.options.transKey}`, t.options.title)) + " ")])]);
113521
113787
  }, _sfc_staticRenderFns$1$ = [], __component__$1$ = /* @__PURE__ */ normalizeComponent(
113522
113788
  _sfc_main$1$,
113523
113789
  _sfc_render$1$,
113524
113790
  _sfc_staticRenderFns$1$,
113525
113791
  !1,
113526
113792
  null,
113527
- "29bf4ca2",
113793
+ "74dcecbe",
113528
113794
  null,
113529
113795
  null
113530
113796
  );
@@ -116354,7 +116620,7 @@ var _sfc_render$1J = function s() {
116354
116620
  null,
116355
116621
  null
116356
116622
  );
116357
- const approvalModel = __component__$1J.exports, approval_vue_vue_type_style_index_0_scoped_be3e8214_lang = "", _sfc_main$1I = {
116623
+ const approvalModel = __component__$1J.exports, approval_vue_vue_type_style_index_0_scoped_f8777413_lang = "", _sfc_main$1I = {
116358
116624
  props: {
116359
116625
  record: {
116360
116626
  type: Object,
@@ -116802,7 +117068,7 @@ const approvalModel = __component__$1J.exports, approval_vue_vue_type_style_inde
116802
117068
  };
116803
117069
  var _sfc_render$1I = function s() {
116804
117070
  var t = this, a = t._self._c;
116805
- return t.record.options.hidden ? t._e() : a("div", { directives: [{ name: "loading", rawName: "v-loading", value: t.spinning, expression: "spinning" }] }, [t.record.options.labelHidden ? t._e() : a("div", { staticStyle: { background: "#fafafa" } }, [a("div", { staticClass: "title" }, [a("span", [t._v(" " + t._s(t.$i18nt(t.record.options.transKey, t.record.label)) + " ")]), a("span", { style: t.styled }, [t._v(t._s(t.getApproval))])]), a("el-divider", { staticClass: "tiao" })], 1), t.showBtn ? a("div", [a("el-button", { attrs: { plain: "", size: "mini", disabled: !t.submitBtn, id: "btn-class", loading: t.isApplying }, on: { click: t.apply } }, [a("i", { staticClass: "el-icon-upload2" }), t._v(" " + t._s(t.$i18nt("gd.approvalPlug.initiateApply", "\u53D1\u8D77\u7533\u8BF7")) + " ")]), a("el-button", { attrs: { plain: "", size: "mini", disabled: !t.revokeBtn, id: "btn-class", loading: t.isRevokeing }, on: { click: t.revoke } }, [a("i", { staticClass: "gd-icons gd-icon-rollback" }), t._v(" " + t._s(t.$i18nt("gd.approvalPlug.withdrawApply", "\u64A4\u56DE\u7533\u8BF7")) + " ")]), a("el-button", { attrs: { plain: "", size: "mini", disabled: !t.urgentBtn, id: "btn-class", loading: t.isuUrgenting }, on: { click: t.urgent } }, [a("i", { staticClass: "el-icon-bell" }), t._v(" " + t._s(t.$i18nt("gd.approvalPlug.urging", "\u50AC\u529E")) + " ")])], 1) : t._e(), t.taskBtn ? a("div", [a("div", { staticStyle: { padding: "0px 0px 5px" } }, [a("el-dropdown", { staticStyle: { "margin-right": "8px" }, attrs: { trigger: "click" } }, [a("el-button", { attrs: { plain: "", size: "mini", id: "btn-class" } }, [a("i", { staticClass: "gd-icons gd-icon-bullet-list--points-bullet-unordered-list-lists-bu", staticStyle: { "font-size": "12px" } }), t._v(" " + t._s(t.$i18nt("gd.btn.more")) + " ")]), a("el-dropdown-menu", { attrs: { slot: "dropdown" }, slot: "dropdown" }, t._l(t.dropdownData, function(r, o) {
117071
+ return t.record.options.hidden ? t._e() : a("div", { directives: [{ name: "loading", rawName: "v-loading", value: t.spinning, expression: "spinning" }] }, [t.record.options.labelHidden ? t._e() : a("div", { staticStyle: { background: "#fafafa" } }, [a("div", { staticClass: "title" }, [a("span", [t._v(" " + t._s(t.$i18nt(t.record.options.transKey, t.record.label)) + " ")]), a("span", { style: t.styled }, [t._v(t._s(t.getApproval))])]), a("el-divider", { staticClass: "tiao" })], 1), t.showBtn ? a("div", [a("el-button", { attrs: { plain: "", size: "mini", disabled: !t.submitBtn, id: "btn-class", loading: t.isApplying }, on: { click: t.apply } }, [a("i", { staticClass: "el-icon-upload2" }), t._v(" " + t._s(t.$i18nt("gd.approvalPlug.initiateApply", "\u53D1\u8D77\u7533\u8BF7")) + " ")]), a("el-button", { attrs: { plain: "", size: "mini", disabled: !t.revokeBtn, id: "btn-class", loading: t.isRevokeing }, on: { click: t.revoke } }, [a("i", { staticClass: "gd-icons gd-icon-rollback rollback" }), t._v(" " + t._s(t.$i18nt("gd.approvalPlug.withdrawApply", "\u64A4\u56DE\u7533\u8BF7")) + " ")]), a("el-button", { attrs: { plain: "", size: "mini", disabled: !t.urgentBtn, id: "btn-class", loading: t.isuUrgenting }, on: { click: t.urgent } }, [a("i", { staticClass: "el-icon-bell" }), t._v(" " + t._s(t.$i18nt("gd.approvalPlug.urging", "\u50AC\u529E")) + " ")])], 1) : t._e(), t.taskBtn ? a("div", [a("div", { staticStyle: { padding: "0px 0px 5px" } }, [a("el-dropdown", { staticStyle: { "margin-right": "8px" }, attrs: { trigger: "click" } }, [a("el-button", { attrs: { plain: "", size: "mini", id: "btn-class" } }, [a("i", { staticClass: "gd-icons gd-icon-bullet-list--points-bullet-unordered-list-lists-bu", staticStyle: { "font-size": "12px" } }), t._v(" " + t._s(t.$i18nt("gd.btn.more")) + " ")]), a("el-dropdown-menu", { attrs: { slot: "dropdown" }, slot: "dropdown" }, t._l(t.dropdownData, function(r, o) {
116806
117072
  return a("el-dropdown-item", { key: o, attrs: { disabled: r.disabled }, nativeOn: { click: function(l) {
116807
117073
  return t.triggerClick(r);
116808
117074
  } } }, [a("i", { class: r.icon }), t._v(" " + t._s(t.$i18nt(r.transKey, r.name)) + " ")]);
@@ -116823,7 +117089,7 @@ var _sfc_render$1I = function s() {
116823
117089
  _sfc_staticRenderFns$1I,
116824
117090
  !1,
116825
117091
  null,
116826
- "be3e8214",
117092
+ "f8777413",
116827
117093
  null,
116828
117094
  null
116829
117095
  );
@@ -117594,7 +117860,7 @@ const echartsView = __component__$1z.exports, componentArray = {
117594
117860
  uploadImg,
117595
117861
  echarts: echartsView,
117596
117862
  inputNumber: moneyNumber
117597
- }, layoutItem_vue_vue_type_style_index_0_scoped_7f46c055_lang = "", _sfc_main$1y = {
117863
+ }, layoutItem_vue_vue_type_style_index_0_scoped_421ed02f_lang = "", _sfc_main$1y = {
117598
117864
  props: {
117599
117865
  record: {
117600
117866
  type: Object,
@@ -117635,34 +117901,12 @@ const echartsView = __component__$1z.exports, componentArray = {
117635
117901
  imgList: [],
117636
117902
  currentImg: "",
117637
117903
  filterList: [],
117638
- value2: [],
117639
- optionsdd: [
117640
- {
117641
- value: "\u9009\u98791",
117642
- label: "\u9EC4\u91D1\u7CD5"
117643
- },
117644
- {
117645
- value: "\u9009\u98792",
117646
- label: "\u53CC\u76AE\u5976"
117647
- },
117648
- {
117649
- value: "\u9009\u98793",
117650
- label: "\u86B5\u4ED4\u714E"
117651
- },
117652
- {
117653
- value: "\u9009\u98794",
117654
- label: "\u9F99\u987B\u9762"
117655
- },
117656
- {
117657
- value: "\u9009\u98795",
117658
- label: "\u5317\u4EAC\u70E4\u9E2D"
117659
- }
117660
- ]
117904
+ value2: []
117661
117905
  };
117662
117906
  },
117663
117907
  computed: {
117664
117908
  columnName() {
117665
- return this.options.columnName.toLowerCase();
117909
+ return this.options.columnName ? this.options.columnName.toLowerCase() : this.options.columnName;
117666
117910
  },
117667
117911
  hasComponentItem() {
117668
117912
  return !!this.componentItem;
@@ -117888,7 +118132,7 @@ var _sfc_render$1y = function s() {
117888
118132
  _sfc_staticRenderFns$1y,
117889
118133
  !1,
117890
118134
  null,
117891
- "7f46c055",
118135
+ "421ed02f",
117892
118136
  null,
117893
118137
  null
117894
118138
  );
@@ -117977,7 +118221,7 @@ var _sfc_render$1x = function s() {
117977
118221
  null,
117978
118222
  null
117979
118223
  );
117980
- const BuildLayoutItemForm = __component__$1x.exports, layoutNode_vue_vue_type_style_index_0_scoped_69ee9301_lang = "", _sfc_main$1w = {
118224
+ const BuildLayoutItemForm = __component__$1x.exports, layoutNode_vue_vue_type_style_index_0_scoped_c56b5cce_lang = "", _sfc_main$1w = {
117981
118225
  props: {
117982
118226
  record: {
117983
118227
  type: Object,
@@ -118039,7 +118283,7 @@ var _sfc_render$1w = function s() {
118039
118283
  var t = this, a = t._self._c;
118040
118284
  return a("div", { staticClass: "drag-move-box", class: { active: t.record.key === t.selectItem.key, "drag-move-boxmin": t.record.type === "divider" }, on: { click: function(r) {
118041
118285
  return r.stopPropagation(), t.handleSelectItem.apply(null, arguments);
118042
- } } }, [a("div", [t.isForm && [
118286
+ } } }, [[t.isForm && [
118043
118287
  "input",
118044
118288
  "textarea",
118045
118289
  "editor",
@@ -118053,16 +118297,16 @@ var _sfc_render$1w = function s() {
118053
118297
  "datePicker",
118054
118298
  "timePicker",
118055
118299
  "selectMultiple"
118056
- ].includes(t.record.type) ? a("buildLayoutItemForm", { attrs: { record: t.record, isForm: t.isForm, model: t.model, develop: t.develop } }) : a("buildLayoutItem", { attrs: { record: t.record, isForm: t.isForm, model: t.model, develop: t.develop } })], 1), t.record.key === t.selectItem.key ? a("div", { staticClass: "drag-delete" }, [a("i", { staticClass: "gd-icons", class: t.record.icon }), a("div", { staticClass: "name line1" }, [t._v(t._s(t.record.key))]), a("div", { staticClass: "shu" }), a("i", { staticClass: "el-icon-delete", on: { click: function(r) {
118300
+ ].includes(t.record.type) ? a("buildLayoutItemForm", { attrs: { record: t.record, isForm: t.isForm, model: t.model, develop: t.develop } }) : a("buildLayoutItem", { attrs: { record: t.record, isForm: t.isForm, model: t.model, develop: t.develop } })], t.record.key === t.selectItem.key ? a("div", { staticClass: "drag-delete" }, [a("i", { staticClass: "gd-icons", class: t.record.icon }), a("div", { staticClass: "name line1" }, [t._v(t._s(t.record.key))]), a("div", { staticClass: "shu" }), a("i", { staticClass: "el-icon-delete", on: { click: function(r) {
118057
118301
  return r.stopPropagation(), t.$emit("handleDelete");
118058
- } } })]) : t._e(), t.develop === 1 ? a("div", { staticClass: "mtabs-kuang" }) : t._e()]);
118302
+ } } })]) : t._e(), t.develop === 1 ? a("div", { staticClass: "mtabs-kuang" }) : t._e()], 2);
118059
118303
  }, _sfc_staticRenderFns$1w = [], __component__$1w = /* @__PURE__ */ normalizeComponent(
118060
118304
  _sfc_main$1w,
118061
118305
  _sfc_render$1w,
118062
118306
  _sfc_staticRenderFns$1w,
118063
118307
  !1,
118064
118308
  null,
118065
- "69ee9301",
118309
+ "c56b5cce",
118066
118310
  null,
118067
118311
  null
118068
118312
  );
@@ -118310,7 +118554,7 @@ var _sfc_render$1s = function s() {
118310
118554
  null,
118311
118555
  null
118312
118556
  );
118313
- const drawerPanel = __component__$1s.exports, layoutItem_vue_vue_type_style_index_0_scoped_548861cf_lang = "", _sfc_main$1r = {
118557
+ const drawerPanel = __component__$1s.exports, layoutItem_vue_vue_type_style_index_0_scoped_b88ea796_lang = "", _sfc_main$1r = {
118314
118558
  name: "layoutItem",
118315
118559
  props: {
118316
118560
  record: {
@@ -118364,6 +118608,9 @@ const drawerPanel = __component__$1s.exports, layoutItem_vue_vue_type_style_inde
118364
118608
  },
118365
118609
  flexWidth() {
118366
118610
  return `width:${this.options.flexWidth}%;flex:0 0 auto`;
118611
+ },
118612
+ wstyle() {
118613
+ return `${getCss(this.options)}max-width:100%;`;
118367
118614
  }
118368
118615
  },
118369
118616
  components: {
@@ -118390,7 +118637,7 @@ var _sfc_render$1r = function s() {
118390
118637
  var t = this, a = t._self._c;
118391
118638
  return a("div", { class: {
118392
118639
  "layout-width": ["tabs", "grid", "collapse", "card", "form", "containerPanel", "flexLayout"].includes(t.record.type)
118393
- } }, [t.record.type === "tabs" ? [a("div", { staticClass: "mtabs-box", class: { active: t.record.key === t.selectItem.key }, on: { click: function(r) {
118640
+ }, style: t.wstyle }, [t.record.type === "tabs" ? [a("div", { staticClass: "mtabs-box", class: { active: t.record.key === t.selectItem.key }, on: { click: function(r) {
118394
118641
  return r.stopPropagation(), t.handleSelectItem(t.record);
118395
118642
  } } }, [a("el-tabs", { staticClass: "mtabs-box-row", attrs: { type: t.options.type === "none" ? void 0 : t.options.type, "tab-position": t.options.tabPosition }, model: { value: t.options.activeKey, callback: function(r) {
118396
118643
  t.$set(t.options, "activeKey", r);
@@ -118695,7 +118942,7 @@ var _sfc_render$1r = function s() {
118695
118942
  _sfc_staticRenderFns$1r,
118696
118943
  !1,
118697
118944
  null,
118698
- "548861cf",
118945
+ "b88ea796",
118699
118946
  null,
118700
118947
  null
118701
118948
  );
@@ -118999,7 +119246,7 @@ var _sfc_render$1p = function s() {
118999
119246
  null,
119000
119247
  null
119001
119248
  );
119002
- const pCheckbox = __component__$1p.exports, generatorForm_vue_vue_type_style_index_0_scoped_8e0a2d4d_lang = "", _sfc_main$1o = {
119249
+ const pCheckbox = __component__$1p.exports, generatorForm_vue_vue_type_style_index_0_scoped_1b20497d_lang = "", _sfc_main$1o = {
119003
119250
  data() {
119004
119251
  return {
119005
119252
  type: "checkbox",
@@ -119113,7 +119360,6 @@ const pCheckbox = __component__$1p.exports, generatorForm_vue_vue_type_style_ind
119113
119360
  },
119114
119361
  methods: {
119115
119362
  searchColumnName(s) {
119116
- console.log(s);
119117
119363
  let t = [];
119118
119364
  s.formFieldData.forEach((a) => {
119119
119365
  t.push(a.columnName);
@@ -119215,11 +119461,11 @@ var _sfc_render$1o = function s() {
119215
119461
  _sfc_staticRenderFns$1o,
119216
119462
  !1,
119217
119463
  null,
119218
- "8e0a2d4d",
119464
+ "1b20497d",
119219
119465
  null,
119220
119466
  null
119221
119467
  );
119222
- const generatorForm = __component__$1o.exports, propertiesForm_vue_vue_type_style_index_0_scoped_8514a369_lang = "", _sfc_main$1n = {
119468
+ const generatorForm = __component__$1o.exports, propertiesForm_vue_vue_type_style_index_0_scoped_2e91398f_lang = "", _sfc_main$1n = {
119223
119469
  props: {
119224
119470
  selectItem: {
119225
119471
  type: Object,
@@ -119297,7 +119543,7 @@ const generatorForm = __component__$1o.exports, propertiesForm_vue_vue_type_styl
119297
119543
  if (s === "defaultValue" && ["inputNumber"].includes(this.selectItem.type))
119298
119544
  return !0;
119299
119545
  const a = t === "options" ? this.options : this.selectItem;
119300
- return a === void 0 || a[s] === void 0 ? !1 : typeof a[s] < "u";
119546
+ return Object.keys(a).includes(s);
119301
119547
  }
119302
119548
  }
119303
119549
  };
@@ -119322,11 +119568,11 @@ var _sfc_render$1n = function s() {
119322
119568
  _sfc_staticRenderFns$1n,
119323
119569
  !1,
119324
119570
  null,
119325
- "8514a369",
119571
+ "2e91398f",
119326
119572
  null,
119327
119573
  null
119328
119574
  );
119329
- const propertiesForm = __component__$1n.exports, propertiesCss_vue_vue_type_style_index_0_scoped_4389801f_lang = "", _sfc_main$1m = {
119575
+ const propertiesForm = __component__$1n.exports, propertiesCss_vue_vue_type_style_index_0_scoped_37fad00e_lang = "", _sfc_main$1m = {
119330
119576
  props: {
119331
119577
  selectItem: {
119332
119578
  type: Object,
@@ -119350,8 +119596,10 @@ const propertiesForm = __component__$1n.exports, propertiesCss_vue_vue_type_styl
119350
119596
  },
119351
119597
  methods: {
119352
119598
  getTypeofC(s, t = "css") {
119599
+ if (s === "maxLineClamp" && ["textContent"].includes(this.selectItem.type))
119600
+ return !0;
119353
119601
  const a = t === "css" ? this.cssValue : this.selectItem;
119354
- return a === void 0 || a[s] === void 0 ? !1 : typeof a[s] < "u";
119602
+ return Object.keys(a).includes(s);
119355
119603
  },
119356
119604
  cahngeLabelUnit() {
119357
119605
  this.cssValue.labelUnit = this.cssValue.labelUnit === "px" ? "%" : "px";
@@ -119378,7 +119626,9 @@ var _sfc_render$1m = function s() {
119378
119626
  t.$set(t.cssValue, "heightL", r);
119379
119627
  }, expression: "cssValue.heightL" } }), a("el-select", { staticClass: "padd-w", attrs: { placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9") }, model: { value: t.cssValue.heiType, callback: function(r) {
119380
119628
  t.$set(t.cssValue, "heiType", r);
119381
- }, expression: "cssValue.heiType" } }, [a("el-option", { attrs: { label: t.$i18nt("gd.page.adapt", "\u9002\u5E94"), value: "auto" } }), a("el-option", { attrs: { label: t.$i18nt("gd.page.fixed", "\u56FA\u5B9A"), value: "fixed" } })], 1)], 1)]) : t._e(), t.getTypeofC("bjColor") ? a("el-form-item", { attrs: { label: t.$i18nt("gd.page.bgcolor", "\u80CC\u666F\u989C\u8272") } }, [a("el-input", { model: { value: t.cssValue.bjColor, callback: function(r) {
119629
+ }, expression: "cssValue.heiType" } }, [a("el-option", { attrs: { label: t.$i18nt("gd.page.adapt", "\u9002\u5E94"), value: "auto" } }), a("el-option", { attrs: { label: t.$i18nt("gd.page.fixed", "\u56FA\u5B9A"), value: "fixed" } })], 1)], 1)]) : t._e(), t.getTypeofC("maxLineClamp") ? a("el-form-item", { attrs: { label: t.$i18nt("gd.page.maxLineClamp", "\u6700\u5927\u5C55\u793A\u884C\u6570") } }, [a("el-input-number", { staticStyle: { width: "100%" }, attrs: { min: 0, placeholder: t.$i18nt("gd.page.maxLineClampTip", "\u4E3A\u7A7A\u65F6\u4E0D\u9650\u5236"), "controls-position": "right" }, model: { value: t.cssValue.maxLineClamp, callback: function(r) {
119630
+ t.$set(t.cssValue, "maxLineClamp", r);
119631
+ }, expression: "cssValue.maxLineClamp" } })], 1) : t._e(), t.getTypeofC("bjColor") ? a("el-form-item", { attrs: { label: t.$i18nt("gd.page.bgcolor", "\u80CC\u666F\u989C\u8272") } }, [a("el-input", { model: { value: t.cssValue.bjColor, callback: function(r) {
119382
119632
  t.$set(t.cssValue, "bjColor", r);
119383
119633
  }, expression: "cssValue.bjColor" } }, [a("el-color-picker", { staticClass: "theme-picker", staticStyle: { "margin-right": "-5px" }, attrs: { slot: "suffix", predefine: t.predefine, "popper-class": "theme-picker-dropdown" }, slot: "suffix", model: { value: t.cssValue.bjColor, callback: function(r) {
119384
119634
  t.$set(t.cssValue, "bjColor", r);
@@ -119402,27 +119652,33 @@ var _sfc_render$1m = function s() {
119402
119652
  t.$set(t.cssValue, "textDecoration", r);
119403
119653
  }, expression: "cssValue.textDecoration" } }, [a("el-radio-button", { attrs: { label: "none" } }, [t._v(t._s(t.$i18nt("gd.page.none", "\u65E0")))]), a("el-radio-button", { attrs: { label: "underline" } }, [t._v(t._s(t.$i18nt("gd.page.underline", "\u4E0B\u5212\u7EBF")))]), a("el-radio-button", { attrs: { label: "line-through" } }, [t._v(t._s(t.$i18nt("gd.page.lineThrough", "\u5220\u9664\u7EBF")))])], 1)], 1) : t._e(), t.getTypeofC("lineHeight") ? a("el-form-item", { attrs: { label: t.$i18nt("gd.page.rowHeight", "\u884C\u9AD8") } }, [a("div", { staticClass: "operatorl-flexc" }, [a("el-input-number", { staticStyle: { width: "100%" }, attrs: { min: 1, "controls-position": "right" }, model: { value: t.cssValue.lineHeight, callback: function(r) {
119404
119654
  t.$set(t.cssValue, "lineHeight", r);
119405
- }, expression: "cssValue.lineHeight" } }), a("div", { staticClass: "operatorl-operatorlc" }, [t._v("px")])], 1)]) : t._e(), t.getTypeofC("letterSpacing") ? a("el-form-item", { attrs: { label: t.$i18nt("gd.page.interval", "\u95F4\u8DDD") } }, [a("div", { staticClass: "operatorl-flexc" }, [a("el-input-number", { staticStyle: { width: "100%" }, attrs: { min: 1, "controls-position": "right" }, model: { value: t.cssValue.letterSpacing, callback: function(r) {
119655
+ }, expression: "cssValue.lineHeight" } }), a("div", { staticClass: "operatorl-operatorlc" }, [t._v("px")])], 1)]) : t._e(), t.getTypeofC("letterSpacing") ? a("el-form-item", { attrs: { label: t.$i18nt("gd.page.interval", "\u95F4\u8DDD") } }, [a("div", { staticClass: "operatorl-flexc" }, [a("el-input-number", { staticStyle: { width: "100%" }, attrs: { min: 0, "controls-position": "right" }, model: { value: t.cssValue.letterSpacing, callback: function(r) {
119406
119656
  t.$set(t.cssValue, "letterSpacing", r);
119407
- }, expression: "cssValue.letterSpacing" } }), a("div", { staticClass: "operatorl-operatorlc" }, [t._v("px")])], 1)]) : t._e(), t.getTypeofC("radius") ? a("el-form-item", { attrs: { label: t.$i18nt("gd.page.filletCorner", "\u5706\u89D2") } }, [a("div", { staticClass: "operatorl-flexc" }, [a("el-input-number", { attrs: { "controls-position": "right" }, model: { value: t.cssValue.radius, callback: function(r) {
119408
- t.$set(t.cssValue, "radius", r);
119409
- }, expression: "cssValue.radius" } }), a("div", { staticClass: "operatorl-operatorlc" }, [t._v("px")])], 1)]) : t._e(), t.getTypeofC("padding") ? a("el-form-item", { attrs: { label: t.$i18nt("gd.page.padding", "\u5185\u8FB9\u8DDD") } }, [a("div", { staticClass: "padd-r" }, [a("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: t.$i18nt("gd.page.paddingTop", "\u4E0A\u5185\u8FB9\u8DDD"), placement: "top-start" } }, [a("el-input-number", { staticClass: "padd-x", attrs: { min: 0, max: 400, "controls-position": "right" }, model: { value: t.cssValue.padding[0], callback: function(r) {
119657
+ }, expression: "cssValue.letterSpacing" } }), a("div", { staticClass: "operatorl-operatorlc" }, [t._v("px")])], 1)]) : t._e(), t.getTypeofC("radius") ? a("el-form-item", { attrs: { label: t.$i18nt("gd.page.filletCorner", "\u5706\u89D2") } }, [a("div", { staticClass: "padd-r" }, [a("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: t.$i18nt("gd.page.topDirection", "\u4E0A"), placement: "top" } }, [a("el-input-number", { staticClass: "padd-x", attrs: { min: 0, max: 1e3, "controls-position": "right" }, model: { value: t.cssValue.radius[0], callback: function(r) {
119658
+ t.$set(t.cssValue.radius, 0, r);
119659
+ }, expression: "cssValue.radius[0]" } })], 1), a("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: t.$i18nt("gd.page.rightDirection", "\u53F3"), placement: "top" } }, [a("el-input-number", { staticClass: "padd-w", attrs: { min: 0, max: 9999, "controls-position": "right" }, model: { value: t.cssValue.radius[1], callback: function(r) {
119660
+ t.$set(t.cssValue.radius, 1, r);
119661
+ }, expression: "cssValue.radius[1]" } })], 1)], 1), a("div", { staticClass: "padd-r" }, [a("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: t.$i18nt("gd.page.leftDirection", "\u5DE6"), placement: "bottom" } }, [a("el-input-number", { staticClass: "padd-x", attrs: { min: 0, max: 1e3, "controls-position": "right" }, model: { value: t.cssValue.radius[3], callback: function(r) {
119662
+ t.$set(t.cssValue.radius, 3, r);
119663
+ }, expression: "cssValue.radius[3]" } })], 1), a("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: t.$i18nt("gd.page.bottomDirection", "\u4E0B"), placement: "bottom" } }, [a("el-input-number", { staticClass: "padd-w", attrs: { min: 0, max: 9999, "controls-position": "right" }, model: { value: t.cssValue.radius[2], callback: function(r) {
119664
+ t.$set(t.cssValue.radius, 2, r);
119665
+ }, expression: "cssValue.radius[2]" } })], 1)], 1)]) : t._e(), t.getTypeofC("padding") ? a("el-form-item", { attrs: { label: t.$i18nt("gd.page.padding", "\u5185\u8FB9\u8DDD") } }, [a("div", { staticClass: "padd-r" }, [a("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: t.$i18nt("gd.page.paddingTop", "\u4E0A\u5185\u8FB9\u8DDD"), placement: "top" } }, [a("el-input-number", { staticClass: "padd-x", attrs: { min: 0, max: 9999, "controls-position": "right" }, model: { value: t.cssValue.padding[0], callback: function(r) {
119410
119666
  t.$set(t.cssValue.padding, 0, r);
119411
- }, expression: "cssValue.padding[0]" } })], 1), a("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: t.$i18nt("gd.page.paddingLeft", "\u5DE6\u5185\u8FB9\u8DDD"), placement: "top-start" } }, [a("el-input-number", { staticClass: "padd-w", attrs: { min: 0, max: 400, "controls-position": "right" }, model: { value: t.cssValue.padding[3], callback: function(r) {
119667
+ }, expression: "cssValue.padding[0]" } })], 1), a("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: t.$i18nt("gd.page.paddingRight", "\u53F3\u5185\u8FB9\u8DDD"), placement: "top" } }, [a("el-input-number", { staticClass: "padd-w", attrs: { min: 0, max: 9999, "controls-position": "right" }, model: { value: t.cssValue.padding[1], callback: function(r) {
119668
+ t.$set(t.cssValue.padding, 1, r);
119669
+ }, expression: "cssValue.padding[1]" } })], 1)], 1), a("div", { staticClass: "padd-r" }, [a("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: t.$i18nt("gd.page.paddingLeft", "\u5DE6\u5185\u8FB9\u8DDD"), placement: "bottom" } }, [a("el-input-number", { staticClass: "padd-x", attrs: { min: 0, max: 9999, "controls-position": "right" }, model: { value: t.cssValue.padding[3], callback: function(r) {
119412
119670
  t.$set(t.cssValue.padding, 3, r);
119413
- }, expression: "cssValue.padding[3]" } })], 1)], 1), a("div", { staticClass: "padd-r" }, [a("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: t.$i18nt("gd.page.paddingBottom", "\u4E0B\u5185\u8FB9\u8DDD"), placement: "top-start" } }, [a("el-input-number", { staticClass: "padd-x", attrs: { min: 0, "controls-position": "right" }, model: { value: t.cssValue.padding[2], callback: function(r) {
119671
+ }, expression: "cssValue.padding[3]" } })], 1), a("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: t.$i18nt("gd.page.paddingBottom", "\u4E0B\u5185\u8FB9\u8DDD"), placement: "bottom" } }, [a("el-input-number", { staticClass: "padd-w", attrs: { min: 0, max: 9999, "controls-position": "right" }, model: { value: t.cssValue.padding[2], callback: function(r) {
119414
119672
  t.$set(t.cssValue.padding, 2, r);
119415
- }, expression: "cssValue.padding[2]" } })], 1), a("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: t.$i18nt("gd.page.paddingRight", "\u53F3\u5185\u8FB9\u8DDD"), placement: "top-start" } }, [a("el-input-number", { staticClass: "padd-w", attrs: { min: 0, "controls-position": "right" }, model: { value: t.cssValue.padding[1], callback: function(r) {
119416
- t.$set(t.cssValue.padding, 1, r);
119417
- }, expression: "cssValue.padding[1]" } })], 1)], 1)]) : t._e(), t.getTypeofC("margin") ? a("el-form-item", { attrs: { label: t.$i18nt("gd.page.margin", "\u5916\u8FB9\u8DDD") } }, [a("div", { staticClass: "padd-r" }, [a("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: t.$i18nt("gd.page.marginTop", "\u4E0A\u5916\u8FB9\u8DDD"), placement: "top-start" } }, [a("el-input-number", { staticClass: "padd-x", attrs: { "controls-position": "right" }, model: { value: t.cssValue.margin[0], callback: function(r) {
119673
+ }, expression: "cssValue.padding[2]" } })], 1)], 1)]) : t._e(), t.getTypeofC("margin") ? a("el-form-item", { attrs: { label: t.$i18nt("gd.page.margin", "\u5916\u8FB9\u8DDD") } }, [a("div", { staticClass: "padd-r" }, [a("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: t.$i18nt("gd.page.marginTop", "\u4E0A\u5916\u8FB9\u8DDD"), placement: "top" } }, [a("el-input-number", { staticClass: "padd-x", attrs: { min: -9999, max: 9999, "controls-position": "right" }, model: { value: t.cssValue.margin[0], callback: function(r) {
119418
119674
  t.$set(t.cssValue.margin, 0, r);
119419
- }, expression: "cssValue.margin[0]" } })], 1), a("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: t.$i18nt("gd.page.marginLeft", "\u5DE6\u5916\u8FB9\u8DDD"), placement: "top-start" } }, [a("el-input-number", { staticClass: "padd-w", attrs: { "controls-position": "right" }, model: { value: t.cssValue.margin[3], callback: function(r) {
119675
+ }, expression: "cssValue.margin[0]" } })], 1), a("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: t.$i18nt("gd.page.marginRight", "\u53F3\u5916\u8FB9\u8DDD"), placement: "top" } }, [a("el-input-number", { staticClass: "padd-w", attrs: { min: -9999, max: 9999, "controls-position": "right" }, model: { value: t.cssValue.margin[1], callback: function(r) {
119676
+ t.$set(t.cssValue.margin, 1, r);
119677
+ }, expression: "cssValue.margin[1]" } })], 1)], 1), a("div", { staticClass: "padd-r" }, [a("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: t.$i18nt("gd.page.marginLeft", "\u5DE6\u5916\u8FB9\u8DDD"), placement: "bottom" } }, [a("el-input-number", { staticClass: "padd-x", attrs: { min: -9999, max: 9999, "controls-position": "right" }, model: { value: t.cssValue.margin[3], callback: function(r) {
119420
119678
  t.$set(t.cssValue.margin, 3, r);
119421
- }, expression: "cssValue.margin[3]" } })], 1)], 1), a("div", { staticClass: "padd-r" }, [a("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: t.$i18nt("gd.page.marginBottom", "\u4E0B\u5916\u8FB9\u8DDD"), placement: "top-start" } }, [a("el-input-number", { staticClass: "padd-x", attrs: { "controls-position": "right" }, model: { value: t.cssValue.margin[2], callback: function(r) {
119679
+ }, expression: "cssValue.margin[3]" } })], 1), a("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: t.$i18nt("gd.page.marginBottom", "\u4E0B\u5916\u8FB9\u8DDD"), placement: "bottom" } }, [a("el-input-number", { staticClass: "padd-w", attrs: { min: -9999, max: 9999, "controls-position": "right" }, model: { value: t.cssValue.margin[2], callback: function(r) {
119422
119680
  t.$set(t.cssValue.margin, 2, r);
119423
- }, expression: "cssValue.margin[2]" } })], 1), a("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: t.$i18nt("gd.page.marginRight", "\u53F3\u5916\u8FB9\u8DDD"), placement: "top-start" } }, [a("el-input-number", { staticClass: "padd-w", attrs: { "controls-position": "right" }, model: { value: t.cssValue.margin[1], callback: function(r) {
119424
- t.$set(t.cssValue.margin, 1, r);
119425
- }, expression: "cssValue.margin[1]" } })], 1)], 1)]) : t._e(), t.getTypeofC("position") ? a("el-form-item", { attrs: { label: t.$i18nt("gd.page.positionType", "\u4F4D\u7F6E\u7C7B\u578B") } }, [a("el-select", { model: { value: t.cssValue.fontWeight, callback: function(r) {
119681
+ }, expression: "cssValue.margin[2]" } })], 1)], 1)]) : t._e(), t.getTypeofC("position") ? a("el-form-item", { attrs: { label: t.$i18nt("gd.page.positionType", "\u4F4D\u7F6E\u7C7B\u578B") } }, [a("el-select", { model: { value: t.cssValue.fontWeight, callback: function(r) {
119426
119682
  t.$set(t.cssValue, "fontWeight", r);
119427
119683
  }, expression: "cssValue.fontWeight" } }, [a("el-option", { attrs: { value: "normal", label: t.$i18nt("gd.page.defaultPositioning", "\u9ED8\u8BA4\u5B9A\u4F4D") } }), a("el-option", { attrs: { value: "normal", label: t.$i18nt("gd.page.relativePositioning", "\u76F8\u5BF9\u5B9A\u4F4D") } }), a("el-option", { attrs: { value: "normal", label: t.$i18nt("gd.page.absolutePositioning", "\u200C\u7EDD\u5BF9\u5B9A\u4F4D") } }), a("el-option", { attrs: { value: "normal", label: t.$i18nt("gd.page.fixedPositioning", "\u56FA\u5B9A\u5B9A\u4F4D") } }), a("el-option", { attrs: { value: "normal", label: t.$i18nt("gd.page.viscousPositioning", "\u7C98\u6027\u5B9A\u4F4D") } })], 1)], 1) : t._e(), t.selectItem.customCss !== void 0 ? a("el-form-item", { attrs: { label: t.$i18nt("gd.page.customStyle", "\u81EA\u5B9A\u4E49\u6837\u5F0F") } }, [a("el-input", { attrs: { type: "textarea", rows: 3, placeholder: t.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165") }, model: { value: t.selectItem.customCss, callback: function(r) {
119428
119684
  t.$set(t.selectItem, "customCss", r);
@@ -119433,7 +119689,7 @@ var _sfc_render$1m = function s() {
119433
119689
  _sfc_staticRenderFns$1m,
119434
119690
  !1,
119435
119691
  null,
119436
- "4389801f",
119692
+ "37fad00e",
119437
119693
  null,
119438
119694
  null
119439
119695
  );
@@ -120328,7 +120584,7 @@ var _sfc_render$1e = function s() {
120328
120584
  null,
120329
120585
  null
120330
120586
  );
120331
- const ScreenUseView = __component__$1e.exports, propertiesRelevance_vue_vue_type_style_index_0_scoped_e95bc9bb_lang = "", _sfc_main$1d = {
120587
+ const ScreenUseView = __component__$1e.exports, propertiesRelevance_vue_vue_type_style_index_0_scoped_e39510ed_lang = "", _sfc_main$1d = {
120332
120588
  props: {
120333
120589
  selectItem: {
120334
120590
  type: Object,
@@ -120422,7 +120678,7 @@ const ScreenUseView = __component__$1e.exports, propertiesRelevance_vue_vue_type
120422
120678
  },
120423
120679
  getTypeof(s, t = "options") {
120424
120680
  const a = t === "options" ? this.options : this.selectItem;
120425
- return a === void 0 || a[s] === void 0 ? !1 : typeof a[s] < "u";
120681
+ return Object.keys(a).includes(s);
120426
120682
  },
120427
120683
  setFilter() {
120428
120684
  const s = this.options.filterConfig ? this.options.filterConfig : JSON.parse(JSON.stringify(this.plugFilters));
@@ -120489,7 +120745,7 @@ var _sfc_render$1d = function s() {
120489
120745
  _sfc_staticRenderFns$1d,
120490
120746
  !1,
120491
120747
  null,
120492
- "e95bc9bb",
120748
+ "e39510ed",
120493
120749
  null,
120494
120750
  null
120495
120751
  );
@@ -121475,7 +121731,7 @@ var _sfc_render$16 = function s() {
121475
121731
  null,
121476
121732
  null
121477
121733
  );
121478
- const generatorEcharts = __component__$16.exports, propertiesEcharts_vue_vue_type_style_index_0_scoped_6fb5b62b_lang = "", _sfc_main$15 = {
121734
+ const generatorEcharts = __component__$16.exports, propertiesEcharts_vue_vue_type_style_index_0_scoped_673f5fbf_lang = "", _sfc_main$15 = {
121479
121735
  props: {
121480
121736
  selectItem: {
121481
121737
  type: Object,
@@ -121510,7 +121766,7 @@ const generatorEcharts = __component__$16.exports, propertiesEcharts_vue_vue_typ
121510
121766
  table: s.table,
121511
121767
  echarts: { name: s.echartsData.name, id: String(s.echartsData.id), transKey: s.echartsData.transkey },
121512
121768
  view: s.viewData
121513
- }), this.list = [...this.echartsList], console.log(s);
121769
+ }), this.list = [...this.echartsList];
121514
121770
  }
121515
121771
  }
121516
121772
  };
@@ -121541,7 +121797,7 @@ var _sfc_render$15 = function s() {
121541
121797
  _sfc_staticRenderFns$15,
121542
121798
  !1,
121543
121799
  null,
121544
- "6fb5b62b",
121800
+ "673f5fbf",
121545
121801
  null,
121546
121802
  null
121547
121803
  );
@@ -121932,7 +122188,7 @@ var _sfc_render$14 = function s() {
121932
122188
  null,
121933
122189
  null
121934
122190
  );
121935
- const generatorTree = __component__$14.exports, propertiesTree_vue_vue_type_style_index_0_scoped_6e4e1e16_lang = "", _sfc_main$13 = {
122191
+ const generatorTree = __component__$14.exports, propertiesTree_vue_vue_type_style_index_0_scoped_d8cc96eb_lang = "", _sfc_main$13 = {
121936
122192
  props: {
121937
122193
  selectItem: {
121938
122194
  type: Object,
@@ -121951,7 +122207,7 @@ const generatorTree = __component__$14.exports, propertiesTree_vue_vue_type_styl
121951
122207
  components: { generatorTree },
121952
122208
  computed: {
121953
122209
  options() {
121954
- return console.log(this.selectItem.options), this.selectItem.options;
122210
+ return this.selectItem.options;
121955
122211
  },
121956
122212
  ...mapGetters(["tableLists"])
121957
122213
  },
@@ -121960,7 +122216,7 @@ const generatorTree = __component__$14.exports, propertiesTree_vue_vue_type_styl
121960
122216
  this.$refs.generatorTree.open();
121961
122217
  },
121962
122218
  save(s) {
121963
- this.viewTree = s, console.log(s);
122219
+ this.viewTree = s;
121964
122220
  },
121965
122221
  getList() {
121966
122222
  return this.spinning = !0, baseReference({
@@ -122008,11 +122264,11 @@ var _sfc_render$13 = function s() {
122008
122264
  _sfc_staticRenderFns$13,
122009
122265
  !1,
122010
122266
  null,
122011
- "6e4e1e16",
122267
+ "d8cc96eb",
122012
122268
  null,
122013
122269
  null
122014
122270
  );
122015
- const propertiesTress = __component__$13.exports, properties_vue_vue_type_style_index_0_scoped_e066d1f0_lang = "", _sfc_main$12 = {
122271
+ const propertiesTress = __component__$13.exports, properties_vue_vue_type_style_index_0_scoped_a0047090_lang = "", _sfc_main$12 = {
122016
122272
  props: {
122017
122273
  selectItem: {
122018
122274
  type: Object,
@@ -122194,7 +122450,7 @@ const propertiesTress = __component__$13.exports, properties_vue_vue_type_style_
122194
122450
  t.push({ name: r.languagename, val: r.description, code: r.languagecode });
122195
122451
  });
122196
122452
  let a = s.langs.filter((r) => r.languagecode == this.language)[0];
122197
- this.options.subtitle = a == null ? s.defaulttext : a.description, this.options.subtransKey = s.name, this.options.langs = t, this.data.addTransKey = this.data.addTransKey.concat([s.name]);
122453
+ this.options.subtitle = a == null ? s.defaulttext : a.description, this.options.subtransKey = s.name, this.options.langs = t, this.data.addTransKey !== void 0 && (this.data.addTransKey = this.data.addTransKey.concat([s.name]));
122198
122454
  },
122199
122455
  lookupSeled(s) {
122200
122456
  let t = [];
@@ -122202,7 +122458,7 @@ const propertiesTress = __component__$13.exports, properties_vue_vue_type_style_
122202
122458
  t.push({ name: r.languagename, val: r.description, code: r.languagecode });
122203
122459
  });
122204
122460
  let a = s.langs.filter((r) => r.languagecode == this.language)[0];
122205
- this.selectItem.type === "card" ? this.options.header = a == null ? s.defaulttext : a.description : ["divider", "title", "tag", "link"].includes(this.selectItem.type) ? this.options.title = a == null ? s.defaulttext : a.description : this.selectItem.label = a == null ? s.defaulttext : a.description, this.options.transKey = s.name, this.selectItem.langs = t, this.data.addTransKey = this.data.addTransKey.concat([s.name]);
122461
+ this.selectItem.type === "card" ? this.options.header = a == null ? s.defaulttext : a.description : ["divider", "title", "tag", "link", "textContent"].includes(this.selectItem.type) ? this.options.title = a == null ? s.defaulttext : a.description : this.selectItem.label = a == null ? s.defaulttext : a.description, this.options.transKey = s.name, this.selectItem.langs = t, this.data.addTransKey !== void 0 && (this.data.addTransKey = this.data.addTransKey.concat([s.name]));
122206
122462
  },
122207
122463
  changeColumnName(s) {
122208
122464
  if (!this.tableName)
@@ -122275,7 +122531,7 @@ const propertiesTress = __component__$13.exports, properties_vue_vue_type_style_
122275
122531
  if (["defaultValue", "min", "max"].includes(s) && ["inputNumber"].includes(this.selectItem.type) || s === "maxLength" && ["textarea", "input"].includes(this.selectItem.type))
122276
122532
  return !0;
122277
122533
  const a = t === "options" ? this.options : this.selectItem;
122278
- return a === void 0 || a[s] === void 0 ? !1 : typeof a[s] < "u";
122534
+ return Object.keys(a).includes(s);
122279
122535
  },
122280
122536
  getDictionary(s) {
122281
122537
  return this.$options.filters.dictData(s);
@@ -122436,13 +122692,17 @@ var _sfc_render$12 = function s() {
122436
122692
  t.$set(t.options, "tabPosition", r);
122437
122693
  }, expression: "options.tabPosition" } }, [a("el-option", { attrs: { value: "top", label: t.$i18nt("gd.page.tabTop", "\u9876\u90E8") } }), a("el-option", { attrs: { value: "right", label: t.$i18nt("gd.page.tabRight", "\u53F3\u8FB9") } }), a("el-option", { attrs: { value: "bottom", label: t.$i18nt("gd.page.tabBottom", "\u5E95\u90E8") } }), a("el-option", { attrs: { value: "left", label: t.$i18nt("gd.page.tabLeft", "\u5DE6\u8FB9") } })], 1)], 1) : t._e(), t.getTypeof("type") && t.selectItem.type == "tabs" ? a("el-form-item", { attrs: { label: t.$i18nt("gd.page.tabType", "\u9875\u7B7E\u7C7B\u578B") } }, [a("el-radio-group", { model: { value: t.options.type, callback: function(r) {
122438
122694
  t.$set(t.options, "type", r);
122439
- }, expression: "options.type" } }, [a("el-radio-button", { attrs: { label: "none" } }, [t._v(t._s(t.$i18nt("gd.page.tabLine", "\u7EBF\u6761")))]), a("el-radio-button", { attrs: { label: "border-card" } }, [t._v(t._s(t.$i18nt("gd.page.carding", "\u5361\u7247\u5316")))])], 1)], 1) : t._e(), t.getTypeof("flexWidth") ? a("el-form-item", { attrs: { label: t.$i18nt("gd.page.percentageOfWidth", "\u5BBD\u5EA6\u767E\u5206\u6BD4") } }, [a("el-slider", { staticStyle: { width: "90%" }, on: { change: t.handlChang }, model: { value: t.options.flexWidth, callback: function(r) {
122695
+ }, expression: "options.type" } }, [a("el-radio-button", { attrs: { label: "none" } }, [t._v(t._s(t.$i18nt("gd.page.tabLine", "\u7EBF\u6761")))]), a("el-radio-button", { attrs: { label: "border-card" } }, [t._v(t._s(t.$i18nt("gd.page.carding", "\u5361\u7247\u5316")))])], 1)], 1) : t._e(), t.getTypeof("flexWidth") ? a("el-form-item", { attrs: { label: t.$i18nt("gd.page.percentageOfWidth", "\u5BBD\u5EA6") } }, [a("el-slider", { staticStyle: { width: "90%" }, attrs: { min: 0, max: 1e3 }, on: { change: t.handlChang }, model: { value: t.options.flexWidth, callback: function(r) {
122696
+ t.$set(t.options, "flexWidth", r);
122697
+ }, expression: "options.flexWidth" } }), a("div", { staticClass: "operatorl-flexc" }, [a("el-input-number", { staticStyle: { width: "100%" }, attrs: { min: 0, max: 1e3, "controls-position": "right" }, model: { value: t.options.flexWidth, callback: function(r) {
122440
122698
  t.$set(t.options, "flexWidth", r);
122441
- }, expression: "options.flexWidth" } })], 1) : t._e(), t.getTypeof("residual") ? a("el-form-item", { attrs: { label: t.$i18nt("gd.page.residualProportion", "\u5269\u4F59\u5360\u6BD4") } }, [a("el-switch", { attrs: { "active-value": 1, "inactive-value": 0 }, model: { value: t.options.residual, callback: function(r) {
122699
+ }, expression: "options.flexWidth" } }), a("el-select", { staticStyle: { width: "60px" }, attrs: { placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9") }, model: { value: t.options.flexUnit, callback: function(r) {
122700
+ t.$set(t.options, "flexUnit", r);
122701
+ }, expression: "options.flexUnit" } }, [a("el-option", { attrs: { label: "px", value: "px" } }), a("el-option", { attrs: { label: "%", value: "%" } }), a("el-option", { attrs: { label: "auto", value: "auto" } })], 1)], 1)], 1) : t._e(), t.getTypeof("residual") ? a("el-form-item", { attrs: { label: t.$i18nt("gd.page.residualProportion", "\u5269\u4F59\u5360\u6BD4") } }, [a("el-switch", { attrs: { "active-value": 1, "inactive-value": 0 }, model: { value: t.options.residual, callback: function(r) {
122442
122702
  t.$set(t.options, "residual", r);
122443
122703
  }, expression: "options.residual" } })], 1) : t._e(), t.getTypeof("flexDirection") ? a("el-form-item", { attrs: { label: t.$i18nt("gd.page.arrangementDirection", "\u6392\u5217\u65B9\u5411") } }, [a("el-radio-group", { model: { value: t.options.flexDirection, callback: function(r) {
122444
122704
  t.$set(t.options, "flexDirection", r);
122445
- }, expression: "options.flexDirection" } }, [a("el-radio-button", { attrs: { label: "row" } }, [t._v(t._s(t.$i18nt("gd.page.horizontal", "\u6C34\u5E73")))]), a("el-radio-button", { attrs: { label: "column" } }, [t._v(t._s(t.$i18nt("gd.page.vertical", "\u5782\u76F4")))])], 1)], 1) : t._e(), t.getTypeof("justifyContent") ? a("el-form-item", { attrs: { label: t.$i18nt("gd.page.mainDrawAlignment", "\u4E3B\u62BD\u5BF9\u9F50") } }, [a("el-select", { attrs: { placeholder: "\u8BF7\u9009\u62E9" }, model: { value: t.options.justifyContent, callback: function(r) {
122705
+ }, expression: "options.flexDirection" } }, [a("el-radio-button", { attrs: { label: "row" } }, [t._v(t._s(t.$i18nt("gd.page.horizontal", "\u6C34\u5E73")))]), a("el-radio-button", { attrs: { label: "column" } }, [t._v(t._s(t.$i18nt("gd.page.vertical", "\u5782\u76F4")))])], 1)], 1) : t._e(), t.getTypeof("justifyContent") ? a("el-form-item", { attrs: { label: t.$i18nt("gd.page.mainDrawAlignment", "\u4E3B\u62BD\u5BF9\u9F50") } }, [a("el-select", { attrs: { placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9") }, model: { value: t.options.justifyContent, callback: function(r) {
122446
122706
  t.$set(t.options, "justifyContent", r);
122447
122707
  }, expression: "options.justifyContent" } }, [a("el-option", { attrs: { label: t.$i18nt("gd.page.startingPoint", "\u8D77\u70B9"), value: "flex-start" } }), a("el-option", { attrs: { label: t.$i18nt("gd.page.endPoint", "\u7EC8\u70B9"), value: "flex-end" } }), a("el-option", { attrs: { label: t.$i18nt("gd.page.center", "\u5C45\u4E2D"), value: "center" } }), a("el-option", { attrs: { label: t.$i18nt("gd.page.bothEnds", "\u4E24\u7AEF"), value: "space-between" } }), a("el-option", { attrs: { label: t.$i18nt("gd.page.twoSides", "\u4E24\u4FA7"), value: "space-around" } })], 1)], 1) : t._e(), t.getTypeof("alignItems") ? a("el-form-item", { attrs: { label: t.$i18nt("gd.page.crossAxisAlignment", "\u4EA4\u53C9\u8F74\u5BF9\u9F50") } }, [a("el-select", { attrs: { placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9") }, model: { value: t.options.alignItems, callback: function(r) {
122448
122708
  t.$set(t.options, "alignItems", r);
@@ -122499,7 +122759,7 @@ var _sfc_render$12 = function s() {
122499
122759
  _sfc_staticRenderFns$12,
122500
122760
  !1,
122501
122761
  null,
122502
- "e066d1f0",
122762
+ "a0047090",
122503
122763
  null,
122504
122764
  null
122505
122765
  );
@@ -125596,7 +125856,7 @@ var _sfc_render$S = function s() {
125596
125856
  null,
125597
125857
  null
125598
125858
  );
125599
- const relConfign1 = __component__$S.exports, main_vue_vue_type_style_index_0_scoped_f2e9f3c3_lang = "", _sfc_main$R = {
125859
+ const relConfign1 = __component__$S.exports, main_vue_vue_type_style_index_0_scoped_eee5ee07_lang = "", _sfc_main$R = {
125600
125860
  props: {
125601
125861
  height: {
125602
125862
  type: Number,
@@ -125651,18 +125911,18 @@ var _sfc_render$R = function s() {
125651
125911
  var t = this, a = t._self._c;
125652
125912
  return a("div", { staticClass: "ge-table-cig" }, [a("el-tabs", { on: { "tab-click": t.tabChange }, model: { value: t.activeName, callback: function(r) {
125653
125913
  t.activeName = r;
125654
- }, expression: "activeName" } }, [a("el-tab-pane", { attrs: { label: t.$i18nt("gd.table.view", "\u89C6\u56FE"), name: "view", lazy: !0 } }, [t.activeName === "view" ? a("viewConfig", { ref: "viewConfig", attrs: { activeName: t.activeName, height: t.getHeight, record: t.record } }) : t._e()], 1), a("el-tab-pane", { attrs: { label: t.$i18nt("gd.table.form", "\u8868\u5355"), name: "form", lazy: !0 } }, [t.activeName === "form" ? a("formConfig", { ref: "formConfig", attrs: { activeName: t.activeName, height: t.getHeight, record: t.record } }) : t._e()], 1), a("el-tab-pane", { attrs: { label: t.$i18nt("gd.table.echarts", "\u56FE\u8868"), name: "echarts", lazy: !0 } }, [t.activeName === "echarts" ? a("echartsConfig", { ref: "echartsConfig", attrs: { activeName: t.activeName, height: t.getHeight, record: t.record } }) : t._e()], 1), a("el-tab-pane", { attrs: { label: t.$i18nt("gd.table.button", "\u6309\u94AE"), name: "btn", lazy: !0 } }, [t.activeName === "btn" ? a("btnConfig", { ref: "btnConfig", attrs: { activeName: t.activeName, height: t.getHeight, record: t.record } }) : t._e()], 1), a("el-tab-pane", { attrs: { label: t.$i18nt("gd.table.relationship1n", "1:N\u5173\u7CFB"), name: "relation1n", lazy: !0 } }, [t.activeName === "relation1n" ? a("relConfig1n", { ref: "relation1nConfig", attrs: { activeName: t.activeName, height: t.getHeight, record: t.record } }) : t._e()], 1), a("el-tab-pane", { attrs: { label: t.$i18nt("gd.table.relationshipn1", "N:1\u5173\u7CFB"), name: "relationn1", lazy: !0 } }, [t.activeName === "relationn1" ? a("relConfign1", { ref: "relationn1Config", attrs: { activeName: t.activeName, height: t.getHeight, record: t.record } }) : t._e()], 1)], 1)], 1);
125914
+ }, expression: "activeName" } }, [a("el-tab-pane", { attrs: { label: t.$i18nt("gd.table.view", "\u89C6\u56FE"), name: "view", lazy: !0 } }, [t.activeName === "view" ? a("viewConfig", { ref: "viewConfig", attrs: { activeName: t.activeName, height: t.getHeight, record: t.record } }) : t._e()], 1), a("el-tab-pane", { attrs: { label: t.$i18nt("gd.table.form", "\u8868\u5355"), name: "form", lazy: !0 } }, [t.activeName === "form" ? a("formConfig", { ref: "formConfig", attrs: { activeName: t.activeName, height: t.getHeight, record: t.record } }) : t._e()], 1), a("el-tab-pane", { attrs: { label: t.$i18nt("gd.table.echarts", "\u56FE\u8868"), name: "echarts", lazy: !0 } }, [t.activeName === "echarts" ? a("echartsConfig", { ref: "echartsConfig", attrs: { activeName: t.activeName, height: t.getHeight, record: t.record } }) : t._e()], 1), a("el-tab-pane", { attrs: { label: t.$i18nt("gd.table.button", "\u6309\u94AE"), name: "btn", lazy: !0 } }, [t.activeName === "btn" ? a("btnConfig", { ref: "btnConfig", attrs: { activeName: t.activeName, height: t.getHeight, record: t.record } }) : t._e()], 1), t.record.isvirtualtable != 1 ? a("el-tab-pane", { attrs: { label: t.$i18nt("gd.table.relationship1n", "1:N\u5173\u7CFB"), name: "relation1n", lazy: !0 } }, [t.activeName === "relation1n" ? a("relConfig1n", { ref: "relation1nConfig", attrs: { activeName: t.activeName, height: t.getHeight, record: t.record } }) : t._e()], 1) : t._e(), t.record.isvirtualtable != 1 ? a("el-tab-pane", { attrs: { label: t.$i18nt("gd.table.relationshipn1", "N:1\u5173\u7CFB"), name: "relationn1", lazy: !0 } }, [t.activeName === "relationn1" ? a("relConfign1", { ref: "relationn1Config", attrs: { activeName: t.activeName, height: t.getHeight, record: t.record } }) : t._e()], 1) : t._e()], 1)], 1);
125655
125915
  }, _sfc_staticRenderFns$R = [], __component__$R = /* @__PURE__ */ normalizeComponent(
125656
125916
  _sfc_main$R,
125657
125917
  _sfc_render$R,
125658
125918
  _sfc_staticRenderFns$R,
125659
125919
  !1,
125660
125920
  null,
125661
- "f2e9f3c3",
125921
+ "eee5ee07",
125662
125922
  null,
125663
125923
  null
125664
125924
  );
125665
- const manage$1 = __component__$R.exports, tableDescriptions_vue_vue_type_style_index_0_scoped_29d452ae_lang = "", _sfc_main$Q = {
125925
+ const manage$1 = __component__$R.exports, tableDescriptions_vue_vue_type_style_index_0_scoped_049bd272_lang = "", _sfc_main$Q = {
125666
125926
  props: {
125667
125927
  tableButtons: {
125668
125928
  type: Array,
@@ -125679,34 +125939,65 @@ const manage$1 = __component__$R.exports, tableDescriptions_vue_vue_type_style_i
125679
125939
  }
125680
125940
  },
125681
125941
  data() {
125682
- return {};
125942
+ return {
125943
+ sysdatasource: "--",
125944
+ fkEntityName: "sys_datasource"
125945
+ };
125683
125946
  },
125684
125947
  computed: {
125948
+ virtualobjecttype() {
125949
+ const s = this.getDictionary("virtualobjecttype").filter((t) => t.code == this.record.virtualobjecttype)[0];
125950
+ return s ? this.$i18nt(`Dynamics.${s.transkey}`, s.name) : "";
125951
+ },
125685
125952
  style() {
125686
125953
  return `max-height: calc(${this.height}px - 60px);`;
125687
125954
  },
125688
125955
  ...mapGetters(["tableSize"])
125689
125956
  },
125690
125957
  methods: {
125958
+ init() {
125959
+ if (this.record.isvirtualtable != 1)
125960
+ return;
125961
+ let s = {
125962
+ id: this.record.sysdatasource,
125963
+ fkEntityName: this.fkEntityName
125964
+ };
125965
+ baseFkList(s).then((t) => {
125966
+ if (t.code === 200) {
125967
+ const a = t.data.filter((r) => r.id == this.record.sysdatasource)[0];
125968
+ this.sysdatasource = a ? a.name : "--";
125969
+ }
125970
+ });
125971
+ },
125691
125972
  doEvent(s) {
125692
125973
  this.$emit("functionName", s);
125974
+ },
125975
+ getDictionary(s) {
125976
+ return this.$options.filters.dictData(s);
125693
125977
  }
125978
+ },
125979
+ mounted() {
125980
+ this.$nextTick(() => {
125981
+ setTimeout(() => {
125982
+ this.init();
125983
+ }, 0);
125984
+ });
125694
125985
  }
125695
125986
  };
125696
125987
  var _sfc_render$Q = function s() {
125697
125988
  var t = this, a = t._self._c;
125698
- return a("div", { staticClass: "page-descriptions-item" }, [a("div", { staticClass: "descriptionst" }, [a("gd-btn-list", { attrs: { sysViewButtons: t.tableButtons }, on: { functionName: t.doEvent } })], 1), a("div", { staticClass: "descriptionsb", style: t.style }, [a("el-descriptions", { attrs: { column: 1, size: t.tableSize, border: "", direction: "vertical" } }, [a("el-descriptions-item", [a("template", { slot: "label" }, [t._v(" " + t._s(t.$i18nt("gd.table.businessName", "\u4E1A\u52A1\u540D")) + " ")]), t._v(" " + t._s(t.$i18nt(`Dynamics.${t.record.transkey}`, t.record.busname)) + " ")], 2), a("el-descriptions-item", [a("template", { slot: "label" }, [t._v(" " + t._s(t.$i18nt("gd.table.tableName", "\u8868\u540D\u79F0")) + " ")]), t._v(" " + t._s(t.record.tablename) + " ")], 2), a("el-descriptions-item", [a("template", { slot: "label" }, [t._v(" " + t._s(t.$i18nt("gd.table.authorName", "\u4F5C\u8005\u59D3\u540D")) + " ")]), t._v(" " + t._s(t.record.authorname) + " ")], 2)], 1), a("el-descriptions", { staticStyle: { "margin-top": "-1px" }, attrs: { column: 1, size: t.tableSize, border: "" } }, [a("el-descriptions-item", { attrs: { labelStyle: { width: "66%" }, contentStyle: { "text-align": "center" } } }, [a("template", { slot: "label" }, [t._v(" " + t._s(t.$i18nt("gd.table.isLocked", "\u662F\u5426\u9501\u5B9A")) + " ")]), t.record.islocked == 1 ? a("i", { staticClass: "gd-icons gd-icon-xuanzhong active-color", staticStyle: { "font-size": "18px" } }) : a("i", { staticClass: "gd-icons gd-icon-jinyong1", staticStyle: { "font-size": "20px", color: "#999" } })], 2), a("el-descriptions-item", { attrs: { contentStyle: { "text-align": "center" } } }, [a("template", { slot: "label" }, [t._v(" " + t._s(t.$i18nt("gd.table.allowNewField", "\u5B57\u6BB5\u65B0\u589E")) + " ")]), t.record.allownewfield == 1 ? a("i", { staticClass: "gd-icons gd-icon-xuanzhong active-color", staticStyle: { "font-size": "18px" } }) : a("i", { staticClass: "gd-icons gd-icon-jinyong1", staticStyle: { "font-size": "20px", color: "#999" } })], 2), a("el-descriptions-item", { attrs: { contentStyle: { "text-align": "center" } } }, [a("template", { slot: "label" }, [t._v(" " + t._s(t.$i18nt("gd.table.audit", "\u542F\u7528\u5BA1\u8BA1")) + " ")]), t.record.isaudit == 1 ? a("i", { staticClass: "gd-icons gd-icon-xuanzhong active-color", staticStyle: { "font-size": "18px" } }) : a("i", { staticClass: "gd-icons gd-icon-jinyong1", staticStyle: { "font-size": "20px", color: "#999" } })], 2), a("el-descriptions-item", { attrs: { contentStyle: { "text-align": "center" } } }, [a("template", { slot: "label" }, [t._v(" " + t._s(t.$i18nt("gd.table.plugIn", "\u542F\u7528\u63D2\u4EF6")) + " ")]), t.record.isplugIn == 1 ? a("i", { staticClass: "gd-icons gd-icon-xuanzhong active-color", staticStyle: { "font-size": "18px" } }) : a("i", { staticClass: "gd-icons gd-icon-jinyong1", staticStyle: { "font-size": "20px", color: "#999" } })], 2), a("el-descriptions-item", { attrs: { contentStyle: { "text-align": "center" } } }, [a("template", { slot: "label" }, [t._v(" " + t._s(t.$i18nt("gd.table.plugIn", "\u542F\u7528\u4EE3\u7406")) + " ")]), t.record.isagent == 1 ? a("i", { staticClass: "gd-icons gd-icon-xuanzhong active-color", staticStyle: { "font-size": "18px" } }) : a("i", { staticClass: "gd-icons gd-icon-jinyong1", staticStyle: { "font-size": "20px", color: "#999" } })], 2), a("el-descriptions-item", { attrs: { contentStyle: { "text-align": "center" } } }, [a("template", { slot: "label" }, [t._v(" " + t._s(t.$i18nt("gd.table.share", "\u542F\u7528\u5171\u4EAB")) + " ")]), t.record.isteam == 1 ? a("i", { staticClass: "gd-icons gd-icon-xuanzhong active-color", staticStyle: { "font-size": "18px" } }) : a("i", { staticClass: "gd-icons gd-icon-jinyong1", staticStyle: { "font-size": "20px", color: "#999" } })], 2), a("el-descriptions-item", { attrs: { contentStyle: { "text-align": "center" } } }, [a("template", { slot: "label" }, [t._v(" " + t._s(t.$i18nt("gd.table.approval", "\u542F\u7528\u5BA1\u6279")) + " ")]), t.record.isapproval == 1 ? a("i", { staticClass: "gd-icons gd-icon-xuanzhong active-color", staticStyle: { "font-size": "18px" } }) : a("i", { staticClass: "gd-icons gd-icon-jinyong1", staticStyle: { "font-size": "20px", color: "#999" } })], 2), a("el-descriptions-item", { attrs: { contentStyle: { "text-align": "center" } } }, [a("template", { slot: "label" }, [t._v(" " + t._s(t.$i18nt("gd.table.enableAdvancedLookup", "\u542F\u7528\u67E5\u627E")) + " ")]), t.record.isquery == 1 ? a("i", { staticClass: "gd-icons gd-icon-xuanzhong active-color", staticStyle: { "font-size": "18px" } }) : a("i", { staticClass: "gd-icons gd-icon-jinyong1", staticStyle: { "font-size": "20px", color: "#999" } })], 2), a("el-descriptions-item", { attrs: { contentStyle: { "text-align": "center" } } }, [a("template", { slot: "label" }, [t._v(" " + t._s(t.$i18nt("gd.table.enableReview", "\u542F\u7528\u67E5\u91CD")) + " ")]), t.record.ischeckduplicate == 1 ? a("i", { staticClass: "gd-icons gd-icon-xuanzhong active-color", staticStyle: { "font-size": "18px" } }) : a("i", { staticClass: "gd-icons gd-icon-jinyong1", staticStyle: { "font-size": "20px", color: "#999" } })], 2), a("el-descriptions-item", { attrs: { contentStyle: { "text-align": "center" } } }, [a("template", { slot: "label" }, [t._v(" " + t._s(t.$i18nt("gd.table.startBusinessProcess", "\u5F00\u542F\u4E1A\u52A1\u6D41\u7A0B")) + " ")]), t.record.isbusinessprocess == 1 ? a("i", { staticClass: "gd-icons gd-icon-xuanzhong active-color", staticStyle: { "font-size": "18px" } }) : a("i", { staticClass: "gd-icons gd-icon-jinyong1", staticStyle: { "font-size": "20px", color: "#999" } })], 2), a("el-descriptions-item", { attrs: { contentStyle: { "text-align": "center" } } }, [a("template", { attrs: { contentStyle: { "text-align": "center" } }, slot: "label" }, [t._v(" " + t._s(t.$i18nt("gd.table.mslaveSubmit", "\u4E3B\u4ECE\u63D0\u4EA4")) + " ")]), t.record.ischildagent == 1 ? a("i", { staticClass: "gd-icons gd-icon-xuanzhong active-color", staticStyle: { "font-size": "18px" } }) : a("i", { staticClass: "gd-icons gd-icon-jinyong1", staticStyle: { "font-size": "20px", color: "#999" } })], 2)], 1)], 1)]);
125989
+ return a("div", { staticClass: "page-descriptions-item" }, [a("div", { staticClass: "descriptionst" }, [a("gd-btn-list", { attrs: { sysViewButtons: t.tableButtons }, on: { functionName: t.doEvent } })], 1), a("div", { staticClass: "descriptionsb", style: t.style }, [a("el-descriptions", { attrs: { column: 1, size: t.tableSize, border: "", direction: "vertical" } }, [a("el-descriptions-item", [a("template", { slot: "label" }, [t._v(" " + t._s(t.$i18nt("gd.table.businessName", "\u4E1A\u52A1\u540D")) + " ")]), t._v(" " + t._s(t.$i18nt(`Dynamics.${t.record.transkey}`, t.record.busname)) + " ")], 2), a("el-descriptions-item", [a("template", { slot: "label" }, [t._v(" " + t._s(t.$i18nt("gd.table.tableName", "\u8868\u540D\u79F0")) + " ")]), t._v(" " + t._s(t.record.tablename) + " ")], 2), a("el-descriptions-item", [a("template", { slot: "label" }, [t._v(" " + t._s(t.$i18nt("gd.table.authorName", "\u4F5C\u8005\u59D3\u540D")) + " ")]), t._v(" " + t._s(t.record.authorname) + " ")], 2)], 1), t.record.isvirtualtable == 1 ? [a("el-descriptions", { staticStyle: { "margin-top": "-1px" }, attrs: { column: 1, size: t.tableSize, border: "" } }, [a("el-descriptions-item", { attrs: { labelStyle: { width: "66%" }, contentStyle: { "text-align": "center" } } }, [a("template", { slot: "label" }, [t._v(" " + t._s(t.$i18nt("gd.table.virtualTable", "\u865A\u62DF\u8868")) + " ")]), t.record.isvirtualtable == 1 ? a("i", { staticClass: "gd-icons gd-icon-xuanzhong active-color", staticStyle: { "font-size": "18px" } }) : a("i", { staticClass: "gd-icons gd-icon-jinyong1", staticStyle: { "font-size": "20px", color: "#999" } })], 2)], 1), a("el-descriptions", { staticStyle: { "margin-top": "-1px" }, attrs: { column: 1, size: t.tableSize, border: "", direction: "vertical" } }, [a("el-descriptions-item", [a("template", { slot: "label" }, [t._v(" " + t._s(t.$i18nt("gd.table.dataSource", "\u6570\u636E\u6E90")) + " ")]), t._v(" " + t._s(t.sysdatasource) + " ")], 2), a("el-descriptions-item", [a("template", { slot: "label" }, [t._v(" " + t._s(t.$i18nt("gd.table.virtualObjectType", "\u865A\u62DF\u5BF9\u8C61\u7C7B\u578B")) + " ")]), t._v(" " + t._s(t.virtualobjecttype) + " ")], 2)], 1)] : a("el-descriptions", { staticStyle: { "margin-top": "-1px" }, attrs: { column: 1, size: t.tableSize, border: "" } }, [a("el-descriptions-item", { attrs: { labelStyle: { width: "66%" }, contentStyle: { "text-align": "center" } } }, [a("template", { slot: "label" }, [t._v(" " + t._s(t.$i18nt("gd.table.virtualTable", "\u865A\u62DF\u8868")) + " ")]), t.record.isvirtualtable == 1 ? a("i", { staticClass: "gd-icons gd-icon-xuanzhong active-color", staticStyle: { "font-size": "18px" } }) : a("i", { staticClass: "gd-icons gd-icon-jinyong1", staticStyle: { "font-size": "20px", color: "#999" } })], 2), a("el-descriptions-item", { attrs: { labelStyle: { width: "66%" }, contentStyle: { "text-align": "center" } } }, [a("template", { slot: "label" }, [t._v(" " + t._s(t.$i18nt("gd.table.isLocked", "\u662F\u5426\u9501\u5B9A")) + " ")]), t.record.islocked == 1 ? a("i", { staticClass: "gd-icons gd-icon-xuanzhong active-color", staticStyle: { "font-size": "18px" } }) : a("i", { staticClass: "gd-icons gd-icon-jinyong1", staticStyle: { "font-size": "20px", color: "#999" } })], 2), a("el-descriptions-item", { attrs: { contentStyle: { "text-align": "center" } } }, [a("template", { slot: "label" }, [t._v(" " + t._s(t.$i18nt("gd.table.allowNewField", "\u5B57\u6BB5\u65B0\u589E")) + " ")]), t.record.allownewfield == 1 ? a("i", { staticClass: "gd-icons gd-icon-xuanzhong active-color", staticStyle: { "font-size": "18px" } }) : a("i", { staticClass: "gd-icons gd-icon-jinyong1", staticStyle: { "font-size": "20px", color: "#999" } })], 2), a("el-descriptions-item", { attrs: { contentStyle: { "text-align": "center" } } }, [a("template", { slot: "label" }, [t._v(" " + t._s(t.$i18nt("gd.table.audit", "\u542F\u7528\u5BA1\u8BA1")) + " ")]), t.record.isaudit == 1 ? a("i", { staticClass: "gd-icons gd-icon-xuanzhong active-color", staticStyle: { "font-size": "18px" } }) : a("i", { staticClass: "gd-icons gd-icon-jinyong1", staticStyle: { "font-size": "20px", color: "#999" } })], 2), a("el-descriptions-item", { attrs: { contentStyle: { "text-align": "center" } } }, [a("template", { slot: "label" }, [t._v(" " + t._s(t.$i18nt("gd.table.plugIn", "\u542F\u7528\u63D2\u4EF6")) + " ")]), t.record.isplugIn == 1 ? a("i", { staticClass: "gd-icons gd-icon-xuanzhong active-color", staticStyle: { "font-size": "18px" } }) : a("i", { staticClass: "gd-icons gd-icon-jinyong1", staticStyle: { "font-size": "20px", color: "#999" } })], 2), a("el-descriptions-item", { attrs: { contentStyle: { "text-align": "center" } } }, [a("template", { slot: "label" }, [t._v(" " + t._s(t.$i18nt("gd.table.plugIn", "\u542F\u7528\u4EE3\u7406")) + " ")]), t.record.isagent == 1 ? a("i", { staticClass: "gd-icons gd-icon-xuanzhong active-color", staticStyle: { "font-size": "18px" } }) : a("i", { staticClass: "gd-icons gd-icon-jinyong1", staticStyle: { "font-size": "20px", color: "#999" } })], 2), a("el-descriptions-item", { attrs: { contentStyle: { "text-align": "center" } } }, [a("template", { slot: "label" }, [t._v(" " + t._s(t.$i18nt("gd.table.share", "\u542F\u7528\u5171\u4EAB")) + " ")]), t.record.isteam == 1 ? a("i", { staticClass: "gd-icons gd-icon-xuanzhong active-color", staticStyle: { "font-size": "18px" } }) : a("i", { staticClass: "gd-icons gd-icon-jinyong1", staticStyle: { "font-size": "20px", color: "#999" } })], 2), a("el-descriptions-item", { attrs: { contentStyle: { "text-align": "center" } } }, [a("template", { slot: "label" }, [t._v(" " + t._s(t.$i18nt("gd.table.approval", "\u542F\u7528\u5BA1\u6279")) + " ")]), t.record.isapproval == 1 ? a("i", { staticClass: "gd-icons gd-icon-xuanzhong active-color", staticStyle: { "font-size": "18px" } }) : a("i", { staticClass: "gd-icons gd-icon-jinyong1", staticStyle: { "font-size": "20px", color: "#999" } })], 2), a("el-descriptions-item", { attrs: { contentStyle: { "text-align": "center" } } }, [a("template", { slot: "label" }, [t._v(" " + t._s(t.$i18nt("gd.table.enableAdvancedLookup", "\u542F\u7528\u67E5\u627E")) + " ")]), t.record.isquery == 1 ? a("i", { staticClass: "gd-icons gd-icon-xuanzhong active-color", staticStyle: { "font-size": "18px" } }) : a("i", { staticClass: "gd-icons gd-icon-jinyong1", staticStyle: { "font-size": "20px", color: "#999" } })], 2), a("el-descriptions-item", { attrs: { contentStyle: { "text-align": "center" } } }, [a("template", { slot: "label" }, [t._v(" " + t._s(t.$i18nt("gd.table.enableReview", "\u542F\u7528\u67E5\u91CD")) + " ")]), t.record.ischeckduplicate == 1 ? a("i", { staticClass: "gd-icons gd-icon-xuanzhong active-color", staticStyle: { "font-size": "18px" } }) : a("i", { staticClass: "gd-icons gd-icon-jinyong1", staticStyle: { "font-size": "20px", color: "#999" } })], 2), a("el-descriptions-item", { attrs: { contentStyle: { "text-align": "center" } } }, [a("template", { slot: "label" }, [t._v(" " + t._s(t.$i18nt("gd.table.startBusinessProcess", "\u5F00\u542F\u4E1A\u52A1\u6D41\u7A0B")) + " ")]), t.record.isbusinessprocess == 1 ? a("i", { staticClass: "gd-icons gd-icon-xuanzhong active-color", staticStyle: { "font-size": "18px" } }) : a("i", { staticClass: "gd-icons gd-icon-jinyong1", staticStyle: { "font-size": "20px", color: "#999" } })], 2), a("el-descriptions-item", { attrs: { contentStyle: { "text-align": "center" } } }, [a("template", { attrs: { contentStyle: { "text-align": "center" } }, slot: "label" }, [t._v(" " + t._s(t.$i18nt("gd.table.mslaveSubmit", "\u4E3B\u4ECE\u63D0\u4EA4")) + " ")]), t.record.ischildagent == 1 ? a("i", { staticClass: "gd-icons gd-icon-xuanzhong active-color", staticStyle: { "font-size": "18px" } }) : a("i", { staticClass: "gd-icons gd-icon-jinyong1", staticStyle: { "font-size": "20px", color: "#999" } })], 2)], 1)], 2)]);
125699
125990
  }, _sfc_staticRenderFns$Q = [], __component__$Q = /* @__PURE__ */ normalizeComponent(
125700
125991
  _sfc_main$Q,
125701
125992
  _sfc_render$Q,
125702
125993
  _sfc_staticRenderFns$Q,
125703
125994
  !1,
125704
125995
  null,
125705
- "29d452ae",
125996
+ "049bd272",
125706
125997
  null,
125707
125998
  null
125708
125999
  );
125709
- const tableDescriptions = __component__$Q.exports, main_vue_vue_type_style_index_0_scoped_ef1e2246_lang = "", _sfc_main$P = {
126000
+ const tableDescriptions = __component__$Q.exports, main_vue_vue_type_style_index_0_scoped_92dcedf3_lang = "", _sfc_main$P = {
125710
126001
  mixins: [tablesFilter, mixins$i],
125711
126002
  props: {
125712
126003
  mode: {
@@ -125732,12 +126023,22 @@ const tableDescriptions = __component__$Q.exports, main_vue_vue_type_style_index
125732
126023
  tableNameData: [],
125733
126024
  numberRulesData: [],
125734
126025
  numberNoRulesData: [],
126026
+ virtualFieldsList: [],
125735
126027
  fetching: !1,
125736
- isLocked: 100
126028
+ isLocked: 100,
126029
+ openManage: !1
125737
126030
  };
125738
126031
  },
125739
126032
  components: { manage: manage$1, tableDescriptions },
125740
126033
  computed: {
126034
+ getEffectList() {
126035
+ const s = this.record.isvirtualtable == 1 ? "virtual_table_effect_type" : "code_gen_effect_type";
126036
+ return this.getDictionary(s);
126037
+ },
126038
+ getTableColumns() {
126039
+ const s = this.record.isvirtualtable == 1 ? ["fkEntityName", "defaultType", "sysNumberRulesId", "isAudit", "isSecurity", "isNull"] : ["virtualcolumn", "isprimarykey"];
126040
+ return this.tableColumns.filter((a) => !s.includes(a.prop));
126041
+ },
125741
126042
  stylep() {
125742
126043
  return this.mode == "page" ? "" : "padding:12px 12px 0 12px;";
125743
126044
  },
@@ -125764,6 +126065,12 @@ const tableDescriptions = __component__$Q.exports, main_vue_vue_type_style_index
125764
126065
  ...mapGetters(["tablePageSize", "tableSize", "screenHeight", "labelPosition", "formMode", "tableLists"])
125765
126066
  },
125766
126067
  methods: {
126068
+ changePrimaryKey(s, t) {
126069
+ let a = this.$refs.table.tableData;
126070
+ a.forEach((r, o) => {
126071
+ a[o].isprimarykey = t.id === r.id;
126072
+ }), this.$refs.table.tableData = [...a];
126073
+ },
125767
126074
  lookupSeled(s, t) {
125768
126075
  t.columncomment = s.defaulttext;
125769
126076
  },
@@ -125792,7 +126099,13 @@ const tableDescriptions = __component__$Q.exports, main_vue_vue_type_style_index
125792
126099
  (u.id ? String(u.id).split("u") : []).length > 1 && d.set("id", 0);
125793
126100
  for (const h in u)
125794
126101
  u[h] === !0 && d.set(h, "Y"), u[h] === !1 && d.set(h, "N");
125795
- ["about", "participants"].includes(u.effecttype) && d.set("fkentityname", u.fkentitynamed.join(",")), ["inputnumber"].includes(u.effecttype) && d.set("nettype", u.filedsize == 32 ? "int" : "long"), r.push(Object.assign({ ...u }, Object.fromEntries(d), { tableNameData: void 0, numberRulesData: void 0 }));
126102
+ ["about", "participants"].includes(u.effecttype) && d.set("fkentityname", u.fkentitynamed.join(",")), ["inputnumber"].includes(u.effecttype) && d.set("nettype", u.filedsize == 32 ? "int" : "long"), r.push(
126103
+ Object.assign({ ...u }, Object.fromEntries(d), {
126104
+ tableNameData: void 0,
126105
+ numberRulesData: void 0,
126106
+ isprimarykey: u.isprimarykey ? 1 : 0
126107
+ })
126108
+ );
125796
126109
  }
125797
126110
  const o = this.$message({
125798
126111
  message: this.$i18nt("gd.https.Loading", "\u52A0\u8F7D\u4E2D..."),
@@ -125820,7 +126133,7 @@ const tableDescriptions = __component__$Q.exports, main_vue_vue_type_style_index
125820
126133
  effecttype: "input",
125821
126134
  fkcolumnname: null,
125822
126135
  fkcolumnnettype: null,
125823
- fkentityname: void 0,
126136
+ fkentityname: "",
125824
126137
  fkentitynamed: [],
125825
126138
  filedstatic: 0,
125826
126139
  issynchronous: 1,
@@ -125846,9 +126159,11 @@ const tableDescriptions = __component__$Q.exports, main_vue_vue_type_style_index
125846
126159
  filedsize: 255,
125847
126160
  tablenamedata: this.tableNameData,
125848
126161
  numberrulesdata: this.numberNoRulesData.filter((a) => !t.includes(a.id)),
125849
- defaulttype: void 0,
126162
+ defaulttype: "",
125850
126163
  islocked: 0,
125851
- disabled: !1
126164
+ disabled: !1,
126165
+ virtualcolumn: "",
126166
+ isprimarykey: !1
125852
126167
  }), this.dataSource = [...s], this.$refs.table.setLoadData(s);
125853
126168
  },
125854
126169
  rowClassName({ row: s, rowIndex: t }) {
@@ -125870,7 +126185,7 @@ const tableDescriptions = __component__$Q.exports, main_vue_vue_type_style_index
125870
126185
  let r = [...this.dataSource], o = this.numberRulesData.filter((u) => u.columnid == null && u.syscodegenid == null), l = [];
125871
126186
  r.map((u) => {
125872
126187
  let f = this.numberRulesData.filter((p) => p.id == u.sysnumberrulesid), h = o.filter((p) => p.id != u.sysnumberrulesid);
125873
- return u.tablenamedata = this.tableNameData, u.defaulttype = u.defaulttype ? String(u.defaulttype) : void 0, u.isaudit = u.isaudit == 1, u.numberrulesdata = f.concat(h), u.sysnumberrulesid = u.sysnumberrulesid ? u.sysnumberrulesid : void 0, u.sysnumberrulesid && l.push(u.sysnumberrulesid), u.effecttype == "inputnumber" && u.filedsize != 32 && u.filedsize != 64 && (u.filedsize = 32), u.disabled = u.islocked == 1, u;
126188
+ return u.tablenamedata = this.tableNameData, u.defaulttype = u.defaulttype ? String(u.defaulttype) : "", u.isprimarykey = u.isprimarykey == 1, u.numberrulesdata = f.concat(h), u.sysnumberrulesid = u.sysnumberrulesid ? u.sysnumberrulesid : "", u.sysnumberrulesid && l.push(u.sysnumberrulesid), u.effecttype == "inputnumber" && u.filedsize != 32 && u.filedsize != 64 && (u.filedsize = 32), u.disabled = u.islocked == 1, u;
125874
126189
  });
125875
126190
  let d = this.numberRulesData.filter((u) => l.includes(u.id));
125876
126191
  this.numberNoRulesData = o.concat(d), this.dataSource = [...r], this.loading = !1, s({ pageNo: 1, pageSize: 40, totalRows: 0, rows: this.dataSource });
@@ -125878,7 +126193,7 @@ const tableDescriptions = __component__$Q.exports, main_vue_vue_type_style_index
125878
126193
  });
125879
126194
  },
125880
126195
  init(s) {
125881
- this.record = s, this.$nextTick(() => {
126196
+ this.record = s, this.openManage = !0, this.getVirtualFields(), this.$nextTick(() => {
125882
126197
  setTimeout(() => {
125883
126198
  this.$refs.table.refresh();
125884
126199
  }, 0);
@@ -125894,6 +126209,11 @@ const tableDescriptions = __component__$Q.exports, main_vue_vue_type_style_index
125894
126209
  }), this.dataSource = [...t];
125895
126210
  });
125896
126211
  },
126212
+ getVirtualFields() {
126213
+ (this.record.isvirtualtable !== void 0 ? this.record.isvirtualtable : 0) == 1 && sysDataSourceColumns({ dataSourceId: this.record.sysdatasource, tableName: this.record.virtualobject }).then((t) => {
126214
+ t.code === 200 && (this.virtualFieldsList = t.data.map((a) => (a.label = a.columndescription !== "" ? `${a.columnname} (${a.columndescription})` : a.columnname, a)));
126215
+ });
126216
+ },
125897
126217
  getDetail() {
125898
126218
  codeGenerateGetDetail({
125899
126219
  id: this.record.id
@@ -126038,10 +126358,16 @@ const tableDescriptions = __component__$Q.exports, main_vue_vue_type_style_index
126038
126358
  };
126039
126359
  var _sfc_render$P = function s() {
126040
126360
  var t = this, a = t._self._c;
126041
- return a("div", { staticClass: "gd-page-view", staticStyle: { position: "absolute", top: "0", "z-index": "8", left: "0", right: "0", bottom: "0", background: "#fff" }, style: t.stylep }, [a("div", { staticStyle: { display: "flex", background: "#f5f5f5" }, style: t.styleh }, [a("div", { directives: [{ name: "loading", rawName: "v-loading", value: t.loading, expression: "loading" }], staticClass: "page-view-descriptions", attrs: { "element-loading-spinner": "el-icon-loading active-color" } }, [a("tableDescriptions", { attrs: { record: t.record, tableButtons: t.tableButtons, height: t.height }, on: { functionName: t.functionName } })], 1), a("div", { directives: [{ name: "loading", rawName: "v-loading", value: t.formLoading, expression: "formLoading" }], staticClass: "page-view-list", staticStyle: { padding: "0 12px 0 12px", "overflow-y": "auto", "margin-right": "-12px" }, attrs: { "element-loading-spinner": "el-icon-loading" } }, [a("gd-table-virtual", { ref: "table", attrs: { dataSource: t.loadData, size: t.tableSize, pageSize: t.tablePageSize, columns: t.tableColumns, height: t.getHeight, showPagination: !1, initialLoading: !1, rowClassName: t.rowClassName, rowHeight: 56 }, scopedSlots: t._u([{ key: "handle", fn: function({ column: r, row: o, index: l }) {
126361
+ return a("div", { staticClass: "gd-page-view", staticStyle: { position: "absolute", top: "0", "z-index": "8", left: "0", right: "0", bottom: "0", background: "#fff" }, style: t.stylep }, [a("div", { staticStyle: { display: "flex", background: "#f5f5f5" }, style: t.styleh }, [a("div", { directives: [{ name: "loading", rawName: "v-loading", value: t.loading, expression: "loading" }], staticClass: "page-view-descriptions", attrs: { "element-loading-spinner": "el-icon-loading active-color" } }, [a("tableDescriptions", { attrs: { record: t.record, tableButtons: t.tableButtons, height: t.height }, on: { functionName: t.functionName } })], 1), a("div", { directives: [{ name: "loading", rawName: "v-loading", value: t.formLoading, expression: "formLoading" }], staticClass: "page-view-list", staticStyle: { padding: "0 12px 0 12px", "overflow-y": "auto", "margin-right": "-12px" }, attrs: { "element-loading-spinner": "el-icon-loading" } }, [t.openManage ? a("gd-table-virtual", { ref: "table", attrs: { dataSource: t.loadData, size: t.tableSize, pageSize: t.tablePageSize, columns: t.getTableColumns, height: t.getHeight, showPagination: !1, initialLoading: !1, rowClassName: t.rowClassName, rowHeight: 56 }, scopedSlots: t._u([{ key: "handle", fn: function({ column: r, row: o, index: l }) {
126042
126362
  return [o.islocked == 1 ? a("i", { staticClass: "el-icon-lock", staticStyle: { color: "#c0c4cc", "font-size": "20px", cursor: "not-allowed" } }) : a("el-popconfirm", { attrs: { "confirm-button-text": t.$i18nt("gd.btn.confirm", "\u786E\u8BA4"), "cancel-button-text": t.$i18nt("gd.btn.cancel", "\u53D6\u6D88"), icon: "el-icon-warning", "icon-color": "#faad14", title: t.$i18nt("https.delContent", "\u662F\u5426\u5220\u9664\u9009\u4E2D\u6570\u636E?") }, on: { confirm: function(d) {
126043
126363
  return t.confirmDel({ column: r, row: o, index: l });
126044
126364
  } } }, [a("el-button", { attrs: { slot: "reference", type: "text" }, slot: "reference" }, [a("i", { staticClass: "el-icon-delete", staticStyle: { color: "#f00", "font-size": "20px" } })])], 1)];
126365
+ } }, { key: "virtualcolumn", fn: function({ column: r, row: o }) {
126366
+ return [a("el-select", { staticStyle: { width: "100%" }, attrs: { filterable: "", "reserve-keyword": "", size: "mini", disabled: !o.isnew }, model: { value: o.virtualcolumn, callback: function(l) {
126367
+ t.$set(o, "virtualcolumn", l);
126368
+ }, expression: "row.virtualcolumn" } }, [t._l(t.virtualFieldsList, function(l) {
126369
+ return [a("el-option", { attrs: { label: l.label, value: l.columnname } })];
126370
+ })], 2)];
126045
126371
  } }, { key: "columnName", fn: function({ column: r, row: o }) {
126046
126372
  return [a("el-input", { attrs: { disabled: !o.isnew, size: "mini" }, model: { value: o.columnname, callback: function(l) {
126047
126373
  t.$set(o, "columnname", l);
@@ -126053,7 +126379,7 @@ var _sfc_render$P = function s() {
126053
126379
  } }, { key: "effectType", fn: function({ column: r, row: o, index: l }) {
126054
126380
  return [a("el-select", { staticStyle: { width: "100%" }, attrs: { disabled: !o.isnew, size: "mini" }, on: { change: (d) => t.effectTypeChange(d, { column: r, row: o, index: l }) }, model: { value: o.effecttype, callback: function(d) {
126055
126381
  t.$set(o, "effecttype", d);
126056
- }, expression: "row.effecttype" } }, t._l(t.getDictionary("code_gen_effect_type"), function(d) {
126382
+ }, expression: "row.effecttype" } }, t._l(t.getEffectList, function(d) {
126057
126383
  return a("el-option", { key: d.code, attrs: { label: t.$i18nt(`Dynamics.${d.transkey}`, d.name), value: d.code } });
126058
126384
  }), 1)];
126059
126385
  } }, { key: "dictTypeCode", fn: function({ column: r, row: o }) {
@@ -126118,22 +126444,26 @@ var _sfc_render$P = function s() {
126118
126444
  return [a("el-checkbox", { attrs: { disabled: o.disabled }, model: { value: o.isaudit, callback: function(l) {
126119
126445
  t.$set(o, "isaudit", l);
126120
126446
  }, expression: "row.isaudit" } })];
126447
+ } }, { key: "isprimarykey", fn: function({ column: r, row: o }) {
126448
+ return [a("el-checkbox", { attrs: { disabled: o.disabled }, on: { change: (l) => t.changePrimaryKey(l, o) }, model: { value: o.isprimarykey, callback: function(l) {
126449
+ t.$set(o, "isprimarykey", l);
126450
+ }, expression: "row.isprimarykey" } })];
126121
126451
  } }, { key: "operator", fn: function() {
126122
126452
  return [a("div", { staticClass: "gd-table-operator" }, [a("div", { staticClass: "gd-table-operatorls" }, [a("el-radio-group", { model: { value: t.isLocked, callback: function(r) {
126123
126453
  t.isLocked = r;
126124
126454
  }, expression: "isLocked" } }, [a("el-radio-button", { attrs: { label: 100 } }, [t._v(t._s(t.$i18nt("gd.field.whole", "\u5168\u90E8")))]), a("el-radio-button", { attrs: { label: 0 } }, [t._v(t._s(t.$i18nt("gd.field.unlocked", "\u672A\u9501\u5B9A")))])], 1)], 1), a("div", { staticClass: "gd-table-operatorr" }, [a("gd-btn-list", { attrs: { sysViewButtons: t.formButtons }, on: { functionName: t.doEvent } })], 1)])];
126125
- }, proxy: !0 }]) }), a("manage", { ref: "manage", attrs: { record: t.record, height: t.mode === "page" ? t.getHeightd : t.getHeightd + 60, maxHeigh: t.height } })], 1)])]);
126455
+ }, proxy: !0 }], null, !1, 3726976262) }) : t._e(), a("manage", { ref: "manage", attrs: { record: t.record, height: t.mode === "page" ? t.getHeightd : t.getHeightd + 60, maxHeigh: t.height } })], 1)])]);
126126
126456
  }, _sfc_staticRenderFns$P = [], __component__$P = /* @__PURE__ */ normalizeComponent(
126127
126457
  _sfc_main$P,
126128
126458
  _sfc_render$P,
126129
126459
  _sfc_staticRenderFns$P,
126130
126460
  !1,
126131
126461
  null,
126132
- "ef1e2246",
126462
+ "92dcedf3",
126133
126463
  null,
126134
126464
  null
126135
126465
  );
126136
- const fkConfig = __component__$P.exports, main_vue_vue_type_style_index_0_scoped_4c93cfc3_lang = "", _sfc_main$O = {
126466
+ const fkConfig = __component__$P.exports, main_vue_vue_type_style_index_0_scoped_98923686_lang = "", _sfc_main$O = {
126137
126467
  name: "GdTableDevelopment",
126138
126468
  props: {
126139
126469
  mode: {
@@ -126153,6 +126483,7 @@ const fkConfig = __component__$P.exports, main_vue_vue_type_style_index_0_scoped
126153
126483
  formLoading: !1,
126154
126484
  viewsLoading: !1,
126155
126485
  formsLoading: !1,
126486
+ datasourceLoading: !1,
126156
126487
  loading: !1,
126157
126488
  selectedRowKeys: [],
126158
126489
  selectedRows: [],
@@ -126161,13 +126492,33 @@ const fkConfig = __component__$P.exports, main_vue_vue_type_style_index_0_scoped
126161
126492
  selItemData: {},
126162
126493
  openManage: !1,
126163
126494
  formWebList: [],
126164
- viewWebList: []
126495
+ viewWebList: [],
126496
+ datasourceList: [],
126497
+ fkEntityName: "sys_datasource",
126498
+ isVirtualTable: 2
126165
126499
  };
126166
126500
  },
126167
126501
  components: { fkConfig },
126168
126502
  computed: {
126503
+ getHideColumns() {
126504
+ let s = [];
126505
+ return this.isVirtualTable === 1 ? s = [
126506
+ "isaudit",
126507
+ "isplugin",
126508
+ "isagent",
126509
+ "isteam",
126510
+ "isapproval",
126511
+ "allownewfield",
126512
+ "isquery",
126513
+ "ischeckduplicate",
126514
+ "isbusinessprocess",
126515
+ "ischildagent",
126516
+ "sys_accessteamtemplateid",
126517
+ "connectiontable"
126518
+ ] : this.isVirtualTable === 0 && (s = ["sysdatasource", "virtualobjecttype", "virtualobject"]), s;
126519
+ },
126169
126520
  getFormColumns() {
126170
- return this.formColumns.filter((t) => (t.disabled = !1, this.selItemData.id !== void 0 && this.selItemData.islocked == 1 ? t.disabled = t.label !== "\u662F\u5426\u4E3B\u4ECE\u63D0\u4EA4" : this.selItemData.id !== void 0 && this.selItemData.islocked != 1 && (t.disabled = t.label === "\u8868\u540D\u79F0"), ["\u5B57\u6BB5\u65B0\u589E", "\u8BBF\u95EE\u56E2\u961F\u6A21\u677F", "\u8FDE\u63A5\u8868"].includes(t.label) && (t.disabled = !0), !0));
126521
+ return this.formColumns.filter((t) => (t.disabled = !1, this.selItemData.id !== void 0 && this.selItemData.islocked == 1 ? t.disabled = t.label !== "\u662F\u5426\u4E3B\u4ECE\u63D0\u4EA4" : this.selItemData.id !== void 0 && this.selItemData.islocked != 1 && (t.disabled = t.label === "\u8868\u540D\u79F0"), ["\u5B57\u6BB5\u65B0\u589E", "\u8BBF\u95EE\u56E2\u961F\u6A21\u677F", "\u8FDE\u63A5\u8868"].includes(t.label) && (t.disabled = !0), this.selItemData.id !== void 0 && ["\u865A\u62DF\u8868"].includes(t.label) && (t.disabled = !0), !this.getHideColumns.includes(t.prop)));
126171
126522
  },
126172
126523
  styled() {
126173
126524
  return this.openManage ? "padding: 0px 0px 0px 0px;z-index:7;" : "padding: 0px 0px 0px 0px;";
@@ -126178,9 +126529,21 @@ const fkConfig = __component__$P.exports, main_vue_vue_type_style_index_0_scoped
126178
126529
  stylep() {
126179
126530
  return this.mode == "page" ? "" : "padding:12px 12px 12px 12px;background: #fff;";
126180
126531
  },
126181
- ...mapGetters(["tablePageSize", "tableSize", "screenHeight", "labelPosition", "formMode"])
126532
+ ...mapGetters(["tablePageSize", "tableSize", "screenHeight", "labelPosition", "formMode", "primaryColor"])
126182
126533
  },
126183
126534
  methods: {
126535
+ lookup(s, t) {
126536
+ const a = s[t.prop];
126537
+ this.$refs.viewSearch.open({
126538
+ fkEntityName: "DataSource",
126539
+ effectType: t.effectType,
126540
+ val: a || ""
126541
+ });
126542
+ },
126543
+ lookupSeledfk(s) {
126544
+ const t = s.data[0] ? s.data[0] : "";
126545
+ this.$refs.editForm.setData({ sysdatasource: String(t) }), this.datasourceList = s.fkData;
126546
+ },
126184
126547
  lookupSeled(s, t, a) {
126185
126548
  t[a.prop] = s.defaulttext;
126186
126549
  },
@@ -126190,9 +126553,12 @@ const fkConfig = __component__$P.exports, main_vue_vue_type_style_index_0_scoped
126190
126553
  async searchViewWeb(s) {
126191
126554
  this.loading = !0, this.viewWebList = [], this.viewWebList = await this.getWebResources(s), this.loading = !1, this.viewsLoading = !0;
126192
126555
  },
126556
+ async searchDataSource(s) {
126557
+ this.loading = !0, this.datasourceList = [], this.datasourceList = await this.getDataSource(s), this.loading = !1, this.datasourceLoading = !0;
126558
+ },
126193
126559
  fkSearch(s) {
126194
126560
  const t = `${s}Loading`;
126195
- s === "views" && !this[t] ? this.searchViewWeb("") : s === "forms" && !this[t] && this.searchFormWeb("");
126561
+ s === "views" && !this[t] ? this.searchViewWeb("") : s === "forms" && !this[t] ? this.searchFormWeb("") : s === "datasource" && !this[t] && this.searchDataSource("");
126196
126562
  },
126197
126563
  saveQueries(s) {
126198
126564
  this.queryParam = { ...s }, this.refresh();
@@ -126285,12 +126651,29 @@ const fkConfig = __component__$P.exports, main_vue_vue_type_style_index_0_scoped
126285
126651
  t.confirmButtonLoading = !1, t.cancelButtonLoading = !1, t.showCancelButton = !0, a(), r.success ? this.$message.success(this.$i18nt("gd.https.delSucc", "\u5220\u9664\u6210\u529F")) : this.$message.error(this.$i18nt("gd.https.delFail", "\u5220\u9664\u5931\u8D25") + r.message), this.handleOk();
126286
126652
  });
126287
126653
  },
126654
+ changeVirtual(s) {
126655
+ this.isVirtualTable = s ? 1 : 0;
126656
+ },
126657
+ async editFormOpne(s) {
126658
+ this.isVirtualTable = 2, await this.$refs.editForm.init(), this.isVirtualTable = s && s.isvirtualtable ? s.isvirtualtable : 0;
126659
+ let t = s ? JSON.parse(JSON.stringify(s)) : {};
126660
+ s && this.formColumns.forEach((a) => {
126661
+ ["switch"].includes(a.effectType) && t[a.prop] !== void 0 && (t[a.prop] = t[a.prop] === 1);
126662
+ }), this.$refs.editForm.openHand(s && t).then((a) => {
126663
+ a.done(
126664
+ s && Object.assign(t, {
126665
+ virtualobjecttype: String(s.virtualobjecttype),
126666
+ sysdatasource: String(s.sysdatasource)
126667
+ })
126668
+ ), s && this.getDataSourceId(s.sysdatasource);
126669
+ });
126670
+ },
126288
126671
  add() {
126289
- this.viewsLoading = !1, this.formsLoading = !1, this.selItemData = {}, this.transKey = "gd.btn.add", this.$refs.editForm.open(null);
126672
+ this.viewsLoading = !1, this.formsLoading = !1, this.datasourceLoading = !1, this.selItemData = {}, this.transKey = "gd.btn.add", this.editFormOpne(null);
126290
126673
  },
126291
126674
  edit(s) {
126292
- if (this.viewsLoading = !1, this.formsLoading = !1, s) {
126293
- this.selItemData = s, this.transKey = "gd.btn.edit", this.$refs.editForm.open(s);
126675
+ if (this.viewsLoading = !1, this.formsLoading = !1, this.datasourceLoading = !1, s) {
126676
+ this.selItemData = s, this.transKey = "gd.btn.edit", this.editFormOpne(s);
126294
126677
  return;
126295
126678
  }
126296
126679
  if (this.selectedRowKeys.length === 0) {
@@ -126301,16 +126684,36 @@ const fkConfig = __component__$P.exports, main_vue_vue_type_style_index_0_scoped
126301
126684
  this.$message.warning(this.$i18nt("gd.https.editTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u5217\u6570\u636E\u7F16\u8F91!"));
126302
126685
  return;
126303
126686
  }
126304
- this.selItemData = this.selectedRows[0], this.transKey = "gd.btn.edit", this.$refs.editForm.open(this.selectedRows[0]);
126687
+ this.selItemData = this.selectedRows[0], this.transKey = "gd.btn.edit", this.editFormOpne(this.selectedRows[0]);
126305
126688
  },
126306
126689
  sbumit({ data: s, record: t, btn: a }, r, o) {
126307
- this.formLoading = !0, (t ? codeGenerateEdit : codeGenerateAddOnline)(s).then((d) => {
126308
- d.success ? (this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), this.selItemData = Object.assign({ ...this.selItemData }, s), o(), this.handleOk()) : this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + d.message), this.formLoading = !1;
126690
+ this.formLoading = !0;
126691
+ let l = t ? codeGenerateEdit : codeGenerateAddOnline, d = { ...s };
126692
+ this.formColumns.forEach((u) => {
126693
+ ["switch"].includes(u.effectType) && d[u.prop] !== void 0 && (d[u.prop] = d[u.prop] ? 1 : 0);
126694
+ }), l(d).then((u) => {
126695
+ u.success ? (this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), this.selItemData = Object.assign({ ...this.selItemData }, s), o(), this.handleOk()) : this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + u.message), this.formLoading = !1;
126309
126696
  });
126310
126697
  },
126311
126698
  getWebResources(s) {
126312
126699
  return sysWebResourceGetList({ name: s, type: 1 }).then((t) => t.data);
126313
126700
  },
126701
+ getDataSource(s) {
126702
+ let t = {
126703
+ name: s,
126704
+ fkEntityName: this.fkEntityName
126705
+ };
126706
+ return baseFkList(t).then((a) => a.data.map((r) => (r.id = String(r.id), r)));
126707
+ },
126708
+ getDataSourceId(s) {
126709
+ let t = {
126710
+ id: s,
126711
+ fkEntityName: this.fkEntityName
126712
+ };
126713
+ baseFkList(t).then((a) => {
126714
+ this.datasourceList = a.data.map((r) => (r.id = String(r.id), r));
126715
+ });
126716
+ },
126314
126717
  handleOk() {
126315
126718
  this.$refs.table.refresh(), this.openManage && this.$refs.fkConfig.init(this.selItemData);
126316
126719
  },
@@ -126331,6 +126734,8 @@ var _sfc_render$O = function s() {
126331
126734
  var t = this, a = t._self._c;
126332
126735
  return a("div", { staticClass: "gd-page-view", style: t.stylep }, [a("div", { staticClass: "page-view-list", style: t.styled }, [a("gd-tables", { ref: "table", attrs: { dataSource: t.loadData, size: t.tableSize, pageSize: t.tablePageSize, columns: t.tableColumns, selectedRowKeys: t.selectedRowKeys, height: t.getHeight, filtering: !0 }, on: { onChange: t.onSelectChange }, scopedSlots: t._u([{ key: "busName", fn: function({ column: r, row: o }) {
126333
126736
  return [a("gd-tooltip", { attrs: { rowKey: "busname", row: o, highlight: "", transKey: `Dynamics.${o.transkey}` }, on: { click: t.editForm } })];
126737
+ } }, { key: "isvirtualtable", fn: function({ column: r, row: o }) {
126738
+ return [o.isvirtualtable == 1 ? a("i", { staticClass: "gd-icons gd-icon-xuanzhong active-color", staticStyle: { "font-size": "18px" } }) : a("i", { staticClass: "gd-icons gd-icon-jinyong1", staticStyle: { "font-size": "18px", color: "#999" } })];
126334
126739
  } }, { key: "isLocked", fn: function({ column: r, row: o }) {
126335
126740
  return [o.islocked == 1 ? a("i", { staticClass: "gd-icons gd-icon-xuanzhong active-color", staticStyle: { "font-size": "18px" } }) : a("i", { staticClass: "gd-icons gd-icon-jinyong1", staticStyle: { "font-size": "18px", color: "#999" } })];
126336
126741
  } }, { key: "allowNewField", fn: function({ column: r, row: o }) {
@@ -126355,10 +126760,24 @@ var _sfc_render$O = function s() {
126355
126760
  }, expression: "queryParam.tableName" } }), a("div", { staticClass: "table-operator-search", on: { click: t.refresh } }, [a("i", { staticClass: "el-input__icon el-icon-search" })])], 1), a("div", { staticClass: "gd-table-operatorr" }, [a("gd-btn-list", { attrs: { sysViewButtons: t.tableButtons }, on: { functionName: t.doEvent } })], 1)])];
126356
126761
  }, proxy: !0 }, { key: "filtering", fn: function({ colse: r, visible: o }) {
126357
126762
  return [a("gd-table-queries-field", { attrs: { columns: t.tableQueries, height: t.getHeight, queryParam: t.queryParam, colse: r, visible: o }, on: { save: t.saveQueries } })];
126358
- } }]) })], 1), t.openManage ? a("fkConfig", { ref: "fkConfig", attrs: { openManage: t.openManage, height: t.getHeight, mode: t.mode }, on: { functionName: t.functionNameFk } }) : t._e(), a("gd-edit-form", { ref: "editForm", attrs: { formItemWidth: "90%", loading: t.formLoading, transKey: t.transKey, buttons: t.formButtons, columns: t.getFormColumns, labelPosition: t.labelPosition, formMode: t.formMode, translationType: t.translationType, inline: !0, duplicate: !0, width: "1000px" }, on: { sbumit: t.sbumit }, scopedSlots: t._u([{ key: "busname", fn: function({ data: r, column: o, record: l }) {
126763
+ } }]) })], 1), t.openManage ? a("fkConfig", { ref: "fkConfig", attrs: { openManage: t.openManage, height: t.getHeight, mode: t.mode }, on: { functionName: t.functionNameFk } }) : t._e(), a("gd-edit-form", { ref: "editForm", attrs: { formItemWidth: "90%", loading: t.formLoading, transKey: t.transKey, buttons: t.formButtons, columns: t.getFormColumns, labelPosition: t.labelPosition, formMode: t.formMode, translationType: t.translationType, inline: !0, duplicate: !0, width: "1000px", labelWidth: "150px", needLoad: !0 }, on: { sbumit: t.sbumit }, scopedSlots: t._u([{ key: "busname", fn: function({ data: r, column: o, record: l }) {
126359
126764
  return [a("el-input", { directives: [{ name: "show", rawName: "v-show", value: !l, expression: "!record" }], attrs: { disabled: o.disabled, placeholder: t.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165") }, model: { value: r[o.prop], callback: function(d) {
126360
126765
  t.$set(r, o.prop, d);
126361
126766
  }, expression: "data[column.prop]" } }), l ? a("gd-translation", { ref: "gdTranslation", attrs: { recordData: r, name: "busname", type: 2 }, on: { lookupSeled: (d) => t.lookupSeled(d, r, o) } }) : t._e()];
126767
+ } }, { key: "virtualTable", fn: function({ data: r, column: o }) {
126768
+ return [a("el-switch", { attrs: { "active-color": t.primaryColor, disabled: o.disabled }, on: { change: t.changeVirtual }, model: { value: r[o.prop], callback: function(l) {
126769
+ t.$set(r, o.prop, l);
126770
+ }, expression: "data[column.prop]" } })];
126771
+ } }, { key: "datasource", fn: function({ data: r, column: o }) {
126772
+ return [a("div", { staticClass: "cao_about" }, [a("el-select", { staticClass: "cao_input", attrs: { placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), filterable: "", remote: "", clearable: "", "reserve-keyword": "", loading: t.loading, "remote-method": t.searchDataSource }, on: { focus: function(l) {
126773
+ return t.fkSearch("datasource");
126774
+ } }, model: { value: r[o.prop], callback: function(l) {
126775
+ t.$set(r, o.prop, l);
126776
+ }, expression: "data[column.prop]" } }, [t._l(t.datasourceList, function(l) {
126777
+ return [a("el-option", { attrs: { label: l.name, value: l.id } })];
126778
+ })], 2), a("div", { staticClass: "cao_setting" }, [a("i", { staticClass: "el-input__icon el-icon-search", on: { click: function(l) {
126779
+ return t.lookup(r, o);
126780
+ } } })])], 1)];
126362
126781
  } }, { key: "viewWeb", fn: function({ data: r, column: o }) {
126363
126782
  return [a("el-select", { staticStyle: { width: "100%" }, attrs: { placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), filterable: "", remote: "", clearable: "", "reserve-keyword": "", loading: t.loading, "remote-method": t.searchViewWeb }, on: { focus: function(l) {
126364
126783
  return t.fkSearch("views");
@@ -126375,14 +126794,14 @@ var _sfc_render$O = function s() {
126375
126794
  }, expression: "data[column.prop]" } }, [t._l(t.formWebList, function(l) {
126376
126795
  return [a("el-option", { attrs: { label: l.displayName, value: l.name } })];
126377
126796
  })], 2)];
126378
- } }]) })], 1);
126797
+ } }]) }), a("gd-search", { ref: "viewSearch", attrs: { appendToBody: !0 }, on: { lookupSeled: t.lookupSeledfk } })], 1);
126379
126798
  }, _sfc_staticRenderFns$O = [], __component__$O = /* @__PURE__ */ normalizeComponent(
126380
126799
  _sfc_main$O,
126381
126800
  _sfc_render$O,
126382
126801
  _sfc_staticRenderFns$O,
126383
126802
  !1,
126384
126803
  null,
126385
- "4c93cfc3",
126804
+ "98923686",
126386
126805
  null,
126387
126806
  null
126388
126807
  );
@@ -129003,6 +129422,77 @@ const mixins$6 = {
129003
129422
  permission: "sysDictData:changeStatus",
129004
129423
  remark: ""
129005
129424
  }]
129425
+ },
129426
+ {
129427
+ name: "\u6570\u636E\u6E90",
129428
+ transKey: null,
129429
+ component: "GdPageBuild",
129430
+ code: "gdsys_data_source",
129431
+ router: "dataSource",
129432
+ icon: "gd-icon-xitong",
129433
+ url: "",
129434
+ viewWeights: "1",
129435
+ weight: "2",
129436
+ sort: 100,
129437
+ visible: "Y",
129438
+ remark: "",
129439
+ pageContent: {
129440
+ type: "sysComponents",
129441
+ key: "",
129442
+ label: "\u8868\u5B9A\u4E49",
129443
+ icon: "gd-icon-xitong",
129444
+ transKey: null,
129445
+ component: "GdDataSource",
129446
+ options: {},
129447
+ css: {},
129448
+ defined: {
129449
+ pc: {},
129450
+ mobile: {}
129451
+ }
129452
+ },
129453
+ list: [{
129454
+ name: "\u65B0\u589E",
129455
+ transKey: null,
129456
+ component: "",
129457
+ code: "gdsys_data_source_add",
129458
+ router: "",
129459
+ icon: "",
129460
+ url: "",
129461
+ viewWeights: "1",
129462
+ weight: "2",
129463
+ sort: 101,
129464
+ visible: "Y",
129465
+ permission: "sysDataSource:add",
129466
+ remark: ""
129467
+ }, {
129468
+ name: "\u7F16\u8F91",
129469
+ transKey: null,
129470
+ component: "",
129471
+ code: "gdsys_data_source_edit",
129472
+ router: "",
129473
+ icon: "",
129474
+ url: "",
129475
+ viewWeights: "1",
129476
+ weight: "2",
129477
+ sort: 102,
129478
+ visible: "Y",
129479
+ permission: "sysDataSource:edit",
129480
+ remark: ""
129481
+ }, {
129482
+ name: "\u5220\u9664",
129483
+ transKey: null,
129484
+ component: "",
129485
+ code: "gdsys_data_source_delete",
129486
+ router: "",
129487
+ icon: "",
129488
+ url: "",
129489
+ viewWeights: "1",
129490
+ weight: "2",
129491
+ sort: 103,
129492
+ visible: "Y",
129493
+ permission: "sysDataSource:delete",
129494
+ remark: ""
129495
+ }]
129006
129496
  }
129007
129497
  ]
129008
129498
  }], flowsItems = [{
@@ -135431,7 +135921,7 @@ var _sfc_render$n = function s() {
135431
135921
  null,
135432
135922
  null
135433
135923
  );
135434
- const ProcessFlow = __component__$n.exports, main_vue_vue_type_style_index_0_scoped_63b54b5e_lang = "", _sfc_main$m = {
135924
+ const ProcessFlow = __component__$n.exports, main_vue_vue_type_style_index_0_scoped_c2c7b259_lang = "", _sfc_main$m = {
135435
135925
  name: "GdFormBuild",
135436
135926
  props: {
135437
135927
  modeType: {
@@ -135613,7 +136103,9 @@ const ProcessFlow = __component__$n.exports, main_vue_vue_type_style_index_0_sco
135613
136103
  updateFiled_GD: v.join(",")
135614
136104
  });
135615
136105
  }
135616
- r.notBringToFields && r.notBringToFields.length > 0 && delete r.notBringToFields, r.id !== void 0 && delete r.id;
136106
+ r.notBringToFields && r.notBringToFields.length > 0 && (r.notBringToFields.forEach((f) => {
136107
+ delete r[f];
136108
+ }), delete r.notBringToFields), r.id !== void 0 && delete r.id;
135617
136109
  let u = !1;
135618
136110
  this.tableDetails && (u = this.tableDetails.isPlugIn == 1 || this.tableDetails.isAudit == 1 || this.tableDetails.isAgent == 1), u && (r = Object.assign({ ...r }, { fkList: [] })), this.tableDetails.ischeckduplicate === 1 ? this.addgetDupRecordsSysDupRulesForm(r, {
135619
136111
  data: r,
@@ -136505,7 +136997,7 @@ var _sfc_render$m = function s() {
136505
136997
  _sfc_staticRenderFns$m,
136506
136998
  !1,
136507
136999
  null,
136508
- "63b54b5e",
137000
+ "c2c7b259",
136509
137001
  null,
136510
137002
  null
136511
137003
  );
@@ -136513,7 +137005,7 @@ const GDpackage$6 = __component__$m.exports;
136513
137005
  GDpackage$6.install = function(s) {
136514
137006
  s.component(GDpackage$6.name, GDpackage$6);
136515
137007
  };
136516
- const main_vue_vue_type_style_index_0_scoped_a77cdf4f_lang = "", plugFilters = {
137008
+ const main_vue_vue_type_style_index_0_scoped_fde5d620_lang = "", plugFilters = {
136517
137009
  referencefiled: "",
136518
137010
  referencetable: "",
136519
137011
  checked: !1,
@@ -136592,7 +137084,7 @@ const main_vue_vue_type_style_index_0_scoped_a77cdf4f_lang = "", plugFilters = {
136592
137084
  computed: {
136593
137085
  getSysViewList() {
136594
137086
  const s = this.viewCodeOld === "" ? this.viewCode : this.viewCodeOld, t = this.sysViewList.filter((o) => o.id === s), a = this.sysViewList.filter((o) => !!(o.id !== s && this.$hasPerm(o.permissions))), r = this.sysViewList.filter((o) => !!a.concat(t).filter((d) => d.id === o.id)[0]);
136595
- return this.showPersonal ? r : t;
137087
+ return console.log(r, t), this.showPersonal ? r : t;
136596
137088
  },
136597
137089
  showPersonal() {
136598
137090
  return (this.record.options.viewWeights ? this.record.options.viewWeights : "2") !== "1";
@@ -136743,7 +137235,7 @@ var _sfc_render$l = function s() {
136743
137235
  _sfc_staticRenderFns$l,
136744
137236
  !1,
136745
137237
  null,
136746
- "a77cdf4f",
137238
+ "fde5d620",
136747
137239
  null,
136748
137240
  null
136749
137241
  );
@@ -136899,7 +137391,7 @@ var _sfc_render$k = function s() {
136899
137391
  null,
136900
137392
  null
136901
137393
  );
136902
- const ViewCharts = __component__$k.exports, main_vue_vue_type_style_index_0_scoped_6a1244e4_lang = "", _sfc_main$j = {
137394
+ const ViewCharts = __component__$k.exports, main_vue_vue_type_style_index_0_scoped_a0dcc514_lang = "", _sfc_main$j = {
136903
137395
  name: "GdViewBuildDesigner",
136904
137396
  props: {
136905
137397
  record: {
@@ -136964,7 +137456,8 @@ const ViewCharts = __component__$k.exports, main_vue_vue_type_style_index_0_scop
136964
137456
  r = a.data.rows.filter((l) => l.id !== null);
136965
137457
  const o = a.data.rows.filter((l) => l.id === null)[0];
136966
137458
  this.summaryData = o || {}, this.showSummary = !!o, this.$emit("changeData", r), this.$refs.charts && this.$refs.charts.setLoadData(r);
136967
- }
137459
+ } else
137460
+ this.$message.error(a.message);
136968
137461
  return Object.assign(a.data, {
136969
137462
  rows: r
136970
137463
  });
@@ -137008,6 +137501,14 @@ const ViewCharts = __component__$k.exports, main_vue_vue_type_style_index_0_scop
137008
137501
  ViewCharts
137009
137502
  },
137010
137503
  computed: {
137504
+ rowKey() {
137505
+ let s = "id";
137506
+ if (this.tableData.isvirtualtable === 1) {
137507
+ const a = this.fieldData.filter((r) => r.isprimarykey === 1)[0];
137508
+ s = a ? a.columnname : s;
137509
+ }
137510
+ return s;
137511
+ },
137011
137512
  disabledRefresh() {
137012
137513
  return this.openMode != 3 ? !1 : this.foreign.fkValue === "";
137013
137514
  },
@@ -137220,15 +137721,25 @@ const ViewCharts = __component__$k.exports, main_vue_vue_type_style_index_0_scop
137220
137721
  }) : this.changeQuickViewOk(s);
137221
137722
  },
137222
137723
  changeQuickViewOk(s) {
137223
- this.statu || (this.statu = !0, this.openMode == 3 ? this.open({
137224
- title: this.$i18nt("gd.common.https.edit", "\u7F16\u8F91"),
137225
- data: s
137226
- }) : this.open({
137724
+ if (this.statu)
137725
+ return;
137726
+ if (this.statu = !0, setTimeout(() => {
137727
+ this.statu = !1;
137728
+ }, 1e3), this.openMode == 3) {
137729
+ this.open({
137730
+ title: this.$i18nt("gd.common.https.edit", "\u7F16\u8F91"),
137731
+ data: s
137732
+ });
137733
+ return;
137734
+ }
137735
+ if (this.tableData.isvirtualtable === 1) {
137736
+ this.open(Object.assign({ title: this.$i18nt("gd.common.https.edit", "\u7F16\u8F91") }, { ...s }));
137737
+ return;
137738
+ }
137739
+ this.open({
137227
137740
  title: this.$i18nt("gd.common.https.edit", "\u7F16\u8F91"),
137228
137741
  id: s.id
137229
- }), setTimeout(() => {
137230
- this.statu = !1;
137231
- }, 1e3));
137742
+ });
137232
137743
  },
137233
137744
  operatorScope(s, t) {
137234
137745
  const a = s.sourceFk !== void 0 ? s.sourceFk : !(s.fieldType != "fk" && s.fieldType != "about" && s.fieldType != "user");
@@ -137828,14 +138339,14 @@ const ViewCharts = __component__$k.exports, main_vue_vue_type_style_index_0_scop
137828
138339
  };
137829
138340
  var _sfc_render$j = function s() {
137830
138341
  var t = this, a = t._self._c;
137831
- return a("div", [a("div", { staticClass: "gd-base-flex-body" }, [a("div", { staticClass: "main-tree" }, [t.laoding && t.viewRecord.viewtree != "{}" ? a("gd-view-tree-left", { ref: "viewTree", attrs: { queryParam: t.queryParam, viewRecord: t.viewRecord, openMode: t.openMode, height: t.hig, record: t.record }, on: { change: t.changeViewTree } }) : t._e()], 1), a("div", { staticClass: "gd-table-box-header", style: t.viewRecord.viewtree != "{}" ? "padding-left:12px;" : "padding-left:0px;" }, [a("gd-tables", { ref: "table", attrs: { dataSource: t.loadData, size: t.tableSized, pageSize: t.tablePageSize, columns: t.columns, selectedRowKeys: t.selectedRowKeys, selectedKeep: t.selectedKeep, height: t.openMode == 3 ? 0 : t.hig, maxHeight: t.hig, filtering: t.tableQueries.length > 0, initialLoading: !1, showSummary: t.showSummary, amount: t.amount, disabledRowId: t.disabledRowId, isGather: t.openMode == 1, pageSizes: t.paginationPageSize, disabledRefresh: t.disabledRefresh }, on: { onChange: t.onSelectChange, columnChange: t.columnChange, baseSeecharts: t.baseSeecharts }, scopedSlots: t._u([{ key: "operator", fn: function() {
138342
+ return a("div", [a("div", { staticClass: "gd-base-flex-body" }, [a("div", { staticClass: "main-tree" }, [t.laoding && t.viewRecord.viewtree != "{}" ? a("gd-view-tree-left", { ref: "viewTree", attrs: { queryParam: t.queryParam, viewRecord: t.viewRecord, openMode: t.openMode, height: t.hig, record: t.record }, on: { change: t.changeViewTree } }) : t._e()], 1), a("div", { staticClass: "gd-table-box-header", style: t.viewRecord.viewtree != "{}" ? "padding-left:12px;" : "padding-left:0px;" }, [a("gd-tables", { ref: "table", attrs: { dataSource: t.loadData, size: t.tableSized, pageSize: t.tablePageSize, columns: t.columns, selectedRowKeys: t.selectedRowKeys, selectedKeep: t.selectedKeep, height: t.openMode == 3 ? 0 : t.hig, maxHeight: t.hig, filtering: t.tableQueries.length > 0, initialLoading: !1, showSummary: t.showSummary, amount: t.amount, disabledRowId: t.disabledRowId, isGather: t.openMode == 1, pageSizes: t.paginationPageSize, disabledRefresh: t.disabledRefresh, rowKey: t.rowKey }, on: { onChange: t.onSelectChange, columnChange: t.columnChange, baseSeecharts: t.baseSeecharts }, scopedSlots: t._u([{ key: "operator", fn: function() {
137832
138343
  return [t.laoding ? a("ViewSelection", { attrs: { record: t.record, sysViewButtons: t.sysViewButtons, sysViewList: t.sysViewList, personalViewList: t.personalViewList, viewCode: t.viewCode, defaultViewId: t.defaultViewId, tableData: t.tableData, selectedRowKeys: t.selectedRowKeys, openMode: t.openMode, maxBtnLength: t.options.maxBtnLength, fieldData: t.fieldData }, on: { functionName: t.doEvent, handleMenuClick: t.handleMenuClick, baseSetDefaultView: t.baseSetDefaultView, updatePersonalView: t.baseUpdatePersonalView } }) : t._e()];
137833
138344
  }, proxy: !0 }, t._l(t.getColumnsed, function(r) {
137834
138345
  return { key: r.prop, fn: function({ column: o, row: l }) {
137835
138346
  return [a("ChildRenItem", { attrs: { item: r, row: l, getFristColumn: t.getFristColumn }, on: { operatorScope: t.operatorScope, baseQuickForm: t.baseQuickForm, showFile: t.showFile, showImg: t.showImg, preview: t.preview } })];
137836
138347
  } };
137837
- }), { key: "filtering", fn: function({ colse: r, visible: o }) {
137838
- return [a("gd-table-queries-field", { ref: "queriesField", attrs: { columns: t.tableQueries, height: t.hig, queryParam: t.queryParam, colse: r, visible: o, openMode: t.openMode, recordRelation: t.record, viewRecord: t.viewRecord, openRules: !0 }, on: { save: t.queriesRefresh, hideQueryParam: t.hideQueryParam } })];
138348
+ }), { key: "filtering", fn: function({ colse: r, visible: o, changeTrigger: l }) {
138349
+ return [a("gd-table-queries-field", { ref: "queriesField", attrs: { columns: t.tableQueries, height: t.hig, queryParam: t.queryParam, colse: r, visible: o, openMode: t.openMode, recordRelation: t.record, viewRecord: t.viewRecord, openRules: !0, changeTrigger: l }, on: { save: t.queriesRefresh, hideQueryParam: t.hideQueryParam } })];
137839
138350
  } }], null, !0) })], 1)]), a("ImgPreview", { ref: "imgPreview", attrs: { filePreviewShow: t.imgList.length > 0, imgList: t.imgList, currentImg: t.currentImg } }), a("gd-file-preview", { ref: "filePreview", attrs: { options: t.fileOptions } }), a("XlsxImport", { ref: "xlsxImport", attrs: { entityName: t.tableData.tableName, tableData: t.tableData }, on: { ok: t.refresh } }), a("XlsxExport", { ref: "xlsxExport", attrs: { entityId: t.tableData.id, queryParam: t.queryParam, tableData: t.tableData } }), a("TeamSharing", { ref: "teamSharing", attrs: { tableData: t.tableData }, on: { ok: t.refresh } }), a("BatchUpdate", { ref: "batchUpdate", attrs: { tableData: t.tableData, queryTable: t.queryTable, columns: t.columns, fieldData: t.fieldData, viewCode: t.viewCode }, on: { ok: t.refresh } }), a("DataAssign", { ref: "dataAssign", attrs: { tableData: t.tableData } }), a("ViewCharts", { ref: "charts", attrs: { tableData: t.tableData, fieldData: t.fieldData }, on: { setLoadData: t.setLoadData } }), a("gd-middleware", { ref: "middleware", on: { ok: t.refresh } }), t._l(t.componentList, function(r, o) {
137840
138351
  return [a(r.componentItem, { key: o, ref: r.ref, refInFor: !0, tag: "component", attrs: { record: r, openMode: t.openMode, tableData: t.tableData }, on: { change: (l) => t.doEventComponent(l, r) } })];
137841
138352
  })], 2);
@@ -137845,7 +138356,7 @@ var _sfc_render$j = function s() {
137845
138356
  _sfc_staticRenderFns$j,
137846
138357
  !1,
137847
138358
  null,
137848
- "6a1244e4",
138359
+ "a0dcc514",
137849
138360
  null,
137850
138361
  null
137851
138362
  );
@@ -140171,7 +140682,7 @@ var _sfc_render$9 = function s() {
140171
140682
  null,
140172
140683
  null
140173
140684
  );
140174
- const plateTemp = __component__$9.exports, editForm_vue_vue_type_style_index_0_scoped_676e4d6f_lang = "", _sfc_main$8 = {
140685
+ const plateTemp = __component__$9.exports, editForm_vue_vue_type_style_index_0_scoped_c5fb9e1c_lang = "", _sfc_main$8 = {
140175
140686
  data() {
140176
140687
  return {
140177
140688
  fullscreen: !1,
@@ -140241,7 +140752,7 @@ const plateTemp = __component__$9.exports, editForm_vue_vue_type_style_index_0_s
140241
140752
  lookup(s) {
140242
140753
  let t = s, a = {
140243
140754
  effectType: "fk",
140244
- fkEntityName: "msg_templatelibrary",
140755
+ fkEntityName: "SysMsgTemplateLibrary",
140245
140756
  val: t || []
140246
140757
  };
140247
140758
  this.$refs.msgSearch.open(a);
@@ -140383,7 +140894,7 @@ var _sfc_render$8 = function s() {
140383
140894
  _sfc_staticRenderFns$8,
140384
140895
  !1,
140385
140896
  null,
140386
- "676e4d6f",
140897
+ "c5fb9e1c",
140387
140898
  null,
140388
140899
  null
140389
140900
  );
@@ -143259,7 +143770,7 @@ var _sfc_render$1 = function s() {
143259
143770
  null,
143260
143771
  null
143261
143772
  );
143262
- const seach = __component__$1.exports, main_vue_vue_type_style_index_0_scoped_fe8e6a4c_lang = "", _sfc_main = {
143773
+ const seach = __component__$1.exports, main_vue_vue_type_style_index_0_scoped_58c3dc46_lang = "", _sfc_main = {
143263
143774
  name: "GdTranslation",
143264
143775
  props: {
143265
143776
  prefix: {
@@ -143392,8 +143903,8 @@ const seach = __component__$1.exports, main_vue_vue_type_style_index_0_scoped_fe
143392
143903
  };
143393
143904
  var _sfc_render = function s() {
143394
143905
  var t = this, a = t._self._c;
143395
- return a("div", { staticClass: "flex-center" }, [t.getData ? a("div", { staticStyle: { flex: "1", overflow: "hidden" } }, [a("el-tooltip", { attrs: { placement: "top" } }, [a("div", { attrs: { slot: "content" }, slot: "content" }, t._l(t.getListData, function(r, o) {
143396
- return a("div", { key: o, staticStyle: { color: "#fff" } }, [t._v(" " + t._s(r.name) + " "), a("span", { style: t.style }, [t._v(t._s(r.val))])]);
143906
+ return a("div", { staticClass: "flex-center" }, [t.getData ? a("div", { staticStyle: { flex: "1", overflow: "hidden" } }, [a("el-tooltip", { attrs: { placement: "top" } }, [a("div", { staticStyle: { "max-width": "500px" }, attrs: { slot: "content" }, slot: "content" }, t._l(t.getListData, function(r, o) {
143907
+ return a("div", { key: o, staticStyle: { color: "#fff" } }, [t._v(" " + t._s(r.name) + ": "), a("span", { style: t.style }, [t._v(t._s(r.val))])]);
143397
143908
  }), 0), a("el-button", { staticClass: "title-more line1", attrs: { disabled: "" } }, [t._v(t._s(t.getTransName))])], 1)], 1) : a("el-input", { style: t.stylei, attrs: { disabled: "", placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), size: "small" }, model: { value: t.recordData[t.name], callback: function(r) {
143398
143909
  t.$set(t.recordData, t.name, r);
143399
143910
  }, expression: "recordData[name]" } }), t.operational ? a("div", { staticClass: "cao_setting", on: { click: t.open } }, [t.type == 3 ? a("i", { staticClass: "el-icon-plus" }) : a("i", { staticClass: "el-icon-search" })]) : t._e(), t.visible ? a("seach", { ref: "seach", on: { lookupSeled: t.lookupSeled, closed: t.closed } }) : t._e()], 1);
@@ -143403,7 +143914,7 @@ var _sfc_render = function s() {
143403
143914
  _sfc_staticRenderFns,
143404
143915
  !1,
143405
143916
  null,
143406
- "fe8e6a4c",
143917
+ "58c3dc46",
143407
143918
  null,
143408
143919
  null
143409
143920
  );