qk-pc-ui 2.7.8 → 2.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/qk-pc-ui.mjs CHANGED
@@ -1,11 +1,11 @@
1
1
  import { openBlock, createElementBlock, createVNode, unref, withCtx, renderSlot, createTextVNode, toDisplayString, computed, createElementVNode, createBlock, createCommentVNode, ref, reactive, watch, Fragment, renderList, normalizeClass, normalizeStyle, pushScopeId, popScopeId, useSlots, onMounted, nextTick, onBeforeUnmount, onUnmounted, withDirectives, vModelText, withKeys } from "vue";
2
- import { ElForm, ElFormItem, ElButton, ElPagination, ElDialog, ElRow, ElSelect, ElOption, ElMessageBox, ElMessage, ElTable, ElTableColumn, ElPopover, ElInput, ElCheckboxGroup, ElCheckbox, ElImage, ElLink, ElDropdown, ElDropdownMenu, ElDropdownItem, ElLoading, ElDatePicker, ElUpload, ElIcon, ElButtonGroup, ElRadioGroup, ElRadioButton, ElTag, ElTabs, ElTabPane } from "element-plus";
2
+ import { ElForm, ElFormItem, ElButton, ElPagination, ElDialog, ElRow, ElSelect, ElOption, ElMessageBox, ElMessage, ElTable, ElTableColumn, ElPopover, ElInput, ElCheckboxGroup, ElCheckbox, ElImage, ElLink, ElDropdown, ElDropdownMenu, ElDropdownItem, ElLoading, ElDatePicker, ElUpload, ElIcon, ElButtonGroup, ElRadioGroup, ElRadioButton, ElTag, ElTabs, ElTabPane, ElCascader } from "element-plus";
3
3
  import { L, Sleep, SaasApi, AndroidApi, GetUrlParam, SystemModuleApi, AjaxCallWeb, LocalApi, GetEnumName, MemberApi, UnRegisterKeyboard, RegisterKeyboard, PlayTTS, InfrastructureApi } from "qk-lib-v3";
4
4
  import E from "wangeditor";
5
5
  import axios from "axios";
6
6
  import { Plus } from "@element-plus/icons-vue";
7
7
  import { useRouter, useRoute } from "vue-router";
8
- const _sfc_main$l = {
8
+ const _sfc_main$m = {
9
9
  __name: "Filter",
10
10
  props: {
11
11
  labelWidth: { type: String, default: "" }
@@ -44,7 +44,7 @@ const _sfc_main$l = {
44
44
  for (const [a, n] of r)
45
45
  t[a] = n;
46
46
  return t;
47
- }, _hoisted_1$f = { class: "tmain" }, _sfc_main$k = {
47
+ }, _hoisted_1$f = { class: "tmain" }, _sfc_main$l = {
48
48
  __name: "Tool",
49
49
  props: ["total", "pageIndex", "pageSize"],
50
50
  emits: ["update:pageIndex", "update:pageSize", "updateData"],
@@ -83,7 +83,7 @@ const _sfc_main$l = {
83
83
  ])
84
84
  ]));
85
85
  }
86
- }, Tool = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-638a8f96"]]);
86
+ }, Tool = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-638a8f96"]]);
87
87
  /*! xlsx.js (C) 2013-present SheetJS -- http://sheetjs.com */
88
88
  var XLSX = {};
89
89
  XLSX.version = "0.18.5";
@@ -16112,7 +16112,7 @@ var utils = {
16112
16112
  SHEET_VERY_HIDDEN: 2
16113
16113
  }
16114
16114
  };
16115
- const _hoisted_1$e = { style: { display: "inline-block", width: "100px" } }, _hoisted_2$9 = { style: { display: "inline-block", width: "100px" } }, _hoisted_3$7 = { style: { "text-align": "center", "margin-top": "2vh" } }, _sfc_main$j = {
16115
+ const _hoisted_1$e = { style: { display: "inline-block", width: "100px" } }, _hoisted_2$9 = { style: { display: "inline-block", width: "100px" } }, _hoisted_3$7 = { style: { "text-align": "center", "margin-top": "2vh" } }, _sfc_main$k = {
16116
16116
  __name: "byPrintArray",
16117
16117
  props: {
16118
16118
  modelValue: { type: Boolean, default: !1 },
@@ -16290,14 +16290,14 @@ const _hoisted_1$e = { style: { display: "inline-block", width: "100px" } }, _ho
16290
16290
  _: 3
16291
16291
  }, 8, ["modelValue", "title"]));
16292
16292
  }
