gds-plus-design-vue 1.1.37 → 1.1.39

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.09269fc3.mjs"),
633
+ component: () => import("./main.17be1ce8.mjs"),
634
634
  meta: {
635
635
  title: "\u767B\u5F55",
636
636
  transKey: "gd.login.title"
@@ -4295,7 +4295,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
4295
4295
  }, {}] }, {}, [10])(10);
4296
4296
  });
4297
4297
  })(jszip_min);
4298
- const JSZip$1 = jszip_min.exports, main_vue_vue_type_style_index_0_scoped_48bb3c35_lang = "";
4298
+ const JSZip$1 = jszip_min.exports, main_vue_vue_type_style_index_0_scoped_2bfcfb8c_lang = "";
4299
4299
  var outTime = null;
4300
4300
  const _sfc_main$5W = {
4301
4301
  name: "GdSideNavMenu",
@@ -4461,7 +4461,7 @@ var _sfc_render$5W = function() {
4461
4461
  })], 2) : a("div", { staticClass: "gd-app" }, [t._l(t.defMenus, function(r, o) {
4462
4462
  return [a("el-menu", { staticClass: "el-menu-vertical-demo", class: [t.sidebar ? "sitem" : ""], attrs: { "default-active": t.defaultActive, "background-color": t.theme === "light" ? "#fff" : "#1d2126", "text-color": t.theme === "light" ? "#333" : "#fff", "active-text-color": t.primaryColor, collapse: t.sidebar }, on: { select: t.selectMenus } }, [r.children && r.children.length > 0 ? a("el-submenu", { attrs: { index: r.code } }, [a("template", { slot: "title" }, [a("i", { staticClass: "gd-icons", class: r.icon, staticStyle: { "padding-right": "4px" } }), a("span", [t._v(t._s(t.$i18nt(`Dynamics.${r.transkey}`, r.name)))])]), t._l(r.children, function(l, d) {
4463
4463
  return [l.children && l.children.length > 0 ? a("el-submenu", { attrs: { index: l.key, title: t.$i18nt(`Dynamics.${l.transkey}`, l.meta.title) } }, [a("template", { slot: "title" }, [a("i", { staticClass: "gd-icons", class: l.icon, staticStyle: { "padding-right": "4px" } }), a("span", [t._v(t._s(t.$i18nt(`Dynamics.${l.transkey}`, l.meta.title)))])]), t._l(l.children, function(u, f) {
4464
- return [a("el-menu-item", { attrs: { index: u.key, title: t.$i18nt(`Dynamics.${u.transkey}`, u.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)];
4464
+ return [a("el-menu-item", { attrs: { index: u.key, title: t.$i18nt(`Dynamics.${u.transkey}`, u.meta.title) } }, [a("template", { slot: "title" }, [a("i", { staticClass: "gd-icons", class: u.icon, staticStyle: { "padding-right": "4px" } }), a("span", [t._v(t._s(t.$i18nt(`Dynamics.${u.transkey}`, u.meta.title)))])])], 2)];
4465
4465
  })], 2) : a("el-menu-item", { attrs: { index: l.key, title: t.$i18nt(`Dynamics.${l.transkey}`, l.meta.title) } }, [a("i", { staticClass: "gd-icons", class: l.icon, staticStyle: { "padding-right": "4px" } }), a("span", { attrs: { slot: "title" }, slot: "title" }, [t._v(t._s(t.$i18nt(`Dynamics.${l.transkey}`, l.meta.title)))])])];
4466
4466
  })], 2) : a("el-menu-item", { attrs: { index: r.code } }, [a("i", { staticClass: "gd-icons", class: r.icon, staticStyle: { "padding-right": "4px" } }), a("span", { attrs: { slot: "title" }, slot: "title" }, [t._v(t._s(t.$i18nt(`Dynamics.${r.transkey}`, t.ite.meta.title)))])])], 1)];
4467
4467
  })], 2)], 1), a("SidebarMenus", { ref: "sMenu", attrs: { collapsed: t.sidebar, menus: t.defMenus, activeKey: t.activeKey }, on: { goPath: t.goPath, close: function(r) {
@@ -4473,7 +4473,7 @@ var _sfc_render$5W = function() {
4473
4473
  _sfc_staticRenderFns$5W,
4474
4474
  !1,
4475
4475
  null,
4476
- "48bb3c35",
4476
+ "2bfcfb8c",
4477
4477
  null,
4478
4478
  null
4479
4479
  );
@@ -5400,7 +5400,7 @@ var _sfc_render$5T = function() {
5400
5400
  null,
5401
5401
  null
5402
5402
  );
5403
- const FieldMapping = __component__$5T.exports, main_vue_vue_type_style_index_0_scoped_50739374_lang = "", _sfc_main$5S = {
5403
+ const FieldMapping = __component__$5T.exports, main_vue_vue_type_style_index_0_scoped_dee02d38_lang = "", _sfc_main$5S = {
5404
5404
  name: "GdXlsxImport",
5405
5405
  props: {
5406
5406
  tableData: {
@@ -5457,6 +5457,7 @@ const FieldMapping = __component__$5T.exports, main_vue_vue_type_style_index_0_s
5457
5457
  },
5458
5458
  excelData: [],
5459
5459
  loading: !1,
5460
+ autoInputOver: !1,
5460
5461
  serviceData: [],
5461
5462
  fileId: 0,
5462
5463
  loadData: [],
@@ -5464,9 +5465,9 @@ const FieldMapping = __component__$5T.exports, main_vue_vue_type_style_index_0_s
5464
5465
  excelImportData: [],
5465
5466
  selItem: {},
5466
5467
  loadSoData: (s) => new Promise((t, a) => {
5467
- this.confirmLoading = !1, setTimeout(() => {
5468
- t({ pageNo: 1, pageSize: 200, totalRows: 0, rows: this.loadData });
5469
- }, 100);
5468
+ setTimeout(() => {
5469
+ this.confirmLoading = !1, t({ pageNo: 1, pageSize: 200, totalRows: 0, rows: this.loadData });
5470
+ }, 200);
5470
5471
  }),
5471
5472
  columns: [
5472
5473
  {
@@ -5714,8 +5715,8 @@ const FieldMapping = __component__$5T.exports, main_vue_vue_type_style_index_0_s
5714
5715
  const o = this.isCheckedName(s, a.langs);
5715
5716
  let l = null;
5716
5717
  o && (l = this.autoInputData(o, a, r)), l && t.push(l);
5717
- }), this.refresh(), this.$nextTick(() => {
5718
- setTimeout(() => {
5718
+ }), this.autoInputOver = !0, this.$nextTick(() => {
5719
+ this.refresh(), setTimeout(() => {
5719
5720
  t.forEach((a) => {
5720
5721
  this.getFk(a.ele, a.tableidx, a.statu);
5721
5722
  });
@@ -5787,7 +5788,11 @@ const FieldMapping = __component__$5T.exports, main_vue_vue_type_style_index_0_s
5787
5788
  t.map((a) => (a.checkzd = "", a)), this.loadData = [...t], this.getEntutityConfig();
5788
5789
  },
5789
5790
  getEntutityConfig(s) {
5790
- this.ruleFormData.entityValue !== "" && sysCodeGenerateConfigList({
5791
+ if (this.ruleFormData.entityValue === "") {
5792
+ this.autoInputOver = !0;
5793
+ return;
5794
+ }
5795
+ sysCodeGenerateConfigList({
5791
5796
  codeGenId: this.ruleFormData.entityValue
5792
5797
  }).then((t) => {
5793
5798
  if (t.code === 200) {
@@ -5798,7 +5803,7 @@ const FieldMapping = __component__$5T.exports, main_vue_vue_type_style_index_0_s
5798
5803
  });
5799
5804
  },
5800
5805
  checkFile() {
5801
- this.confirmLoading || this.$excelAction.importExcel((s, t, a, r, o) => {
5806
+ this.confirmLoading || (this.autoInputOver = !1, this.$excelAction.importExcel((s, t, a, r, o) => {
5802
5807
  this.confirmLoading = !0;
5803
5808
  let l = [];
5804
5809
  this.excelFielData = {
@@ -5835,15 +5840,15 @@ const FieldMapping = __component__$5T.exports, main_vue_vue_type_style_index_0_s
5835
5840
  }), this.excelImportData = [...u], this.loadData = l.filter((h) => d.includes(h.importName) ? !1 : h.show).map((h, p) => (h.ind = p, h)), s.shift(), this.excelData = s;
5836
5841
  let f = new FormData();
5837
5842
  this.getEntutityConfig(), f.append("file", o[0]), sysFileUpload(f).then((h) => {
5838
- if (this.confirmLoading = !1, !h.success) {
5843
+ if (!h.success) {
5839
5844
  this.$message.error(this.$i18nt("gd.https.uploadFail", "\u6587\u4EF6\u4E0A\u4F20\u5931\u8D25!"));
5840
5845
  return;
5841
5846
  }
5842
- this.fileId = h.data;
5847
+ this.confirmLoading = this.autoInputOver ? !1 : this.confirmLoading, this.fileId = h.data;
5843
5848
  const p = document.getElementById("file");
5844
5849
  p && p.remove();
5845
5850
  });
5846
- });
5851
+ }));
5847
5852
  },
5848
5853
  open() {
5849
5854
  this.fullscreen = !1, this.visible = !0, this.serviceData = [], this.searchData(""), this.excelFielData = {
@@ -5871,22 +5876,22 @@ const FieldMapping = __component__$5T.exports, main_vue_vue_type_style_index_0_s
5871
5876
  }
5872
5877
  });
5873
5878
  },
5874
- getLangs(s) {
5875
- const t = this.$i18n.messages;
5876
- let a = [
5879
+ getLangs(s, t) {
5880
+ const a = this.$i18n.messages;
5881
+ let r = [
5877
5882
  {
5878
5883
  code: "default",
5879
- val: s.columncomment,
5884
+ val: s.columncomment || s.name,
5880
5885
  name: ""
5881
5886
  }
5882
5887
  ];
5883
- for (let r in t)
5884
- a.push({
5885
- code: r,
5886
- val: this.$i18n.t(`Dynamics.${s.transkey}`, r),
5888
+ for (let o in a)
5889
+ r.push({
5890
+ code: o,
5891
+ val: this.$i18n.t(`Dynamics.${s.transkey}`, o),
5887
5892
  name: ""
5888
5893
  });
5889
- return a;
5894
+ return r;
5890
5895
  },
5891
5896
  dictionarysP(s, t) {
5892
5897
  if (!s.dicttypecode)
@@ -5916,7 +5921,7 @@ const FieldMapping = __component__$5T.exports, main_vue_vue_type_style_index_0_s
5916
5921
  hasDict(s, t) {
5917
5922
  s.forEach((o, l) => {
5918
5923
  let d = o.langs.filter((u) => u.val == t)[0];
5919
- return o.hasName = !!d, o;
5924
+ o.hasName = !!d;
5920
5925
  });
5921
5926
  let a = s.filter((o) => o.hasName);
5922
5927
  if (a[0] === void 0)
@@ -5988,7 +5993,7 @@ var _sfc_render$5S = function() {
5988
5993
  _sfc_staticRenderFns$5S,
5989
5994
  !1,
5990
5995
  null,
5991
- "50739374",
5996
+ "dee02d38",
5992
5997
  null,
5993
5998
  null
5994
5999
  );
@@ -8341,7 +8346,7 @@ var dist$2 = { exports: {} };
8341
8346
  }]);
8342
8347
  });
8343
8348
  })(dist$2);
8344
- const avatarModal_vue_vue_type_style_index_0_scoped_5d0e068e_lang = "", _sfc_main$5G = {
8349
+ const avatarModal_vue_vue_type_style_index_0_scoped_b476a8b6_lang = "", _sfc_main$5G = {
8345
8350
  data() {
8346
8351
  return {
8347
8352
  width: "800px",
@@ -8443,16 +8448,16 @@ var _sfc_render$5G = function() {
8443
8448
  return t.changeScale(1);
8444
8449
  } } })], 1), a("el-col", { attrs: { lg: { span: 1, offset: 1 }, md: 2 } }, [a("el-button", { staticClass: "el-icon-minus", on: { click: function(r) {
8445
8450
  return t.changeScale(-1);
8446
- } } })], 1), a("el-col", { attrs: { lg: { span: 1, offset: 1 }, md: 2 } }, [a("el-button", { staticClass: "el-icon-refresh-left", on: { click: t.rotateLeft } })], 1), a("el-col", { attrs: { lg: { span: 1, offset: 1 }, md: 2 } }, [a("el-button", { staticClass: "el-icon-refresh-right", on: { click: t.rotateRight } })], 1), a("el-col", { attrs: { lg: { span: 2, offset: 6 }, md: 2 } }, [t.$hasPerm("sysUser:updateAvatar") ? a("el-button", { attrs: { type: "primary", loading: t.uploading }, on: { click: function(r) {
8451
+ } } })], 1), a("el-col", { attrs: { lg: { span: 1, offset: 1 }, md: 2 } }, [a("el-button", { staticClass: "el-icon-refresh-left", on: { click: t.rotateLeft } })], 1), a("el-col", { attrs: { lg: { span: 1, offset: 1 }, md: 2 } }, [a("el-button", { staticClass: "el-icon-refresh-right", on: { click: t.rotateRight } })], 1), a("el-col", { attrs: { lg: { span: 2, offset: 6 }, md: 2 } }, [a("el-button", { attrs: { type: "primary", loading: t.uploading }, on: { click: function(r) {
8447
8452
  return t.finish("blob");
8448
- } } }, [t._v(" " + t._s(t.$i18nt("gd.btn.save")) + " ")]) : t._e()], 1)], 1)], 1)], 2);
8453
+ } } }, [t._v(" " + t._s(t.$i18nt("gd.btn.save")) + " ")])], 1)], 1)], 1)], 2);
8449
8454
  }, _sfc_staticRenderFns$5G = [], __component__$5G = /* @__PURE__ */ normalizeComponent(
8450
8455
  _sfc_main$5G,
8451
8456
  _sfc_render$5G,
8452
8457
  _sfc_staticRenderFns$5G,
8453
8458
  !1,
8454
8459
  null,
8455
- "5d0e068e",
8460
+ "b476a8b6",
8456
8461
  null,
8457
8462
  null
8458
8463
  );
@@ -8478,7 +8483,7 @@ function sysTimezonePage(s) {
8478
8483
  params: s
8479
8484
  });
8480
8485
  }
8481
- const main_vue_vue_type_style_index_0_scoped_64331d21_lang = "", _sfc_main$5F = {
8486
+ const main_vue_vue_type_style_index_0_scoped_21604779_lang = "", _sfc_main$5F = {
8482
8487
  props: {
8483
8488
  height: {
8484
8489
  type: Number,
@@ -8621,7 +8626,11 @@ var _sfc_render$5F = function() {
8621
8626
  t.$set(t.ruleForm, "gender", r);
8622
8627
  }, expression: "ruleForm.gender" } }, t._l(t.sexData, function(r, o) {
8623
8628
  return a("el-radio", { key: o, attrs: { label: r.code } }, [t._v(" " + t._s(r.name) + " ")]);
8624
- }), 1)], 1), a("el-form-item", { attrs: { label: t.$i18nt("gd.account.phone", "\u624B\u673A\u53F7"), prop: "phone", rules: [{ required: !0, message: t.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165") }] } }, [a("el-input", { attrs: { placeholder: t.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165") }, model: { value: t.ruleForm.phone, callback: function(r) {
8629
+ }), 1)], 1), a("el-form-item", { attrs: { label: t.$i18nt("gd.account.phone", "\u624B\u673A\u53F7"), prop: "phone", rules: [{ required: !0, message: t.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165") }, {
8630
+ pattern: /^1[3-9]\d{9}$/,
8631
+ message: this.$i18nt("gd.account.phoneInvalid", "\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u624B\u673A\u53F7\u7801"),
8632
+ trigger: "blur"
8633
+ }] } }, [a("el-input", { attrs: { placeholder: t.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165") }, model: { value: t.ruleForm.phone, callback: function(r) {
8625
8634
  t.$set(t.ruleForm, "phone", r);
8626
8635
  }, expression: "ruleForm.phone" } })], 1), a("el-form-item", { staticStyle: { "margin-bottom": "12px" }, attrs: { label: t.$i18nt("gd.account.tel", "\u7535\u8BDD"), prop: "tel" } }, [a("el-input", { attrs: { placeholder: t.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165") }, model: { value: t.ruleForm.tel, callback: function(r) {
8627
8636
  t.$set(t.ruleForm, "tel", r);
@@ -8643,7 +8652,7 @@ var _sfc_render$5F = function() {
8643
8652
  t.$set(t.ruleForm, "timezoneId", r);
8644
8653
  }, expression: "ruleForm.timezoneId" } }, t._l(t.timezoneData, function(r, o) {
8645
8654
  return a("el-option", { key: o, attrs: { value: r.id, label: r.name } });
8646
- }), 1)], 1), a("el-form-item", [t.$hasPerm("sysUser:updateInfo") ? a("el-button", { attrs: { type: "primary" }, on: { click: t.submitUserInfo } }, [t._v(" " + t._s(t.$i18nt("gd.account.updateInformation", "\u66F4\u65B0\u57FA\u672C\u4FE1\u606F")) + " ")]) : t._e()], 1)], 1)], 1), a("el-col", { style: { minHeight: "180px" }, attrs: { md: 24, lg: 8 } }, [a("div", { staticClass: "ant-upload-preview", on: { click: function(r) {
8655
+ }), 1)], 1), a("el-form-item", [a("el-button", { attrs: { type: "primary" }, on: { click: t.submitUserInfo } }, [t._v(" " + t._s(t.$i18nt("gd.account.updateInformation", "\u66F4\u65B0\u57FA\u672C\u4FE1\u606F")) + " ")])], 1)], 1)], 1), a("el-col", { style: { minHeight: "180px" }, attrs: { md: 24, lg: 8 } }, [a("div", { staticClass: "ant-upload-preview", on: { click: function(r) {
8647
8656
  return t.$refs.modal.edit(t.userInfo.id);
8648
8657
  } } }, [a("i", { staticClass: "el-icon-upload upload-icon" }), a("div", { staticClass: "mask" }, [a("i", { staticClass: "el-icon-plus" })]), a("img", { attrs: { src: t.option.img } })])])], 1), a("avatar-modal", { ref: "modal", on: { ok: t.setavatar } })], 1);
