sctj-components 1.0.15 → 1.0.17

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.
@@ -3,7 +3,7 @@ import VueOfficePdf from "@vue-office/pdf";
3
3
  import VueOfficeDocx from "@vue-office/docx";
4
4
  import VueOfficeExcel from "@vue-office/excel";
5
5
  import { View, Download, Delete, Plus, Picture, Loading, UploadFilled, QuestionFilled } from "@element-plus/icons-vue";
6
- import { ElMessage, ElLoading, ElButton, ElIcon, ElMessageBox } from "element-plus";
6
+ import { ElMessage, ElLoading, ElMessageBox, ElButton, ElIcon } from "element-plus";
7
7
  import * as echarts from "echarts";
8
8
  import { throttle, isEqual } from "lodash";
9
9
  import flvjs from "flv.js";
@@ -130,7 +130,7 @@ const _sfc_main$p = {
130
130
  };
131
131
  const index$2 = "";
132
132
  const index$1 = "";
133
- const index_vue_vue_type_style_index_0_scoped_f55d9716_lang = "";
133
+ const index_vue_vue_type_style_index_0_scoped_392c966d_lang = "";
134
134
  const index_vue_vue_type_style_index_1_lang = "";
135
135
  const _hoisted_1$i = { class: "upload-file" };
136
136
  const _hoisted_2$b = { class: "el-upload__tip" };
@@ -149,7 +149,7 @@ const _sfc_main$o = {
149
149
  },
150
150
  fileSize: {
151
151
  type: Number,
152
- default: 10
152
+ default: 200
153
153
  },
154
154
  fileType: {
155
155
  type: Array,
@@ -510,8 +510,8 @@ const _sfc_main$o = {
510
510
  };
511
511
  }
512
512
  };
513
- const SCTJFileUpload = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-f55d9716"]]);
514
- const index_vue_vue_type_style_index_0_scoped_ddc0faf6_lang = "";
513
+ const SCTJFileUpload = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-392c966d"]]);
514
+ const index_vue_vue_type_style_index_0_scoped_68e409aa_lang = "";
515
515
  const _hoisted_1$h = { class: "component-upload-image" };
516
516
  const _hoisted_2$a = {
517
517
  key: 0,
@@ -533,7 +533,7 @@ const _sfc_main$n = {
533
533
  },
534
534
  fileSize: {
535
535
  type: Number,
536
- default: 5
536
+ default: 10
537
537
  },
538
538
  fileType: {
539
539
  type: Array,
@@ -802,7 +802,7 @@ const _sfc_main$n = {
802
802
  };
803
803
  }
804
804
  };
805
- const SCTJImageUpload = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-ddc0faf6"]]);
805
+ const SCTJImageUpload = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-68e409aa"]]);
806
806
  const index_vue_vue_type_style_index_0_scoped_bebc33d5_lang = "";
807
807
  const _hoisted_1$g = { class: "image-slot" };
808
808
  const _sfc_main$m = {
@@ -1687,7 +1687,7 @@ function _sfc_render(_ctx, _cache) {
1687
1687
  ]);
1688
1688
  }
1689
1689
  const SCTJTableContainer = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["render", _sfc_render], ["__scopeId", "data-v-45fb95db"]]);
1690
- const index_vue_vue_type_style_index_0_scoped_0e82f8bf_lang = "";
1690
+ const index_vue_vue_type_style_index_0_scoped_46df4461_lang = "";
1691
1691
  const _sfc_main$g = {
1692
1692
  __name: "index",
1693
1693
  props: {
@@ -1714,6 +1714,7 @@ const _sfc_main$g = {
1714
1714
  emits: ["update:showSearch", "queryTable"],
1715
1715
  setup(__props, { emit: emits }) {
1716
1716
  const props = __props;
1717
+ const { isMobile } = useMobile();
1717
1718
  const value = ref$1([]);
1718
1719
  const title = ref$1("\u663E\u793A/\u9690\u85CF");
1719
1720
  const open = ref$1(false);
@@ -1765,10 +1766,11 @@ const _sfc_main$g = {
1765
1766
  }, {
1766
1767
  default: withCtx(() => [
1767
1768
  createVNode(_component_el_button, {
1769
+ size: unref(isMobile) ? "small" : "",
1768
1770
  circle: "",
1769
1771
  icon: "Search",
1770
1772
  onClick: _cache[0] || (_cache[0] = ($event) => toggleSearch())
1771
- })
1773
+ }, null, 8, ["size"])
1772
1774
  ]),
1773
1775
  _: 1
1774
1776
  }, 8, ["content"])) : createCommentVNode("", true),