16293
- }, _withScopeId$2 = (e) => (pushScopeId("data-v-5a67a905"), e = e(), popScopeId(), e), _hoisted_1$d = { style: { height: "100%", width: "100%" } }, _hoisted_2$8 = { style: { position: "absolute", display: "inline-block" } }, _hoisted_3$6 = { style: { top: "2px", position: "relative" } }, _hoisted_4$5 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("use", { "xlink:href": "#qk-icon-xitong" }, null, -1)), _hoisted_5$5 = [
16293
+ }, _withScopeId$2 = (e) => (pushScopeId("data-v-7942e5fe"), e = e(), popScopeId(), e), _hoisted_1$d = { style: { height: "100%", width: "100%" } }, _hoisted_2$8 = { style: { position: "absolute", display: "inline-block" } }, _hoisted_3$6 = { style: { top: "2px", position: "relative" } }, _hoisted_4$5 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("use", { "xlink:href": "#qk-icon-xitong" }, null, -1)), _hoisted_5$5 = [
16294
16294
  _hoisted_4$5
16295
16295
  ], _hoisted_6$5 = {
16296
16296
  key: 1,
16297
16297
  class: "myicon",
16298
16298
  "aria-hidden": "true",
16299
16299
  style: { "font-size": "2em" }
16300
- }, _hoisted_7$5 = ["xlink:href"], _sfc_main$i = {
16300
+ }, _hoisted_7$5 = ["xlink:href"], _sfc_main$j = {
16301
16301
  __name: "DataList",
16302
16302
  props: {
16303
16303
  showCheck: { type: Boolean, default: !0 },
@@ -16306,6 +16306,7 @@ const _hoisted_1$e = { style: { display: "inline-block", width: "100px" } }, _ho
16306
16306
  tabName: { type: String, default: L("数据") },
16307
16307
  columnArray: { type: Array, default: () => [] },
16308
16308
  commandArray: { type: Array, default: () => [] },
16309
+ maxCommand: { type: [String, Number], default: "2" },
16309
16310
  powerArray: { type: Array, default: () => [] },
16310
16311
  toolWidth: { type: String, default: "120" },
16311
16312
  printOption: {
@@ -16623,7 +16624,7 @@ const _hoisted_1$e = { style: { display: "inline-block", width: "100px" } }, _ho
16623
16624
  fixed: "right"
16624
16625
  }, {
16625
16626
  default: withCtx(({ row: A }) => [
16626
- i.commandArray.Where((I) => I.IsShow ? I.IsShow(A) : !0).length > 2 ? (openBlock(), createBlock(unref(ElDropdown), {
16627
+ i.commandArray.Where((I) => I.IsShow ? I.IsShow(A) : !0).length > i.maxCommand ? (openBlock(), createBlock(unref(ElDropdown), {
16627
16628
  key: 0,
16628
16629
  onCommand: (I) => b(I, A)
16629
16630
  }, {
@@ -16697,7 +16698,7 @@ const _hoisted_1$e = { style: { display: "inline-block", width: "100px" } }, _ho
16697
16698
  ]),
16698
16699
  _: 1
16699
16700
  }, 8, ["data", "show-summary", "sum-text"]),
16700
- createVNode(_sfc_main$j, {
16701
+ createVNode(_sfc_main$k, {
16701
16702
  modelValue: n.IsVisible,
16702
16703
  "onUpdate:modelValue": D[0] || (D[0] = (A) => n.IsVisible = A),
16703
16704
  data: n.dataArray,
@@ -16707,7 +16708,7 @@ const _hoisted_1$e = { style: { display: "inline-block", width: "100px" } }, _ho
16707
16708
  }, null, 8, ["modelValue", "data", "title", "columnArray", "printOption"])
16708
16709
  ]));
16709
16710
  }
16710
- }, DataList = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-5a67a905"]]), CreateNewPrint = () => {
16711
+ }, DataList = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-7942e5fe"]]), CreateNewPrint = () => {
16711
16712
  let config = { Pid: "" }, LODOP = getLodop();
16712
16713
  return {
16713
16714
  onMessage: (e, r) => {
@@ -16865,7 +16866,7 @@ const SafeCall$1 = async (e, r) => {
16865
16866
  PrintTick: PrintTick$1,
16866
16867
  UserCardTypeEnum: UserCardTypeEnum$1,
16867
16868
  DebugPrint: DebugPrint$1
16868
- }, _hoisted_1$c = { class: "pagemain" }, _hoisted_2$7 = { style: { "text-align": "center", "margin-top": "20px" } }, _sfc_main$h = {
16869
+ }, _hoisted_1$c = { class: "pagemain" }, _hoisted_2$7 = { style: { "text-align": "center", "margin-top": "20px" } }, _sfc_main$i = {
16869
16870
  __name: "index",
16870
16871
  props: {
16871
16872
  columnArray: { type: Array, default: () => [] },
@@ -16880,6 +16881,9 @@ const SafeCall$1 = async (e, r) => {
16880
16881
  editDlgHeight: { type: String, default: "auto" },
16881
16882
  labelWidth: { type: String, default: "80px" },
16882
16883
  toolWidth: { type: String, default: "120" },
16884
+ //单行工具按钮列宽度
16885
+ maxCommand: { type: [String, Number], default: "2" },
16886
+ //单行最大按钮数量 超过这个数量 就缩减为 查看
16883
16887
  loadData: { type: Boolean, default: !0 },
16884
16888
  controller: { type: String, default: "" },
16885
16889
  inline: { type: Boolean, default: !0 },
@@ -16992,7 +16996,7 @@ const SafeCall$1 = async (e, r) => {
16992
16996
  }), r({
16993
16997
  onSearch: b
16994
16998
  }), (X, G) => (openBlock(), createElementBlock("div", _hoisted_1$c, [
16995
- s.value ? (openBlock(), createBlock(_sfc_main$l, {
16999
+ s.value ? (openBlock(), createBlock(_sfc_main$m, {
16996
17000
  key: 0,
16997
17001
  class: "filter",
16998
17002
  onSearch: G[0] || (G[0] = (S) => b(1)),
@@ -17065,12 +17069,13 @@ const SafeCall$1 = async (e, r) => {
17065
17069
  tabName: p.tabName,
17066
17070
  columnArray: p.columnArray,
17067
17071
  toolWidth: p.toolWidth,
17072
+ maxCommand: p.maxCommand,
17068
17073
  onCommand: N,
17069
17074
  commandArray: C.value,
17070
17075
  key: C.value,
17071
17076
  powerArray: m.value,
17072
17077
  printOption: p.printOption
17073
- }, null, 8, ["data", "tabName", "columnArray", "toolWidth", "commandArray", "powerArray", "printOption"])),
17078
+ }, null, 8, ["data", "tabName", "columnArray", "toolWidth", "maxCommand", "commandArray", "powerArray", "printOption"])),
17074
17079
  createVNode(unref(ElDialog), {
17075
17080
  modelValue: o.IsVisible,
17076
17081
  "onUpdate:modelValue": G[7] || (G[7] = (S) => o.IsVisible = S),
@@ -17114,7 +17119,7 @@ const SafeCall$1 = async (e, r) => {
17114
17119
  }, 8, ["modelValue", "title", "width", "style"])
17115
17120
  ]));
17116
17121
  }
17117
- }, PageIndex = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-2e90fbd7"]]), _hoisted_1$b = { class: "pagemain" }, _sfc_main$g = {
17122
+ }, PageIndex = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-91721a17"]]), _hoisted_1$b = { class: "pagemain" }, _sfc_main$h = {
17118
17123
  __name: "index",
17119
17124
  props: {
17120
17125
  columnArray: { type: Array, default: () => [] },
@@ -17227,7 +17232,7 @@ const SafeCall$1 = async (e, r) => {
17227
17232
  }), r({
17228
17233
  onSearch: u
17229
17234
  }), (m, C) => (openBlock(), createElementBlock("div", _hoisted_1$b, [
17230
- i.value ? (openBlock(), createBlock(_sfc_main$l, {
17235
+ i.value ? (openBlock(), createBlock(_sfc_main$m, {
17231
17236
  key: 0,
17232
17237
  class: "filter",
17233
17238
  onSearch: u
@@ -17282,7 +17287,7 @@ const SafeCall$1 = async (e, r) => {
17282
17287
  }, null, 8, ["data", "tabName", "toolWidth", "columnArray", "commandArray", "printOption"]))
17283
17288
  ]));
17284
17289
  }
17285
- }, reportIndex = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-102bc98a"]]), _sfc_main$f = {
17290
+ }, reportIndex = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-102bc98a"]]), _sfc_main$g = {
17286
17291
  __name: "byDatePicker",
17287
17292
  props: {
17288
17293
  BeginTime: { type: [String, void 0], default: "" },
@@ -17382,7 +17387,7 @@ const SafeCall$1 = async (e, r) => {
17382
17387
  "default-time": [/* @__PURE__ */ new Date("2022-1-1 00:00:00"), /* @__PURE__ */ new Date("2022-1-1 23:59:59")]
17383
17388
  }, null, 8, ["modelValue", "range-separator", "start-placeholder", "end-placeholder", "default-time"]));
17384
17389
  }
17385
- }, byDatePicker = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-085dabce"]]), _hoisted_1$a = { style: "width: 100%;height:100%;border:1px solid #ccc" }, _sfc_main$e = {
17390
+ }, byDatePicker = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-085dabce"]]), _hoisted_1$a = { style: "width: 100%;height:100%;border:1px solid #ccc" }, _sfc_main$f = {
17386
17391
  __name: "byRichTextEdit",
17387
17392
  props: {
17388
17393
  modelValue: { type: String, default: "" }
@@ -17426,7 +17431,7 @@ const SafeCall$1 = async (e, r) => {
17426
17431
  }, null, 512)
17427
17432
  ]));