8649
8658
  }, _sfc_staticRenderFns$5F = [], __component__$5F = /* @__PURE__ */ normalizeComponent(
@@ -8652,7 +8661,7 @@ var _sfc_render$5F = function() {
8652
8661
  _sfc_staticRenderFns$5F,
8653
8662
  !1,
8654
8663
  null,
8655
- "64331d21",
8664
+ "21604779",
8656
8665
  null,
8657
8666
  null
8658
8667
  );
@@ -9202,7 +9211,7 @@ var _sfc_render$5C = function() {
9202
9211
  null,
9203
9212
  null
9204
9213
  );
9205
- const weChatBind = __component__$5C.exports, main_vue_vue_type_style_index_0_scoped_52ea84cb_lang = "", _sfc_main$5B = {
9214
+ const weChatBind = __component__$5C.exports, main_vue_vue_type_style_index_0_scoped_6ac33441_lang = "", _sfc_main$5B = {
9206
9215
  name: "GdSecuritySettings",
9207
9216
  components: {
9208
9217
  UpdPwd,
@@ -9308,14 +9317,14 @@ const weChatBind = __component__$5C.exports, main_vue_vue_type_style_index_0_sco
9308
9317
  };
9309
9318
  var _sfc_render$5B = function() {
9310
9319
  var t = this, a = t._self._c;
9311
- return a("div", { staticStyle: { "padding-top": "12px" } }, [a("el-row", { attrs: { gutter: 20 } }, [a("el-col", { attrs: { span: 24 } }, [a("div", { staticClass: "grid-content bg-purple" }, [t._v(" " + t._s(t.$i18nt("gd.account.passWord", "\u8D26\u6237\u5BC6\u7801")) + " ")])])], 1), a("el-row", { staticStyle: { "margin-top": "6px" }, attrs: { gutter: 20 } }, [a("el-col", { attrs: { span: 8 } }, [a("div", { staticClass: "grid-content strength", staticStyle: { color: "rgba(0, 0, 0, .45)" } }, [t._v(" " + t._s(t.$i18nt("gd.account.strength", "\u5F53\u524D\u5BC6\u7801\u5F3A\u5EA6")) + ":" + t._s(t.$i18nt("gd.account.strong", "\u5F3A")) + " ")])]), a("el-col", { attrs: { span: 16 } }, [a("div", { staticClass: "grid-content paw grid-flex" }, [t.$hasPerm("sysUser:updatePwd") ? a("span", { staticClass: "active-color", staticStyle: { cursor: "pointer" }, on: { click: t.updPwd } }, [t._v(" " + t._s(t.$i18nt("gd.account.changePaw", "\u4FEE\u6539\u5BC6\u7801")) + " ")]) : t._e()])])], 1), a("el-divider"), a("el-row", { attrs: { gutter: 20 } }, [a("el-col", { attrs: { span: 24 } }, [a("div", { staticClass: "grid-content bd", staticStyle: { color: "rgba(0, 0, 0, .45)" } }, [t._v(" " + t._s(t.$i18nt("gd.account.bindenterpriseWechat", "\u7ED1\u5B9A\u4F01\u4E1A\u5FAE\u4FE1")) + " ")])])], 1), a("el-row", { staticStyle: { "margin-top": "6px" }, attrs: { gutter: 20 } }, [a("el-col", { attrs: { span: 8 } }, [a("div", { staticClass: "grid-content state" }, [t._v(" " + t._s(t.$i18nt("gd.account.currentState", "\u5F53\u524D\u72B6\u6001")) + ":" + t._s(t.wxUserId == null || t.wxUserId == "" ? t.$i18nt("gd.state.no", "\u5426") : t.$i18nt("gd.state.yes", "\u662F")) + " ")])]), t.wxUserId == null || t.wxUserId == "" ? a("el-col", { attrs: { span: 16 } }, [a("div", { staticClass: "grid-content paw grid-flex" }, [a("span", { staticClass: "active-color", staticStyle: { cursor: "pointer" }, on: { click: t.bind } }, [t._v(t._s(t.$i18nt("gd.account.bind", "\u7ED1\u5B9A")))])])]) : t._e()], 1), a("upd-pwd", { ref: "updPwd", attrs: { isShow: t.isShow }, on: { bindCode: t.bindCode } }), a("weChatBind", { ref: "weChatBind", on: { bindCode: t.bindCode } })], 1);
9320
+ return a("div", { staticStyle: { "padding-top": "12px" } }, [a("el-row", { attrs: { gutter: 20 } }, [a("el-col", { attrs: { span: 24 } }, [a("div", { staticClass: "grid-content bg-purple" }, [t._v(" " + t._s(t.$i18nt("gd.account.passWord", "\u8D26\u6237\u5BC6\u7801")) + " ")])])], 1), a("el-row", { staticStyle: { "margin-top": "6px" }, attrs: { gutter: 20 } }, [a("el-col", { attrs: { span: 8 } }, [a("div", { staticClass: "grid-content strength", staticStyle: { color: "rgba(0, 0, 0, .45)" } }, [t._v(" " + t._s(t.$i18nt("gd.account.strength", "\u5F53\u524D\u5BC6\u7801\u5F3A\u5EA6")) + ":" + t._s(t.$i18nt("gd.account.strong", "\u5F3A")) + " ")])]), a("el-col", { attrs: { span: 16 } }, [a("div", { staticClass: "grid-content paw grid-flex" }, [a("span", { staticClass: "active-color", staticStyle: { cursor: "pointer" }, on: { click: t.updPwd } }, [t._v(" " + t._s(t.$i18nt("gd.account.changePaw", "\u4FEE\u6539\u5BC6\u7801")) + " ")])])])], 1), a("el-divider"), a("el-row", { attrs: { gutter: 20 } }, [a("el-col", { attrs: { span: 24 } }, [a("div", { staticClass: "grid-content bd", staticStyle: { color: "rgba(0, 0, 0, .45)" } }, [t._v(" " + t._s(t.$i18nt("gd.account.bindenterpriseWechat", "\u7ED1\u5B9A\u4F01\u4E1A\u5FAE\u4FE1")) + " ")])])], 1), a("el-row", { staticStyle: { "margin-top": "6px" }, attrs: { gutter: 20 } }, [a("el-col", { attrs: { span: 8 } }, [a("div", { staticClass: "grid-content state" }, [t._v(" " + t._s(t.$i18nt("gd.account.currentState", "\u5F53\u524D\u72B6\u6001")) + ":" + t._s(t.wxUserId == null || t.wxUserId == "" ? t.$i18nt("gd.state.no", "\u5426") : t.$i18nt("gd.state.yes", "\u662F")) + " ")])]), t.wxUserId == null || t.wxUserId == "" ? a("el-col", { attrs: { span: 16 } }, [a("div", { staticClass: "grid-content paw grid-flex" }, [a("span", { staticClass: "active-color", staticStyle: { cursor: "pointer" }, on: { click: t.bind } }, [t._v(t._s(t.$i18nt("gd.account.bind", "\u7ED1\u5B9A")))])])]) : t._e()], 1), a("upd-pwd", { ref: "updPwd", attrs: { isShow: t.isShow }, on: { bindCode: t.bindCode } }), a("weChatBind", { ref: "weChatBind", on: { bindCode: t.bindCode } })], 1);
9312
9321
  }, _sfc_staticRenderFns$5B = [], __component__$5B = /* @__PURE__ */ normalizeComponent(
9313
9322
  _sfc_main$5B,
9314
9323
  _sfc_render$5B,
9315
9324
  _sfc_staticRenderFns$5B,
9316
9325
  !1,
9317
9326
  null,
9318
- "52ea84cb",
9327
+ "6ac33441",
9319
9328
  null,
9320
9329
  null
9321
9330
  );
@@ -9364,7 +9373,7 @@ const GDpackage$$ = __component__$5A.exports;
9364
9373
  GDpackage$$.install = function(s) {
9365
9374
  s.component(GDpackage$$.name, GDpackage$$);
9366
9375
  };
9367
- const composeFilter_vue_vue_type_style_index_0_scoped_3b21a76f_lang = "", _sfc_main$5z = {
9376
+ const composeFilter_vue_vue_type_style_index_0_scoped_10e3c1b6_lang = "", _sfc_main$5z = {
9368
9377
  name: "composeFilter",
9369
9378
  props: {
9370
9379
  record: {
@@ -9405,6 +9414,15 @@ const composeFilter_vue_vue_type_style_index_0_scoped_3b21a76f_lang = "", _sfc_m
9405
9414
  };
9406
9415
  },
9407
9416
  computed: {
9417
+ hasTimePicker() {
9418
+ const s = this.record.fieldformat ? this.record.fieldformat : "yyyy-MM-dd";
9419
+ return ["hh:mm:ss", "hh:mm", "mm:ss"].includes(s);
9420
+ },
9421
+ pickerType() {
9422
+ const s = this.record.fieldformat ? this.record.fieldformat : "yyyy-MM-dd";
9423
+ let t = "date";
9424
+ return s === "yyyy-MM-dd hh:mm:ss" ? t = "datetime" : s === "yyyy-MM" ? t = "month" : s === "yyyy" && (t = "year"), t;
9425
+ },
9408
9426
  precision() {
9409
9427
  const s = this.loadData.filter((t) => t.id === this.record.columnid)[0];
9410
9428
  return s ? s.effecttype === "inputnumber" ? 0 : s.filedsize : 0;
@@ -9579,9 +9597,11 @@ var _sfc_render$5z = function() {
9579
9597
  t.$set(t.record, "value", r);
9580
9598
  }, expression: "record.value" } }) : t.record.columntype == "datepicker" ? [t.getDatepickerShow === 3 ? a("el-input-number", { staticStyle: { width: "100%" }, attrs: { placeholder: t.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165"), step: 1, min: 1, max: 999, "controls-position": "right", disabled: t.choiceDisabled, clearable: "" }, model: { value: t.record.value, callback: function(r) {
9581
9599
  t.$set(t.record, "value", r);
9582
- }, expression: "record.value" } }) : t._e(), t.getDatepickerShow === 1 ? a("el-date-picker", { staticStyle: { width: "100%" }, attrs: { placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), type: t.showTime ? "datetime" : "date", "value-format": t.record.fieldformat, format: t.record.fieldformat, disabled: t.choiceDisabled, clearable: "" }, model: { value: t.record.value, callback: function(r) {
9600
+ }, expression: "record.value" } }) : t._e(), t.getDatepickerShow === 1 ? [t.hasTimePicker ? a("el-time-picker", { staticStyle: { width: "100%" }, attrs: { "value-format": t.record.fieldformat, format: t.record.fieldformat, placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), disabled: t.choiceDisabled, clearable: "" }, model: { value: t.record.value, callback: function(r) {
9601
+ t.$set(t.record, "value", r);
9602
+ }, expression: "record.value" } }) : a("el-date-picker", { staticStyle: { width: "100%" }, attrs: { type: t.pickerType, "value-format": t.record.fieldformat, format: t.record.fieldformat, placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), disabled: t.choiceDisabled, clearable: "" }, model: { value: t.record.value, callback: function(r) {
9583
9603
  t.$set(t.record, "value", r);
9584
- }, expression: "record.value" } }) : t._e()] : ["fk", "about"].includes(t.record.columntype) ? [t.record.operators != 11 && t.record.operators != 12 ? a("div", { staticClass: "cao_about" }, [a("el-select", { directives: [{ name: "show", rawName: "v-show", value: t.record.operators != 3 && t.record.operators != 4, expression: "record.operators != 3 && record.operators != 4" }], staticStyle: { flex: "1", overflow: "hidden" }, attrs: { placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), "remote-method": t.searchData, loading: t.fetching, disabled: t.choiceDisabled, clearable: "", filterable: "", remote: "", "reserve-keyword": "" }, on: { change: t.selectData }, model: { value: t.record.value, callback: function(r) {
9604
+ }, expression: "record.value" } })] : t._e()] : ["fk", "about"].includes(t.record.columntype) ? [t.record.operators != 11 && t.record.operators != 12 ? a("div", { staticClass: "cao_about" }, [a("el-select", { directives: [{ name: "show", rawName: "v-show", value: t.record.operators != 3 && t.record.operators != 4, expression: "record.operators != 3 && record.operators != 4" }], staticStyle: { flex: "1", overflow: "hidden" }, attrs: { placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), "remote-method": t.searchData, loading: t.fetching, disabled: t.choiceDisabled, clearable: "", filterable: "", remote: "", "reserve-keyword": "" }, on: { change: t.selectData }, model: { value: t.record.value, callback: function(r) {
9585
9605
  t.$set(t.record, "value", r);
9586
9606
  }, expression: "record.value" } }, [t._l(t.fkData, function(r, o) {
9587
9607
  return [a("el-option", { attrs: { value: r.id, label: t.$i18nt(`Dynamics.${r.transkey}`, r.name) } })];
@@ -9614,7 +9634,7 @@ var _sfc_render$5z = function() {
9614
9634
  _sfc_staticRenderFns$5z,
9615
9635
  !1,
9616
9636
  null,
9617
- "3b21a76f",
9637
+ "10e3c1b6",
9618
9638
  null,
9619
9639
  null
9620
9640
  );
@@ -20586,6 +20606,7 @@ const iconfont = "", index$1 = "", formMixins = {
20586
20606
  },
20587
20607
  data() {
20588
20608
  return {
20609
+ statu: !1,
20589
20610
  visible: !1,
20590
20611
  id: "",
20591
20612
  record: null,
@@ -20606,6 +20627,14 @@ const iconfont = "", index$1 = "", formMixins = {
20606
20627
  }
20607
20628
  },
20608
20629
  methods: {
20630
+ showLoading() {
20631
+ this.statu = !0, this.$refs.form.showLoading();
20632
+ },
20633
+ hideLoading(s = 1500) {
20634
+ this.$refs.form.hideLoading(s), setTimeout(() => {
20635
+ this.statu = !1;
20636
+ }, s);
20637
+ },
20609
20638
  save(s) {
20610
20639
  this.id === "" ? this.baseAdd() : this.baseEdit();
20611
20640
  },
@@ -20621,6 +20650,9 @@ const iconfont = "", index$1 = "", formMixins = {
20621
20650
  assign() {
20622
20651
  this.baseAssign();
20623
20652
  },
20653
+ teamSharing() {
20654
+ this.baseTeamSharing();
20655
+ },
20624
20656
  setFormRecord(s) {
20625
20657
  return this.$refs.form.baseCustomComponents(this.componentList), this.$refs.form.setFormRecord(s).then((t) => (this.formRecordSource = t.formRecordSource, this.formData = t.formData, this.allField = t.allField, this.sysViewButtons = t.sysViewButtons, !0));
20626
20658
  },
@@ -20671,6 +20703,9 @@ const iconfont = "", index$1 = "", formMixins = {
20671
20703
  baseAssign() {
20672
20704
  this.$refs.form.baseAssign();
20673
20705
  },
20706
+ baseTeamSharing() {
20707
+ this.$refs.form.baseTeamSharing();
20708
+ },
20674
20709
  baseSetError(s) {
20675
20710
  this.$refs.form.baseSetError(s);
20676
20711
  },
@@ -20740,7 +20775,7 @@ const iconfont = "", index$1 = "", formMixins = {
20740
20775
  console.log("\u8BF7\u5B9A\u4E49 " + t + " \u65B9\u6CD5");
20741
20776
  return;
20742
20777
  }
20743
- this[t] && this[t](a);
20778
+ this.showLoading(), this[t] && this[t](a), this.hideLoading();
20744
20779
  }
20745
20780
  }
20746
20781
  }, viewMixins = {
@@ -20772,6 +20807,7 @@ const iconfont = "", index$1 = "", formMixins = {
20772
20807
  },
20773
20808
  data() {
20774
20809
  return {
20810
+ statu: !1,
20775
20811
  viewRecord: {},
20776
20812
  formList: [],
20777
20813
  tableData: {},
@@ -20810,6 +20846,14 @@ const iconfont = "", index$1 = "", formMixins = {
20810
20846
  ...mapGetters(["tableLists"])
20811
20847
  },
20812
20848
  methods: {
20849
+ showLoading() {
20850
+ this.statu = !0, this.$refs.table.showLoading();
20851
+ },
20852
+ hideLoading(s = 1500) {
20853
+ this.$refs.table.hideLoading(s), setTimeout(() => {
20854
+ this.statu = !1;
20855
+ }, s);
20856
+ },
20813
20857
  add(s) {
20814
20858
  this.baseAdd();
20815
20859
  },
@@ -20886,9 +20930,11 @@ const iconfont = "", index$1 = "", formMixins = {
20886
20930
  const a = this.options.table.tableName || this.options.table.tablename;
20887
20931
  return t.tablename.toLowerCase() === a.toLowerCase();
20888
20932
  })[0];
20889
- return baseTableData({
20933
+ return s ? baseTableData({
20890
20934
  tableId: s.id
20891
- }).then((t) => (t.code === 200 ? (t.data.viewlist.map((a) => (a.mode = 1, a)), this.formList = t.data.formlist, this.tableData = t.data.table, this.sysViewList = t.data.viewlist) : this.$message.error(t.message), t));
20935
+ }).then((t) => (t.code === 200 ? (t.data.viewlist.map((a) => (a.mode = 1, a)), this.formList = t.data.formlist, this.tableData = t.data.table, this.sysViewList = t.data.viewlist) : this.$message.error(t.message), t)) : (console.log("\u6570\u636E\u9519\u8BEF,\u8868\u4E0D\u5B58\u5728"), new Promise((t, a) => {
20936
+ t({});
20937
+ }));
20892
20938
  },
20893
20939
  baseGetPersonalView(s) {
20894
20940
  if (s && this.openMode != 1)
@@ -20908,11 +20954,13 @@ const iconfont = "", index$1 = "", formMixins = {
20908
20954
  const a = this.options.table.tableName || this.options.table.tablename;
20909
20955
  return t.tablename.toLowerCase() === a.toLowerCase();
20910
20956
  })[0];
20911
- return onlineFormGetCodeGenerateList({
20957
+ return s ? onlineFormGetCodeGenerateList({
20912
20958
  codeGenId: s.id
20913
20959
  }).then((t) => {
20914
20960
  t.code === 200 && (this.fieldData = t.data, this.$emit("fieldData", t.data));
20915
- });
20961
+ }) : (console.log("\u6570\u636E\u9519\u8BEF,\u8868\u4E0D\u5B58\u5728"), new Promise((t, a) => {
20962
+ t({});
20963
+ }));
20916
20964
  },
20917
20965
  baseAdd() {
20918
20966
  this.$nextTick(() => {
@@ -21006,7 +21054,7 @@ const iconfont = "", index$1 = "", formMixins = {
21006
21054
  console.log("\u8BF7\u5B9A\u4E49 " + t + " \u65B9\u6CD5");
21007
21055
  return;
21008
21056
  }
21009
- this[t] && this[t](a);
21057
+ this.showLoading(), this[t] && this[t](a), this.hideLoading();
21010
21058
  }
21011
21059
  },
21012
21060
  created() {
@@ -21231,7 +21279,7 @@ var _sfc_render$56 = function() {
21231
21279
  null,
21232
21280
  null
21233
21281
  );
21234
- const Column = __component__$56.exports, main_vue_vue_type_style_index_0_scoped_93f7f7b0_lang = "", _sfc_main$55 = {
21282
+ const Column = __component__$56.exports, main_vue_vue_type_style_index_0_scoped_848a6399_lang = "", _sfc_main$55 = {
21235
21283
  name: "GdTables",
21236
21284
  props: Object.assign(
21237
21285
  {},
@@ -21419,7 +21467,8 @@ const Column = __component__$56.exports, main_vue_vue_type_style_index_0_scoped_
21419
21467
  visibleFilter: !1,
21420
21468
  frozenColumn: 0,
21421
21469
  wid: 0,
21422
- triggerFilter: "manual"
21470
+ triggerFilter: "manual",
21471
+ clearData: !1
21423
21472
  };
21424
21473
  },
21425
21474
  watch: {
@@ -21618,7 +21667,9 @@ const Column = __component__$56.exports, main_vue_vue_type_style_index_0_scoped_
21618
21667
  const s = this.dataSource(Object.assign({ ...this.sorter }, { pageNo: this.currentPage, pageSize: this.pageSized }));
21619
21668
  (typeof s == "object" || typeof s == "function") && typeof s.then == "function" ? s.then((t) => {
21620
21669
  let a = t && t.rows ? t.rows : [];
21621
- this.tableData = a, this.currentPage = t.pageno, this.total = t.totalrows, this.toggleRowSelection();
21670
+ this.currentPage = t.pageno, this.total = t.totalrows, this.clearData && (this.tableData = []), setTimeout(() => {
21671
+ this.tableData = a, this.toggleRowSelection();
21672
+ }, 0);
21622
21673
  }) : this.loading = !1;
21623
21674
  },
21624
21675
  loadColumns() {
@@ -21627,7 +21678,7 @@ const Column = __component__$56.exports, main_vue_vue_type_style_index_0_scoped_
21627
21678
  this.columnsSetting = [...this.columns], this.$emit("columnChange", this.columnsSetting);
21628
21679
  const t = this.columns.filter((a) => a.fixed);
21629
21680
  this.frozenColumn = t.length, setTimeout(() => {
21630
- this.$refs.columnSettings.init(), this.$refs.refTable.doLayout(), s(!0);
21681
+ this.$refs.columnSettings && this.$refs.columnSettings.init(), this.$refs.refTable && this.$refs.refTable.doLayout(), s(!0);
21631
21682
  }, 0);
21632
21683
  });
21633
21684
  });
@@ -21760,7 +21811,7 @@ var _sfc_render$55 = function() {
21760
21811
  return [a("el-radio", { attrs: { label: l.row[t.rowKey], size: "small" }, on: { input: t.changRadio }, model: { value: t.currentRow, callback: function(d) {
21761
21812
  t.currentRow = d;
21762
21813
  }, expression: "currentRow" } }, [t._v(" " + t._s("") + " ")])];
21763
- } }], null, !0) })] : r.type === "slot" ? [a("el-table-column", { key: r.key ? r.key : o, attrs: { width: r.width, "show-overflow-tooltip": typeof r.showTooltip > "u" ? !0 : r.showTooltip, "min-width": r.minWidth, prop: r.prop, label: t.$i18nt(r.transKey, r.label), fixed: r.fixed ? r.fixed : !1, sortable: r.sortable ? r.sortable : !1, align: r.align ? r.align : "center", "render-header": r.renderHeader, filters: r.filters, "filter-method": r.filterTag, "filter-placement": "bottom-end", "reserve-selection": r.reserveSelection, type: r.colType }, scopedSlots: t._u([{ key: "default", fn: function(l) {
21814
+ } }], null, !0) })] : r.type === "slot" ? [a("el-table-column", { key: r.prop ? r.prop : o, attrs: { width: r.width, "show-overflow-tooltip": typeof r.showTooltip > "u" ? !0 : r.showTooltip, "min-width": r.minWidth, prop: r.prop, label: t.$i18nt(r.transKey, r.label), fixed: r.fixed ? r.fixed : !1, sortable: r.sortable ? r.sortable : !1, align: r.align ? r.align : "center", "render-header": r.renderHeader, filters: r.filters, "filter-method": r.filterTag, "filter-placement": "bottom-end", "reserve-selection": r.reserveSelection, type: r.colType }, scopedSlots: t._u([{ key: "default", fn: function(l) {
21764
21815
  return [t._t(r.slotType, null, { row: l.row, index: l.$index, column: l.column })];
21765
21816
  } }], null, !0) })] : t._e()];
21766
21817
  }), a("template", { slot: "empty" }, [a("div", { staticClass: "gd-table-empty" }, [a("i", { staticClass: "el-icon-receiving" }), a("div", { staticClass: "empty-title" }, [t._v(" " + t._s(t.$i18nt("gd.echarts.noData", "\u6682\u65E0\u6570\u636E\u5C55\u793A")) + " ")])])])], 2), a("div", { staticClass: "gd-paging" }, [t.showPagination ? a("el-pagination", { attrs: { background: "", "page-sizes": t.pageSizes, "page-size": t.pageSized, "current-page": t.currentPage, layout: "total, sizes, prev, pager, next, jumper", total: t.total }, on: { "update:currentPage": function(r) {
@@ -21774,7 +21825,7 @@ var _sfc_render$55 = function() {
21774
21825
  _sfc_staticRenderFns$55,
21775
21826
  !1,
21776
21827
  null,
21777
- "93f7f7b0",
21828
+ "848a6399",
21778
21829
  null,
21779
21830
  null
21780
21831
  );
@@ -23095,7 +23146,7 @@ const GDpackage$S = __component__$50.exports;
23095
23146
  GDpackage$S.install = function(s) {
23096
23147
  s.component(GDpackage$S.name, GDpackage$S);
23097
23148
  };
23098
- const main_vue_vue_type_style_index_0_scoped_a87dd3a5_lang = "", _sfc_main$4$ = {
23149
+ const main_vue_vue_type_style_index_0_scoped_6a0ef9f3_lang = "", _sfc_main$4$ = {
23099
23150
  name: "GdBtnList",
23100
23151
  props: {
23101
23152
  sysViewButtons: {
@@ -23157,7 +23208,7 @@ var _sfc_render$4$ = function() {
23157
23208
  return t.functionName(r);
23158
23209
  } } }, [a("i", { staticClass: "gd-icons", class: r.icon, staticStyle: { "font-size": "12px" } }), t._v(" " + t._s(t.$i18nt(r.transKey, r.displayName)) + " ")])], 2) : a("el-button", { class: r.btnType ? "" : "active-color", style: r.btnType ? "color:#ff4d4f;font-size: 13px;" : "font-size: 13px;", attrs: { type: "text" }, on: { click: function(l) {
23159
23210
  return t.functionName(r);
23160
- } } }, [a("i", { staticClass: "gd-icons", class: r.icon, staticStyle: { "font-size": "12px" } }), t._v(" " + t._s(t.$i18nt(r.transKey, r.displayName)) + " ")])] : [r.children && r.children.length > 0 ? a("el-dropdown", { attrs: { placement: "bottom" }, on: { command: t.command } }, [a("el-button", { staticStyle: { margin: "0 1px 0 0", padding: "6px 8px" }, attrs: { type: "primary" } }, [a("i", { staticClass: "gd-icons", class: r.icon, staticStyle: { "font-size": "12px" } }), t._v(" " + t._s(t.$i18nt(r.transKey, r.displayName)) + " "), a("i", { staticClass: "el-icon-arrow-down" })]), a("el-dropdown-menu", { style: { "--dilute": t.fadeColord }, attrs: { slot: "dropdown" }, slot: "dropdown" }, t._l(r.children, function(l) {
23211
+ } } }, [a("i", { staticClass: "gd-icons", class: r.icon, style: r.iconStyle ? r.iconStyle : "font-size: 12px" }), t._v(" " + t._s(t.$i18nt(r.transKey, r.displayName)) + " ")])] : [r.children && r.children.length > 0 ? a("el-dropdown", { attrs: { placement: "bottom" }, on: { command: t.command } }, [a("el-button", { staticStyle: { margin: "0 1px 0 0", padding: "6px 8px" }, attrs: { type: "primary" } }, [a("i", { staticClass: "gd-icons", class: r.icon, staticStyle: { "font-size": "12px" } }), t._v(" " + t._s(t.$i18nt(r.transKey, r.displayName)) + " "), a("i", { staticClass: "el-icon-arrow-down" })]), a("el-dropdown-menu", { style: { "--dilute": t.fadeColord }, attrs: { slot: "dropdown" }, slot: "dropdown" }, t._l(r.children, function(l) {
23161
23212
  return a("el-dropdown-item", { key: l.key, attrs: { command: { item: r, key: l.key } } }, [a("i", { staticClass: "gd-icons", class: r.icon, staticStyle: { "font-size": "12px" } }), t._v(" " + t._s(t.$i18nt(l.transKey, l.displayName)) + " ")]);
23162
23213
  }), 1)], 1) : r.btnType == "popconfirm" ? a("el-popconfirm", { attrs: { slot: "reference", "confirm-button-text": t.$i18nt("gd.btn.confirm", "\u786E\u8BA4"), "cancel-button-text": t.$i18nt("gd.btn.cancel", "\u53D6\u6D88"), icon: "el-icon-warning", "icon-color": "#faad14", title: t.$i18nt(r.transKeyTip, r.tip) }, on: { confirm: function(l) {
23163
23214
  return t.functionName(r);
@@ -23165,7 +23216,7 @@ var _sfc_render$4$ = function() {
23165
23216
  return t.functionName(r);
23166
23217
  } } }, [a("i", { staticClass: "gd-icons", class: r.icon, staticStyle: { "font-size": "12px" } }), t._v(" " + t._s(t.$i18nt(r.transKey, r.displayName)) + " ")])], 2) : a("el-button", { style: `margin: 0 1px 0 0; padding: 6px 8px;${t.styled}${r.style ? r.style : ""}`, attrs: { type: r.btnType || "primary" }, on: { click: function(l) {
23167
23218
  return t.functionName(r);
23168
- } } }, [a("i", { staticClass: "gd-icons", class: r.icon, staticStyle: { "font-size": "12px" } }), t._v(" " + t._s(t.$i18nt(r.transKey, r.displayName)) + " ")])]] : t._e()];
23219
+ } } }, [a("i", { staticClass: "gd-icons", class: r.icon, style: r.iconStyle ? r.iconStyle : "font-size: 12px" }), t._v(" " + t._s(t.$i18nt(r.transKey, r.displayName)) + " ")])]] : t._e()];
23169
23220
  }), t.moreList.length > 0 ? a("el-dropdown", { attrs: { placement: "bottom" }, on: { command: t.command } }, [t.btnModed === "text" ? a("el-button", { staticClass: "active-color", staticStyle: { margin: "0 1px 0 0", padding: "6px 8px" }, attrs: { type: "text" } }, [a("i", { staticClass: "gd-icons el-icon-more", staticStyle: { "font-size": "12px" } })]) : a("el-button", { style: `margin: 0 1px 0 0; padding: 6px 8px;${t.styled}`, attrs: { type: "primary" } }, [a("i", { staticClass: "gd-icons el-icon-more", staticStyle: { "font-size": "12px" } })]), a("el-dropdown-menu", { style: { "--dilute": t.fadeColord, minWidth: "100px" }, attrs: { slot: "dropdown" }, slot: "dropdown" }, t._l(t.moreList, function(r) {
23170
23221
  return a("el-dropdown-item", { key: r.key, attrs: { command: { item: r, key: null } } }, [a("i", { staticClass: "gd-icons", class: r.icon, staticStyle: { "font-size": "12px" } }), t._v(" " + t._s(t.$i18nt(r.transKey, r.displayName)) + " ")]);
23171
23222
  }), 1)], 1) : t._e()], 2);
