qk-pc-ui 2.7.9 → 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 },
@@ -16297,7 +16297,7 @@ const _hoisted_1$e = { style: { display: "inline-block", width: "100px" } }, _ho
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 },
@@ -16698,7 +16698,7 @@ const _hoisted_1$e = { style: { display: "inline-block", width: "100px" } }, _ho
16698
16698
  ]),
16699
16699
  _: 1
16700
16700
  }, 8, ["data", "show-summary", "sum-text"]),
16701
- createVNode(_sfc_main$j, {
16701
+ createVNode(_sfc_main$k, {
16702
16702
  modelValue: n.IsVisible,
16703
16703
  "onUpdate:modelValue": D[0] || (D[0] = (A) => n.IsVisible = A),
16704
16704
  data: n.dataArray,
@@ -16708,7 +16708,7 @@ const _hoisted_1$e = { style: { display: "inline-block", width: "100px" } }, _ho
16708
16708
  }, null, 8, ["modelValue", "data", "title", "columnArray", "printOption"])
16709
16709
  ]));
16710
16710
  }
16711
- }, DataList = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-7942e5fe"]]), CreateNewPrint = () => {
16711
+ }, DataList = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-7942e5fe"]]), CreateNewPrint = () => {
16712
16712
  let config = { Pid: "" }, LODOP = getLodop();
16713
16713
  return {
16714
16714
  onMessage: (e, r) => {
@@ -16866,7 +16866,7 @@ const SafeCall$1 = async (e, r) => {
16866
16866
  PrintTick: PrintTick$1,
16867
16867
  UserCardTypeEnum: UserCardTypeEnum$1,
16868
16868
  DebugPrint: DebugPrint$1
16869
- }, _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 = {
16870
16870
  __name: "index",
16871
16871
  props: {
16872
16872
  columnArray: { type: Array, default: () => [] },
@@ -16996,7 +16996,7 @@ const SafeCall$1 = async (e, r) => {
16996
16996
  }), r({
16997
16997
  onSearch: b
16998
16998
  }), (X, G) => (openBlock(), createElementBlock("div", _hoisted_1$c, [
16999
- s.value ? (openBlock(), createBlock(_sfc_main$l, {
16999
+ s.value ? (openBlock(), createBlock(_sfc_main$m, {
17000
17000
  key: 0,
17001
17001
  class: "filter",
17002
17002
  onSearch: G[0] || (G[0] = (S) => b(1)),
@@ -17119,7 +17119,7 @@ const SafeCall$1 = async (e, r) => {
17119
17119
  }, 8, ["modelValue", "title", "width", "style"])
17120
17120
  ]));
17121
17121
  }
17122
- }, PageIndex = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-91721a17"]]), _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 = {
17123
17123
  __name: "index",
17124
17124
  props: {
17125
17125
  columnArray: { type: Array, default: () => [] },
@@ -17232,7 +17232,7 @@ const SafeCall$1 = async (e, r) => {
17232
17232
  }), r({
17233
17233
  onSearch: u
17234
17234
  }), (m, C) => (openBlock(), createElementBlock("div", _hoisted_1$b, [
17235
- i.value ? (openBlock(), createBlock(_sfc_main$l, {
17235
+ i.value ? (openBlock(), createBlock(_sfc_main$m, {
17236
17236
  key: 0,
17237
17237
  class: "filter",
17238
17238
  onSearch: u
@@ -17287,7 +17287,7 @@ const SafeCall$1 = async (e, r) => {
17287
17287
  }, null, 8, ["data", "tabName", "toolWidth", "columnArray", "commandArray", "printOption"]))
17288
17288
  ]));
17289
17289
  }
17290
- }, 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 = {
17291
17291
  __name: "byDatePicker",
17292
17292
  props: {
17293
17293
  BeginTime: { type: [String, void 0], default: "" },
@@ -17387,7 +17387,7 @@ const SafeCall$1 = async (e, r) => {
17387
17387
  "default-time": [/* @__PURE__ */ new Date("2022-1-1 00:00:00"), /* @__PURE__ */ new Date("2022-1-1 23:59:59")]
17388
17388
  }, null, 8, ["modelValue", "range-separator", "start-placeholder", "end-placeholder", "default-time"]));
17389
17389
  }
17390
- }, 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 = {
17391
17391
  __name: "byRichTextEdit",
17392
17392
  props: {
17393
17393
  modelValue: { type: String, default: "" }
@@ -17431,7 +17431,7 @@ const SafeCall$1 = async (e, r) => {
17431
17431
  }, null, 512)
17432
17432
  ]));
17433
17433
  }
17434
- }, _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 = {
17435
17435
  __name: "byUploadPic",
17436
17436
  props: {
17437
17437
  modelValue: { type: [String, Array], default: "" },
@@ -17581,7 +17581,7 @@ const SafeCall$1 = async (e, r) => {
17581
17581
  ], 64))
17582
17582
  ]));