17428
17433
  }
17429
- }, _hoisted_1$9 = { style: { height: "150px" } }, _hoisted_2$6 = ["src"], _hoisted_3$5 = ["src"], _sfc_main$d = {
17434
+ }, _hoisted_1$9 = { style: { height: "150px" } }, _hoisted_2$6 = ["src"], _hoisted_3$5 = ["src"], _sfc_main$e = {
17430
17435
  __name: "byUploadPic",
17431
17436
  props: {
17432
17437
  modelValue: { type: [String, Array], default: "" },
@@ -17466,7 +17471,10 @@ const SafeCall$1 = async (e, r) => {
17466
17471
  }
17467
17472
  }, o = (h, p) => {
17468
17473
  let u = h.response.data;
17469
- a("update:modelValue", t.modelValue.filter((m) => m != u));
17474
+ a(
17475
+ "update:modelValue",
17476
+ t.modelValue.filter((m) => m != u)
17477
+ );
17470
17478
  }, f = () => {
17471
17479
  a("update:modelValue", "");
17472
17480
  }, c = (h) => h.indexOf(".jpg") >= 0 || h.indexOf(".png") >= 0 || h.indexOf(".bmp") >= 0 || t.isImage, _ = (h, p, u) => {
@@ -17573,7 +17581,7 @@ const SafeCall$1 = async (e, r) => {
17573
17581
  ], 64))