@@ -23175,7 +23226,7 @@ var _sfc_render$4$ = function() {
23175
23226
  _sfc_staticRenderFns$4$,
23176
23227
  !1,
23177
23228
  null,
23178
- "a87dd3a5",
23229
+ "6a0ef9f3",
23179
23230
  null,
23180
23231
  null
23181
23232
  );
@@ -75825,7 +75876,7 @@ var _sfc_render$4K = function() {
75825
75876
  null,
75826
75877
  null
75827
75878
  );
75828
- const ColumnarChart = __component__$4K.exports, funnelChart_vue_vue_type_style_index_0_scoped_6bcdd5a6_lang = "", _sfc_main$4J = {
75879
+ const ColumnarChart = __component__$4K.exports, funnelChart_vue_vue_type_style_index_0_scoped_426323a5_lang = "", _sfc_main$4J = {
75829
75880
  props: {
75830
75881
  develop: {
75831
75882
  type: [Number, String],
@@ -75856,11 +75907,10 @@ const ColumnarChart = __component__$4K.exports, funnelChart_vue_vue_type_style_i
75856
75907
  });
75857
75908
  },
75858
75909
  getOption(s) {
75859
- console.log(s);
75860
75910
  let t = 0;
75861
75911
  s.data.forEach((l, d) => {
75862
75912
  t += Number(l.value), s.data[d].order = l.value;
75863
- }), console.log(s, t), s.data = [...sort$3(s.data)];
75913
+ }), s.data = [...sort$3(s.data)];
75864
75914
  let a = this.$i18nt(`Dynamics.${s.transKey}`, s.name), r = {
75865
75915
  text: a ? `${a} (${this.$i18nt("gd.basics.total", "\u5171")} ${s.count} ${this.$i18nt(
75866
75916
  "gd.basics.data",
@@ -75942,7 +75992,7 @@ var _sfc_render$4J = function() {
75942
75992
  _sfc_staticRenderFns$4J,
75943
75993
  !1,
75944
75994
  null,
75945
- "6bcdd5a6",
75995
+ "426323a5",
75946
75996
  null,
75947
75997
  null
75948
75998
  );
@@ -78979,7 +79029,7 @@ var _sfc_render$4v = function() {
78979
79029
  null,
78980
79030
  null
78981
79031
  );
78982
- const RoleScope = __component__$4v.exports, roleGrant_vue_vue_type_style_index_0_scoped_a32e3d73_lang = "", _sfc_main$4u = {
79032
+ const RoleScope = __component__$4v.exports, roleGrant_vue_vue_type_style_index_0_scoped_f3c4eef1_lang = "", _sfc_main$4u = {
78983
79033
  data() {
78984
79034
  return {
78985
79035
  buttons: [
@@ -79047,6 +79097,24 @@ const RoleScope = __component__$4v.exports, roleGrant_vue_vue_type_style_index_0
79047
79097
  type: "slot",
79048
79098
  slotType: "delgrantd",
79049
79099
  width: 270
79100
+ },
79101
+ {
79102
+ transKey: "gd.relation.assignment",
79103
+ prop: "allocationgrantd",
79104
+ label: "\u5206\u6D3E",
79105
+ align: "left",
79106
+ type: "slot",
79107
+ slotType: "allocationgrantd",
79108
+ width: 270
79109
+ },
79110
+ {
79111
+ transKey: "gd.btn.share",
79112
+ prop: "sharegrantd",
79113
+ label: "\u5171\u4EAB",
79114
+ align: "left",
79115
+ type: "slot",
79116
+ slotType: "sharegrantd",
79117
+ width: 270
79050
79118
  }
79051
79119
  ],
79052
79120
  currentList: {}
@@ -79063,7 +79131,7 @@ const RoleScope = __component__$4v.exports, roleGrant_vue_vue_type_style_index_0
79063
79131
  handleSubmit() {
79064
79132
  this.confirmLoading = !0;
79065
79133
  let s = this.$refs.table.tableData;
79066
- s.map((t) => (t.addgrant = t.addgrantd.length > 0 ? t.addgrantd.join(",") : null, t.delgrant = t.delgrantd.length > 0 ? t.delgrantd.join(",") : null, t.editgrant = t.editgrantd.length > 0 ? t.editgrantd.join(",") : null, t.getgrant = t.getgrantd.length > 0 ? t.getgrantd.join(",") : null, t)), saveOrgDetail(
79134
+ s.map((t) => (t.addgrant = t.addgrantd.length > 0 ? t.addgrantd.join(",") : null, t.delgrant = t.delgrantd.length > 0 ? t.delgrantd.join(",") : null, t.editgrant = t.editgrantd.length > 0 ? t.editgrantd.join(",") : null, t.getgrant = t.getgrantd.length > 0 ? t.getgrantd.join(",") : null, t.sharegrant = t.sharegrantd.length > 0 ? t.sharegrantd.join(",") : null, t.allocationgrant = t.allocationgrantd.length > 0 ? t.allocationgrantd.join(",") : null, t)), saveOrgDetail(
79067
79135
  Object.assign(
79068
79136
  { ...this.submitData },
79069
79137
  {
@@ -79085,7 +79153,7 @@ const RoleScope = __component__$4v.exports, roleGrant_vue_vue_type_style_index_0
79085
79153
  },
79086
79154
  getUserControlData() {
79087
79155
  this.confirmLoading = !0, getOrgDetail({ roleId: this.record.id }).then((s) => {
79088
- s.success ? (s.data.grants.map((t) => (t.addgrantd = t.addgrant ? t.addgrant.split(",") : [], t.delgrantd = t.delgrant ? t.delgrant.split(",") : [], t.editgrantd = t.editgrant ? t.editgrant.split(",") : [], t.getgrantd = t.getgrant ? t.getgrant.split(",") : [], t)), this.loadData = s.data.grants, this.submitData = s.data, this.$nextTick(() => {
79156
+ s.success ? (s.data.grants.map((t) => (t.addgrantd = t.addgrant ? t.addgrant.split(",") : [], t.delgrantd = t.delgrant ? t.delgrant.split(",") : [], t.editgrantd = t.editgrant ? t.editgrant.split(",") : [], t.getgrantd = t.getgrant ? t.getgrant.split(",") : [], t.sharegrantd = t.sharegrant ? t.sharegrant.split(",") : [], t.allocationgrantd = t.allocationgrant ? t.allocationgrant.split(",") : [], t)), this.loadData = s.data.grants, this.submitData = s.data, this.$nextTick(() => {
79089
79157
  setTimeout(() => {
79090
79158
  this.refresh();
79091
79159
  }, 0);
@@ -79134,7 +79202,7 @@ var _sfc_render$4u = function() {
79134
79202
  _sfc_staticRenderFns$4u,
79135
79203
  !1,
79136
79204
  null,
79137
- "a32e3d73",
79205
+ "f3c4eef1",
79138
79206
  null,
79139
79207
  null
79140
79208
  );
@@ -79364,7 +79432,7 @@ var _sfc_render$4s = function() {
79364
79432
  null,
79365
79433
  null
79366
79434
  );
79367
- const RoleMenu = __component__$4s.exports, roleMenuVF_vue_vue_type_style_index_0_scoped_0475cc07_lang = "", _sfc_main$4r = {
79435
+ const RoleMenu = __component__$4s.exports, roleMenuVF_vue_vue_type_style_index_0_scoped_eec05935_lang = "", _sfc_main$4r = {
79368
79436
  data() {
79369
79437
  return {
79370
79438
  buttons: [
@@ -79463,7 +79531,7 @@ const RoleMenu = __component__$4s.exports, roleMenuVF_vue_vue_type_style_index_0
79463
79531
  a.forEach((l, d) => {
79464
79532
  const u = this.getMenuIds(l);
79465
79533
  a[d].menuIds = u.arr, a[d].menuBtnIds = u.btn, !(this.checkedKeys.filter((p) => u.arr.includes(p)).length === u.arr.length) && u.arr.length > 0 && o.push(l.id);
79466
- }), this.list = a, this.allClose = this.checkedKeys.length === this.allCheckedKeys.length && this.allCheckedKeys.length > 0, this.menuTreeData = [...t], this.handleItem();
79534
+ }), this.list = a, this.allClose = this.checkedKeys.length === this.allCheckedKeys.length && this.allCheckedKeys.length > 0, this.menuTreeData = [...t], this.handleItem(), console.log(this.menuAll, "123");
79467
79535
  });
79468
79536
  },
79469
79537
  getList() {
@@ -79521,7 +79589,7 @@ var _sfc_render$4r = function() {
79521
79589
  _sfc_staticRenderFns$4r,
79522
79590
  !1,
79523
79591
  null,
79524
- "0475cc07",
79592
+ "eec05935",
79525
79593
  null,
79526
79594
  null
79527
79595
  );
@@ -81775,7 +81843,7 @@ const mixins$19 = {
81775
81843
  };
81776
81844
  }
81777
81845
  }, _sfc_main$4j = {
81778
- name: "vislog",
81846
+ name: "GdVislog",
81779
81847
  props: {
81780
81848
  height: {
81781
81849
  type: Number,
@@ -109545,7 +109613,7 @@ var _sfc_render$2m = function s() {
109545
109613
  null,
109546
109614
  null
109547
109615
  );
109548
- const ButtonRule = __component__$2m.exports, viewTree_vue_vue_type_style_index_0_scoped_f5799332_lang = "", disableList$1 = [
109616
+ const ButtonRule = __component__$2m.exports, viewTree_vue_vue_type_style_index_0_scoped_84376534_lang = "", disableList$1 = [
109549
109617
  {
109550
109618
  code: 1,
109551
109619
  name: "\u662F",
@@ -109674,7 +109742,24 @@ const ButtonRule = __component__$2m.exports, viewTree_vue_vue_type_style_index_0
109674
109742
  this.fullscreen = !this.fullscreen;
109675
109743
  },
109676
109744
  open(s) {
109677
- this.visible = !0, this.selData = s, this.getList(), Object.keys(s).length != 0 && this.listData();
109745
+ if (console.log(s), this.visible = !0, this.selData = s, this.getList(), Object.keys(s).length == 0) {
109746
+ this.ruleFormData = {
109747
+ treeId: "",
109748
+ sysViewId: "",
109749
+ detailId: "",
109750
+ isDisable: 0,
109751
+ ifSet: "",
109752
+ rulesValue: "1",
109753
+ operators: "1",
109754
+ conditional: "",
109755
+ parentId: "",
109756
+ parentPid: "",
109757
+ relevanceId: "",
109758
+ childrenId: ""
109759
+ }, this.$refs.ruleForm.resetFields();
109760
+ return;
109761
+ }
109762
+ this.listData();
109678
109763
  },
109679
109764
  listData(s) {
109680
109765
  this.ruleFormData.treeId = s ? "" : this.selData.treeId, this.loadData = s ? "" : this.selData.loadData, this.ruleFormData.sysViewId = s ? "" : this.selData.sysViewId, this.viewList = s ? [] : this.selData.viewList, this.ruleFormData.detailId = s ? "" : this.selData.detailId, this.detailList = s ? [] : this.selData.detailList, this.ruleFormData.parentId = s ? "" : this.selData.parentId, this.ruleFormData.parentPid = s ? "" : this.selData.parentPid, this.parentList = s ? [] : this.selData.parentList, this.parentPidList = s ? [] : this.selData.parentPidList, this.ruleFormData.relevanceId = s ? "" : this.selData.relevanceId, this.relevanceList = s ? [] : this.selData.relevanceList, this.ruleFormData.childrenId = s ? "" : this.selData.childrenId, this.childrenList = s ? [] : this.selData.childrenList, this.ruleFormData.isDisable = s ? 0 : this.selData.isDisable, this.ruleFormData.ifSet = s ? "" : this.selData.ifSet, this.ifSetList = s ? [] : this.selData.ifSetList, this.ruleFormData.conditional = s ? "" : this.selData.conditional, this.conditionalList = s ? [] : this.selData.conditionalList, this.ruleFormData.rulesValue = s ? "" : this.selData.rulesValue, this.rulesList = s ? [] : this.selData.rulesList, this.cascadeList = s ? [] : this.selData.cascadeList, this.ruleFormData.treeId != "" && (this.getTable(), this.getDetail(this.ruleFormData.sysViewId));
@@ -109691,7 +109776,7 @@ const ButtonRule = __component__$2m.exports, viewTree_vue_vue_type_style_index_0
109691
109776
  });
109692
109777
  },
109693
109778
  getView(s) {
109694
- let t = this.tableLists.filter((a) => a.tableName == s)[0];
109779
+ let t = this.tableLists.filter((a) => a.tablename == s)[0];
109695
109780
  sysViewList$1({
109696
109781
  SysCodeGenId: t.id
109697
109782
  }).then((a) => {
@@ -109739,16 +109824,16 @@ const ButtonRule = __component__$2m.exports, viewTree_vue_vue_type_style_index_0
109739
109824
  this.ruleFormData.detailId = s;
109740
109825
  },
109741
109826
  ifClick(s) {
109742
- console.log(s), this.ruleFormData.conditional = "", this.cascadeList = [s], this.rulesList = this.dictData.filter((t) => t.code < 3), s.effecttype == "fk" || s.effecttype == "user" ? (this.fildFk = s, this.searchData("")) : this.conditionalList = [];
109827
+ this.ruleFormData.conditional = "", this.cascadeList = [s], this.rulesList = this.dictData.filter((t) => t.code < 3), s.effecttype == "fk" || s.effecttype == "user" ? (this.fildFk = s, this.searchData("")) : this.conditionalList = [];
109743
109828
  },
109744
109829
  isSet(s) {
109745
- console.log(s, "Ee"), this.ruleFormData.rulesValue = s;
109830
+ this.ruleFormData.rulesValue = s;
109746
109831
  },
109747
109832
  showTime(s) {
109748
109833
  return s.fieldFormat.length > 10;
109749
109834
  },
109750
109835
  inputRadio(s) {
109751
- this.rulesList = this.dictData.filter((t) => t.code < 3), console.log(this.ruleFormData.ifSet);
109836
+ this.rulesList = this.dictData.filter((t) => t.code < 3);
109752
109837
  },
109753
109838
  searchData(s) {
109754
109839
  this.fetching = !0, baseFkList({
@@ -109820,7 +109905,7 @@ const ButtonRule = __component__$2m.exports, viewTree_vue_vue_type_style_index_0
109820
109905
  rulesList: this.ruleFormData.isDisable == 1 ? this.rulesList.filter((p) => p.code == this.ruleFormData.rulesValue) : [],
109821
109906
  cascadeList: this.cascadeList
109822
109907
  };
109823
- console.log(h, "str"), this.$emit("ok", h), this.closed();
109908
+ this.$emit("ok", h), this.closed();
109824
109909
  }
109825
109910
  });
109826
109911
  },
@@ -109923,7 +110008,7 @@ var _sfc_render$2l = function s() {
109923
110008
  _sfc_staticRenderFns$2l,
109924
110009
  !1,
109925
110010
  null,
109926
- "f5799332",
110011
+ "84376534",
109927
110012
  null,
109928
110013
  null
109929
110014
  );
@@ -111651,6 +111736,8 @@ const operationMenus = __component__$2g.exports, abilityItems = [{
111651
111736
  icon: "gd-icon-biaodanzujian-biaoge",
111652
111737
  transKey: "gd.datadisplaycomponents.table",
111653
111738
  options: {
111739
+ flexWidth: 100,
111740
+ flexUnit: "%",
111654
111741
  table: {},
111655
111742
  view: {},
111656
111743
  btn: [],
@@ -111721,6 +111808,8 @@ const operationMenus = __component__$2g.exports, abilityItems = [{
111721
111808
  icon: "gd-icon-miaoshu",
111722
111809
  transKey: "gd.datadisplaycomponents.descriptions",
111723
111810
  options: {
111811
+ flexWidth: 100,
111812
+ flexUnit: "%",
111724
111813
  table: {},
111725
111814
  view: {},
111726
111815
  field: [],
@@ -111747,6 +111836,8 @@ const operationMenus = __component__$2g.exports, abilityItems = [{
111747
111836
  icon: "gd-icon-zhuzhuangtu",
111748
111837
  transKey: "gd.datadisplaycomponents.echarts",
111749
111838
  options: {
111839
+ flexWidth: 100,
111840
+ flexUnit: "%",
111750
111841
  echartsId: "",
111751
111842
  table: {},
111752
111843
  view: {},
@@ -111774,10 +111865,12 @@ const operationMenus = __component__$2g.exports, abilityItems = [{
111774
111865
  icon: "gd-icon-baobiaotongji",
111775
111866
  transKey: "gd.datadisplaycomponents.statisticValue",
111776
111867
  options: {
111868
+ flexWidth: 100,
111869
+ flexUnit: "%",
111777
111870
  title: "\u7EDF\u8BA1",
111778
111871
  timeIndices: !1,
111779
111872
  titleValue: 0,
111780
- transKey: "gd.datadisplaycomponents.statistic"
111873
+ transKey: null
111781
111874
  },
111782
111875
  css: {
111783
111876
  color: "#333",
@@ -111903,7 +111996,8 @@ const operationMenus = __component__$2g.exports, abilityItems = [{
111903
111996
  labelHide: !1,
111904
111997
  bringTo: !0,
111905
111998
  disabledColumnName: !1,
111906
- initialType: []
111999
+ initialType: [],
112000
+ spaceTrim: "none"
111907
112001
  },
111908
112002
  operationAttribute: !0,
111909
112003
  help: "",
@@ -113821,7 +113915,136 @@ var _sfc_render$26 = function s() {
113821
113915
  null,
113822
113916
  null
113823
113917
  );
113824
- const navBuild = __component__$26.exports, tableView_vue_vue_type_style_index_0_scoped_1b064941_lang = "", _sfc_main$25 = {
113918
+ const navBuild = __component__$26.exports;
113919
+ function getCss(s) {
113920
+ let t = "";
113921
+ for (let a in s)
113922
+ t += getProperti(s, a);
113923
+ return t;
113924
+ }
113925
+ function paddingData(s) {
113926
+ let t = [];
113927
+ return (s.padding ? s.padding : []).forEach((r) => {
113928
+ t.push(r ? `${r}px` : 0);
113929
+ }), t.length === 0 ? "" : `padding:${t.join(" ")};`;
113930
+ }
113931
+ function marginData(s) {
113932
+ let t = [];
113933
+ return (s.margin ? s.margin : []).forEach((r) => {
113934
+ t.push(r ? `${r}px` : 0);
113935
+ }), t.length === 0 ? "" : `margin:${t.join(" ")};`;
113936
+ }
113937
+ function backgroundData(s) {
113938
+ const t = s.bjColor ? s.bjColor : "";
113939
+ return t === "" ? "" : `background-color:${t};`;
113940
+ }
113941
+ function radiusData(s) {
113942
+ let t = [];
113943
+ return (s.radius ? s.radius : []).forEach((r) => {
113944
+ t.push(r ? `${r}px` : 0);
113945
+ }), t.length === 0 ? "" : `border-radius:${t.join(" ")};`;
113946
+ }
113947
+ function textAlign(s) {
113948
+ const t = s.align ? s.align : "";
113949
+ return t === "" ? "" : `text-align:${t};`;
113950
+ }
113951
+ function lineHeight(s) {
113952
+ const t = s.lineHeight ? s.lineHeight : "";
113953
+ return t === "" ? "" : `line-height:${t}px;`;
113954
+ }
113955
+ function letterSpacing(s) {
113956
+ const t = s.letterSpacing ? s.letterSpacing : "";
113957
+ return t === "" ? "" : `letter-spacing:${t}px;`;
113958
+ }
113959
+ function colorData(s) {
113960
+ if (s.color === "0")
113961
+ return "color:var(--color);";
113962
+ const t = s.color ? s.color : "";
113963
+ return t === "" ? "" : `color:${t};`;
113964
+ }
113965
+ function fontSize(s) {
113966
+ const t = s.fontSize ? s.fontSize : "";
113967
+ return t === "" ? "" : `font-size:${t}px;`;
113968
+ }
113969
+ function fontWeight(s) {
113970
+ const t = s.fontWeight ? s.fontWeight : "";
113971
+ return t === "" ? "" : `font-weight:${t};`;
113972
+ }
113973
+ function textDecoration(s) {
113974
+ const t = s.textDecoration ? s.textDecoration : "";
113975
+ return t === "" ? "" : `text-decoration:${t};`;
113976
+ }
113977
+ function fontStyle(s) {
113978
+ const t = s.fontStyle ? s.fontStyle : "";
113979
+ return t === "" ? "" : `font-style:${t};`;
113980
+ }
113981
+ function maxLineClamp(s) {
113982
+ const t = s.maxLineClamp ? s.maxLineClamp : "";
113983
+ return t === "" ? "" : `overflow: hidden;text-overflow: ellipsis;display: -webkit-box;-webkit-line-clamp: ${t};-webkit-box-orient: vertical;`;
113984
+ }
113985
+ function widthData(s) {
113986
+ const t = s.flexWidth ? s.flexWidth : "100", a = s.flexUnit ? s.flexUnit : "%";
113987
+ return `width:${a === "%" ? t > 100 ? 100 : t : a === "auto" ? "" : t}${a};`;
113988
+ }
113989
+ function flexDirection(s) {
113990
+ const t = s.flexDirection ? s.flexDirection : "";
113991
+ return t === "" ? "" : `flex-direction:${t};`;
113992
+ }
113993
+ function justifyContent(s) {
113994
+ const t = s.justifyContent ? s.justifyContent : "";
113995
+ return t === "" ? "" : `justify-content:${t};`;
113996
+ }
113997
+ function alignItems(s) {
113998
+ const t = s.alignItems ? s.alignItems : "";
113999
+ return t === "" ? "" : `align-items:${t};`;
114000
+ }
114001
+ function flexWrap(s) {
114002
+ const t = s.flexWrap ? s.flexWrap : "";
114003
+ return t === "" ? "" : `flex-wrap:${t};`;
114004
+ }
114005
+ function getProperti(s, t) {
114006
+ switch (t) {
114007
+ case "padding":
114008
+ return paddingData(s);
114009
+ case "margin":
114010
+ return marginData(s);
114011
+ case "bjColor":
114012
+ return backgroundData(s);
114013
+ case "radius":
114014
+ return radiusData(s);
114015
+ case "align":
114016
+ return textAlign(s);
114017
+ case "lineHeight":
114018
+ return lineHeight(s);
114019
+ case "letterSpacing":
114020
+ return letterSpacing(s);
114021
+ case "color":
114022
+ return colorData(s);
114023
+ case "fontSize":
114024
+ return fontSize(s);
114025
+ case "fontWeight":
114026
+ return fontWeight(s);
114027
+ case "textDecoration":
114028
+ return textDecoration(s);
114029
+ case "fontStyle":
114030
+ return fontStyle(s);
114031
+ case "maxLineClamp":
114032
+ return maxLineClamp(s);
114033
+ case "flexWidth":
114034
+ return widthData(s);
114035
+ case "flexDirection":
114036
+ return flexDirection(s);
114037
+ case "justifyContent":
114038
+ return justifyContent(s);
114039
+ case "alignItems":
114040
+ return alignItems(s);
114041
+ case "flexWrap":
114042
+ return flexWrap(s);
114043
+ default:
114044
+ return "";
114045
+ }
114046
+ }
114047
+ const tableView_vue_vue_type_style_index_0_scoped_ab542162_lang = "", _sfc_main$25 = {
113825
114048
  props: {
113826
114049
  record: {
113827
114050
  type: Object,
@@ -113852,20 +114075,27 @@ const navBuild = __component__$26.exports, tableView_vue_vue_type_style_index_0_
113852
114075
  },
113853
114076
  options() {
113854
114077
  return this.record.options;
114078
+ },
114079
+ gclass() {
114080
+ return this.develop == 1 ? "" : this.record.customClass ? `${this.record.customClass}` : "";
114081
+ },
114082
+ wstyle() {
114083
+ const s = this.develop == 1 ? "" : `${getCss(this.options)}max-width:100%;`, t = this.record.customCss ? this.record.customCss : "";
114084
+ return `${s}${getCss(this.record.css)}${t}`;
113855
114085
  }
113856
114086
  },
113857
114087
  methods: {}
113858
114088
  };
113859
114089
  var _sfc_render$25 = function s() {
113860
114090
  var t = this, a = t._self._c;
113861
- return a("div", { staticClass: "view-table" }, [t.show ? a("div", { staticClass: "emport" }, [t._v("~" + t._s(t.$i18nt("gd.module.pleaseClickOnFormGenerator", "\u8BF7\u70B9\u51FB\u8868\u683C\u751F\u6210\u5668")) + "~")]) : a(t.componentItemed, { tag: "component", attrs: { record: t.record, height: t.height, develop: t.develop }, on: { changeData: (r) => t.$emit("changeData", r), onSelectChange: (r, o) => t.$emit("onSelectChange", r, o), fieldData: (r) => t.$emit("fieldData", r) } })], 1);
114091
+ return a("div", { staticClass: "view-table", class: t.gclass, style: t.wstyle }, [t.show ? a("div", { staticClass: "emport" }, [t._v("~" + t._s(t.$i18nt("gd.module.pleaseClickOnFormGenerator", "\u8BF7\u70B9\u51FB\u8868\u683C\u751F\u6210\u5668")) + "~")]) : a(t.componentItemed, { tag: "component", attrs: { record: t.record, height: t.height, develop: t.develop }, on: { changeData: (r) => t.$emit("changeData", r), onSelectChange: (r, o) => t.$emit("onSelectChange", r, o), fieldData: (r) => t.$emit("fieldData", r) } })], 1);
113862
114092
  }, _sfc_staticRenderFns$25 = [], __component__$25 = /* @__PURE__ */ normalizeComponent(
113863
114093
  _sfc_main$25,
113864
114094
  _sfc_render$25,
113865
114095
  _sfc_staticRenderFns$25,
113866
114096
  !1,
113867
114097
  null,
113868
- "1b064941",
114098
+ "ab542162",
113869
114099
  null,
113870
114100
  null
113871
114101
  );
@@ -113977,134 +114207,7 @@ var _sfc_render$23 = function s() {
113977
114207
  null,
113978
114208
  null
113979
114209
  );
113980
- const divider = __component__$23.exports;
113981
- function getCss(s) {
113982
- let t = "";
113983
- for (let a in s)
113984
- t += getProperti(s, a);
113985
- return t;
113986
- }
113987
- function paddingData(s) {
113988
- let t = [];
113989
- return (s.padding ? s.padding : []).forEach((r) => {
113990
- t.push(r ? `${r}px` : 0);
113991
- }), t.length === 0 ? "" : `padding:${t.join(" ")};`;
113992
- }
113993
- function marginData(s) {
113994
- let t = [];
113995
- return (s.margin ? s.margin : []).forEach((r) => {
113996
- t.push(r ? `${r}px` : 0);
113997
- }), t.length === 0 ? "" : `margin:${t.join(" ")};`;
113998
- }
113999
- function backgroundData(s) {
114000
- const t = s.bjColor ? s.bjColor : "";
114001
- return t === "" ? "" : `background-color:${t};`;
114002
- }
114003
- function radiusData(s) {
114004
- let t = [];
114005
- return (s.radius ? s.radius : []).forEach((r) => {
114006
- t.push(r ? `${r}px` : 0);
114007
- }), t.length === 0 ? "" : `border-radius:${t.join(" ")};`;
114008
- }
114009
- function textAlign(s) {
114010
- const t = s.align ? s.align : "";
114011
- return t === "" ? "" : `text-align:${t};`;
114012
- }
114013
- function lineHeight(s) {
114014
- const t = s.lineHeight ? s.lineHeight : "";
114015
- return t === "" ? "" : `line-height:${t}px;`;
114016
- }
114017
- function letterSpacing(s) {
114018
- const t = s.letterSpacing ? s.letterSpacing : "";
114019
- return t === "" ? "" : `letter-spacing:${t}px;`;
114020
- }
114021
- function colorData(s) {
114022
- const t = s.color ? s.color : "";
114023
- return t === "" ? "" : `color:${t};`;
114024
- }
114025
- function fontSize(s) {
114026
- const t = s.fontSize ? s.fontSize : "";
114027
- return t === "" ? "" : `font-size:${t}px;`;
114028
- }
114029
- function fontWeight(s) {
114030
- const t = s.fontWeight ? s.fontWeight : "";
114031
- return t === "" ? "" : `font-weight:${t};`;
114032
- }
114033
- function textDecoration(s) {
114034
- const t = s.textDecoration ? s.textDecoration : "";
114035
- return t === "" ? "" : `text-decoration:${t};`;
114036
- }
114037
- function fontStyle(s) {
114038
- const t = s.fontStyle ? s.fontStyle : "";
114039
- return t === "" ? "" : `font-style:${t};`;
114040
- }
114041
- function maxLineClamp(s) {
114042
- const t = s.maxLineClamp ? s.maxLineClamp : "";
114043
- return t === "" ? "" : `overflow: hidden;text-overflow: ellipsis;display: -webkit-box;-webkit-line-clamp: ${t};-webkit-box-orient: vertical;`;
114044
- }
114045
- function widthData(s) {
114046
- const t = s.flexWidth ? s.flexWidth : "100", a = s.flexUnit ? s.flexUnit : "%";
114047
- return `width:${a === "%" ? t > 100 ? 100 : t : a === "auto" ? "" : t}${a};`;
114048
- }
114049
- function flexDirection(s) {
114050
- const t = s.flexDirection ? s.flexDirection : "";
114051
- return t === "" ? "" : `flex-direction:${t};`;
114052
- }
114053
- function justifyContent(s) {
114054
- const t = s.justifyContent ? s.justifyContent : "";
114055
- return t === "" ? "" : `justify-content:${t};`;
114056
- }
114057
- function alignItems(s) {
114058
- const t = s.alignItems ? s.alignItems : "";
114059
- return t === "" ? "" : `align-items:${t};`;
114060
- }
114061
- function flexWrap(s) {
114062
- const t = s.flexWrap ? s.flexWrap : "";
114063
- return t === "" ? "" : `flex-wrap:${t};`;
114064
- }
114065
- function getProperti(s, t) {
114066
- switch (t) {
114067
- case "padding":
114068
- return paddingData(s);
114069
- case "margin":
114070
- return marginData(s);
114071
- case "bjColor":
114072
- return backgroundData(s);
114073
- case "radius":
114074
- return radiusData(s);
114075
- case "align":
114076
- return textAlign(s);
114077
- case "lineHeight":
114078
- return lineHeight(s);
114079
- case "letterSpacing":
114080
- return letterSpacing(s);
114081
- case "color":
114082
- return colorData(s);
114083
- case "fontSize":
114084
- return fontSize(s);
114085
- case "fontWeight":
114086
- return fontWeight(s);
114087
- case "textDecoration":
114088
- return textDecoration(s);
114089
- case "fontStyle":
114090
- return fontStyle(s);
114091
- case "maxLineClamp":
114092
- return maxLineClamp(s);
114093
- case "flexWidth":
114094
- return widthData(s);
114095
- case "flexDirection":
114096
- return flexDirection(s);
114097
- case "justifyContent":
114098
- return justifyContent(s);
114099
- case "alignItems":
114100
- return alignItems(s);
114101
- case "flexWrap":
114102
- return flexWrap(s);
114103
- default:
114104
- return "";
114105
- }
114106
- }
114107
- const textContent_vue_vue_type_style_index_0_scoped_5c6af951_lang = "", _sfc_main$22 = {
114210
+ const divider = __component__$23.exports, textContent_vue_vue_type_style_index_0_scoped_e79340be_lang = "", _sfc_main$22 = {
114108
114211
  props: {
114109
114212
  record: {
114110
114213
  type: Object,
@@ -114136,6 +114239,9 @@ const textContent_vue_vue_type_style_index_0_scoped_5c6af951_lang = "", _sfc_mai
114136
114239
  }
114137
114240
  },
114138
114241
  computed: {
114242
+ gclass() {
114243
+ return this.develop == 1 ? "" : this.record.customClass ? `${this.record.customClass}` : "";
114244
+ },
114139
114245
  columnName() {
114140
114246
  const s = this.options.columnContextName ? this.options.columnContextName : [];
114141
114247
  return s[s.length - 1];
@@ -114158,14 +114264,14 @@ const textContent_vue_vue_type_style_index_0_scoped_5c6af951_lang = "", _sfc_mai
114158
114264
  };
114159
114265
  var _sfc_render$22 = function s() {
114160
114266
  var t = this, a = t._self._c;
114161
- return a("div", { style: t.wstyle }, [t.develop == 1 ? a("div", { style: t.style }, [t._v(t._s(t.$i18nt(`Dynamics.${t.options.transKey}`, t.options.title)))]) : [t.columnName ? a("div", { style: t.style }, [t._v(t._s(t.itemData[t.columnName]))]) : a("div", { style: t.style }, [t._v(t._s(t.$i18nt(`Dynamics.${t.options.transKey}`, t.options.title)))])]], 2);
114267
+ return a("div", { class: t.gclass, style: t.wstyle }, [t.develop == 1 ? a("div", { style: t.style }, [t._v(t._s(t.$i18nt(`Dynamics.${t.options.transKey}`, t.options.title)))]) : [t.columnName ? a("div", { style: t.style }, [t._v(t._s(t.itemData[t.columnName]))]) : a("div", { style: t.style }, [t._v(t._s(t.$i18nt(`Dynamics.${t.options.transKey}`, t.options.title)))])]], 2);
114162
114268
  }, _sfc_staticRenderFns$22 = [], __component__$22 = /* @__PURE__ */ normalizeComponent(
114163
114269
  _sfc_main$22,
114164
114270
  _sfc_render$22,
114165
114271
  _sfc_staticRenderFns$22,
114166
114272
  !1,
114167
114273
  null,
114168
- "5c6af951",
114274
+ "e79340be",
114169
114275
  null,
114170
114276
  null
114171
114277
  );
@@ -114693,7 +114799,7 @@ var _sfc_render$20 = function s() {
114693
114799
  null,
114694
114800
  null
114695
114801
  );
114696
- const UnifiedComponents = __component__$20.exports, fonticon_vue_vue_type_style_index_0_scoped_a3d8cb60_lang = "", _sfc_main$1$ = {
114802
+ const UnifiedComponents = __component__$20.exports, fonticon_vue_vue_type_style_index_0_scoped_eb3d4744_lang = "", _sfc_main$1$ = {
114697
114803
  props: {
114698
114804
  record: {
114699
114805
  type: Object,
@@ -114739,6 +114845,9 @@ const UnifiedComponents = __component__$20.exports, fonticon_vue_vue_type_style_
114739
114845
  }
114740
114846
  },
114741
114847
  computed: {
114848
+ gclass() {
114849
+ return this.develop == 1 ? "" : this.record.customClass ? `${this.record.customClass}` : "";
114850
+ },
114742
114851
  options() {
114743
114852
  return this.record.options;
114744
114853
  },
@@ -114761,14 +114870,14 @@ const UnifiedComponents = __component__$20.exports, fonticon_vue_vue_type_style_
114761
114870
  };
114762
114871
  var _sfc_render$1$ = function s() {
114763
114872
  var t = this, a = t._self._c;
114764
- return a("div", { style: t.wstyle }, [a("div", { staticClass: "gd-icons", class: t.options.icon, style: t.style, on: { click: t.doEvent } }), t.develop == 2 ? a("UnifiedComponents", { ref: "unifiedComponents", attrs: { record: t.record, itemData: t.itemData, fieldContext: t.fieldContext } }) : t._e()], 1);
114873
+ return a("div", { class: t.gclass, style: t.wstyle }, [a("div", { staticClass: "gd-icons", class: t.options.icon, style: t.style, on: { click: t.doEvent } }), t.develop == 2 ? a("UnifiedComponents", { ref: "unifiedComponents", attrs: { record: t.record, itemData: t.itemData, fieldContext: t.fieldContext } }) : t._e()], 1);
114765
114874
  }, _sfc_staticRenderFns$1$ = [], __component__$1$ = /* @__PURE__ */ normalizeComponent(
114766
114875
  _sfc_main$1$,
114767
114876
  _sfc_render$1$,
114768
114877
  _sfc_staticRenderFns$1$,
114769
114878
  !1,
114770
114879
  null,
114771
- "a3d8cb60",
114880
+ "eb3d4744",
114772
114881
  null,
114773
114882
  null
114774
114883
  );
@@ -118326,7 +118435,7 @@ var _sfc_render$1H = function s() {
118326
118435
  null,
118327
118436
  null
118328
118437
  );
118329
- const detailView = __component__$1H.exports, btnGroup_vue_vue_type_style_index_0_scoped_569acb8e_lang = "", _sfc_main$1G = {
118438
+ const detailView = __component__$1H.exports, btnGroup_vue_vue_type_style_index_0_scoped_80466ede_lang = "", _sfc_main$1G = {
118330
118439
  props: {
118331
118440
  record: {
118332
118441
  type: Object,
@@ -118375,7 +118484,8 @@ const detailView = __component__$1H.exports, btnGroup_vue_vue_type_style_index_0
118375
118484
  sysViewButtons() {
118376
118485
  let s = [];
118377
118486
  return this.columns.forEach((t) => {
118378
- let a = {
118487
+ const a = fontSize(t);
118488
+ let r = {
118379
118489
  displayName: t.displayName,
118380
118490
  show: !t.hide,
118381
118491
  icon: t.icon,
@@ -118383,10 +118493,10 @@ const detailView = __component__$1H.exports, btnGroup_vue_vue_type_style_index_0
118383
118493
  name: t.permissionsPage ? t.permissionsPage : t.id,
118384
118494
  children: t.sublevel ? t.children : [],
118385
118495
  id: t.id,
118386
- style: fontSize(t)
118496
+ style: a
118387
118497
  };
118388
- const r = t.btnStyle !== "none" ? { btnType: t.btnType } : {};
118389
- s.push(Object.assign(a, r));
118498
+ const o = a ? { iconStyle: a } : {}, l = t.btnStyle !== "none" ? { btnType: t.btnStyle } : {};
118499
+ s.push(Object.assign(r, l, o));
118390
118500
  }), s;
118391
118501
  },
118392
118502
  cssData() {
@@ -118426,7 +118536,7 @@ var _sfc_render$1G = function s() {
118426
118536
  _sfc_staticRenderFns$1G,
118427
118537
  !1,
118428
118538
  null,
118429
- "569acb8e",
118539
+ "80466ede",
118430
118540
  null,
118431
118541
  null
118432
118542
  );
@@ -118556,7 +118666,7 @@ var _sfc_render$1E = function s() {
118556
118666
  null,
118557
118667
  null
118558
118668
  );
118559
- const iframeComponents = __component__$1E.exports, moneyNumber_vue_vue_type_style_index_0_scoped_46ceca23_lang = "", _sfc_main$1D = {
118669
+ const iframeComponents = __component__$1E.exports, moneyNumber_vue_vue_type_style_index_0_scoped_c38a6dcd_lang = "", _sfc_main$1D = {
118560
118670
  props: {
118561
118671
  record: {
118562
118672
  type: Object,
@@ -118671,7 +118781,7 @@ var _sfc_render$1D = function s() {
118671
118781
  _sfc_staticRenderFns$1D,
118672
118782
  !1,
118673
118783
  null,
118674
- "46ceca23",
118784
+ "c38a6dcd",
118675
118785
  null,
118676
118786
  null
118677
118787
  );
@@ -118885,7 +118995,7 @@ const echartsView = __component__$1B.exports, componentArray = {
118885
118995
  uploadImg,
118886
118996
  echarts: echartsView,
118887
118997
  inputNumber: moneyNumber
118888
- }, layoutItem_vue_vue_type_style_index_0_scoped_6b090dc9_lang = "", _sfc_main$1A = {
118998
+ }, layoutItem_vue_vue_type_style_index_0_scoped_61d055f1_lang = "", _sfc_main$1A = {
118889
118999
  props: {
118890
119000
  record: {
118891
119001
  type: Object,
@@ -118983,7 +119093,7 @@ const echartsView = __component__$1B.exports, componentArray = {
118983
119093
  fieldData(s) {
118984
119094
  this.develop !== 1 && (this.record.fieldsData = [...s]);
118985
119095
  },
118986
- handleChange() {
119096
+ handleChange(s) {
118987
119097
  this.$emit("change", this.record);
118988
119098
  },
118989
119099
  lookup() {
@@ -119138,11 +119248,11 @@ var _sfc_render$1A = function s() {
119138
119248
  t.$set(t.model, t.columnName, r);
119139
119249
  }, expression: "model[columnName]" } }, t._l(t.dict, function(r) {
119140
119250
  return a("el-radio", { key: r.code, attrs: { label: r.code, disabled: r.disabled } }, [t._v(" " + t._s(t.$i18nt(`Dynamics.${r.transkey}`, r.name)) + " ")]);
119141
- }), 1) : t.record.type === "checkbox" ? a("el-checkbox-group", { on: { change: t.handleChange }, model: { value: t.model[t.columnName], callback: function(r) {
119251
+ }), 1) : t.record.type === "checkbox" ? [typeof t.model[t.columnName] == "object" ? a("el-checkbox-group", { on: { change: t.handleChange }, model: { value: t.model[t.columnName], callback: function(r) {
119142
119252
  t.$set(t.model, t.columnName, r);
119143
119253
  }, expression: "model[columnName]" } }, t._l(t.dict, function(r) {
119144
119254
  return a("el-checkbox", { key: r.code, attrs: { label: r.code, disabled: r.disabled } }, [t._v(" " + t._s(t.$i18nt(`Dynamics.${r.transkey}`, r.name)) + " ")]);
119145
- }), 1) : t.record.type === "select" ? [["fk", "user", "about"].includes(t.options.effectType) ? a("div", { style: t.wstyle }, [a("div", { staticClass: "cao_about" }, [a("el-select", { staticClass: "cao_input", attrs: { disabled: t.options.disabled, placeholder: t.options.placeholder !== void 0 ? t.options.placeholder === "" ? t.options.placeholder : t.$i18nt(`Dynamics.${t.options.placeholderTransKey}`, t.options.placeholder) : t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), loading: t.loading, "reserve-keyword": "", filterable: "", remote: "", clearable: "", "remote-method": t.searchData, "popper-append-to-body": !1 }, on: { focus: t.fkSearch, change: t.handleChange }, model: { value: t.model[t.columnName], callback: function(r) {
119255
+ }), 1) : t._e()] : t.record.type === "select" ? [["fk", "user", "about"].includes(t.options.effectType) ? a("div", { style: t.wstyle }, [a("div", { staticClass: "cao_about" }, [a("el-select", { staticClass: "cao_input", attrs: { disabled: t.options.disabled, placeholder: t.options.placeholder !== void 0 ? t.options.placeholder === "" ? t.options.placeholder : t.$i18nt(`Dynamics.${t.options.placeholderTransKey}`, t.options.placeholder) : t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), loading: t.loading, "reserve-keyword": "", filterable: "", remote: "", clearable: "", "remote-method": t.searchData, "popper-append-to-body": !1 }, on: { focus: t.fkSearch, change: t.handleChange }, model: { value: t.model[t.columnName], callback: function(r) {
119146
119256
  t.$set(t.model, t.columnName, r);
119147
119257
  }, expression: "model[columnName]" } }, t._l(t.fkData, function(r) {
119148
119258
  return a("el-option", { key: r.id, attrs: { label: r.name, value: r.id } });
@@ -119173,7 +119283,7 @@ var _sfc_render$1A = function s() {
119173
119283
  _sfc_staticRenderFns$1A,
119174
119284
  !1,
119175
119285
  null,
119176
- "6b090dc9",
119286
+ "61d055f1",
119177
119287
  null,
119178
119288
  null
119179
119289
  );
@@ -119471,7 +119581,7 @@ var _sfc_render$1w = function s() {
119471
119581
  null,
119472
119582
  null
119473
119583
  );
119474
- const FlexLayout = __component__$1w.exports, dataList_vue_vue_type_style_index_0_scoped_c29cc137_lang = "", _sfc_main$1v = {
119584
+ const FlexLayout = __component__$1w.exports, dataList_vue_vue_type_style_index_0_scoped_058408ea_lang = "", _sfc_main$1v = {
119475
119585
  props: {
119476
119586
  record: {
119477
119587
  type: Object,
@@ -119609,7 +119719,7 @@ const FlexLayout = __component__$1w.exports, dataList_vue_vue_type_style_index_0
119609
119719
  },
119610
119720
  methods: {
119611
119721
  executeEvent(s) {
119612
- this.tableQueries = s && s.tableQueries ? s.tableQueries : [];
119722
+ console.log(s), this.tableQueries = s && s.tableQueries ? s.tableQueries : [];
119613
119723
  const t = s.functionName ? s.functionName : "";
119614
119724
  t && this[t] !== void 0 ? this[t](s.data) : console.log("\u6267\u884C\u9519\u8BEF");
119615
119725
  },
@@ -119670,7 +119780,7 @@ const FlexLayout = __component__$1w.exports, dataList_vue_vue_type_style_index_0
119670
119780
  if (a.code === 200) {
119671
119781
  let r = a.data.rows.map((o) => {
119672
119782
  let l = /* @__PURE__ */ new Map();
119673
- return l.set(this.ids, o.id), Object.assign(o, Object.fromEntries(l), this.tableQueries, this.getDictionary("time_longshort")), o;
119783
+ return l.set(this.executeIds, o.id), Object.assign(o, Object.fromEntries(l), this.tableQueries, this.getDictionary("time_longshort")), o;
119674
119784
  });
119675
119785
  this.list = s || this.pageNo === 1 ? r : this.list.concat(r), this.totalRows = a.data.totalrows, this.statu = this.totalRows === 0;
119676
119786
  }
@@ -119751,7 +119861,7 @@ var _sfc_render$1v = function s() {
119751
119861
  _sfc_staticRenderFns$1v,
119752
119862
  !1,
119753
119863
  null,
119754
- "c29cc137",
119864
+ "058408ea",
119755
119865
  null,
119756
119866
  null
119757
119867
  );
@@ -120354,7 +120464,7 @@ var _sfc_render$1s = function s() {
120354
120464
  null,
120355
120465
  null
120356
120466
  );
120357
- const layoutItem = __component__$1s.exports, componentPanel_vue_vue_type_style_index_0_scoped_2ddf0fc0_lang = "";
120467
+ const layoutItem = __component__$1s.exports, componentPanel_vue_vue_type_style_index_0_scoped_b62ff8ef_lang = "";
120358
120468
  var timeOut = null;
120359
120469
  const _sfc_main$1r = {
120360
120470
  props: {
@@ -120572,7 +120682,7 @@ const _sfc_main$1r = {
120572
120682
  getRuleFormData(s) {
120573
120683
  let t = /* @__PURE__ */ new Map();
120574
120684
  return s.forEach((a) => {
120575
- ["inputNumber", "select"].includes(a.type) ? t.set(a.options.columnName, a.options.defaultValue !== void 0 ? a.options.defaultValue : void 0) : ["switch"].includes(a.type) ? t.set(a.options.columnName, a.options.defaultValue !== void 0 ? a.options.defaultValue : 0) : ["checkbox"].includes(a.type) ? t.set(a.options.columnName, a.options.defaultValue !== void 0 ? a.options.defaultValue : []) : ["select"].includes(a.type) ? t.set(
120685
+ ["inputNumber"].includes(a.type) ? t.set(a.options.columnName, a.options.defaultValue !== void 0 ? a.options.defaultValue : void 0) : ["switch"].includes(a.type) ? t.set(a.options.columnName, a.options.defaultValue !== void 0 ? a.options.defaultValue : 0) : ["checkbox"].includes(a.type) ? t.set(a.options.columnName, a.options.defaultValue !== void 0 ? a.options.defaultValue : []) : ["select"].includes(a.type) ? t.set(
120576
120686
  a.options.columnName,
120577
120687
  a.options.defaultValue !== void 0 ? a.options.defaultValue : a.options.multiple ? [] : void 0
120578
120688
  ) : t.set(
@@ -120624,7 +120734,7 @@ var _sfc_render$1r = function s() {
120624
120734
  _sfc_staticRenderFns$1r,
120625
120735
  !1,
120626
120736
  null,
120627
- "2ddf0fc0",
120737
+ "b62ff8ef",
120628
120738
  null,
120629
120739
  null
120630
120740
  );
@@ -124107,7 +124217,7 @@ var _sfc_render$13 = function s() {
124107
124217
  null,
124108
124218
  null
124109
124219
  );
124110
- const propertiesInterac = __component__$13.exports, properties_vue_vue_type_style_index_0_scoped_7b118256_lang = "", _sfc_main$12 = {
124220
+ const propertiesInterac = __component__$13.exports, properties_vue_vue_type_style_index_0_scoped_d048438a_lang = "", _sfc_main$12 = {
124111
124221
  props: {
124112
124222
  selectItem: {
124113
124223
  type: Object,
@@ -124233,6 +124343,25 @@ const propertiesInterac = __component__$13.exports, properties_vue_vue_type_styl
124233
124343
  }
124234
124344
  ];
124235
124345
  },
124346
+ spaceTrimList() {
124347
+ return [
124348
+ {
124349
+ name: "\u9ED8\u8BA4",
124350
+ code: "none",
124351
+ transKey: "gd.basics.default"
124352
+ },
124353
+ {
124354
+ name: "\u524D\u540E\u7A7A\u683C",
124355
+ code: "around",
124356
+ transKey: "gd.page.aroundSpace"
124357
+ },
124358
+ {
124359
+ name: "\u6240\u6709\u7A7A\u683C",
124360
+ code: "all",
124361
+ transKey: "gd.page.allSpace"
124362
+ }
124363
+ ];
124364
+ },
124236
124365
  inputComponentList() {
124237
124366
  const s = formItems.filter((t) => this.options.initialType.includes(t.type));
124238
124367
  return s ? JSON.parse(JSON.stringify(s)) : [];
@@ -124525,7 +124654,11 @@ var _sfc_render$12 = function s() {
124525
124654
  t.$set(t.options, "defaultValue", r);
124526
124655
  }, expression: "options.defaultValue" } }) : a("el-input", { attrs: { placeholder: t.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165"), clearable: "" }, model: { value: t.options.defaultValue, callback: function(r) {
124527
124656
  t.$set(t.options, "defaultValue", r);
124528
- }, expression: "options.defaultValue" } })], 1) : t._e(), a("propertiesRelevance", { attrs: { selectItem: t.selectItem, tableFieldList: t.tableFieldList, table: t.table } }), t.getTypeof("operationAttribute", "selectItem") ? a("el-form-item", { attrs: { label: t.$i18nt("gd.page.actionProperties", "\u64CD\u4F5C\u5C5E\u6027") } }, [t.getTypeof("clearable") ? a("pCheckbox", { attrs: { label: t.$i18nt("gd.page.clearable", "\u53EF\u6E05\u9664") }, model: { value: t.options.clearable, callback: function(r) {
124657
+ }, expression: "options.defaultValue" } })], 1) : t._e(), a("propertiesRelevance", { attrs: { selectItem: t.selectItem, tableFieldList: t.tableFieldList, table: t.table } }), t.isFormItem && t.getTypeof("spaceTrim") ? a("el-form-item", { attrs: { label: t.$i18nt("gd.page.spaceTrim", "\u53BB\u9664\u7A7A\u683C") } }, [a("el-select", { model: { value: t.options.spaceTrim, callback: function(r) {
124658
+ t.$set(t.options, "spaceTrim", r);
124659
+ }, expression: "options.spaceTrim" } }, t._l(t.spaceTrimList, function(r) {
124660
+ return a("el-option", { key: r.code, attrs: { label: t.$i18nt(r.transKey, r.name), value: r.code } });
124661
+ }), 1)], 1) : t._e(), t.getTypeof("operationAttribute", "selectItem") ? a("el-form-item", { attrs: { label: t.$i18nt("gd.page.actionProperties", "\u64CD\u4F5C\u5C5E\u6027") } }, [t.getTypeof("clearable") ? a("pCheckbox", { attrs: { label: t.$i18nt("gd.page.clearable", "\u53EF\u6E05\u9664") }, model: { value: t.options.clearable, callback: function(r) {
124529
124662
  t.$set(t.options, "clearable", r);
124530
124663
  }, expression: "options.clearable" } }) : t._e(), t.getTypeof("hidden") ? a("pCheckbox", { attrs: { label: t.$i18nt("gd.page.hide", "\u9690\u85CF") }, model: { value: t.options.hidden, callback: function(r) {
124531
124664
  t.$set(t.options, "hidden", r);
@@ -124644,11 +124777,11 @@ var _sfc_render$12 = function s() {
124644
124777
  _sfc_staticRenderFns$12,
124645
124778
  !1,
124646
124779
  null,
124647
- "7b118256",
124780
+ "d048438a",
124648
124781
  null,
124649
124782
  null
124650
124783
  );
124651
- const pageProperties = __component__$12.exports, businessRules_vue_vue_type_style_index_0_scoped_28e0d162_lang = "", _sfc_main$11 = {
124784
+ const pageProperties = __component__$12.exports, businessRules_vue_vue_type_style_index_0_scoped_7513de0f_lang = "", _sfc_main$11 = {
124652
124785
  props: {
124653
124786
  formRecord: {
124654
124787
  type: Object,
@@ -124764,6 +124897,15 @@ const pageProperties = __component__$12.exports, businessRules_vue_vue_type_styl
124764
124897
  ...mapGetters(["screenHeight", "primaryColor"])
124765
124898
  },
124766
124899
  methods: {
124900
+ hasTimePicker(s) {
124901
+ const t = s || "yyyy-MM-dd";
124902
+ return ["hh:mm:ss", "hh:mm", "mm:ss"].includes(t);
124903
+ },
124904
+ pickerType(s) {
124905
+ const t = s || "yyyy-MM-dd";
124906
+ let a = "date";
124907
+ return t === "yyyy-MM-dd hh:mm:ss" ? a = "datetime" : t === "yyyy-MM" ? a = "month" : t === "yyyy" && (a = "year"), a;
124908
+ },
124767
124909
  handleSubmit() {
124768
124910
  let s = [], t = [];
124769
124911
  if (this.list.forEach((a, r) => {
@@ -125071,9 +125213,9 @@ var _sfc_render$11 = function s() {
125071
125213
  return [a("el-option", { attrs: { value: u.code, label: t.$i18nt(`Dynamics.${u.transkey}`, u.name) } })];
125072
125214
  })], 2) : ["inputnumber", "double", "currency"].includes(l.effectType) ? a("el-input-number", { staticStyle: { width: "100%" }, attrs: { placeholder: t.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165"), "controls-position": "right", step: 1 }, model: { value: l.val, callback: function(u) {
125073
125215
  t.$set(l, "val", u);
125074
- }, expression: "ite.val" } }) : l.effectType === "datepicker" ? [l.fieldFormat === "hh:mm:ss" ? a("el-time-picker", { attrs: { "value-format": l.fieldFormat, format: l.fieldFormat, placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9") }, model: { value: l.val, callback: function(u) {
125216
+ }, expression: "ite.val" } }) : l.effectType === "datepicker" ? [t.hasTimePicker(l.fieldFormat) ? a("el-time-picker", { attrs: { "value-format": l.fieldFormat, format: l.fieldFormat, placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9") }, model: { value: l.val, callback: function(u) {
125075
125217
  t.$set(l, "val", u);
125076
- }, expression: "ite.val" } }) : a("el-date-picker", { staticStyle: { width: "100%" }, attrs: { placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), type: l.showTime ? "datetime" : "date", "value-format": l.fieldFormat, format: l.fieldFormat, clearable: "" }, model: { value: l.val, callback: function(u) {
125218
+ }, expression: "ite.val" } }) : a("el-date-picker", { staticStyle: { width: "100%" }, attrs: { placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), type: t.pickerType(l.fieldFormat), "value-format": l.fieldFormat, format: l.fieldFormat, clearable: "" }, model: { value: l.val, callback: function(u) {
125077
125219
  t.$set(l, "val", u);
125078
125220
  }, expression: "ite.val" } })] : ["fk", "about", "user"].includes(l.effectType) ? a("div", { staticClass: "cao_about" }, [a("el-select", { staticClass: "cao_input", attrs: { placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), "reserve-keyword": "", filterable: "", remote: "", clearable: "", loading: t.loading, "remote-method": (u) => t.searchData(u, l) }, model: { value: l.val, callback: function(u) {
125079
125221
  t.$set(l, "val", u);
@@ -125117,9 +125259,9 @@ var _sfc_render$11 = function s() {
125117
125259
  return [a("el-option", { attrs: { value: u.code, label: t.$i18nt(`Dynamics.${u.transkey}`, u.name) } })];
125118
125260
  })], 2) : ["inputnumber", "double", "currency"].includes(l.effectType) ? a("el-input-number", { staticStyle: { width: "100%" }, attrs: { placeholder: t.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165"), "controls-position": "right", step: 1 }, model: { value: l.val, callback: function(u) {
125119
125261
  t.$set(l, "val", u);
125120
- }, expression: "ite.val" } }) : l.effectType === "datepicker" ? [l.fieldFormat === "hh:mm:ss" ? a("el-time-picker", { attrs: { "value-format": l.fieldFormat, format: l.fieldFormat, placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9") }, model: { value: l.val, callback: function(u) {
125262
+ }, expression: "ite.val" } }) : l.effectType === "datepicker" ? [t.hasTimePicker(l.fieldFormat) ? a("el-time-picker", { attrs: { "value-format": l.fieldFormat, format: l.fieldFormat, placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9") }, model: { value: l.val, callback: function(u) {
125121
125263
  t.$set(l, "val", u);
125122
- }, expression: "ite.val" } }) : a("el-date-picker", { staticStyle: { width: "100%" }, attrs: { placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), type: l.showTime ? "datetime" : "date", "value-format": l.fieldFormat, format: l.fieldFormat, clearable: "" }, model: { value: l.val, callback: function(u) {
125264
+ }, expression: "ite.val" } }) : a("el-date-picker", { staticStyle: { width: "100%" }, attrs: { placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), type: t.pickerType(l.fieldFormat), "value-format": l.fieldFormat, format: l.fieldFormat, clearable: "" }, model: { value: l.val, callback: function(u) {
125123
125265
  t.$set(l, "val", u);
125124
125266
  }, expression: "ite.val" } })] : ["fk", "about", "user"].includes(l.effectType) ? a("div", { staticClass: "cao_about" }, [a("el-select", { staticClass: "cao_input", attrs: { placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), "reserve-keyword": "", filterable: "", remote: "", clearable: "", loading: t.loading, "remote-method": (u) => t.searchData(u, l) }, model: { value: l.val, callback: function(u) {
125125
125267
  t.$set(l, "val", u);
@@ -125158,7 +125300,7 @@ var _sfc_render$11 = function s() {
125158
125300
  _sfc_staticRenderFns$11,
125159
125301
  !1,
125160
125302
  null,
125161
- "28e0d162",
125303
+ "7513de0f",
125162
125304
  null,
125163
125305
  null
125164
125306
  );
@@ -131855,7 +131997,7 @@ const mixins$6 = {
131855
131997
  label: "\u8BBF\u95EE\u65E5\u5FD7",
131856
131998
  icon: "gd-icon-xitong",
131857
131999
  transKey: null,
131858
- component: "vislog",
132000
+ component: "GdVislog",
131859
132001
  options: {},
131860
132002
  css: {},
131861
132003
  defined: {
@@ -133934,7 +134076,7 @@ const mixins$6 = {
133934
134076
  ]
133935
134077
  }
133936
134078
  ]
133937
- }], getComponentsTree = authorityItems.concat(baseItems).concat(dataItems).concat(flowsItems).concat(logItems).concat(messageItems).concat(organizationItems).concat(systemItems), addPage_vue_vue_type_style_index_0_scoped_d4dbe2d7_lang = "", _sfc_main$H = {
134079
+ }], getComponentsTree = authorityItems.concat(baseItems).concat(dataItems).concat(flowsItems).concat(logItems).concat(messageItems).concat(organizationItems).concat(systemItems), addPage_vue_vue_type_style_index_0_scoped_2e0c6173_lang = "", _sfc_main$H = {
133938
134080
  data() {
133939
134081
  return {
133940
134082
  sysCode: "GDS_LCDP",
@@ -134101,21 +134243,21 @@ const mixins$6 = {
134101
134243
  s !== this.activeKey && (this.activeKey = s);
134102
134244
  },
134103
134245
  createItem(s) {
134104
- this.activeKey = 1, this.type = "copy", this.visible = !0, this.confirmLoading = !0, this.disabledBtns = ["prev", "next"], this.mode = 2, this.selType = s.modeType, sysMenuDetail({ id: s.id }).then((t) => {
134246
+ this.activeKey = 1, this.type = "copy", this.visible = !0, this.confirmLoading = !0, this.disabledBtns = ["prev", "next"], this.mode = 2, this.selType = s.modetype, sysMenuDetail({ id: s.id }).then((t) => {
134105
134247
  let a = { ...s };
134106
134248
  t.code === 200 && (a = { ...t.data }), this.record = Object.assign(a, { sysAppsIded: s.sysAppsIded }), this.ruleForm = {
134107
134249
  name: a.name,
134108
- code: a.code + "_a",
134250
+ code: a.code + uuid$1(2),
134109
134251
  router: a.router,
134110
134252
  icon: a.icon,
134111
- viewWeights: a.viewWeights,
134112
- weight: a.weight,
134253
+ viewWeights: a.viewweights,
134254
+ weight: String(a.weight),
134113
134255
  sort: a.sort,
134114
134256
  visible: a.visible,
134115
134257
  remark: a.remark,
134116
134258
  sysCodeGenName: ""
134117
134259
  }, this.confirmLoading = !1;
134118
- }), console.log(s);
134260
+ });
134119
134261
  },
134120
134262
  handleSubmit() {
134121
134263
  this.confirmLoading = !0, this.$refs.ruleForm.validate((s) => {
@@ -134141,11 +134283,11 @@ const mixins$6 = {
134141
134283
  } : {
134142
134284
  pid: this.record.pid,
134143
134285
  application: this.record.application,
134144
- openType: this.record.openType,
134286
+ openType: this.record.opentype,
134145
134287
  type: this.record.type,
134146
134288
  component: this.record.component,
134147
- webSource: this.record.webSource,
134148
- pageContent: this.record.pageContent,
134289
+ webSource: this.record.websource,
134290
+ pageContent: this.record.pagecontent,
134149
134291
  sysAppsId: this.record.sysAppsIded
134150
134292
  };
134151
134293
  sysMenuAddV2(Object.assign({ ...this.ruleForm }, s)).then((t) => {
@@ -134294,11 +134436,11 @@ var _sfc_render$H = function s() {
134294
134436
  _sfc_staticRenderFns$H,
134295
134437
  !1,
134296
134438
  null,
134297
- "d4dbe2d7",
134439
+ "2e0c6173",
134298
134440
  null,
134299
134441
  null
134300
134442
  );
134301
- const AddPage = __component__$H.exports, movePid_vue_vue_type_style_index_0_scoped_22511eda_lang = "", _sfc_main$G = {
134443
+ const AddPage = __component__$H.exports, movePid_vue_vue_type_style_index_0_scoped_20e98ad0_lang = "", _sfc_main$G = {
134302
134444
  props: {
134303
134445
  treeData: {
134304
134446
  type: Array,
@@ -134347,14 +134489,9 @@ const AddPage = __component__$H.exports, movePid_vue_vue_type_style_index_0_scop
134347
134489
  let a = {
134348
134490
  name: t.name
134349
134491
  };
134350
- if (this.record.modeType === "page")
134351
- Object.assign(a, { pid: this.ruleForm.npid });
134352
- else if (this.record.modeType === "directory") {
134353
- const r = this.treeOptions.filter((o) => o.id === this.ruleForm.npid)[0];
134354
- Object.assign(a, { pid: 0, application: r.code });
134355
- }
134356
- sysMenuEdit(Object.assign(t, { ...a })).then((r) => {
134357
- r.success ? (this.closed(), this.$emit("ok"), this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F"))) : this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + r.message), this.confirmLoading = !1;
134492
+ const r = this.treeOptions.filter((o) => o.id === this.ruleForm.npid)[0];
134493
+ this.record.modeType === "page" && !r ? Object.assign(a, { pid: this.ruleForm.npid }) : this.record.modeType === "page" && r ? Object.assign(a, { pid: 0, application: r.code }) : this.record.modeType === "directory" && Object.assign(a, { pid: 0, application: r.code }), sysMenuEdit(Object.assign(t, { ...a })).then((o) => {
134494
+ o.success ? (this.closed(), this.$emit("ok"), this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F"))) : this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + o.message), this.confirmLoading = !1;
134358
134495
  });
134359
134496
  });
134360
134497
  },
@@ -134398,7 +134535,7 @@ var _sfc_render$G = function s() {
134398
134535
  _sfc_staticRenderFns$G,
134399
134536
  !1,
134400
134537
  null,
134401
- "22511eda",
134538
+ "20e98ad0",
134402
134539
  null,
134403
134540
  null
134404
134541
  );
@@ -136251,10 +136388,11 @@ var _sfc_render$q = function s() {
136251
136388
  null,
136252
136389
  null
136253
136390
  );
136254
- const BuildBlocks = __component__$q.exports, main_vue_vue_type_style_index_0_scoped_f541c238_lang = "", _sfc_main$p = {
136391
+ const BuildBlocks = __component__$q.exports, main_vue_vue_type_style_index_0_scoped_5a0bc3d1_lang = "", _sfc_main$p = {
136255
136392
  name: "GdPageBuild",
136256
136393
  data() {
136257
136394
  return {
136395
+ showComponents: [],
136258
136396
  menuId: "",
136259
136397
  loading: !1,
136260
136398
  record: {},
@@ -136282,6 +136420,9 @@ const BuildBlocks = __component__$q.exports, main_vue_vue_type_style_index_0_sco
136282
136420
  },
136283
136421
  components: { BuildBlocks },
136284
136422
  methods: {
136423
+ closed(s) {
136424
+ this.showComponents = this.showComponents.filter((t) => t !== s);
136425
+ },
136285
136426
  baseFilePreview(s) {
136286
136427
  let t = [];
136287
136428
  if (isJson(s.data) && (t = JSON.parse(s.data)), t.length === 0) {
@@ -136290,7 +136431,11 @@ const BuildBlocks = __component__$q.exports, main_vue_vue_type_style_index_0_sco
136290
136431
  }
136291
136432
  const a = t[0];
136292
136433
  let r = { name: a.fileoriginname, fileId: a.id };
136293
- this.$refs.filePreview.open(r);
136434
+ this.showComponents = ["filePreview"], this.$nextTick(() => {
136435
+ setTimeout(() => {
136436
+ this.$refs.filePreview.open(r);
136437
+ }, 200);
136438
+ });
136294
136439
  },
136295
136440
  doEventDataList(s, t) {
136296
136441
  const a = t.executeEvent ? t.executeEvent : [];
@@ -136376,14 +136521,16 @@ const BuildBlocks = __component__$q.exports, main_vue_vue_type_style_index_0_sco
136376
136521
  };
136377
136522
  var _sfc_render$p = function s() {
136378
136523
  var t = this, a = t._self._c;
136379
- return a("div", { directives: [{ name: "loading", rawName: "v-loading", value: t.loading, expression: "loading" }], staticClass: "gd-page-bulid", style: t.style }, [t.loading ? a("div", { staticClass: "bulid-loading" }, [a("gd-view-loading", { attrs: { height: t.height } })], 1) : t._e(), t.show ? a("BuildBlocks", { attrs: { record: t.record, height: t.height } }) : t._e(), a("gd-file-preview", { ref: "filePreview", attrs: { options: {}, hasFullscreen: !0 } })], 1);
136524
+ return a("div", { directives: [{ name: "loading", rawName: "v-loading", value: t.loading, expression: "loading" }], staticClass: "gd-page-bulid", style: t.style }, [t.loading ? a("div", { staticClass: "bulid-loading" }, [a("gd-view-loading", { attrs: { height: t.height } })], 1) : t._e(), t.show ? a("BuildBlocks", { attrs: { record: t.record, height: t.height } }) : t._e(), t.showComponents.includes("filePreview") ? a("gd-file-preview", { ref: "filePreview", attrs: { options: {}, hasFullscreen: !0 }, on: { closed: function(r) {
136525
+ return t.closed("filePreview");
136526
+ } } }) : t._e()], 1);
136380
136527
  }, _sfc_staticRenderFns$p = [], __component__$p = /* @__PURE__ */ normalizeComponent(
136381
136528
  _sfc_main$p,
136382
136529
  _sfc_render$p,
136383
136530
  _sfc_staticRenderFns$p,
136384
136531
  !1,
136385
136532
  null,
136386
- "f541c238",
136533
+ "5a0bc3d1",
136387
136534
  null,
136388
136535
  null
136389
136536
  );
@@ -137015,7 +137162,7 @@ function processingResults(s, t, a) {
137015
137162
  function isSatisfyed(s, t) {
137016
137163
  return t === "2" ? s.every((a, r, o) => !a) : s.every((a, r, o) => !!a);
137017
137164
  }
137018
- const processFlow_vue_vue_type_style_index_0_scoped_0daf0169_lang = "", _sfc_main$n = {
137165
+ const processFlow_vue_vue_type_style_index_0_scoped_3002a235_lang = "", _sfc_main$n = {
137019
137166
  props: {
137020
137167
  fieldData: {
137021
137168
  type: Array,
@@ -137440,7 +137587,7 @@ const processFlow_vue_vue_type_style_index_0_scoped_0daf0169_lang = "", _sfc_mai
137440
137587
  if (!s || s.id === this.seeData.id)
137441
137588
  return;
137442
137589
  let t = [...this.list];
137443
- t.map((a) => (a.class = a.id == s.id ? "item-active" : a.statu == 0 || a.statu == 1 ? "item-over" : "", a.style = a.id == s.id ? {} : this.styled(a), a)), this.seeData = { ...s }, this.list = [...t], this.changeData({}), this.boundField();
137590
+ t.map((a) => (a.class = a.id == s.id ? "item-active" : a.statu == 0 || a.statu == 1 ? "item-over" : "", a.style = a.id == s.id ? {} : this.styled(a), a)), this.seeData = { ...s }, this.list = [...t], this.changeData({});
137444
137591
  },
137445
137592
  boundField() {
137446
137593
  const s = (r) => (r = r.filter((o, l) => {
@@ -137522,10 +137669,11 @@ const processFlow_vue_vue_type_style_index_0_scoped_0daf0169_lang = "", _sfc_mai
137522
137669
  stagecompletename: f.join(",")
137523
137670
  }, p = Object.assign({ ...this.stageData }, { ...h }), v = {
137524
137671
  fieldsList: o.fieldsList ? o.fieldsList : [],
137525
- updateOpen: o.updateOpen === void 0 ? !1 : o.updateOpen
137672
+ updateOpen: o.updateOpen === void 0 ? !1 : o.updateOpen,
137673
+ id: this.seeData.id
137526
137674
  };
137527
137675
  onlineBizProcessStageSave(p).then((g) => {
137528
- g.success ? (this.stageData = p, this.isSerialize = !1, this.editHandling(), this.baseEdit(v)) : this.$message.warning(g.message), this.confirmLoading = !1;
137676
+ g.success ? (this.baseEdit(v), this.stageData = p, this.isSerialize = !1, this.editHandling()) : this.$message.warning(g.message), this.confirmLoading = !1;
137529
137677
  });
137530
137678
  }).catch(() => {
137531
137679
  this.confirmLoading = !1;
@@ -137562,7 +137710,7 @@ const processFlow_vue_vue_type_style_index_0_scoped_0daf0169_lang = "", _sfc_mai
137562
137710
  let o = /* @__PURE__ */ new Map();
137563
137711
  a.updateFiled.forEach((v) => {
137564
137712
  const g = this.fieldData.filter((y) => y.id === v)[0];
137565
- o.set(g.columnName, this.parameterData[g.columnName]);
137713
+ o.set(g.columnname, this.parameterData[g.columnname]);
137566
137714
  });
137567
137715
  let l = t.filter((v) => ["about"].includes(v.options.effectType)), d = t.filter((v) => ["participants"].includes(v.options.effectType));
137568
137716
  l.forEach((v) => {
@@ -137588,7 +137736,7 @@ const processFlow_vue_vue_type_style_index_0_scoped_0daf0169_lang = "", _sfc_mai
137588
137736
  id: this.parameterData.id
137589
137737
  };
137590
137738
  baseEdit(Object.assign(u, p)).then((v) => {
137591
- v.code === 200 && (this.$emit("ok"), this.$emit("flowFields", { data: Object.fromEntries(f), updateOpen: s.updateOpen }));
137739
+ v.code === 200 ? (this.$emit("ok"), this.$emit("flowFields", { data: Object.fromEntries(f), updateOpen: s.updateOpen })) : this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25:") + v.message);
137592
137740
  });
137593
137741
  },
137594
137742
  addHandling() {
@@ -137751,11 +137899,11 @@ var _sfc_render$n = function s() {
137751
137899
  _sfc_staticRenderFns$n,
137752
137900
  !1,
137753
137901
  null,
137754
- "0daf0169",
137902
+ "3002a235",
137755
137903
  null,
137756
137904
  null
137757
137905
  );
137758
- const ProcessFlow = __component__$n.exports, main_vue_vue_type_style_index_0_scoped_4933cbbd_lang = "", _sfc_main$m = {
137906
+ const ProcessFlow = __component__$n.exports, main_vue_vue_type_style_index_0_scoped_0a6a1b43_lang = "", _sfc_main$m = {
137759
137907
  name: "GdFormBuild",
137760
137908
  props: {
137761
137909
  modeType: {
@@ -137789,6 +137937,7 @@ const ProcessFlow = __component__$n.exports, main_vue_vue_type_style_index_0_sco
137789
137937
  },
137790
137938
  data() {
137791
137939
  return {
137940
+ statu: !1,
137792
137941
  tableDetails: null,
137793
137942
  id: "",
137794
137943
  record: null,
@@ -137848,8 +137997,16 @@ const ProcessFlow = __component__$n.exports, main_vue_vue_type_style_index_0_sco
137848
137997
  this.$emit("changeId", s);
137849
137998
  }
137850
137999
  },
137851
- components: { BuildBlocks, DataAssign, ProcessFlow, Duplicate },
138000
+ components: { BuildBlocks, DataAssign, ProcessFlow, Duplicate, TeamSharing },
137852
138001
  methods: {
138002
+ showLoading() {
138003
+ this.statu = !0;
138004
+ },
138005
+ hideLoading(s = 1500) {
138006
+ setTimeout(() => {
138007
+ this.statu = !1;
138008
+ }, s);
138009
+ },
137853
138010
  changeFlowFields(s) {
137854
138011
  s.updateOpen && this.baseSetData(s.data);
137855
138012
  },
@@ -137882,6 +138039,9 @@ const ProcessFlow = __component__$n.exports, main_vue_vue_type_style_index_0_sco
137882
138039
  assign() {
137883
138040
  this.baseAssign();
137884
138041
  },
138042
+ teamSharing() {
138043
+ this.baseTeamSharing();
138044
+ },
137885
138045
  getTableData() {
137886
138046
  this.tableDetails || codeGenerateGetDetail({
137887
138047
  id: this.tableData.id
@@ -137920,9 +138080,7 @@ const ProcessFlow = __component__$n.exports, main_vue_vue_type_style_index_0_sco
137920
138080
  return this.confirmLoading = !0, new Promise((t, a) => {
137921
138081
  this.getFormAllData().then((r) => {
137922
138082
  [...r.fkList];
137923
- let o = this.recordRelation.foreign === void 0 ? "" : this.recordRelation.foreign.fkValue;
137924
- console.log(o, this.recordRelation.foreign, this.recordRelation);
137925
- let l = !1, d = !1;
138083
+ let o = this.recordRelation.foreign === void 0 ? "" : this.recordRelation.foreign.fkValue, l = !1, d = !1;
137926
138084
  if (this.recordRelation.options && (l = this.recordRelation.options.saved === void 0 ? !1 : this.recordRelation.options.saved, d = this.recordRelation.options.refreshHost === void 0 ? !1 : this.recordRelation.options.refreshHost), this.isRelevance) {
137927
138085
  this.$emit("relationOk", { data: r, fkDataList: this.allField });
137928
138086
  return;
@@ -138033,7 +138191,9 @@ const ProcessFlow = __component__$n.exports, main_vue_vue_type_style_index_0_sco
138033
138191
  });
138034
138192
  },
138035
138193
  addbase({ data: s, resolve: t, saved: a, refreshHost: r, t: o, statu: l }) {
138036
- return baseAdd(s).then((d) => (d.code === 200 ? (this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), this.title = this.$i18nt("gd.common.btn.edit", "\u7F16\u8F91"), this.id = d.data, l ? this.baseRelationSave({ id: d.data, fkList }, o) : (this.baseAddFlow(d.data, o), this.$emit("ok", !1), this.baseClearFk(), this.closed(o), this.confirmLoading = !1), String(this.openMode) === "3" && a && r && this.baseRelationRefresh(!0, [])) : (this.confirmLoading = !1, this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25:") + d.message)), setTimeout(() => {
138194
+ return baseAdd(s).then((d) => (d.code === 200 ? (this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), this.title = this.$i18nt("gd.common.btn.edit", "\u7F16\u8F91"), this.id = d.data, l ? this.baseRelationSave({ id: d.data, fkList }, o) : (this.baseAddFlow(d.data, o), this.baseClearFk(), this.closed(o), this.confirmLoading = !1, setTimeout(() => {
138195
+ this.$emit("ok", !1, !0);
138196
+ }, 0)), String(this.openMode) === "3" && a && r && this.baseRelationRefresh(!0, [])) : (this.confirmLoading = !1, this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25:") + d.message)), setTimeout(() => {
138037
138197
  t({ res: d, data: s });
138038
138198
  }, 50), d)).catch(() => {
138039
138199
  this.confirmLoading = !1;
@@ -138519,6 +138679,9 @@ const ProcessFlow = __component__$n.exports, main_vue_vue_type_style_index_0_sco
138519
138679
  baseAssign() {
138520
138680
  this.$refs.dataAssign.open([this.id]);
138521
138681
  },
138682
+ baseTeamSharing() {
138683
+ this.$refs.teamSharing.open(this.id);
138684
+ },
138522
138685
  baseAddFlow(s, t) {
138523
138686
  this.id = s, this.parameterData = Object.assign(this.parameterData, { id: s }), this.$refs.processFlow.baseAddFlow(s), t !== 1 && (this.confirmLoading = !0, this.getDetail());
138524
138687
  },
@@ -138692,14 +138855,15 @@ const ProcessFlow = __component__$n.exports, main_vue_vue_type_style_index_0_sco
138692
138855
  },
138693
138856
  baseChange(s, t = 1) {
138694
138857
  const a = s.options.columnName ? s.options.columnName.toLowerCase() : s.options.columnName;
138695
- let r = this.allField.filter((d) => (d.options.columnName ? d.options.columnName.toLowerCase() : d.options.columnName) === a)[0];
138696
- t === 1 && this.$refs.processFlow.setData(s), r && r.setData && t === 2 && (r.setData({
138858
+ let r = this.allField.filter((u) => (u.options.columnName ? u.options.columnName.toLowerCase() : u.options.columnName) === a)[0];
138859
+ const o = s.options.spaceTrim ? s.options.spaceTrim : "none";
138860
+ ["around", "all"].includes(o) && (this.parameterData[a] = o === "around" ? this.parameterData[a].trim() : this.parameterData[a].replace(/\s+/g, "")), t === 1 && this.$refs.processFlow.setData(s), r && r.setData && t === 2 && (r.setData({
138697
138861
  val: r.options.effectType === "file" ? s.sourceData : this.parameterData[a],
138698
138862
  items: Object.assign(r, { effecttype: r.options.effectType }),
138699
138863
  fkData: ["file", "images"].includes(r.options.effectType) ? null : s.fkData
138700
138864
  }), r.fkData = ["file", "images"].includes(r.options.effectType) ? null : s.fkData), this.setCurrencies(s), this.baseUsageFieldRules(s), this.fkNotice(s, !0), this.displayNotice(s);
138701
- const o = this.formData.options.controlStatu !== void 0 ? this.formData.options.controlStatu : !1, l = this.fieldData.filter((d) => d.columnname == this.formData.options.controlField)[0];
138702
- o && l && a === l.columnname && this.setDelevanceBtn(), setTimeout(() => {
138865
+ const l = this.formData.options.controlStatu !== void 0 ? this.formData.options.controlStatu : !1, d = this.fieldData.filter((u) => u.columnname == this.formData.options.controlField)[0];
138866
+ l && d && a === d.columnname && this.setDelevanceBtn(), setTimeout(() => {
138703
138867
  this.$emit("change", s);
138704
138868
  }, 10);
138705
138869
  },
@@ -138817,13 +138981,13 @@ var _sfc_render$m = function s() {
138817
138981
  var t = this, a = t._self._c;
138818
138982
  return a("div", [t.modeType === "editForm" ? [t.getFormModes === "dialog" ? a("el-dialog", { directives: [{ name: "drag", rawName: "v-drag" }], ref: "dialog", class: t.fullscreen ? "gd-dialog gd-dialog-fangda" : "gd-dialog", attrs: { fullscreen: t.fullscreen, visible: t.visible, width: t.width, center: !0, "close-on-click-modal": !1, "append-to-body": !0, "modal-append-to-body": !0, top: "80px" }, on: { "update:visible": function(r) {
138819
138983
  t.visible = r;
138820
- }, closed: t.closed } }, [a("gd-modal-title", { attrs: { slot: "title", title: t.title, fullscreen: t.fullscreen, buttons: t.sysViewButtons, confirmLoading: t.confirmLoading }, on: { changeEvent: t.doEvent, toggleFullscreen: t.toggleFullscreen }, slot: "title" }), a("div", { directives: [{ name: "loading", rawName: "v-loading", value: t.confirmLoading, expression: "confirmLoading" }], staticStyle: { "min-height": "30vh" } }, [t.visible ? a("ProcessFlow", { ref: "processFlow", attrs: { parameterData: t.parameterData, tableData: t.tableData, fieldData: t.fieldData, allField: t.allField, formData: t.formData, openMode: t.openMode, fkValue: t.id, options: t.options, labelWidth: t.labelWidth }, on: { change: (r) => t.baseChange(r, 2), ok: function(r) {
138984
+ }, closed: t.closed } }, [a("gd-modal-title", { attrs: { slot: "title", title: t.title, fullscreen: t.fullscreen, buttons: t.sysViewButtons, confirmLoading: !!(t.confirmLoading || t.statu) }, on: { changeEvent: t.doEvent, toggleFullscreen: t.toggleFullscreen }, slot: "title" }), a("div", { directives: [{ name: "loading", rawName: "v-loading", value: t.confirmLoading, expression: "confirmLoading" }], staticStyle: { "min-height": "30vh" } }, [t.visible ? a("ProcessFlow", { ref: "processFlow", attrs: { parameterData: t.parameterData, tableData: t.tableData, fieldData: t.fieldData, allField: t.allField, formData: t.formData, openMode: t.openMode, fkValue: t.id, options: t.options, labelWidth: t.labelWidth }, on: { change: (r) => t.baseChange(r, 2), ok: function(r) {
138821
138985
  return t.$emit("ok");
138822
138986
  }, lookup: t.lookup, updateFiled: t.changeFlowFiled, flowFields: t.changeFlowFields } }) : t._e(), t.visible ? a("el-form", { ref: "ruleForm", attrs: { model: t.parameterData, "label-width": t.labelWidth, "label-position": t.options.labelPosition, inline: t.options.inline }, nativeOn: { submit: function(r) {
138823
138987
  r.preventDefault();
138824
138988
  } } }, [a("BuildBlocks", { attrs: { record: { options: t.formData }, isForm: !0, model: t.parameterData, tableData: t.tableData, height: t.getHeight }, on: { lookup: t.lookup, change: (r) => t.baseChange(r, 1) } })], 1) : t._e()], 1)], 1) : a("el-drawer", { attrs: { visible: t.visible, "close-on-press-escape": !1, "append-to-body": !0, "modal-append-to-body": !1, size: t.drawerWidth, "custom-class": "gd-drawer-form", wrapperClosable: !1 }, on: { "update:visible": function(r) {
138825
138989
  t.visible = r;
138826
- } } }, [a("gd-modal-title", { attrs: { slot: "title", title: t.title, modalType: "drawer", fullscreen: t.fullscreen, buttons: t.sysViewButtons, confirmLoading: t.confirmLoading }, on: { changeEvent: t.doEvent, toggleFullscreen: t.toggleFullscreen }, slot: "title" }), a("div", { directives: [{ name: "loading", rawName: "v-loading", value: t.confirmLoading, expression: "confirmLoading" }] }, [t.visible ? a("ProcessFlow", { ref: "processFlow", attrs: { parameterData: t.parameterData, tableData: t.tableData, fieldData: t.fieldData, allField: t.allField, formData: t.formData, openMode: t.openMode, fkValue: t.id, options: t.options, labelWidth: t.labelWidth }, on: { change: (r) => t.baseChange(r, 2), ok: function(r) {
138990
+ } } }, [a("gd-modal-title", { attrs: { slot: "title", title: t.title, modalType: "drawer", fullscreen: t.fullscreen, buttons: t.sysViewButtons, confirmLoading: !!(t.confirmLoading || t.statu) }, on: { changeEvent: t.doEvent, toggleFullscreen: t.toggleFullscreen }, slot: "title" }), a("div", { directives: [{ name: "loading", rawName: "v-loading", value: t.confirmLoading, expression: "confirmLoading" }] }, [t.visible ? a("ProcessFlow", { ref: "processFlow", attrs: { parameterData: t.parameterData, tableData: t.tableData, fieldData: t.fieldData, allField: t.allField, formData: t.formData, openMode: t.openMode, fkValue: t.id, options: t.options, labelWidth: t.labelWidth }, on: { change: (r) => t.baseChange(r, 2), ok: function(r) {
138827
138991
  return t.$emit("ok");
138828
138992
  }, lookup: t.lookup, updateFiled: t.changeFlowFiled, flowFields: t.changeFlowFields } }) : t._e(), t.visible ? a("el-form", { ref: "ruleForm", attrs: { model: t.parameterData, "label-width": t.labelWidth, "label-position": t.options.labelPosition, inline: t.options.inline } }, [a("BuildBlocks", { attrs: { record: { options: t.formData }, isForm: !0, height: t.getHeight, model: t.parameterData, tableData: t.tableData }, on: { lookup: t.lookup, change: (r) => t.baseChange(r, 1) } })], 1) : t._e()], 1)], 1)] : t.modeType === "iframe" ? [a("div", { directives: [{ name: "loading", rawName: "v-loading", value: t.confirmLoading, expression: "confirmLoading" }], staticClass: "gd-form-iframe" }, [a("div", { staticClass: "iframe-title" }, [a("div", { staticClass: "iframe-title-l" }, [t._v(t._s(t.title))]), a("div", { staticClass: "iframe-title-r" }, [a("gd-btn-list", { attrs: { sysViewButtons: t.sysViewButtons }, on: { functionName: t.doEvent } })], 1), a("div", { staticClass: "el-icon-close", on: { click: function(r) {
138829
138993
  return t.closed(1);
@@ -138831,7 +138995,7 @@ var _sfc_render$m = function s() {
138831
138995
  return t.$emit("ok");
138832
138996
  }, lookup: t.lookup, updateFiled: t.changeFlowFiled, flowFields: t.changeFlowFields } }) : t._e(), t.visible ? a("el-form", { ref: "ruleForm", attrs: { model: t.parameterData, "label-width": t.labelWidth, "label-position": t.options.labelPosition, inline: t.options.inline } }, [a("BuildBlocks", { attrs: { record: { options: t.formData }, isForm: !0, model: t.parameterData, tableData: t.tableData }, on: { lookup: t.lookup, change: (r) => t.baseChange(r, 1) } })], 1) : t._e()], 1)])] : a("div", [t.visible ? a("el-form", { ref: "ruleForm", attrs: { model: t.parameterData, "label-width": t.labelWidth, "label-position": t.options.labelPosition, inline: t.options.inline }, nativeOn: { submit: function(r) {
138833
138997
  r.preventDefault();
138834
- } } }, [a("BuildBlocks", { attrs: { record: { options: t.formData }, isForm: !0, model: t.parameterData, tableData: t.tableData }, on: { lookup: t.lookup, change: (r) => t.baseChange(r, 1) } })], 1) : t._e()], 1), a("DataAssign", { ref: "dataAssign", attrs: { tableData: t.tableData } }), a("gd-search", { ref: "viewSearch", attrs: { appendToBody: !0 }, on: { lookupSeled: t.lookupSeled } }), t._l(t.componentList, function(r, o) {
138998
+ } } }, [a("BuildBlocks", { attrs: { record: { options: t.formData }, isForm: !0, model: t.parameterData, tableData: t.tableData }, on: { lookup: t.lookup, change: (r) => t.baseChange(r, 1) } })], 1) : t._e()], 1), a("DataAssign", { ref: "dataAssign", attrs: { tableData: t.tableData } }), a("TeamSharing", { ref: "teamSharing", attrs: { tableData: t.tableData } }), a("gd-search", { ref: "viewSearch", attrs: { appendToBody: !0 }, on: { lookupSeled: t.lookupSeled } }), t._l(t.componentList, function(r, o) {
138835
138999
  return [a(r.componentItem, { key: o, ref: r.ref, refInFor: !0, tag: "component", attrs: { record: r, openMode: t.openMode, tableData: t.tableData }, on: { change: (l) => t.doEventComponent(l, r) } })];
138836
139000
  }), t.tableDetails && t.tableDetails.ischeckduplicate == 1 ? a("Duplicate", { ref: "duplicate", on: { ok: t.handleOk } }) : t._e()], 2);
138837
139001
  }, _sfc_staticRenderFns$m = [], __component__$m = /* @__PURE__ */ normalizeComponent(
@@ -138840,7 +139004,7 @@ var _sfc_render$m = function s() {
138840
139004
  _sfc_staticRenderFns$m,
138841
139005
  !1,
138842
139006
  null,
138843
- "4933cbbd",
139007
+ "0a6a1b43",
138844
139008
  null,
138845
139009
  null
138846
139010
  );
@@ -138848,7 +139012,7 @@ const GDpackage$6 = __component__$m.exports;
138848
139012
  GDpackage$6.install = function(s) {
138849
139013
  s.component(GDpackage$6.name, GDpackage$6);
138850
139014
  };
138851
- const main_vue_vue_type_style_index_0_scoped_b5a328d2_lang = "", plugFilters = {
139015
+ const main_vue_vue_type_style_index_0_scoped_4cbbb9fa_lang = "", plugFilters = {
138852
139016
  referencefiled: "",
138853
139017
  referencetable: "",
138854
139018
  checked: !1,
@@ -138916,6 +139080,10 @@ const main_vue_vue_type_style_index_0_scoped_b5a328d2_lang = "", plugFilters = {
138916
139080
  openMode: {
138917
139081
  type: [String, Number],
138918
139082
  default: 1
139083
+ },
139084
+ confirmLoading: {
139085
+ type: Boolean,
139086
+ default: !1
138919
139087
  }
138920
139088
  },
138921
139089
  data() {
@@ -139071,18 +139239,18 @@ var _sfc_render$l = function s() {
139071
139239
  } } }, [t.defaultViewId === r.id ? a("i", { staticClass: "el-icon-star-on active-color" }) : t._e(), a("div", { staticClass: "name-title" }, [t._v(t._s(t.$i18nt(`Dynamics.${r.transkey}`, r.name)))]), t.defaultViewId !== r.id ? a("i", { staticClass: "el-icon-star-off active-color", on: { click: function(o) {
139072
139240
  return o.stopPropagation(), t.setDefault(r);
139073
139241
  } } }) : t._e(), t.viewCode === r.id ? a("i", { staticClass: "gd-icons gd-icon-a-dingshuding-fill1" }) : t._e()])];
139074
- })], 2), a("el-button", { attrs: { slot: "reference", type: "primary" }, slot: "reference" }, [a("div", { staticClass: "selectionl-popover-view" }, [a("div", { staticClass: "selectionl-popover-name line1" }, [t._v(t._s(t.getTitle))]), a("i", { staticClass: "el-icon-arrow-down" })])])], 1)], 1) : a("div", { staticClass: "selectionl" }, [t.openMode == 2 ? a("div", { staticClass: "operatorsel" }, [t._v(" " + t._s(t.$i18nt("gd.basics.selected")) + " "), a("span", [t._v(t._s(t.selectedRowKeys.length))]), t._v(" " + t._s(t.$i18nt("gd.basics.data")) + " ")]) : t._e()]), a("div", { staticClass: "selectionr" }, [a("gd-btn-list", { attrs: { sysViewButtons: t.sysViewButtons, max: t.maxBtnLength }, on: { functionName: t.functionName } })], 1), a("EditPerson", { ref: "editPerson", attrs: { table: t.tableData }, on: { ok: t.configOk } })], 1);
139242
+ })], 2), a("el-button", { attrs: { slot: "reference", type: "primary" }, slot: "reference" }, [a("div", { staticClass: "selectionl-popover-view" }, [a("div", { staticClass: "selectionl-popover-name line1" }, [t._v(t._s(t.getTitle))]), a("i", { staticClass: "el-icon-arrow-down" })])])], 1)], 1) : a("div", { staticClass: "selectionl" }, [t.openMode == 2 ? a("div", { staticClass: "operatorsel" }, [t._v(" " + t._s(t.$i18nt("gd.basics.selected")) + " "), a("span", [t._v(t._s(t.selectedRowKeys.length))]), t._v(" " + t._s(t.$i18nt("gd.basics.data")) + " ")]) : t._e()]), a("div", { staticClass: "selectionr" }, [a("gd-btn-list", { attrs: { sysViewButtons: t.sysViewButtons, max: t.maxBtnLength }, on: { functionName: t.functionName } }), t.confirmLoading ? a("div", { staticClass: "gd-dialog-meng" }) : t._e()], 1), a("EditPerson", { ref: "editPerson", attrs: { table: t.tableData }, on: { ok: t.configOk } })], 1);
139075
139243
  }, _sfc_staticRenderFns$l = [], __component__$l = /* @__PURE__ */ normalizeComponent(
139076
139244
  _sfc_main$l,
139077
139245
  _sfc_render$l,
139078
139246
  _sfc_staticRenderFns$l,
139079
139247
  !1,
139080
139248
  null,
139081
- "b5a328d2",
139249
+ "4cbbb9fa",
139082
139250
  null,
139083
139251
  null
139084
139252
  );
139085
- const ViewSelection = __component__$l.exports, main_vue_vue_type_style_index_0_scoped_ad9206f6_lang = "", _sfc_main$k = {
139253
+ const ViewSelection = __component__$l.exports, main_vue_vue_type_style_index_0_scoped_e325fd0b_lang = "", _sfc_main$k = {
139086
139254
  props: {
139087
139255
  tableData: {
139088
139256
  type: Object,
@@ -139205,6 +139373,9 @@ const ViewSelection = __component__$l.exports, main_vue_vue_type_style_index_0_s
139205
139373
  let a = parseInt(s.substring(1, 3), 16), r = parseInt(s.substring(3, 5), 16), o = parseInt(s.substring(5, 7), 16);
139206
139374
  return `rgba(${a},${r},${o},${t})`;
139207
139375
  },
139376
+ getDictionary(s) {
139377
+ return this.$options.filters.dictData(s);
139378
+ },
139208
139379
  doEvent(s) {
139209
139380
  let t = s.item.functionName;
139210
139381
  this[t] && this[t]();
@@ -139230,11 +139401,11 @@ var _sfc_render$k = function s() {
139230
139401
  _sfc_staticRenderFns$k,
139231
139402
  !1,
139232
139403
  null,
139233
- "ad9206f6",
139404
+ "e325fd0b",
139234
139405
  null,
139235
139406
  null
139236
139407
  );
139237
- const ViewCharts = __component__$k.exports, main_vue_vue_type_style_index_0_scoped_695ff113_lang = "", _sfc_main$j = {
139408
+ const ViewCharts = __component__$k.exports, main_vue_vue_type_style_index_0_scoped_00665f78_lang = "", _sfc_main$j = {
139238
139409
  name: "GdViewBuildDesigner",
139239
139410
  props: {
139240
139411
  record: {
@@ -139392,6 +139563,14 @@ const ViewCharts = __component__$k.exports, main_vue_vue_type_style_index_0_scop
139392
139563
  ...mapGetters(["primaryColor", "screenHeight", "tableLists", "tableSize", "tablePageSize"])
139393
139564
  },
139394
139565
  methods: {
139566
+ showLoading() {
139567
+ this.statu = !0;
139568
+ },
139569
+ hideLoading(s = 1500) {
139570
+ setTimeout(() => {
139571
+ this.statu = !1;
139572
+ }, s);
139573
+ },
139395
139574
  hideQueryParam(s) {
139396
139575
  this.hideQueryField = [...s];
139397
139576
  },
@@ -139466,6 +139645,9 @@ const ViewCharts = __component__$k.exports, main_vue_vue_type_style_index_0_scop
139466
139645
  s.id != this.viewCode && (this.viewCode = s.id, this.queryParam = {}, this.$refs.table.setTableData([], !1), this.baseGetView());
139467
139646
  },
139468
139647
  showFile(s, t, a) {
139648
+ if (this.statu)
139649
+ return;
139650
+ this.showLoading();
139469
139651
  const r = t[s.prop];
139470
139652
  let o = r;
139471
139653
  typeof r == "string" && (o = JSON.parse(r));
@@ -139487,30 +139669,33 @@ const ViewCharts = __component__$k.exports, main_vue_vue_type_style_index_0_scop
139487
139669
  d.generateAsync({
139488
139670
  type: "blob"
139489
139671
  }).then((p) => {
139490
- FileSaver$1.saveAs(p, l);
139491
- }), h.close();
139672
+ FileSaver$1.saveAs(p, l), this.hideLoading(), h.close();
139673
+ });
139492
139674
  }).catch((p) => {
139493
- h.close(), this.$message.error("err!");
139675
+ h.close(), this.hideLoading(), this.$message.error("err!");
139494
139676
  });
139495
139677
  },
139496
139678
  showImg(s, t) {
139497
- this.imgList = t, this.currentImg = s, this.$refs.imgPreview.imgListShow = !0, this.$refs.imgPreview.open();
139679
+ this.statu || (this.showLoading(), this.imgList = t, this.currentImg = s, this.$refs.imgPreview.imgListShow = !0, this.$refs.imgPreview.open(), this.hideLoading());
139498
139680
  },
139499
139681
  preview(s, t) {
139500
139682
  if (this.statu)
139501
139683
  return;
139684
+ this.showLoading();
139502
139685
  const a = s.fileoriginname.substr(s.fileoriginname.lastIndexOf(".") + 1).toLowerCase();
139503
- this.fileOptions = { ...t }, ["gif", "jpeg", "png", "jpg", "JPG", "PNG"].includes(a) ? (this.statu = !0, sysFileInfoPreview({
139686
+ this.fileOptions = { ...t }, ["gif", "jpeg", "png", "jpg", "JPG", "PNG"].includes(a) ? sysFileInfoPreview({
139504
139687
  id: s.id
139505
139688
  }).then((r) => {
139506
139689
  const o = window.URL.createObjectURL(new Blob([r]));
139507
- this.imgList = [o], this.currentImg = o, this.$refs.imgPreview.open(), this.statu = !1;
139508
- })) : ["mp4", "webm", "mp3", "wav", "docx", "excel", "pdf", "xlsx", "pptx"].includes(a) && this.$refs.filePreview.open(Object.assign(s, { fileId: s.id || s.Id, name: s.fileoriginname }));
139690
+ this.imgList = [o], this.currentImg = o, this.$refs.imgPreview.open(), this.statu = !1, this.hideLoading();
139691
+ }).catch(() => {
139692
+ this.hideLoading();
139693
+ }) : ["mp4", "webm", "mp3", "wav", "docx", "excel", "pdf", "xlsx", "pptx"].includes(a) && (this.$refs.filePreview.open(Object.assign(s, { fileId: s.id || s.Id, name: s.fileoriginname })), this.hideLoading());
139509
139694
  },
139510
139695
  baseQuickForm(s, t) {
139511
139696
  if (this.statu)
139512
139697
  return;
139513
- if (String(s.id).split("u").length > 1) {
139698
+ if (this.showLoading(), String(s.id).split("u").length > 1) {
139514
139699
  let r = t.fieldType == "about" ? t.prop + "_AboutTable" : t.columnName, o = t.fieldType == "about" ? s[r] : t.fkEntityName, l = this.tableLists.filter((h) => h.tablename == o)[0], d = (t.fieldType == "about", s[t.columnName]), u = {
139515
139700
  tableId: l.id,
139516
139701
  data: [
@@ -139528,7 +139713,7 @@ const ViewCharts = __component__$k.exports, main_vue_vue_type_style_index_0_scop
139528
139713
  this.$refs.middleware.init(u).then((h) => {
139529
139714
  setTimeout(() => {
139530
139715
  this.statu = !1;
139531
- }, 1e3), f.close();
139716
+ }, 1e3), f.close(), this.hideLoading();
139532
139717
  });
139533
139718
  return;
139534
139719
  }
@@ -139554,40 +139739,39 @@ const ViewCharts = __component__$k.exports, main_vue_vue_type_style_index_0_scop
139554
139739
  }).then((l) => {
139555
139740
  setTimeout(() => {
139556
139741
  this.statu = !1;
139557
- }, 1e3), o.close();
139742
+ }, 1e3), o.close(), this.hideLoading();
139558
139743
  });
139559
139744
  return;
139560
139745
  }
139561
139746
  this.baseQuickFk({ data: s, item: t });
139562
139747
  },
139563
139748
  changeQuickView(s) {
139749
+ if (this.statu)
139750
+ return;
139751
+ this.showLoading();
139564
139752
  const t = this.lineQuickView(s);
139565
139753
  (typeof t == "object" || typeof t == "function") && typeof t.then == "function" ? t.then((a) => {
139566
139754
  this.changeQuickViewOk(a);
139567
139755
  }).catch(() => {
139568
- console.log("\u7528\u6237\u7EC8\u6B62\u64CD\u4F5C");
139756
+ console.log("\u7528\u6237\u7EC8\u6B62\u64CD\u4F5C"), this.hideLoading();
139569
139757
  }) : this.changeQuickViewOk(s);
139570
139758
  },
139571
139759
  changeQuickViewOk(s) {
139572
- if (this.statu)
139573
- return;
139574
- if (this.statu = !0, setTimeout(() => {
139575
- this.statu = !1;
139576
- }, 1e3), this.openMode == 3) {
139760
+ if (this.openMode == 3) {
139577
139761
  this.open({
139578
139762
  title: this.$i18nt("gd.common.https.edit", "\u7F16\u8F91"),
139579
139763
  data: s
139580
- });
139764
+ }), this.hideLoading();
139581
139765
  return;
139582
139766
  }
139583
139767
  if (this.tableData.isvirtualtable === 1) {
139584
- this.open(Object.assign({ title: this.$i18nt("gd.common.https.edit", "\u7F16\u8F91") }, { ...s }));
139768
+ this.open(Object.assign({ title: this.$i18nt("gd.common.https.edit", "\u7F16\u8F91") }, { ...s })), this.hideLoading();
139585
139769
  return;
139586
139770
  }
139587
139771
  this.open({
139588
139772
  title: this.$i18nt("gd.common.https.edit", "\u7F16\u8F91"),
139589
139773
  id: s.id
139590
- });
139774
+ }), this.hideLoading();
139591
139775
  },
139592
139776
  operatorScope(s, t) {
139593
139777
  const a = s.sourceFk !== void 0 ? s.sourceFk : !(s.fieldType != "fk" && s.fieldType != "about" && s.fieldType != "user");
@@ -140004,7 +140188,6 @@ const ViewCharts = __component__$k.exports, main_vue_vue_type_style_index_0_scop
140004
140188
  this.$refs.dataAssign.open(this.selectedRowKeys);
140005
140189
  },
140006
140190
  baseQuickAbout(s, t) {
140007
- this.statu = !0;
140008
140191
  const a = this.$message({
140009
140192
  message: this.$i18nt("gd.https.Loading", "\u52A0\u8F7D\u4E2D..."),
140010
140193
  duration: 0,
@@ -140023,13 +140206,15 @@ const ViewCharts = __component__$k.exports, main_vue_vue_type_style_index_0_scop
140023
140206
  };
140024
140207
  this.baseQuickFk(l, a);
140025
140208
  } else
140026
- a.close(), setTimeout(() => {
140209
+ a.close(), this.hideLoading(), setTimeout(() => {
140027
140210
  this.statu = !1;
140028
140211
  }, 1e3), this.$nextTick(() => {
140029
140212
  setTimeout(() => {
140030
140213
  this.$message.error(r.message);
140031
140214
  }, 0);
140032
140215
  });
140216
+ }).catch(() => {
140217
+ this.hideLoading();
140033
140218
  });
140034
140219
  },
140035
140220
  baseQuickFk(s, t) {
@@ -140053,14 +140238,14 @@ const ViewCharts = __component__$k.exports, main_vue_vue_type_style_index_0_scop
140053
140238
  ).then((l) => {
140054
140239
  setTimeout(() => {
140055
140240
  this.statu = !1;
140056
- }, 1e3), a.close();
140057
- }) : (a.close(), setTimeout(() => {
140058
- this.statu = !1;
140059
- }, 1e3), this.$nextTick(() => {
140241
+ }, 1e3), a.close(), this.hideLoading();
140242
+ }) : (a.close(), this.hideLoading(), this.$nextTick(() => {
140060
140243
  setTimeout(() => {
140061
140244
  this.$message.error(o.message);
140062
140245
  }, 0);
140063
140246
  }));
140247
+ }).catch(() => {
140248
+ this.hideLoading();
140064
140249
  });
140065
140250
  },
140066
140251
  baseSeecharts() {
@@ -140188,7 +140373,7 @@ const ViewCharts = __component__$k.exports, main_vue_vue_type_style_index_0_scop
140188
140373
  var _sfc_render$j = function s() {
140189
140374
  var t = this, a = t._self._c;
140190
140375
  return a("div", [a("div", { staticClass: "gd-base-flex-body" }, [a("div", { staticClass: "main-tree" }, [t.laoding && t.viewRecord.viewtree != "{}" ? a("gd-view-tree-left", { ref: "viewTree", attrs: { queryParam: t.queryParam, viewRecord: t.viewRecord, openMode: t.openMode, height: t.hig, record: t.record }, on: { change: t.changeViewTree } }) : t._e()], 1), a("div", { staticClass: "gd-table-box-header", style: t.viewRecord.viewtree != "{}" ? "padding-left:12px;" : "padding-left:0px;" }, [a("gd-tables", { ref: "table", attrs: { dataSource: t.loadData, size: t.tableSized, pageSize: t.tablePageSize, columns: t.columns, selectedRowKeys: t.selectedRowKeys, selectedKeep: t.selectedKeep, height: t.openMode == 3 ? 0 : t.hig, maxHeight: t.hig, filtering: t.tableQueries.length > 0, initialLoading: !1, showSummary: t.showSummary, amount: t.amount, disabledRowId: t.disabledRowId, isGather: t.openMode == 1, pageSizes: t.paginationPageSize, disabledRefresh: t.disabledRefresh, rowKey: t.rowKey }, on: { onChange: t.onSelectChange, columnChange: t.columnChange, baseSeecharts: t.baseSeecharts }, scopedSlots: t._u([{ key: "operator", fn: function() {
140191
- return [t.laoding ? a("ViewSelection", { attrs: { record: t.record, sysViewButtons: t.sysViewButtons, sysViewList: t.sysViewList, personalViewList: t.personalViewList, viewCode: t.viewCode, defaultViewId: t.defaultViewId, tableData: t.tableData, selectedRowKeys: t.selectedRowKeys, openMode: t.openMode, maxBtnLength: t.options.maxBtnLength, fieldData: t.fieldData }, on: { functionName: t.doEvent, handleMenuClick: t.handleMenuClick, baseSetDefaultView: t.baseSetDefaultView, updatePersonalView: t.baseUpdatePersonalView } }) : t._e()];
140376
+ return [t.laoding ? a("ViewSelection", { attrs: { record: t.record, sysViewButtons: t.sysViewButtons, sysViewList: t.sysViewList, personalViewList: t.personalViewList, viewCode: t.viewCode, defaultViewId: t.defaultViewId, tableData: t.tableData, selectedRowKeys: t.selectedRowKeys, openMode: t.openMode, confirmLoading: t.statu, maxBtnLength: t.options.maxBtnLength, fieldData: t.fieldData }, on: { functionName: t.doEvent, handleMenuClick: t.handleMenuClick, baseSetDefaultView: t.baseSetDefaultView, updatePersonalView: t.baseUpdatePersonalView } }) : t._e()];
140192
140377
  }, proxy: !0 }, t._l(t.getColumnsed, function(r) {
140193
140378
  return { key: r.prop, fn: function({ column: o, row: l }) {
140194
140379
  return [a("ChildRenItem", { attrs: { item: r, row: l, getFristColumn: t.getFristColumn }, on: { operatorScope: t.operatorScope, baseQuickForm: t.baseQuickForm, showFile: t.showFile, showImg: t.showImg, preview: t.preview } })];
@@ -140204,7 +140389,7 @@ var _sfc_render$j = function s() {
140204
140389
  _sfc_staticRenderFns$j,
140205
140390
  !1,
140206
140391
  null,
140207
- "695ff113",
140392
+ "00665f78",
140208
140393
  null,
140209
140394
  null
140210
140395
  );
@@ -143672,7 +143857,7 @@ const mixins$2 = {
143672
143857
  }]
143673
143858
  };
143674
143859
  }
143675
- }, editForm_vue_vue_type_style_index_0_scoped_e8be489c_lang = "", _sfc_main$5 = {
143860
+ }, editForm_vue_vue_type_style_index_0_scoped_ce04d9b0_lang = "", _sfc_main$5 = {
143676
143861
  props: {
143677
143862
  fieldData: {
143678
143863
  type: Array,
@@ -144075,7 +144260,7 @@ var _sfc_render$5 = function s() {
144075
144260
  _sfc_staticRenderFns$5,
144076
144261
  !1,
144077
144262
  null,
144078
- "e8be489c",
144263
+ "ce04d9b0",
144079
144264
  null,
144080
144265
  null
144081
144266
  );
@@ -145787,7 +145972,7 @@ const Alert = __component__.exports;
145787
145972
  Alert.install = function(s) {
145788
145973
  s.component(Alert.name, Alert);
145789
145974
  };
145790
- const formMixin = formMixins, viewMixin = viewMixins, platformMenus = menuData, constantRouterMaps = constantRouterMap, bootstrap = Initializer, storeApp = storeApps, storeGetter = getters, camelCase = camelCases, menuEscape = menuEscapes, routerMetas = routerMeta, routerUserAccounts = routerUserAccount, constantRouterComponent = constantRouterComponents, components = [
145975
+ const formMixin = formMixins, viewMixin = viewMixins, platformMenus = menuData, constantRouterMaps = constantRouterMap, bootstrap = Initializer, storeApp = storeApps, storeGetter = getters, camelCase = camelCases, menuEscape = menuEscapes, routerMetas = routerMeta, routerUserAccounts = routerUserAccount, constantRouterComponent = constantRouterComponents, GdButtons = GDpackage$Y, GdTables = GDpackage$X, GdTableVirtual = GDpackage$W, GdTableUmy = GDpackage$V, GdTablesFilter = GDpackage$U, GdColumnSettings = GDpackage$T, GdTooltip = GDpackage$S, GdBtnList = GDpackage$R, GdEditForm = GDpackage$P, GdSelectTree = GDpackage$O, GdTableQueriesField = GDpackage$N, GdImgPreview = ImgPreview, GdIconSelector = GDpackage$Q, GdModalTitle = GDpackage$M, GdSearch = GDpackage$L, GdTeamSharing = TeamSharing, GdBatchUpdate = BatchUpdate, GdDataAssign = DataAssign, GdMiddleware = GDpackage$J, GdColorEditor = GDpackage$I, GdEcharts = GDpackage$H, GdViewLoading = GDpackage$G, GdExceptionPage = GDpackage$F, GdUploadFile = uploadFile, GdUploadImg = uploadImg, GdBasicLayout = GDpackage$19, GdBlankLayout = GDpackage$18, GdIframeLayout = GDpackage$16, GdPageView = GDpackage$17, GdRouteView = routeView, GdUserLayout = GDpackage$1d, GdBasicLayoutEmpty = GDpackage$15, GdBasicLayoutTop = GDpackage$14, GdOrg = GDpackage$E, GdPos = GDpackage$D, GdDict = GDpackage$C, GdUse = GDpackage$A, GdAuditlog = GDpackage$z, GdExlog = GDpackage$y, GdVislog = GDpackage$x, GdOplog = GDpackage$w, GdNoticeReceived = GDpackage$q, GdEvtlog = GDpackage$v, GdMachine = GDpackage$u, GdOnlineUser = GDpackage$t, GdConfig = GDpackage$s, GdNotice = GDpackage$r, GdWebResource = GDpackage$p, GdRole = GDpackage$B, GdFieldSecurity = GDpackage$o, GdFile = GDpackage$n, GdTimers = GDpackage$m, GdSolution = GDpackage$l, GdTranslationList = GDpackage$k, GdDuplicateChecking = GDpackage$j, GdPlugin = GDpackage$i, GdEmail = GDpackage$h, GdAccountSettings = GDpackage$13, GdBaseSettings = GDpackage$12, GdCustomSettings = GDpackage$11, GdSecuritySettings = GDpackage$10, GdUserPermissions = GDpackage$g, GdDataSource = GDpackage$f, GdFlowList = GDpackage$e, GdProcessFlow = GDpackage$d, GdWorkFlow = GDpackage$c, GdApprovalFlow = GDpackage$b, GdFindFilter = FlowsFilter, GdTableDevelopment = tableDevelopment, GdApplication = GDpackage$9, GdPageDesigner = GDpackage$8, GdPageBuild = GDpackage$7, GdFormDesigner = GDpackage$a, GdFormBuild = GDpackage$6, GdViewBuildDesigner = GDpackage$5, GdFormBuildDesigner = GDpackage$K, GdViewTreeLeft = GDpackage$4, GdPersonalEcharts = GDpackage$Z, GdSysMsgTemPlate = GDpackage$3, GdSysMsgSendPlan = GDpackage$2, GdSysMsgSendRecord = GDpackage$1, GdSysMsgTemplateLibrary = GDpackage, GdTranslation = Alert, components = [
145791
145976
  GDpackage$Y,
145792
145977
  GDpackage$X,
145793
145978
  GDpackage$W,
@@ -145871,9 +146056,9 @@ const formMixin = formMixins, viewMixin = viewMixins, platformMenus = menuData,
145871
146056
  GDpackage$1,
145872
146057
  GDpackage,
145873
146058
  Alert
145874
- ], install = function(s, t, a) {
145875
- t && (window.axios = t, install.axios = t), a && (window.$i18nt = a, install.$i18nt = a), !install.installed && (install.installed = !0, components.map((r) => {
145876
- s.component(r.name, r);
146059
+ ], install = function(s, t, a, r, o = !0) {
146060
+ t && (window.axios = t, install.axios = t), r && (window.$i18nt = r, install.$i18nt = r), !install.installed && (install.installed = !0, o && components.map((l) => {
146061
+ s.component(l.name, l);
145877
146062
  }));
145878
146063
  };
145879
146064
  function getComponents() {
@@ -145884,12 +146069,92 @@ function getComponents() {
145884
146069
  }
145885
146070
  const componentsd = getComponents(), GdsDesignVue = {
145886
146071
  install,
145887
- ...componentsd,
145888
- ...components
146072
+ ...componentsd
145889
146073
  };
145890
146074
  export {
145891
- GdsDesignVue as G,
146075
+ GdRouteView as $,
146076
+ GdTableUmy as A,
146077
+ GdTablesFilter as B,
146078
+ GdColumnSettings as C,
146079
+ GdTooltip as D,
146080
+ GdBtnList as E,
146081
+ GdEditForm as F,
146082
+ GdButtons as G,
146083
+ GdSelectTree as H,
146084
+ GdTableQueriesField as I,
146085
+ GdImgPreview as J,
146086
+ GdIconSelector as K,
146087
+ GdModalTitle as L,
146088
+ GdSearch as M,
146089
+ GdTeamSharing as N,
146090
+ GdBatchUpdate as O,
146091
+ GdDataAssign as P,
146092
+ GdMiddleware as Q,
146093
+ GdColorEditor as R,
146094
+ GdEcharts as S,
146095
+ GdViewLoading as T,
146096
+ GdExceptionPage as U,
146097
+ GdUploadFile as V,
146098
+ GdUploadImg as W,
146099
+ GdBasicLayout as X,
146100
+ GdBlankLayout as Y,
146101
+ GdIframeLayout as Z,
146102
+ GdPageView as _,
145892
146103
  getPasswordRules as a,
146104
+ GdUserLayout as a0,
146105
+ GdBasicLayoutEmpty as a1,
146106
+ GdBasicLayoutTop as a2,
146107
+ GdOrg as a3,
146108
+ GdPos as a4,
146109
+ GdDict as a5,
146110
+ GdUse as a6,
146111
+ GdAuditlog as a7,
146112
+ GdExlog as a8,
146113
+ GdVislog as a9,
146114
+ GdApprovalFlow as aA,
146115
+ GdFindFilter as aB,
146116
+ GdTableDevelopment as aC,
146117
+ GdApplication as aD,
146118
+ GdPageDesigner as aE,
146119
+ GdPageBuild as aF,
146120
+ GdFormDesigner as aG,
146121
+ GdFormBuild as aH,
146122
+ GdViewBuildDesigner as aI,
146123
+ GdFormBuildDesigner as aJ,
146124
+ GdViewTreeLeft as aK,
146125
+ GdPersonalEcharts as aL,
146126
+ GdSysMsgTemPlate as aM,
146127
+ GdSysMsgSendPlan as aN,
146128
+ GdSysMsgSendRecord as aO,
146129
+ GdSysMsgTemplateLibrary as aP,
146130
+ GdTranslation as aQ,
146131
+ GdsDesignVue as aR,
146132
+ GdOplog as aa,
146133
+ GdNoticeReceived as ab,
146134
+ GdEvtlog as ac,
146135
+ GdMachine as ad,
146136
+ GdOnlineUser as ae,
146137
+ GdConfig as af,
146138
+ GdNotice as ag,
146139
+ GdWebResource as ah,
146140
+ GdRole as ai,
146141
+ GdFieldSecurity as aj,
146142
+ GdFile as ak,
146143
+ GdTimers as al,
146144
+ GdSolution as am,
146145
+ GdTranslationList as an,
146146
+ GdDuplicateChecking as ao,
146147
+ GdPlugin as ap,
146148
+ GdEmail as aq,
146149
+ GdAccountSettings as ar,
146150
+ GdBaseSettings as as,
146151
+ GdCustomSettings as at,
146152
+ GdSecuritySettings as au,
146153
+ GdUserPermissions as av,
146154
+ GdDataSource as aw,
146155
+ GdFlowList as ax,
146156
+ GdProcessFlow as ay,
146157
+ GdWorkFlow as az,
145893
146158
  applyResetPassword as b,
145894
146159
  checkPRCValidation as c,
145895
146160
  bindWechatWorkAccount as d,
@@ -145913,5 +146178,6 @@ export {
145913
146178
  viewMixin as v,
145914
146179
  routerUserAccounts as w,
145915
146180
  constantRouterComponent as x,
145916
- componentsd as y
146181
+ GdTables as y,
146182
+ GdTableVirtual as z
145917
146183
  };