17583
17583
  }
17584
- }, byUploadPic = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__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 = {
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 = {
17585
17585
  class: "qrCodeWrap",
17586
17586
  ref: "qrCodeWrap"
17587
17587
  }, _hoisted_5$4 = { class: "qrWrap" }, _hoisted_6$4 = {
@@ -17590,7 +17590,7 @@ const SafeCall$1 = async (e, r) => {
17590
17590
  }, _hoisted_7$4 = ["src"], _hoisted_8$4 = { class: "instructionsWrap" }, _hoisted_9$4 = {
17591
17591
  key: 0,
17592
17592
  class: "instructionsbtn"
17593
- }, _hoisted_10$3 = ["href", "download"], _sfc_main$c = {
17593
+ }, _hoisted_10$3 = ["href", "download"], _sfc_main$d = {
17594
17594
  __name: "byQrcode",
17595
17595
  props: {
17596
17596
  modelValue: { type: Boolean, default: !1 },
@@ -17652,7 +17652,7 @@ const SafeCall$1 = async (e, r) => {
17652
17652
  _: 3
17653
17653
  }, 8, ["modelValue"]));
17654
17654
  }
17655
- }, 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 = {
17656
17656
  __name: "PowerIFrame",
17657
17657
  props: {
17658
17658
  modelValue: { type: Boolean, default: !1 },
@@ -17706,7 +17706,7 @@ const SafeCall$1 = async (e, r) => {
17706
17706
  _: 1
17707
17707
  }, 8, ["title", "modelValue", "style"]));
17708
17708
  }
17709
- }, _sfc_main$a = {
17709
+ }, _sfc_main$b = {
17710
17710
  __name: "PowerButton",
17711
17711
  props: {
17712
17712
  name: { type: String, default: "" },
@@ -17726,7 +17726,7 @@ const SafeCall$1 = async (e, r) => {
17726
17726
  ]),
17727
17727
  _: 1
17728
17728
  }),
17729
- createVNode(_sfc_main$b, {
17729
+ createVNode(_sfc_main$c, {
17730
17730
  name: t.name,
17731
17731
  modelValue: r.value,
17732
17732
  "onUpdate:modelValue": i[0] || (i[0] = (s) => r.value = s),
@@ -17741,7 +17741,7 @@ const SafeCall$1 = async (e, r) => {
17741
17741
  key: 0,
17742
17742
  style: { width: "130px", height: "160px" },
17743
17743
  src: "http://saas.1000da.com.cn/images/缺省证件.jpg"
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$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 = {
17745
17745
  __name: "IdentityInput",
17746
17746
  props: {
17747
17747
  modelValue: { type: Boolean, default: !1 },
@@ -17934,7 +17934,7 @@ const SafeCall$1 = async (e, r) => {
17934
17934
  }, 8, ["title", "modelValue"])
17935
17935
  ]));
17936
17936
  }
17937
- }, _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 = {
17938
17938
  __name: "byNetworkMonitor",
17939
17939
  setup(e) {
17940
17940
  var r = null;
@@ -17988,7 +17988,7 @@ const SafeCall$1 = async (e, r) => {
17988
17988
  }, toDisplayString(unref(GetEnumName)(a, t.value)), 5)
17989
17989
  ]));
17990
17990
  }
17991
- }, 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 = {
17992
17992
  __name: "RebateBox",
17993
17993
  props: {
17994
17994
  modelValue: { type: [String, Number], default: "" },
@@ -18073,7 +18073,7 @@ const SafeCall$1 = async (e, r) => {
18073
18073
  }, _withScopeId$1 = (e) => (pushScopeId("data-v-120dbd5d"), e = e(), popScopeId(), e), _hoisted_1$4 = { style: { "margin-bottom": "10px" } }, _hoisted_2$2 = {
18074
18074
  rowspan: "3",
18075
18075
  style: { "padding-right": "10px" }
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$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 = {
18077
18077
  __name: "MemberBox",
18078
18078
  props: {
18079
18079
  payAmount: { type: [String, Number], default: "0" },
@@ -18277,7 +18277,7 @@ const SafeCall$1 = async (e, r) => {
18277
18277
  ])
18278
18278
  ]));
18279
18279
  }