17574
17582
  ]));
17575
17583
  }
17576
- }, byUploadPic = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-efd5469c"]]), _hoisted_1$8 = { style: { height: "680px" } }, _hoisted_2$5 = { style: { "text-align": "center", padding: "20px 0", "font-size": "20px" } }, _hoisted_3$4 = { style: { "text-align": "center" } }, _hoisted_4$4 = {
17584
+ }, byUploadPic = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-b1c1000f"]]), _hoisted_1$8 = { style: { height: "680px" } }, _hoisted_2$5 = { style: { "text-align": "center", padding: "20px 0", "font-size": "20px" } }, _hoisted_3$4 = { style: { "text-align": "center" } }, _hoisted_4$4 = {
17577
17585
  class: "qrCodeWrap",
17578
17586
  ref: "qrCodeWrap"
17579
17587
  }, _hoisted_5$4 = { class: "qrWrap" }, _hoisted_6$4 = {
@@ -17582,7 +17590,7 @@ const SafeCall$1 = async (e, r) => {
17582
17590
  }, _hoisted_7$4 = ["src"], _hoisted_8$4 = { class: "instructionsWrap" }, _hoisted_9$4 = {
17583
17591
  key: 0,
17584
17592
  class: "instructionsbtn"
17585
- }, _hoisted_10$3 = ["href", "download"], _sfc_main$c = {
17593
+ }, _hoisted_10$3 = ["href", "download"], _sfc_main$d = {
17586
17594
  __name: "byQrcode",
17587
17595
  props: {
17588
17596
  modelValue: { type: Boolean, default: !1 },
@@ -17644,7 +17652,7 @@ const SafeCall$1 = async (e, r) => {
17644
17652
  _: 3
17645
17653
  }, 8, ["modelValue"]));
17646
17654
  }
17647
- }, byQrcode = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-3fb40ef7"]]), _hoisted_1$7 = ["src"], _sfc_main$b = {
17655
+ }, byQrcode = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-3fb40ef7"]]), _hoisted_1$7 = ["src"], _sfc_main$c = {
17648
17656
  __name: "PowerIFrame",
17649
17657
  props: {
17650
17658
  modelValue: { type: Boolean, default: !1 },
@@ -17698,7 +17706,7 @@ const SafeCall$1 = async (e, r) => {
17698
17706
  _: 1
17699
17707
  }, 8, ["title", "modelValue", "style"]));
17700
17708
  }
17701
- }, _sfc_main$a = {
17709
+ }, _sfc_main$b = {
17702
17710
  __name: "PowerButton",
17703
17711
  props: {
17704
17712
  name: { type: String, default: "" },
@@ -17718,7 +17726,7 @@ const SafeCall$1 = async (e, r) => {
17718
17726
  ]),
17719
17727
  _: 1
17720
17728
  }),