@@ -1781,10 +1783,11 @@ const _sfc_main$g = {
1781
1783
  }, {
1782
1784
  default: withCtx(() => [
1783
1785
  createVNode(_component_el_button, {
1786
+ size: unref(isMobile) ? "small" : "",
1784
1787
  circle: "",
1785
1788
  icon: "Refresh",
1786
1789
  onClick: _cache[1] || (_cache[1] = ($event) => refresh())
1787
- })
1790
+ }, null, 8, ["size"])
1788
1791
  ]),
1789
1792
  _: 1
1790
1793
  })) : createCommentVNode("", true),
@@ -1797,10 +1800,11 @@ const _sfc_main$g = {
1797
1800
  }, {
1798
1801
  default: withCtx(() => [
1799
1802
  createVNode(_component_el_button, {
1803
+ size: unref(isMobile) ? "small" : "",
1800
1804
  circle: "",
1801
1805
  icon: "Menu",
1802
1806
  onClick: _cache[2] || (_cache[2] = ($event) => showColumn())
1803
- })
1807
+ }, null, 8, ["size"])
1804
1808
  ]),
1805
1809
  _: 1
1806
1810
  })) : createCommentVNode("", true)
@@ -1828,7 +1832,7 @@ const _sfc_main$g = {
1828
1832
  };
1829
1833
  }
1830
1834
  };
1831
- const SCTJRightToolbar = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-0e82f8bf"]]);
1835
+ const SCTJRightToolbar = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-46df4461"]]);
1832
1836
  const index_vue_vue_type_style_index_0_scoped_056cfdde_lang = "";
1833
1837
  const _hoisted_1$b = { class: "table-top-action-container" };
1834
1838
  const _sfc_main$f = {
@@ -1873,8 +1877,8 @@ const _sfc_main$f = {
1873
1877
  }
1874
1878
  };
1875
1879
  const SCTJTableTopActionContainer = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-056cfdde"]]);
1876
- const index_vue_vue_type_style_index_0_scoped_acae1f41_lang = "";
1877
- const _withScopeId$4 = (n) => (pushScopeId("data-v-acae1f41"), n = n(), popScopeId(), n);
1880
+ const index_vue_vue_type_style_index_0_scoped_4b2032ab_lang = "";
1881
+ const _withScopeId$4 = (n) => (pushScopeId("data-v-4b2032ab"), n = n(), popScopeId(), n);
1878
1882
  const _hoisted_1$a = {
1879
1883
  key: 0,
1880
1884
  class: "search-container"
@@ -1963,7 +1967,11 @@ const _sfc_main$e = {
1963
1967
  const { queryParams } = toRefs(data);
1964
1968
  const tagDeleteAll = async () => {
1965
1969
  var _a;
1966
- await ElMessage.warning("\u60A8\u786E\u5B9A\u8981\u5168\u90E8\u5220\u9664\u5417?");
1970
+ await ElMessageBox.confirm("\u60A8\u786E\u5B9A\u8981\u5168\u90E8\u5220\u9664\u5417\uFF1F", "\u63D0\u793A", {
1971
+ confirmButtonText: "\u786E\u5B9A",
1972
+ cancelButtonText: "\u53D6\u6D88",
1973
+ type: "warning"
1974
+ });
1967
1975
  selectDataList.value = [];
1968
1976
  (_a = tableRef.value) == null ? void 0 : _a.clearSelection();
1969
1977
  };
@@ -1981,7 +1989,8 @@ const _sfc_main$e = {
1981
1989
  getList();
1982
1990
  };
1983
1991
  const resetQuery = () => {
1984
- proxy.$refs.queryFormRef.resetFields();
1992
+ var _a;
1993
+ (_a = proxy.$refs.queryFormRef) == null ? void 0 : _a.resetFields();
1985
1994
  queryParams.value.pageNum = 1;
1986
1995
  getList();
1987
1996
  };
@@ -2056,9 +2065,10 @@ const _sfc_main$e = {
2056
2065
  close();
2057
2066
  };
2058
2067
  const close = () => {
2068
+ var _a;
2059
2069
  dialogParams.value.open = false;
2060
2070
  selectDataList.value = [];
2061
- proxy.$refs.queryFormRef.resetFields();
2071
+ (_a = proxy.$refs.queryFormRef) == null ? void 0 : _a.resetFields();
2062
2072
  queryParams.value = {
2063
2073
  pageNum: 1,
2064
2074
  pageSize: 20
@@ -2376,7 +2386,7 @@ const _sfc_main$e = {
2376
2386
  };
2377
2387
  }
2378
2388
  };
2379
- const SCTJDialogTable = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-acae1f41"]]);
2389
+ const SCTJDialogTable = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-4b2032ab"]]);
2380
2390
  const _sfc_main$d = {
2381
2391
  __name: "index",
2382
2392
  setup(__props) {