18280
- }, 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 = {
18281
18281
  __name: "byDialog",
18282
18282
  props: {
18283
18283
  modelValue: { type: Boolean, default: !1 },
@@ -18329,7 +18329,7 @@ const SafeCall$1 = async (e, r) => {
18329
18329
  _: 3
18330
18330
  }, 8, ["title", "modelValue", "fullscreen", "top", "width", "show-close", "modal"]));
18331
18331
  }
18332
- }, 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 = {
18333
18333
  loading: null,
18334
18334
  timerId: null,
18335
18335
  isConfirm: !1,
@@ -18408,7 +18408,7 @@ const SafeCall$1 = async (e, r) => {
18408
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 = {
18409
18409
  key: 1,
18410
18410
  style: { color: "crimson" }
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$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 = {
18412
18412
  __name: "index",
18413
18413
  props: {
18414
18414
  modelValue: { type: Boolean, default: !1 },
@@ -18578,7 +18578,7 @@ const SafeCall$1 = async (e, r) => {
18578
18578
  t.rebate ? (openBlock(), createElementBlock("tr", _hoisted_11, [
18579
18579
  _hoisted_12,
18580
18580
  createElementVNode("td", null, [
18581
- createVNode(_sfc_main$7, {
18581
+ createVNode(_sfc_main$8, {
18582
18582
  modelValue: o.RebateAmount,
18583
18583
  "onUpdate:modelValue": u[1] || (u[1] = (m) => o.RebateAmount = m),
18584
18584
  totalAmount: t.orderInfo.SumPrice
@@ -18784,7 +18784,7 @@ const SafeCall$1 = async (e, r) => {
18784
18784
  _: 1
18785
18785
  }, 8, ["modelValue"]));
18786
18786
  }
18787
- }, 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 = {
18788
18788
  class: "icon",
18789
18789
  "aria-hidden": "true",
18790
18790
  style: { "font-size": "60px" }
@@ -18792,7 +18792,7 @@ const SafeCall$1 = async (e, r) => {
18792
18792
  class: "icon",
18793
18793
  "aria-hidden": "true",
18794
18794
  style: { "font-size": "40px" }
18795
- }, _hoisted_9 = ["xlink:href"], _sfc_main$3 = {
18795
+ }, _hoisted_9 = ["xlink:href"], _sfc_main$4 = {
18796
18796
  __name: "bySelectIco",
18797
18797
  props: {
18798
18798
  modelValue: { type: String, default: "" }
@@ -18863,7 +18863,7 @@ const SafeCall$1 = async (e, r) => {
18863
18863
  }, 8, ["modelValue"])
18864
18864
  ]));
18865
18865
  }
18866
- }, 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 = {
18867
18867
  __name: "byInputTags",
18868
18868
  props: {
18869
18869
  modelValue: { type: String, default: "" }
@@ -18926,7 +18926,7 @@ const SafeCall$1 = async (e, r) => {
18926
18926
  })
18927
18927
  ], 64));
18928
18928
  }
18929
- }, 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 = {
18930
18930
  __name: "SummaryReport",
18931
18931
  props: {
18932
18932
  searchParam: {
@@ -19014,7 +19014,7 @@ const SafeCall$1 = async (e, r) => {
19014
19014
  _: 3
19015
19015
  }, 8, ["url", "tabName", "columnArray", "commandArray", "printOption", "searchParam", "toolWidth"])) : createCommentVNode("", !0);
19016
19016
  }
19017
- }, _sfc_main = {
19017
+ }, _sfc_main$1 = {
19018
19018
  __name: "index",
19019
19019
  props: {
19020
19020
  name: { type: String, default: "汇总" },
@@ -19066,7 +19066,7 @@ const SafeCall$1 = async (e, r) => {
19066
19066
  name: t.name
19067
19067
  }, {
19068
19068
  default: withCtx(() => [
19069
- createVNode(_sfc_main$1, {
19069
+ createVNode(_sfc_main$2, {
19070
19070
  reportArray: t.reportArray,
19071
19071
  toolWidth: t.toolWidth,
19072
19072
  onCommand: s,
@@ -19092,15 +19092,62 @@ const SafeCall$1 = async (e, r) => {
19092
19092
  _: 3
19093
19093
  }, 8, ["modelValue"]));
19094
19094
  }
19095
- }, 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
+ };
19096
19142
  function registComponent(e, r) {
19097
19143
  e.component("PageIndex", PageIndex);
19098
19144
  }
19099
19145
  typeof window < "u" && window.Vue && registComponent(window.Vue);
19100
- 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 = {
19101
19147
  install: registComponent
19102
19148
  };
19103
19149
  export {
19150
+ ByAreaSelect,
19104
19151
  ByConfirmOrder,
19105
19152
  ByDataList,
19106
19153
  ByDatePicker,