17721
- createVNode(_sfc_main$b, {
17729
+ createVNode(_sfc_main$c, {
17722
17730
  name: t.name,
17723
17731
  modelValue: r.value,
17724
17732
  "onUpdate:modelValue": i[0] || (i[0] = (s) => r.value = s),
@@ -17733,7 +17741,7 @@ const SafeCall$1 = async (e, r) => {
17733
17741
  key: 0,
17734
17742
  style: { width: "130px", height: "160px" },
17735
17743
  src: "http://saas.1000da.com.cn/images/缺省证件.jpg"
17736
- }, _hoisted_5$3 = ["src"], _hoisted_6$3 = { width: "420" }, _hoisted_7$3 = /* @__PURE__ */ createElementVNode("span", { style: { width: "80px", display: "inline-block" } }, "姓 名:", -1), _hoisted_8$3 = /* @__PURE__ */ createElementVNode("span", { style: { width: "80px", display: "inline-block" } }, "性 别:", -1), _hoisted_9$3 = /* @__PURE__ */ createElementVNode("span", { style: { width: "80px", display: "inline-block" } }, "手机号:", -1), _hoisted_10$2 = /* @__PURE__ */ createElementVNode("span", { style: { width: "80px", display: "inline-block" } }, "证件类型:", -1), _hoisted_11$2 = { colspan: "2" }, _hoisted_12$2 = /* @__PURE__ */ createElementVNode("span", { style: { width: "80px", display: "inline-block" } }, "户籍地址:", -1), _hoisted_13$2 = { colspan: "2" }, _hoisted_14$2 = /* @__PURE__ */ createElementVNode("span", { style: { width: "80px", display: "inline-block" } }, "证件号:", -1), _hoisted_15$2 = { style: { "text-align": "center", "margin-top": "20px" } }, _sfc_main$9 = {
17744
+ }, _hoisted_5$3 = ["src"], _hoisted_6$3 = { width: "420" }, _hoisted_7$3 = /* @__PURE__ */ createElementVNode("span", { style: { width: "80px", display: "inline-block" } }, "姓 名:", -1), _hoisted_8$3 = /* @__PURE__ */ createElementVNode("span", { style: { width: "80px", display: "inline-block" } }, "性 别:", -1), _hoisted_9$3 = /* @__PURE__ */ createElementVNode("span", { style: { width: "80px", display: "inline-block" } }, "手机号:", -1), _hoisted_10$2 = /* @__PURE__ */ createElementVNode("span", { style: { width: "80px", display: "inline-block" } }, "证件类型:", -1), _hoisted_11$2 = { colspan: "2" }, _hoisted_12$2 = /* @__PURE__ */ createElementVNode("span", { style: { width: "80px", display: "inline-block" } }, "户籍地址:", -1), _hoisted_13$2 = { colspan: "2" }, _hoisted_14$2 = /* @__PURE__ */ createElementVNode("span", { style: { width: "80px", display: "inline-block" } }, "证件号:", -1), _hoisted_15$2 = { style: { "text-align": "center", "margin-top": "20px" } }, _sfc_main$a = {
17737
17745
  __name: "IdentityInput",
17738
17746
  props: {
17739
17747
  modelValue: { type: Boolean, default: !1 },
@@ -17926,7 +17934,7 @@ const SafeCall$1 = async (e, r) => {
17926
17934
  }, 8, ["title", "modelValue"])
17927
17935
  ]));
17928
17936
  }
17929
- }, _hoisted_1$5 = { style: { display: "flex", "align-items": "center" } }, _hoisted_2$3 = { class: "wfbox" }, _sfc_main$8 = {
17937
+ }, _hoisted_1$5 = { style: { display: "flex", "align-items": "center" } }, _hoisted_2$3 = { class: "wfbox" }, _sfc_main$9 = {
17930
17938
  __name: "byNetworkMonitor",
17931
17939
  setup(e) {
17932
17940
  var r = null;
@@ -17980,7 +17988,7 @@ const SafeCall$1 = async (e, r) => {
17980
17988
  }, toDisplayString(unref(GetEnumName)(a, t.value)), 5)
17981
17989
  ]));
17982
17990
  }
17983
- }, byNetworkMonitor = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-3045f4e5"]]), _sfc_main$7 = {
17991
+ }, byNetworkMonitor = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-3045f4e5"]]), _sfc_main$8 = {
17984
17992
  __name: "RebateBox",
17985
17993
  props: {
17986
17994
  modelValue: { type: [String, Number], default: "" },
@@ -18065,7 +18073,7 @@ const SafeCall$1 = async (e, r) => {
18065
18073
  }, _withScopeId$1 = (e) => (pushScopeId("data-v-120dbd5d"), e = e(), popScopeId(), e), _hoisted_1$4 = { style: { "margin-bottom": "10px" } }, _hoisted_2$2 = {
18066
18074
  rowspan: "3",
18067
18075
  style: { "padding-right": "10px" }
18068
- }, _hoisted_3$2 = ["src"], _hoisted_4$2 = ["src"], _hoisted_5$2 = { key: 1 }, _hoisted_6$2 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("td", { class: "t" }, "用户:", -1)), _hoisted_7$2 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("td", { class: "t" }, "手机号:", -1)), _hoisted_8$2 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("td", { class: "t" }, "会员余额:", -1)), _hoisted_9$2 = { class: "amount" }, _hoisted_10$1 = ["src"], _hoisted_11$1 = ["src"], _hoisted_12$1 = { key: 1 }, _hoisted_13$1 = { class: "amount" }, _hoisted_14$1 = { key: 0 }, _hoisted_15$1 = { key: 1 }, _hoisted_16$1 = { key: 2 }, _hoisted_17$1 = { key: 3 }, _hoisted_18$1 = { style: { "text-align": "center" } }, _sfc_main$6 = {
18076
+ }, _hoisted_3$2 = ["src"], _hoisted_4$2 = ["src"], _hoisted_5$2 = { key: 1 }, _hoisted_6$2 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("td", { class: "t" }, "用户:", -1)), _hoisted_7$2 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("td", { class: "t" }, "手机号:", -1)), _hoisted_8$2 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("td", { class: "t" }, "会员余额:", -1)), _hoisted_9$2 = { class: "amount" }, _hoisted_10$1 = ["src"], _hoisted_11$1 = ["src"], _hoisted_12$1 = { key: 1 }, _hoisted_13$1 = { class: "amount" }, _hoisted_14$1 = { key: 0 }, _hoisted_15$1 = { key: 1 }, _hoisted_16$1 = { key: 2 }, _hoisted_17$1 = { key: 3 }, _hoisted_18$1 = { style: { "text-align": "center" } }, _sfc_main$7 = {
18069
18077
  __name: "MemberBox",
18070
18078
  props: {
18071
18079
  payAmount: { type: [String, Number], default: "0" },
@@ -18269,7 +18277,7 @@ const SafeCall$1 = async (e, r) => {
18269
18277
  ])
18270
18278
  ]));
18271
18279
  }
18272
- }, MemberBox = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-120dbd5d"]]), _hoisted_1$3 = ["src"], _sfc_main$5 = {
18280
+ }, MemberBox = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-120dbd5d"]]), _hoisted_1$3 = ["src"], _sfc_main$6 = {
18273
18281
  __name: "byDialog",
18274
18282
  props: {
18275
18283
  modelValue: { type: Boolean, default: !1 },
@@ -18321,7 +18329,7 @@ const SafeCall$1 = async (e, r) => {
18321
18329
  _: 3
18322
18330
  }, 8, ["title", "modelValue", "fullscreen", "top", "width", "show-close", "modal"]));
18323
18331
  }
18324
- }, byDialog = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-1f759cc9"]]), getPayCodeType = (e) => e ? e.length == 18 ? e.startsWith("28") ? 1 : e.startsWith("10") || e.startsWith("11") || e.startsWith("12") || e.startsWith("13") || e.startsWith("14") || e.startsWith("15") ? 2 : 0 : (e.length == 19, 0) : 0, isPayCode = (e) => getPayCodeType(e) > 0, staticData = {
18332
+ }, byDialog = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-1f759cc9"]]), getPayCodeType = (e) => e ? e.length == 18 ? e.startsWith("28") ? 1 : e.startsWith("10") || e.startsWith("11") || e.startsWith("12") || e.startsWith("13") || e.startsWith("14") || e.startsWith("15") ? 2 : 0 : (e.length == 19, 0) : 0, isPayCode = (e) => getPayCodeType(e) > 0, staticData = {
18325
18333
  loading: null,
18326
18334
  timerId: null,
18327
18335
  isConfirm: !1,
@@ -18400,7 +18408,7 @@ const SafeCall$1 = async (e, r) => {
18400
18408
  }, _withScopeId = (e) => (pushScopeId("data-v-cbc36807"), e = e(), popScopeId(), e), _hoisted_1$2 = { style: { height: "calc(100% - 40px)", "overflow-y": "auto" } }, _hoisted_2$1 = { style: { width: "100%", "font-size": "1.2em" } }, _hoisted_3$1 = { class: "tlab" }, _hoisted_4$1 = { class: "tlab" }, _hoisted_5$1 = { style: { color: "crimson", "text-decoration": "line-through" } }, _hoisted_6$1 = { style: { color: "#1a9f17", "font-size": "1.3em" } }, _hoisted_7$1 = {
18401
18409
  key: 1,
18402
18410
  style: { color: "crimson" }
18403
- }, _hoisted_8$1 = { class: "tlab" }, _hoisted_9$1 = { key: 0 }, _hoisted_10 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("td", { class: "tlab" }, "描述:", -1)), _hoisted_11 = { key: 1 }, _hoisted_12 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("td", { class: "tlab" }, "优惠金额:", -1)), _hoisted_13 = { key: 2 }, _hoisted_14 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("td", { class: "tlab" }, "营销员:", -1)), _hoisted_15 = { class: "tlab" }, _hoisted_16 = { key: 3 }, _hoisted_17 = { class: "tlab" }, _hoisted_18 = { class: "tlab" }, _hoisted_19 = { class: "tlab" }, _hoisted_20 = { class: "tlab" }, _hoisted_21 = { class: "tlab" }, _hoisted_22 = { key: 6 }, _hoisted_23 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("td", { class: "tlab" }, "备注:", -1)), _hoisted_24 = { style: { color: "#808080", "font-size": "14px" } }, _hoisted_25 = { style: { "text-align": "center" } }, _sfc_main$4 = {
18411
+ }, _hoisted_8$1 = { class: "tlab" }, _hoisted_9$1 = { key: 0 }, _hoisted_10 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("td", { class: "tlab" }, "描述:", -1)), _hoisted_11 = { key: 1 }, _hoisted_12 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("td", { class: "tlab" }, "优惠金额:", -1)), _hoisted_13 = { key: 2 }, _hoisted_14 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("td", { class: "tlab" }, "营销员:", -1)), _hoisted_15 = { class: "tlab" }, _hoisted_16 = { key: 3 }, _hoisted_17 = { class: "tlab" }, _hoisted_18 = { class: "tlab" }, _hoisted_19 = { class: "tlab" }, _hoisted_20 = { class: "tlab" }, _hoisted_21 = { class: "tlab" }, _hoisted_22 = { key: 6 }, _hoisted_23 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("td", { class: "tlab" }, "备注:", -1)), _hoisted_24 = { style: { color: "#808080", "font-size": "14px" } }, _hoisted_25 = { style: { "text-align": "center" } }, _sfc_main$5 = {
18404
18412
  __name: "index",
18405
18413
  props: {
18406
18414
  modelValue: { type: Boolean, default: !1 },
@@ -18570,7 +18578,7 @@ const SafeCall$1 = async (e, r) => {
18570
18578
  t.rebate ? (openBlock(), createElementBlock("tr", _hoisted_11, [
18571
18579
  _hoisted_12,
18572
18580
  createElementVNode("td", null, [
18573
- createVNode(_sfc_main$7, {
18581
+ createVNode(_sfc_main$8, {
18574
18582
  modelValue: o.RebateAmount,
18575
18583
  "onUpdate:modelValue": u[1] || (u[1] = (m) => o.RebateAmount = m),
18576
18584
  totalAmount: t.orderInfo.SumPrice
@@ -18776,7 +18784,7 @@ const SafeCall$1 = async (e, r) => {
18776
18784
  _: 1
18777
18785
  }, 8, ["modelValue"]));
18778
18786
  }
18779
- }, byConfirmOrder = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-cbc36807"]]), _hoisted_1$1 = { name: "selectIco" }, _hoisted_2 = { style: { padding: "5px", float: "left", border: "1px solid #e2e2e2", overflow: "hidden" } }, _hoisted_3 = {
18787
+ }, byConfirmOrder = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-cbc36807"]]), _hoisted_1$1 = { name: "selectIco" }, _hoisted_2 = { style: { padding: "5px", float: "left", border: "1px solid #e2e2e2", overflow: "hidden" } }, _hoisted_3 = {
18780
18788
  class: "icon",
18781
18789
  "aria-hidden": "true",
18782
18790
  style: { "font-size": "60px" }
@@ -18784,7 +18792,7 @@ const SafeCall$1 = async (e, r) => {
18784
18792
  class: "icon",
18785
18793
  "aria-hidden": "true",
18786
18794
  style: { "font-size": "40px" }
18787
- }, _hoisted_9 = ["xlink:href"], _sfc_main$3 = {
18795
+ }, _hoisted_9 = ["xlink:href"], _sfc_main$4 = {
18788
18796
  __name: "bySelectIco",
18789
18797
  props: {
18790
18798
  modelValue: { type: String, default: "" }
@@ -18855,7 +18863,7 @@ const SafeCall$1 = async (e, r) => {
18855
18863
  }, 8, ["modelValue"])
18856
18864
  ]));
18857
18865
  }
18858
- }, bySelectIco = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-1c780e69"]]), _hoisted_1 = { class: "mytag" }, _sfc_main$2 = {
18866
+ }, bySelectIco = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-1c780e69"]]), _hoisted_1 = { class: "mytag" }, _sfc_main$3 = {
18859
18867
  __name: "byInputTags",
18860
18868
  props: {
18861
18869
  modelValue: { type: String, default: "" }
@@ -18918,7 +18926,7 @@ const SafeCall$1 = async (e, r) => {
18918
18926
  })
18919
18927
  ], 64));
18920
18928
  }
18921
- }, byInputTags = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-0078ac34"]]), _sfc_main$1 = {
18929
+ }, byInputTags = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-0078ac34"]]), _sfc_main$2 = {
18922
18930
  __name: "SummaryReport",
18923
18931
  props: {
18924
18932
  searchParam: {
@@ -19006,7 +19014,7 @@ const SafeCall$1 = async (e, r) => {
19006
19014
  _: 3
19007
19015
  }, 8, ["url", "tabName", "columnArray", "commandArray", "printOption", "searchParam", "toolWidth"])) : createCommentVNode("", !0);
19008
19016
  }
19009
- }, _sfc_main = {
19017
+ }, _sfc_main$1 = {
19010
19018
  __name: "index",
19011
19019
  props: {
19012
19020
  name: { type: String, default: "汇总" },
@@ -19058,7 +19066,7 @@ const SafeCall$1 = async (e, r) => {
19058
19066
  name: t.name
19059
19067
  }, {
19060
19068
  default: withCtx(() => [
19061
- createVNode(_sfc_main$1, {
19069
+ createVNode(_sfc_main$2, {
19062
19070
  reportArray: t.reportArray,
19063
19071
  toolWidth: t.toolWidth,
19064
19072
  onCommand: s,
@@ -19084,15 +19092,62 @@ const SafeCall$1 = async (e, r) => {
19084
19092
  _: 3
19085
19093
  }, 8, ["modelValue"]));
19086
19094
  }
19087
- }, totalReport = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-819b3156"]]);
19095
+ }, totalReport = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-819b3156"]]), _sfc_main = {
19096
+ __name: "byAreaSelect",
19097
+ props: {
19098
+ provinceId: { type: [Number, String], default: "" },
19099
+ // 省份ID
19100
+ cityId: { type: [Number, String], default: "" },
19101
+ //市ID
19102
+ countyId: { type: [Number, String], default: "" },
19103
+ //区ID
19104
+ provinceName: { type: String, default: "" },
19105
+ //省份名称
19106
+ cityName: { type: String, default: "" },
19107
+ //市名称
19108
+ countyName: { type: String, default: "" }
19109
+ //区名称
19110
+ },
19111
+ emits: ["update:provinceId", "update:cityId", "update:countyId"],
19112
+ setup(e, { emit: r }) {
19113
+ const t = e, a = r, n = reactive({
19114
+ elValue: [],
19115
+ areaArray: [],
19116
+ optionConfig: {
19117
+ lazy: !0,
19118
+ lazyLoad: async (s, l) => {
19119
+ let o = (s == null ? void 0 : s.value) || 99999999, f = await InfrastructureApi("/ChildApi/SearchAreaInfo", { SearchType: 1, DataId: o });
19120
+ f = f.Select((c) => (n.areaArray.push(c), {
19121
+ value: c.Id,
19122
+ label: c.Name,
19123
+ leaf: c.IsLast == 1
19124
+ })), l(f);
19125
+ }
19126
+ }
19127
+ }), i = (s) => {
19128
+ let l = n.areaArray.FirstOrDefault((o) => o.Id == s[0]);
19129
+ a("update:provinceId", n.elValue[0]), a("update:provinceName", l == null ? void 0 : l.Name), l = n.areaArray.FirstOrDefault((o) => o.Id == s[1]), a("update:cityId", n.elValue[1]), a("update:cityName", l == null ? void 0 : l.Name), l = n.areaArray.FirstOrDefault((o) => o.Id == s[2]), a("update:countyId", n.elValue[2]), a("update:countyName", l == null ? void 0 : l.Name);
19130
+ };
19131
+ return onMounted(async () => {
19132
+ n.elValue = [t.provinceId, t.cityId, t.countyId];
19133
+ }), (s, l) => (openBlock(), createBlock(unref(ElCascader), {
19134
+ modelValue: n.elValue,
19135
+ "onUpdate:modelValue": l[0] || (l[0] = (o) => n.elValue = o),
19136
+ onChange: i,
19137
+ props: n.optionConfig,
19138
+ style: { width: "300px" }
19139
+ }, null, 8, ["modelValue", "props"]));
19140
+ }
19141
+ };
19088
19142
  function registComponent(e, r) {
19089
19143
  e.component("PageIndex", PageIndex);
19090
19144
  }
19091
19145
  typeof window < "u" && window.Vue && registComponent(window.Vue);
19092
- const ByRichTextEdit = _sfc_main$e, ByPrintArray = _sfc_main$j, ByDatePicker = byDatePicker, ByUploadPic = byUploadPic, ByQrcode = byQrcode, SafeCall = vueHelper.SafeCall, DebugPrint = vueHelper.DebugPrint, PowerButton = _sfc_main$a, BySelectIco = bySelectIco, PowerIFrame = _sfc_main$b, ByInputTags = byInputTags, ReportIndex = reportIndex, PrintTick = vueHelper.PrintTick, ByIdentityInput = _sfc_main$9, ByConfirmOrder = byConfirmOrder, UserCardTypeEnum = vueHelper.UserCardTypeEnum, ByDataList = DataList, ByDialog = byDialog, ByNetworkMonitor = byNetworkMonitor, ByTotalReport = totalReport, pcui = {
19146
+ const ByRichTextEdit = _sfc_main$f, ByPrintArray = _sfc_main$k, ByDatePicker = byDatePicker, ByUploadPic = byUploadPic, ByQrcode = byQrcode, SafeCall = vueHelper.SafeCall, DebugPrint = vueHelper.DebugPrint, PowerButton = _sfc_main$b, BySelectIco = bySelectIco, PowerIFrame = _sfc_main$c, ByInputTags = byInputTags, ReportIndex = reportIndex, PrintTick = vueHelper.PrintTick, ByIdentityInput = _sfc_main$a, ByConfirmOrder = byConfirmOrder, UserCardTypeEnum = vueHelper.UserCardTypeEnum, ByDataList = DataList, ByDialog = byDialog, ByNetworkMonitor = byNetworkMonitor, ByTotalReport = totalReport, ByAreaSelect = _sfc_main, pcui = {
19093
19147
  install: registComponent
19094
19148
  };
19095
19149
  export {
19150
+ ByAreaSelect,
19096
19151
  ByConfirmOrder,
19097
19152
  ByDataList,
19098
19153
  ByDatePicker,