tx-sider 2.2.1 → 2.2.3

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/lib/TXUI.mjs CHANGED
@@ -4,7 +4,7 @@ var __publicField = (obj, key2, value) => {
4
4
  __defNormalProp(obj, typeof key2 !== "symbol" ? key2 + "" : key2, value);
5
5
  return value;
6
6
  };
7
- import { Fragment, isVNode, Comment, Text, defineComponent, reactive, getCurrentInstance, onMounted, onUpdated, onUnmounted, watch, inject, computed, unref, createVNode, provide, Transition as Transition$2, nextTick, TransitionGroup as TransitionGroup$1, Teleport, ref, render, h as h$1, watchEffect, withDirectives, resolveDirective, onBeforeUnmount, cloneVNode, toRef, withModifiers, vShow, onBeforeMount, createTextVNode, isRef, toRefs, shallowRef, toRaw, onBeforeUpdate, resolveComponent, openBlock, createBlock, withCtx, renderSlot, createElementBlock, createElementVNode, pushScopeId, popScopeId, normalizeStyle, renderList, normalizeClass, toDisplayString, createCommentVNode, createStaticVNode, withKeys } from "vue";
7
+ import { Fragment, isVNode, Comment, Text, defineComponent, reactive, getCurrentInstance, onMounted, onUpdated, onUnmounted, watch, inject, computed, unref, createVNode, provide, Transition as Transition$2, nextTick, TransitionGroup as TransitionGroup$1, Teleport, ref, render, h as h$1, watchEffect, withDirectives, resolveDirective, onBeforeUnmount, cloneVNode, toRef, withModifiers, vShow, onBeforeMount, createTextVNode, isRef, toRefs, shallowRef, toRaw, onBeforeUpdate, resolveComponent, openBlock, createElementBlock, withCtx, createElementVNode, pushScopeId, popScopeId, normalizeStyle, renderList, normalizeClass, toDisplayString, createCommentVNode, renderSlot, createBlock, createStaticVNode, withKeys } from "vue";
8
8
  const index$m = "";
9
9
  function _defineProperty$z(obj, key2, value) {
10
10
  if (key2 in obj) {
@@ -14617,7 +14617,7 @@ var Popover = defineComponent({
14617
14617
  };
14618
14618
  }
14619
14619
  });
14620
- const __unplugin_components_2$2 = withInstall(Popover);
14620
+ const __unplugin_components_2$1 = withInstall(Popover);
14621
14621
  function UnitNumber(_ref) {
14622
14622
  var prefixCls = _ref.prefixCls, value = _ref.value, current2 = _ref.current, _ref$offset = _ref.offset, offset3 = _ref$offset === void 0 ? 0 : _ref$offset;
14623
14623
  var style;
@@ -21637,7 +21637,7 @@ var formItemProps = function formItemProps2() {
21637
21637
  };
21638
21638
  var indexGuid = 0;
21639
21639
  var defaultItemNamePrefixCls = "form_item";
21640
- const __unplugin_components_3$2 = defineComponent({
21640
+ const __unplugin_components_3$1 = defineComponent({
21641
21641
  name: "AFormItem",
21642
21642
  inheritAttrs: false,
21643
21643
  __ANT_NEW_FORM_ITEM: true,
@@ -22502,7 +22502,7 @@ var Form = defineComponent({
22502
22502
  hideRequiredMark: false,
22503
22503
  colon: true
22504
22504
  }),
22505
- Item: __unplugin_components_3$2,
22505
+ Item: __unplugin_components_3$1,
22506
22506
  useForm,
22507
22507
  // emits: ['finishFailed', 'submit', 'finish', 'validate'],
22508
22508
  setup: function setup62(props2, _ref) {
@@ -24776,7 +24776,7 @@ var ActionMap = {
24776
24776
  var defaultIconRender = function defaultIconRender2(visible) {
24777
24777
  return visible ? createVNode(EyeOutlined$1, null, null) : createVNode(EyeInvisibleOutlined$1, null, null);
24778
24778
  };
24779
- const __unplugin_components_2$1 = defineComponent({
24779
+ const __unplugin_components_2 = defineComponent({
24780
24780
  name: "AInputPassword",
24781
24781
  inheritAttrs: false,
24782
24782
  props: _extends$1(_extends$1({}, inputProps$1()), {
@@ -24856,7 +24856,7 @@ const __unplugin_components_2$1 = defineComponent({
24856
24856
  Input.Group = Group$1;
24857
24857
  Input.Search = Search;
24858
24858
  Input.TextArea = TextArea;
24859
- Input.Password = __unplugin_components_2$1;
24859
+ Input.Password = __unplugin_components_2;
24860
24860
  Input.install = function(app) {
24861
24861
  app.component(Input.name, Input);
24862
24862
  app.component(Input.Group.name, Input.Group);
@@ -26188,7 +26188,7 @@ Image$1.install = function(app) {
26188
26188
  app.component(Image$1.PreviewGroup.name, Image$1.PreviewGroup);
26189
26189
  return app;
26190
26190
  };
26191
- const __unplugin_components_2 = Image$1;
26191
+ const __unplugin_components_7 = Image$1;
26192
26192
  var __rest$7 = globalThis && globalThis.__rest || function(s2, e2) {
26193
26193
  var t2 = {};
26194
26194
  for (var p in s2) {
@@ -27324,7 +27324,7 @@ const Pagination = defineComponent({
27324
27324
  };
27325
27325
  }
27326
27326
  });
27327
- const __unplugin_components_3$1 = withInstall(Pagination);
27327
+ const __unplugin_components_3 = withInstall(Pagination);
27328
27328
  var __rest$4 = globalThis && globalThis.__rest || function(s2, e2) {
27329
27329
  var t2 = {};
27330
27330
  for (var p in s2) {
@@ -30070,63 +30070,6 @@ const __unplugin_components_0$1 = _extends$1(Upload, {
30070
30070
  const _default5 = "";
30071
30071
  const index$j = "";
30072
30072
  const index$i = "";
30073
- const _sfc_main$7 = /* @__PURE__ */ defineComponent({
30074
- __name: "MrpModal",
30075
- props: {
30076
- show: {
30077
- type: Boolean,
30078
- default: false
30079
- },
30080
- removePadding: {
30081
- type: Boolean,
30082
- default: true
30083
- }
30084
- },
30085
- emits: ["cancelHandle", "update:show"],
30086
- setup(__props, { emit }) {
30087
- const props2 = __props;
30088
- const inputV = computed({
30089
- get() {
30090
- return props2.show;
30091
- },
30092
- set(value) {
30093
- emit("update:show", value);
30094
- emit("cancelHandle", value);
30095
- }
30096
- });
30097
- function cancel() {
30098
- console.log("11111111111111111111111111");
30099
- emit("update:show", false);
30100
- emit("cancelHandle", false);
30101
- }
30102
- return (_ctx, _cache) => {
30103
- const _component_close_circle_outlined = resolveComponent("close-circle-outlined");
30104
- const _component_a_modal = Modal;
30105
- return openBlock(), createBlock(_component_a_modal, {
30106
- wrapClassName: [
30107
- __props.removePadding ? "" : "not-padding",
30108
- "module-class modal-components"
30109
- ],
30110
- visible: unref(inputV),
30111
- "onUpdate:visible": _cache[0] || (_cache[0] = ($event) => isRef(inputV) ? inputV.value = $event : null),
30112
- onCancel: cancel,
30113
- destroyOnClose: "",
30114
- footer: null
30115
- }, {
30116
- title: withCtx(() => [
30117
- renderSlot(_ctx.$slots, "title")
30118
- ]),
30119
- closeIcon: withCtx(() => [
30120
- createVNode(_component_close_circle_outlined, { class: "text-[#006ab2] text-[30px]" })
30121
- ]),
30122
- default: withCtx(() => [
30123
- renderSlot(_ctx.$slots, "body")
30124
- ]),
30125
- _: 3
30126
- }, 8, ["wrapClassName", "visible"]);
30127
- };
30128
- }
30129
- });
30130
30073
  const index$h = "";
30131
30074
  const index$g = "";
30132
30075
  const index$f = "";
@@ -30135,8 +30078,6 @@ const index$d = "";
30135
30078
  const index$c = "";
30136
30079
  const index$b = "";
30137
30080
  const index$a = "";
30138
- const index$9 = "";
30139
- const index$8 = "";
30140
30081
  const tableControl_vue_vue_type_style_index_0_scoped_true_lang = "";
30141
30082
  const _export_sfc = (sfc, props2) => {
30142
30083
  const target = sfc.__vccOpts || sfc;
@@ -30145,14 +30086,14 @@ const _export_sfc = (sfc, props2) => {
30145
30086
  }
30146
30087
  return target;
30147
30088
  };
30148
- const _withScopeId$5 = (n2) => (pushScopeId("data-v-7be61d40"), n2 = n2(), popScopeId(), n2);
30149
- const _hoisted_1$6 = { class: "tableControl" };
30150
- const _hoisted_2$6 = /* @__PURE__ */ _withScopeId$5(() => /* @__PURE__ */ createElementVNode("div", null, "密度", -1));
30151
- const _hoisted_3$6 = /* @__PURE__ */ createTextVNode(" 默认 ");
30152
- const _hoisted_4$6 = /* @__PURE__ */ createTextVNode(" 中等 ");
30153
- const _hoisted_5$6 = /* @__PURE__ */ createTextVNode(" 紧凑 ");
30154
- const _hoisted_6$6 = /* @__PURE__ */ _withScopeId$5(() => /* @__PURE__ */ createElementVNode("div", null, "列设置", -1));
30155
- const _hoisted_7$6 = /* @__PURE__ */ createTextVNode(" 全选 ");
30089
+ const _withScopeId$4 = (n2) => (pushScopeId("data-v-7be61d40"), n2 = n2(), popScopeId(), n2);
30090
+ const _hoisted_1$5 = { class: "tableControl" };
30091
+ const _hoisted_2$5 = /* @__PURE__ */ _withScopeId$4(() => /* @__PURE__ */ createElementVNode("div", null, "密度", -1));
30092
+ const _hoisted_3$5 = /* @__PURE__ */ createTextVNode(" 默认 ");
30093
+ const _hoisted_4$5 = /* @__PURE__ */ createTextVNode(" 中等 ");
30094
+ const _hoisted_5$5 = /* @__PURE__ */ createTextVNode(" 紧凑 ");
30095
+ const _hoisted_6$5 = /* @__PURE__ */ _withScopeId$4(() => /* @__PURE__ */ createElementVNode("div", null, "列设置", -1));
30096
+ const _hoisted_7$5 = /* @__PURE__ */ createTextVNode(" 全选 ");
30156
30097
  const _sfc_main$6 = /* @__PURE__ */ defineComponent({
30157
30098
  __name: "tableControl",
30158
30099
  props: {
@@ -30224,19 +30165,19 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
30224
30165
  const _component_a_menu_item = __unplugin_components_0$3;
30225
30166
  const _component_a_menu = Menu;
30226
30167
  const _component_column_height_outlined = resolveComponent("column-height-outlined");
30227
- const _component_a_popover = __unplugin_components_2$2;
30168
+ const _component_a_popover = __unplugin_components_2$1;
30228
30169
  const _component_a_checkbox = Checkbox;
30229
30170
  const _component_a_divider = __unplugin_components_4$1;
30230
30171
  const _component_a_checkbox_group = __unplugin_components_5;
30231
30172
  const _component_setting_outlined = resolveComponent("setting-outlined");
30232
- return openBlock(), createElementBlock("div", _hoisted_1$6, [
30173
+ return openBlock(), createElementBlock("div", _hoisted_1$5, [
30233
30174
  createVNode(_component_a_popover, {
30234
30175
  trigger: "hover",
30235
30176
  visible: hovered.value,
30236
30177
  onVisibleChange: handleHoverChange
30237
30178
  }, {
30238
30179
  content: withCtx(() => [
30239
- _hoisted_2$6
30180
+ _hoisted_2$5
30240
30181
  ]),
30241
30182
  default: withCtx(() => [
30242
30183
  createVNode(_component_a_popover, {
@@ -30256,19 +30197,19 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
30256
30197
  default: withCtx(() => [
30257
30198
  createVNode(_component_a_menu_item, { key: "0" }, {
30258
30199
  default: withCtx(() => [
30259
- _hoisted_3$6
30200
+ _hoisted_3$5
30260
30201
  ]),
30261
30202
  _: 1
30262
30203
  }),
30263
30204
  createVNode(_component_a_menu_item, { key: "1" }, {
30264
30205
  default: withCtx(() => [
30265
- _hoisted_4$6
30206
+ _hoisted_4$5
30266
30207
  ]),
30267
30208
  _: 1
30268
30209
  }),
30269
30210
  createVNode(_component_a_menu_item, { key: "2" }, {
30270
30211
  default: withCtx(() => [
30271
- _hoisted_5$6
30212
+ _hoisted_5$5
30272
30213
  ]),
30273
30214
  _: 1
30274
30215
  })
@@ -30289,7 +30230,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
30289
30230
  }, 8, ["visible"]),
30290
30231
  createVNode(_component_a_popover, { trigger: "hover" }, {
30291
30232
  content: withCtx(() => [
30292
- _hoisted_6$6
30233
+ _hoisted_6$5
30293
30234
  ]),
30294
30235
  default: withCtx(() => [
30295
30236
  createVNode(_component_a_popover, {
@@ -30308,7 +30249,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
30308
30249
  onChange: onCheckAllChange
30309
30250
  }, {
30310
30251
  default: withCtx(() => [
30311
- _hoisted_7$6
30252
+ _hoisted_7$5
30312
30253
  ]),
30313
30254
  _: 1
30314
30255
  }, 8, ["checked", "indeterminate"])
@@ -32886,37 +32827,37 @@ function useRoute() {
32886
32827
  return inject(routeLocationKey);
32887
32828
  }
32888
32829
  const mrpTable_vue_vue_type_style_index_0_scoped_true_lang = "";
32889
- const _withScopeId$4 = (n2) => (pushScopeId("data-v-4e120258"), n2 = n2(), popScopeId(), n2);
32890
- const _hoisted_1$5 = {
32830
+ const _withScopeId$3 = (n2) => (pushScopeId("data-v-4e120258"), n2 = n2(), popScopeId(), n2);
32831
+ const _hoisted_1$4 = {
32891
32832
  key: 0,
32892
32833
  id: "top"
32893
32834
  };
32894
- const _hoisted_2$5 = { class: "flex items-center justify-center" };
32895
- const _hoisted_3$5 = {
32835
+ const _hoisted_2$4 = { class: "flex items-center justify-center" };
32836
+ const _hoisted_3$4 = {
32896
32837
  key: 0,
32897
32838
  style: { "color": "#ff0066" }
32898
32839
  };
32899
- const _hoisted_4$5 = { key: 0 };
32900
- const _hoisted_5$5 = /* @__PURE__ */ _withScopeId$4(() => /* @__PURE__ */ createElementVNode("div", { class: "h-2 flex items-center" }, [
32840
+ const _hoisted_4$4 = { key: 0 };
32841
+ const _hoisted_5$4 = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("div", { class: "h-2 flex items-center" }, [
32901
32842
  /* @__PURE__ */ createElementVNode("span", { class: "bg-[#d9d9d9] h-[1px] w-full" })
32902
32843
  ], -1));
32903
- const _hoisted_6$5 = { class: "flex items-center justify-between h-1/2" };
32904
- const _hoisted_7$5 = {
32844
+ const _hoisted_6$4 = { class: "flex items-center justify-between h-1/2" };
32845
+ const _hoisted_7$4 = {
32905
32846
  key: 0,
32906
32847
  style: { "color": "#ff0066" }
32907
32848
  };
32908
- const _hoisted_8$5 = { class: "mrpTable" };
32909
- const _hoisted_9$5 = {
32849
+ const _hoisted_8$4 = { class: "mrpTable" };
32850
+ const _hoisted_9$4 = {
32910
32851
  class: "relative w-full mb-[24px]",
32911
32852
  style: { "table-layout": "fixed" }
32912
32853
  };
32913
- const _hoisted_10$5 = { class: "flex items-center justify-center" };
32914
- const _hoisted_11$5 = {
32854
+ const _hoisted_10$4 = { class: "flex items-center justify-center" };
32855
+ const _hoisted_11$4 = {
32915
32856
  key: 0,
32916
32857
  style: { "color": "#ff0066" }
32917
32858
  };
32918
- const _hoisted_12$4 = { key: 1 };
32919
- const _hoisted_13$2 = /* @__PURE__ */ _withScopeId$4(() => /* @__PURE__ */ createElementVNode("div", { class: "h-2 flex items-center" }, [
32859
+ const _hoisted_12$3 = { key: 1 };
32860
+ const _hoisted_13$1 = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("div", { class: "h-2 flex items-center" }, [
32920
32861
  /* @__PURE__ */ createElementVNode("span", { class: "bg-[#d9d9d9] h-[1px] w-full" })
32921
32862
  ], -1));
32922
32863
  const _hoisted_14$1 = { class: "flex items-center justify-between h-1/2" };
@@ -33013,10 +32954,10 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
33013
32954
  });
33014
32955
  return (_ctx, _cache) => {
33015
32956
  const _component_tableControl = __unplugin_components_0;
33016
- const _component_a_image = __unplugin_components_2;
33017
- const _component_a_pagination = __unplugin_components_3$1;
32957
+ const _component_a_image = __unplugin_components_7;
32958
+ const _component_a_pagination = __unplugin_components_3;
33018
32959
  return openBlock(), createElementBlock(Fragment, null, [
33019
- offsetWidth.value ? (openBlock(), createElementBlock("div", _hoisted_1$5, [
32960
+ offsetWidth.value ? (openBlock(), createElementBlock("div", _hoisted_1$4, [
33020
32961
  createElementVNode("table", {
33021
32962
  class: "relative w-full mb-[24px]",
33022
32963
  style: normalizeStyle([{ "table-layout": "fixed" }, { width: offsetWidth.value ? offsetWidth.value + "px" : "" }])
@@ -33032,20 +32973,20 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
33032
32973
  width: item.w ? item.w : ""
33033
32974
  })
33034
32975
  }, [
33035
- createElementVNode("div", _hoisted_2$5, [
32976
+ createElementVNode("div", _hoisted_2$4, [
33036
32977
  createTextVNode(toDisplayString(item.title == "操作" ? "" : item.title) + " ", 1),
33037
- item.unit ? (openBlock(), createElementBlock("span", _hoisted_3$5, toDisplayString(item.unit), 1)) : createCommentVNode("", true)
32978
+ item.unit ? (openBlock(), createElementBlock("span", _hoisted_3$4, toDisplayString(item.unit), 1)) : createCommentVNode("", true)
33038
32979
  ]),
33039
- item.header ? (openBlock(), createElementBlock("div", _hoisted_4$5, [
33040
- _hoisted_5$5,
33041
- createElementVNode("div", _hoisted_6$5, [
32980
+ item.header ? (openBlock(), createElementBlock("div", _hoisted_4$4, [
32981
+ _hoisted_5$4,
32982
+ createElementVNode("div", _hoisted_6$4, [
33042
32983
  (openBlock(true), createElementBlock(Fragment, null, renderList(item.header, (e2, i2) => {
33043
32984
  return openBlock(), createElementBlock("div", {
33044
32985
  key: i2,
33045
32986
  style: normalizeStyle({ width: e2.w ? e2.w : "" })
33046
32987
  }, [
33047
32988
  createTextVNode(toDisplayString(e2.title == "操作" ? "" : e2.title) + " ", 1),
33048
- e2.unit ? (openBlock(), createElementBlock("span", _hoisted_7$5, toDisplayString(e2.unit), 1)) : createCommentVNode("", true)
32989
+ e2.unit ? (openBlock(), createElementBlock("span", _hoisted_7$4, toDisplayString(e2.unit), 1)) : createCommentVNode("", true)
33049
32990
  ], 4);
33050
32991
  }), 128))
33051
32992
  ])
@@ -33061,8 +33002,8 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
33061
33002
  onChangeS: tableControlChange
33062
33003
  }, null, 8, ["setHeight"])
33063
33004
  ])) : createCommentVNode("", true),
33064
- createElementVNode("div", _hoisted_8$5, [
33065
- createElementVNode("table", _hoisted_9$5, [
33005
+ createElementVNode("div", _hoisted_8$4, [
33006
+ createElementVNode("table", _hoisted_9$4, [
33066
33007
  createElementVNode("tr", null, [
33067
33008
  (openBlock(true), createElementBlock(Fragment, null, renderList(__props.th, (item, index2) => {
33068
33009
  return openBlock(), createElementBlock(Fragment, { key: index2 }, [
@@ -33075,12 +33016,12 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
33075
33016
  })
33076
33017
  }, [
33077
33018
  __props.th[index2].key == "select" ? renderSlot(_ctx.$slots, "selectAll", { key: 0 }, void 0, true) : createCommentVNode("", true),
33078
- createElementVNode("div", _hoisted_10$5, [
33019
+ createElementVNode("div", _hoisted_10$4, [
33079
33020
  createTextVNode(toDisplayString(__props.th[index2].key == "select" ? "" : item.title) + " ", 1),
33080
- item.unit ? (openBlock(), createElementBlock("span", _hoisted_11$5, toDisplayString(item.unit), 1)) : createCommentVNode("", true)
33021
+ item.unit ? (openBlock(), createElementBlock("span", _hoisted_11$4, toDisplayString(item.unit), 1)) : createCommentVNode("", true)
33081
33022
  ]),
33082
- __props.th[index2].header ? (openBlock(), createElementBlock("div", _hoisted_12$4, [
33083
- _hoisted_13$2,
33023
+ __props.th[index2].header ? (openBlock(), createElementBlock("div", _hoisted_12$3, [
33024
+ _hoisted_13$1,
33084
33025
  createElementVNode("div", _hoisted_14$1, [
33085
33026
  (openBlock(true), createElementBlock(Fragment, null, renderList(__props.th[index2].header, (e2, i2) => {
33086
33027
  return openBlock(), createElementBlock("div", {
@@ -33176,7 +33117,215 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
33176
33117
  };
33177
33118
  }
33178
33119
  });
33179
- const __unplugin_components_3 = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-4e120258"]]);
33120
+ const __unplugin_components_8 = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-4e120258"]]);
33121
+ const index$9 = "";
33122
+ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
33123
+ __name: "MrpModal",
33124
+ props: {
33125
+ show: {
33126
+ type: Boolean,
33127
+ default: false
33128
+ },
33129
+ removePadding: {
33130
+ type: Boolean,
33131
+ default: true
33132
+ }
33133
+ },
33134
+ emits: ["cancelHandle", "update:show"],
33135
+ setup(__props, { emit }) {
33136
+ const props2 = __props;
33137
+ const inputV = computed({
33138
+ get() {
33139
+ return props2.show;
33140
+ },
33141
+ set(value) {
33142
+ emit("update:show", value);
33143
+ emit("cancelHandle", value);
33144
+ }
33145
+ });
33146
+ function cancel() {
33147
+ console.log("11111111111111111111111111");
33148
+ emit("update:show", false);
33149
+ emit("cancelHandle", false);
33150
+ }
33151
+ return (_ctx, _cache) => {
33152
+ const _component_close_circle_outlined = resolveComponent("close-circle-outlined");
33153
+ const _component_a_modal = Modal;
33154
+ return openBlock(), createBlock(_component_a_modal, {
33155
+ wrapClassName: [
33156
+ __props.removePadding ? "" : "not-padding",
33157
+ "module-class modal-components"
33158
+ ],
33159
+ visible: unref(inputV),
33160
+ "onUpdate:visible": _cache[0] || (_cache[0] = ($event) => isRef(inputV) ? inputV.value = $event : null),
33161
+ onCancel: cancel,
33162
+ destroyOnClose: "",
33163
+ footer: null
33164
+ }, {
33165
+ title: withCtx(() => [
33166
+ renderSlot(_ctx.$slots, "title")
33167
+ ]),
33168
+ closeIcon: withCtx(() => [
33169
+ createVNode(_component_close_circle_outlined, { class: "text-[#006ab2] text-[30px]" })
33170
+ ]),
33171
+ default: withCtx(() => [
33172
+ renderSlot(_ctx.$slots, "body")
33173
+ ]),
33174
+ _: 3
33175
+ }, 8, ["wrapClassName", "visible"]);
33176
+ };
33177
+ }
33178
+ });
33179
+ const index$8 = "";
33180
+ const index$7 = "";
33181
+ const CPagination_vue_vue_type_style_index_0_scoped_true_lang = "";
33182
+ const _hoisted_1$3 = { class: "Pagination" };
33183
+ const _hoisted_2$3 = { class: "top_pagination miniTS" };
33184
+ const _hoisted_3$3 = /* @__PURE__ */ createTextVNode(" 共有 ");
33185
+ const _hoisted_4$3 = { class: "top_pagination_font largeTS focusTC" };
33186
+ const _hoisted_5$3 = /* @__PURE__ */ createTextVNode(" 个记录满足条件,当前第 ");
33187
+ const _hoisted_6$3 = { class: "top_pagination_font largeTS focusTC" };
33188
+ const _hoisted_7$3 = /* @__PURE__ */ createTextVNode(" 页,跳转到第 ");
33189
+ const _hoisted_8$3 = { class: "top_pagination_font largeTS focusTC" };
33190
+ const _hoisted_9$3 = /* @__PURE__ */ createTextVNode(" 页 ");
33191
+ const _hoisted_10$3 = { class: "sticky-footer" };
33192
+ const _hoisted_11$3 = {
33193
+ key: 0,
33194
+ class: "bottom_pagination"
33195
+ };
33196
+ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
33197
+ __name: "CPagination",
33198
+ props: {
33199
+ currentPage: null,
33200
+ skipCount: null,
33201
+ pageSize: null,
33202
+ pageSizes: { default: () => ["20", "40", "60", "80"] },
33203
+ pageTotal: null
33204
+ },
33205
+ emits: ["update:currentPage", "update:pageSize", "update:skipCount", "change"],
33206
+ setup(__props, { emit }) {
33207
+ const props2 = __props;
33208
+ const _currentPage = computed({
33209
+ get() {
33210
+ return props2.currentPage;
33211
+ },
33212
+ set(value) {
33213
+ emit("update:currentPage", value);
33214
+ }
33215
+ });
33216
+ const _pageSize = computed({
33217
+ get() {
33218
+ return props2.pageSize;
33219
+ },
33220
+ set(value) {
33221
+ emit("update:pageSize", value);
33222
+ }
33223
+ });
33224
+ const _skipCount = computed({
33225
+ get() {
33226
+ return props2.skipCount;
33227
+ },
33228
+ set(value) {
33229
+ emit("update:skipCount", value);
33230
+ }
33231
+ });
33232
+ const onSelectTopPage = (val) => {
33233
+ _currentPage.value = val;
33234
+ handleCurrentChange(val, _pageSize.value);
33235
+ };
33236
+ let isHandleSizeChange = false;
33237
+ const handleSizeChange = (current2, pageSize2) => {
33238
+ isHandleSizeChange = true;
33239
+ const _skipCount_temp = (current2 - 1) * pageSize2;
33240
+ _skipCount.value = _skipCount_temp;
33241
+ emit("change", current2, pageSize2, _skipCount_temp);
33242
+ };
33243
+ const handleCurrentChange = (current2, pageSize2) => {
33244
+ if (isHandleSizeChange) {
33245
+ isHandleSizeChange = false;
33246
+ return;
33247
+ }
33248
+ const _skipCount_temp = (current2 - 1) * pageSize2;
33249
+ _skipCount.value = _skipCount_temp;
33250
+ emit("change", current2, pageSize2, _skipCount_temp);
33251
+ };
33252
+ return (_ctx, _cache) => {
33253
+ const _component_DownOutlined = resolveComponent("DownOutlined");
33254
+ const _component_a_menu_item = __unplugin_components_0$3;
33255
+ const _component_a_menu = Menu;
33256
+ const _component_a_dropdown = Dropdown$1;
33257
+ const _component_a_pagination = __unplugin_components_3;
33258
+ return openBlock(), createElementBlock("div", _hoisted_1$3, [
33259
+ createElementVNode("div", _hoisted_2$3, [
33260
+ createElementVNode("div", null, [
33261
+ _hoisted_3$3,
33262
+ createElementVNode("span", _hoisted_4$3, toDisplayString(__props.pageTotal), 1),
33263
+ _hoisted_5$3,
33264
+ createElementVNode("span", _hoisted_6$3, toDisplayString(unref(_currentPage)), 1),
33265
+ _hoisted_7$3,
33266
+ createVNode(_component_a_dropdown, { trigger: ["click"] }, {
33267
+ overlay: withCtx(() => [
33268
+ createVNode(_component_a_menu, {
33269
+ getPopupContainer: (triggerNode) => triggerNode.parentNode,
33270
+ class: "top_pagination_menu scrollbar_hover"
33271
+ }, {
33272
+ default: withCtx(() => [
33273
+ (openBlock(true), createElementBlock(Fragment, null, renderList(Math.ceil(__props.pageTotal / unref(_pageSize)), (e2) => {
33274
+ return openBlock(), createBlock(_component_a_menu_item, {
33275
+ key: e2,
33276
+ onClick: ($event) => onSelectTopPage(e2)
33277
+ }, {
33278
+ default: withCtx(() => [
33279
+ createTextVNode(toDisplayString(e2), 1)
33280
+ ]),
33281
+ _: 2
33282
+ }, 1032, ["onClick"]);
33283
+ }), 128))
33284
+ ]),
33285
+ _: 1
33286
+ }, 8, ["getPopupContainer"])
33287
+ ]),
33288
+ default: withCtx(() => [
33289
+ createElementVNode("a", {
33290
+ class: "top_pagination_click tableBC",
33291
+ onClick: _cache[0] || (_cache[0] = withModifiers(() => {
33292
+ }, ["prevent"]))
33293
+ }, [
33294
+ createElementVNode("span", _hoisted_8$3, toDisplayString(__props.currentPage), 1),
33295
+ createVNode(_component_DownOutlined, { class: "align-middle ml-1 mb-[4px] largeTS" })
33296
+ ])
33297
+ ]),
33298
+ _: 1
33299
+ }),
33300
+ _hoisted_9$3
33301
+ ]),
33302
+ renderSlot(_ctx.$slots, "topInfo", {}, void 0, true)
33303
+ ]),
33304
+ createElementVNode("div", null, [
33305
+ renderSlot(_ctx.$slots, "default", {}, void 0, true)
33306
+ ]),
33307
+ createElementVNode("div", _hoisted_10$3, [
33308
+ __props.pageTotal !== 0 ? (openBlock(), createElementBlock("div", _hoisted_11$3, [
33309
+ createVNode(_component_a_pagination, {
33310
+ current: unref(_currentPage),
33311
+ "onUpdate:current": _cache[1] || (_cache[1] = ($event) => isRef(_currentPage) ? _currentPage.value = $event : null),
33312
+ pageSize: unref(_pageSize),
33313
+ "onUpdate:pageSize": _cache[2] || (_cache[2] = ($event) => isRef(_pageSize) ? _pageSize.value = $event : null),
33314
+ "show-size-changer": "",
33315
+ "show-quick-jumper": "",
33316
+ "page-size-options": __props.pageSizes,
33317
+ total: __props.pageTotal,
33318
+ onShowSizeChange: handleSizeChange,
33319
+ onChange: handleCurrentChange
33320
+ }, null, 8, ["current", "pageSize", "page-size-options", "total"])
33321
+ ])) : createCommentVNode("", true)
33322
+ ])
33323
+ ]);
33324
+ };
33325
+ }
33326
+ });
33327
+ const __unplugin_components_4 = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-9beb5acc"]]);
33328
+ const index$6 = "";
33180
33329
  var axios$3 = { exports: {} };
33181
33330
  var bind$4 = function bind(fn, thisArg) {
33182
33331
  return function wrap() {
@@ -34405,10 +34554,10 @@ var axiosExports = axios$3.exports;
34405
34554
  var axios = axiosExports;
34406
34555
  const axios$1 = /* @__PURE__ */ getDefaultExportFromCjs(axios);
34407
34556
  const routes = [
34408
- // {
34409
- // path: "/",
34410
- // component: TSider,
34411
- // },
34557
+ {
34558
+ path: "/",
34559
+ component: TSider
34560
+ }
34412
34561
  ];
34413
34562
  const __vite_glob_0_0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
34414
34563
  __proto__: null,
@@ -37541,403 +37690,6 @@ const setUserRead = (id, moduleCode) => {
37541
37690
  requestBase: "USER_BASE_URL"
37542
37691
  });
37543
37692
  };
37544
- const VersionUpdateModal_vue_vue_type_style_index_0_scoped_true_lang = "";
37545
- const _withScopeId$3 = (n2) => (pushScopeId("data-v-c31d9d32"), n2 = n2(), popScopeId(), n2);
37546
- const _hoisted_1$4 = { class: "flex items-center h-[60px] pl-[40px] themeBGC" };
37547
- const _hoisted_2$4 = { class: "relative w-[30px] h-[30px]" };
37548
- const _hoisted_3$4 = {
37549
- "xmlns:xlink": "http://www.w3.org/1999/xlink",
37550
- xmlns: "http://www.w3.org/2000/svg",
37551
- version: "1.1",
37552
- width: "23px",
37553
- height: "23px",
37554
- style: { "position": "absolute", "top": "7px" }
37555
- };
37556
- const _hoisted_4$4 = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("g", { transform: "matrix(1 0 0 1 -256 -275 )" }, [
37557
- /* @__PURE__ */ createElementVNode("path", {
37558
- d: "M 2.8482972136223452 0 C 1.2746130030959648 0.028482972136316675 0 1.3030959752322815 0 2.8767801857584345 L 0 20.151702786377655 C 0 21.725386996904035 1.2746130030959648 23 2.8482972136223452 23 L 20.123219814241565 23 C 21.69690402476772 23 22.971517027863683 21.725386996904035 23 20.151702786377655 L 23 2.8767801857584345 C 22.971517027863683 1.3030959752322815 21.69690402476772 0.028482972136316675 20.123219814241565 0 L 2.8482972136223452 0 Z ",
37559
- "fill-rule": "nonzero",
37560
- fill: "#bd9e55",
37561
- stroke: "none",
37562
- transform: "matrix(1 0 0 1 256 275 )"
37563
- })
37564
- ], -1));
37565
- const _hoisted_5$4 = [
37566
- _hoisted_4$4
37567
- ];
37568
- const _hoisted_6$4 = {
37569
- "xmlns:xlink": "http://www.w3.org/1999/xlink",
37570
- xmlns: "http://www.w3.org/2000/svg",
37571
- version: "1.1",
37572
- width: "23px",
37573
- height: "23px",
37574
- style: { "position": "absolute", "left": "7px" }
37575
- };
37576
- const _hoisted_7$4 = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("g", { transform: "matrix(1 0 0 1 -263 -268 )" }, [
37577
- /* @__PURE__ */ createElementVNode("path", {
37578
- d: "M 2.8767801857584345 0 C 1.3030959752322815 0 0.028482972136316675 1.2746130030959648 0.028482972136316675 2.8482972136223452 L 0.028482972136316675 4.870588235294008 C 0.028482972136316675 5.027244582043295 0.15665634674928697 5.155417956656265 0.31331269349834656 5.155417956656265 L 14.426625386996877 5.155417956656265 C 16.306501547987637 5.155417956656265 17.844582043343735 6.693498452012363 17.844582043343735 8.573374613003125 L 17.844582043343735 22.686687306501653 C 17.844582043343735 22.843343653250713 17.972755417956705 22.971517027863683 18.129411764705992 22.971517027863683 L 20.151702786377655 22.971517027863683 C 21.725386996904035 22.971517027863683 23 21.69690402476772 23 20.123219814241565 L 23 2.8482972136223452 C 23 1.2746130030959648 21.725386996904035 0 20.151702786377655 0 L 2.8767801857584345 0 Z ",
37579
- "fill-rule": "nonzero",
37580
- fill: "#bd9e55",
37581
- stroke: "none",
37582
- transform: "matrix(1 0 0 1 263 268 )"
37583
- })
37584
- ], -1));
37585
- const _hoisted_8$4 = [
37586
- _hoisted_7$4
37587
- ];
37588
- const _hoisted_9$4 = { class: "text-xl cbd9e55 pl-2" };
37589
- const _hoisted_10$4 = { class: "flex flex-col px-28 mt-[50px]" };
37590
- const _hoisted_11$4 = { class: "flex justify-center my-20" };
37591
- const _hoisted_12$3 = /* @__PURE__ */ createTextVNode(" 取消 ");
37592
- const _hoisted_13$1 = /* @__PURE__ */ createTextVNode(" 设为已读 ");
37593
- const _sfc_main$4 = /* @__PURE__ */ defineComponent({
37594
- __name: "VersionUpdateModal",
37595
- props: {
37596
- show: { type: Boolean },
37597
- paramsQuery: null,
37598
- title: null,
37599
- newVersionList: null
37600
- },
37601
- emits: ["update:show", "getItem"],
37602
- setup(__props, { emit }) {
37603
- const props2 = __props;
37604
- const inputV = computed({
37605
- get() {
37606
- return props2.show;
37607
- },
37608
- set(value) {
37609
- emit("update:show", value);
37610
- }
37611
- });
37612
- const spinning = ref(false);
37613
- const tableData = ref([]);
37614
- const formData = reactive({
37615
- ...props2.paramsQuery,
37616
- key: null,
37617
- skipCount: 0,
37618
- // 分页跳过数
37619
- maxResultCount: 20
37620
- // 每页最大数
37621
- });
37622
- ref(0);
37623
- const currentPage = ref(1);
37624
- const tableOptionRef = ref([
37625
- {
37626
- title: "序号",
37627
- w: "43px",
37628
- key: "index",
37629
- show: true
37630
- },
37631
- {
37632
- title: "模块",
37633
- w: "10%",
37634
- key: "moduleName",
37635
- show: true
37636
- },
37637
- {
37638
- title: "版本号",
37639
- w: "15%",
37640
- key: "version",
37641
- show: true
37642
- },
37643
- {
37644
- title: "更新内容",
37645
- w: "25%",
37646
- key: "description",
37647
- show: true
37648
- },
37649
- {
37650
- title: "附件",
37651
- w: "15%",
37652
- key: "files",
37653
- show: true,
37654
- custom: true
37655
- },
37656
- {
37657
- title: "版本日期",
37658
- w: "10%",
37659
- key: "versionDate",
37660
- show: true,
37661
- custom: true
37662
- },
37663
- {
37664
- title: "发布人",
37665
- w: "10%",
37666
- key: "creatorName",
37667
- show: true
37668
- },
37669
- {
37670
- title: "发布日期",
37671
- w: "10%",
37672
- key: "creationTime",
37673
- show: true,
37674
- custom: true
37675
- }
37676
- ]);
37677
- const upth = (val) => tableOptionRef.value = val;
37678
- onBeforeMount(async () => {
37679
- });
37680
- const moduleHandle = () => {
37681
- console.log("关闭");
37682
- inputV.value = false;
37683
- };
37684
- const onRead = async () => {
37685
- var _a, _b;
37686
- console.log("已读");
37687
- try {
37688
- await setUserRead(
37689
- (_a = JSON.parse(localStorage.getItem("userInfos"))) == null ? void 0 : _a.userId,
37690
- (_b = JSON.parse(localStorage.getItem("selectModule"))) == null ? void 0 : _b.location
37691
- );
37692
- inputV.value = false;
37693
- } catch (error) {
37694
- inputV.value = false;
37695
- }
37696
- };
37697
- watch(
37698
- () => props2.newVersionList,
37699
- () => {
37700
- tableData.value = props2.newVersionList;
37701
- },
37702
- { deep: true }
37703
- );
37704
- return (_ctx, _cache) => {
37705
- const _component_a_image = __unplugin_components_2;
37706
- const _component_mrpTable = __unplugin_components_3;
37707
- const _component_a_button = Button;
37708
- const _component_a_spin = Spin;
37709
- const _component_MrpModal = _sfc_main$7;
37710
- return openBlock(), createBlock(_component_MrpModal, {
37711
- show: unref(inputV),
37712
- "onUpdate:show": _cache[0] || (_cache[0] = ($event) => isRef(inputV) ? inputV.value = $event : null),
37713
- onCancelHandle: moduleHandle,
37714
- "remove-padding": false
37715
- }, {
37716
- title: withCtx(() => [
37717
- createElementVNode("div", _hoisted_1$4, [
37718
- createElementVNode("div", _hoisted_2$4, [
37719
- (openBlock(), createElementBlock("svg", _hoisted_3$4, _hoisted_5$4)),
37720
- (openBlock(), createElementBlock("svg", _hoisted_6$4, _hoisted_8$4))
37721
- ]),
37722
- createElementVNode("span", _hoisted_9$4, toDisplayString(__props.title), 1)
37723
- ])
37724
- ]),
37725
- body: withCtx(() => [
37726
- createVNode(_component_a_spin, {
37727
- tip: "Loading...",
37728
- spinning: spinning.value
37729
- }, {
37730
- default: withCtx(() => [
37731
- createElementVNode("div", _hoisted_10$4, [
37732
- createVNode(_component_mrpTable, {
37733
- th: tableOptionRef.value,
37734
- contractExecDocList: tableData.value,
37735
- pageSize: formData.maxResultCount,
37736
- currentPages: currentPage.value,
37737
- totalPages: 0,
37738
- setHeight: 20,
37739
- isTableControl: false,
37740
- onUpth: upth
37741
- }, {
37742
- versionDate: withCtx(({ item }) => [
37743
- createTextVNode(toDisplayString(item.versionDate ? unref(dayjs)(item.versionDate).format("YYYY-MM-DD") : ""), 1)
37744
- ]),
37745
- creationTime: withCtx(({ item }) => [
37746
- createTextVNode(toDisplayString(item.creationTime ? unref(dayjs)(item.creationTime).format("YYYY-MM-DD") : ""), 1)
37747
- ]),
37748
- files: withCtx(({ item }) => [
37749
- (openBlock(true), createElementBlock(Fragment, null, renderList(item.files, (pic, i2) => {
37750
- return openBlock(), createBlock(_component_a_image, {
37751
- width: 30,
37752
- key: i2,
37753
- src: pic.url
37754
- }, null, 8, ["src"]);
37755
- }), 128))
37756
- ]),
37757
- _: 1
37758
- }, 8, ["th", "contractExecDocList", "pageSize", "currentPages"]),
37759
- createElementVNode("div", _hoisted_11$4, [
37760
- createVNode(_component_a_button, {
37761
- class: "w-[140px] mr-[50px] btn1",
37762
- style: { "border-radius": "5px" },
37763
- onClick: moduleHandle
37764
- }, {
37765
- default: withCtx(() => [
37766
- _hoisted_12$3
37767
- ]),
37768
- _: 1
37769
- }),
37770
- createVNode(_component_a_button, {
37771
- class: "w-[140px] mr-[50px] btn2",
37772
- type: "primary",
37773
- onClick: onRead
37774
- }, {
37775
- default: withCtx(() => [
37776
- _hoisted_13$1
37777
- ]),
37778
- _: 1
37779
- })
37780
- ])
37781
- ])
37782
- ]),
37783
- _: 1
37784
- }, 8, ["spinning"])
37785
- ]),
37786
- _: 1
37787
- }, 8, ["show"]);
37788
- };
37789
- }
37790
- });
37791
- const __unplugin_components_7 = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-c31d9d32"]]);
37792
- const index$7 = "";
37793
- const CPagination_vue_vue_type_style_index_0_scoped_true_lang = "";
37794
- const _hoisted_1$3 = { class: "Pagination" };
37795
- const _hoisted_2$3 = { class: "top_pagination miniTS" };
37796
- const _hoisted_3$3 = /* @__PURE__ */ createTextVNode(" 共有 ");
37797
- const _hoisted_4$3 = { class: "top_pagination_font largeTS focusTC" };
37798
- const _hoisted_5$3 = /* @__PURE__ */ createTextVNode(" 个记录满足条件,当前第 ");
37799
- const _hoisted_6$3 = { class: "top_pagination_font largeTS focusTC" };
37800
- const _hoisted_7$3 = /* @__PURE__ */ createTextVNode(" 页,跳转到第 ");
37801
- const _hoisted_8$3 = { class: "top_pagination_font largeTS focusTC" };
37802
- const _hoisted_9$3 = /* @__PURE__ */ createTextVNode(" 页 ");
37803
- const _hoisted_10$3 = { class: "sticky-footer" };
37804
- const _hoisted_11$3 = {
37805
- key: 0,
37806
- class: "bottom_pagination"
37807
- };
37808
- const _sfc_main$3 = /* @__PURE__ */ defineComponent({
37809
- __name: "CPagination",
37810
- props: {
37811
- currentPage: null,
37812
- skipCount: null,
37813
- pageSize: null,
37814
- pageSizes: { default: () => ["20", "40", "60", "80"] },
37815
- pageTotal: null
37816
- },
37817
- emits: ["update:currentPage", "update:pageSize", "update:skipCount", "change"],
37818
- setup(__props, { emit }) {
37819
- const props2 = __props;
37820
- const _currentPage = computed({
37821
- get() {
37822
- return props2.currentPage;
37823
- },
37824
- set(value) {
37825
- emit("update:currentPage", value);
37826
- }
37827
- });
37828
- const _pageSize = computed({
37829
- get() {
37830
- return props2.pageSize;
37831
- },
37832
- set(value) {
37833
- emit("update:pageSize", value);
37834
- }
37835
- });
37836
- const _skipCount = computed({
37837
- get() {
37838
- return props2.skipCount;
37839
- },
37840
- set(value) {
37841
- emit("update:skipCount", value);
37842
- }
37843
- });
37844
- const onSelectTopPage = (val) => {
37845
- _currentPage.value = val;
37846
- handleCurrentChange(val, _pageSize.value);
37847
- };
37848
- let isHandleSizeChange = false;
37849
- const handleSizeChange = (current2, pageSize2) => {
37850
- isHandleSizeChange = true;
37851
- const _skipCount_temp = (current2 - 1) * pageSize2;
37852
- _skipCount.value = _skipCount_temp;
37853
- emit("change", current2, pageSize2, _skipCount_temp);
37854
- };
37855
- const handleCurrentChange = (current2, pageSize2) => {
37856
- if (isHandleSizeChange) {
37857
- isHandleSizeChange = false;
37858
- return;
37859
- }
37860
- const _skipCount_temp = (current2 - 1) * pageSize2;
37861
- _skipCount.value = _skipCount_temp;
37862
- emit("change", current2, pageSize2, _skipCount_temp);
37863
- };
37864
- return (_ctx, _cache) => {
37865
- const _component_DownOutlined = resolveComponent("DownOutlined");
37866
- const _component_a_menu_item = __unplugin_components_0$3;
37867
- const _component_a_menu = Menu;
37868
- const _component_a_dropdown = Dropdown$1;
37869
- const _component_a_pagination = __unplugin_components_3$1;
37870
- return openBlock(), createElementBlock("div", _hoisted_1$3, [
37871
- createElementVNode("div", _hoisted_2$3, [
37872
- createElementVNode("div", null, [
37873
- _hoisted_3$3,
37874
- createElementVNode("span", _hoisted_4$3, toDisplayString(__props.pageTotal), 1),
37875
- _hoisted_5$3,
37876
- createElementVNode("span", _hoisted_6$3, toDisplayString(unref(_currentPage)), 1),
37877
- _hoisted_7$3,
37878
- createVNode(_component_a_dropdown, { trigger: ["click"] }, {
37879
- overlay: withCtx(() => [
37880
- createVNode(_component_a_menu, {
37881
- getPopupContainer: (triggerNode) => triggerNode.parentNode,
37882
- class: "top_pagination_menu scrollbar_hover"
37883
- }, {
37884
- default: withCtx(() => [
37885
- (openBlock(true), createElementBlock(Fragment, null, renderList(Math.ceil(__props.pageTotal / unref(_pageSize)), (e2) => {
37886
- return openBlock(), createBlock(_component_a_menu_item, {
37887
- key: e2,
37888
- onClick: ($event) => onSelectTopPage(e2)
37889
- }, {
37890
- default: withCtx(() => [
37891
- createTextVNode(toDisplayString(e2), 1)
37892
- ]),
37893
- _: 2
37894
- }, 1032, ["onClick"]);
37895
- }), 128))
37896
- ]),
37897
- _: 1
37898
- }, 8, ["getPopupContainer"])
37899
- ]),
37900
- default: withCtx(() => [
37901
- createElementVNode("a", {
37902
- class: "top_pagination_click tableBC",
37903
- onClick: _cache[0] || (_cache[0] = withModifiers(() => {
37904
- }, ["prevent"]))
37905
- }, [
37906
- createElementVNode("span", _hoisted_8$3, toDisplayString(__props.currentPage), 1),
37907
- createVNode(_component_DownOutlined, { class: "align-middle ml-1 mb-[4px] largeTS" })
37908
- ])
37909
- ]),
37910
- _: 1
37911
- }),
37912
- _hoisted_9$3
37913
- ]),
37914
- renderSlot(_ctx.$slots, "topInfo", {}, void 0, true)
37915
- ]),
37916
- createElementVNode("div", null, [
37917
- renderSlot(_ctx.$slots, "default", {}, void 0, true)
37918
- ]),
37919
- createElementVNode("div", _hoisted_10$3, [
37920
- __props.pageTotal !== 0 ? (openBlock(), createElementBlock("div", _hoisted_11$3, [
37921
- createVNode(_component_a_pagination, {
37922
- current: unref(_currentPage),
37923
- "onUpdate:current": _cache[1] || (_cache[1] = ($event) => isRef(_currentPage) ? _currentPage.value = $event : null),
37924
- pageSize: unref(_pageSize),
37925
- "onUpdate:pageSize": _cache[2] || (_cache[2] = ($event) => isRef(_pageSize) ? _pageSize.value = $event : null),
37926
- "show-size-changer": "",
37927
- "show-quick-jumper": "",
37928
- "page-size-options": __props.pageSizes,
37929
- total: __props.pageTotal,
37930
- onShowSizeChange: handleSizeChange,
37931
- onChange: handleCurrentChange
37932
- }, null, 8, ["current", "pageSize", "page-size-options", "total"])
37933
- ])) : createCommentVNode("", true)
37934
- ])
37935
- ]);
37936
- };
37937
- }
37938
- });
37939
- const __unplugin_components_4 = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-9beb5acc"]]);
37940
- const index$6 = "";
37941
37693
  const ModuleVersionModal_vue_vue_type_style_index_0_scoped_true_lang = "";
37942
37694
  const _withScopeId$2 = (n2) => (pushScopeId("data-v-5cc123ea"), n2 = n2(), popScopeId(), n2);
37943
37695
  const _hoisted_1$2 = { class: "flex items-center h-[60px] pl-[40px] themeBGC" };
@@ -38097,11 +37849,11 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
38097
37849
  return (_ctx, _cache) => {
38098
37850
  const _component_a_input = Input;
38099
37851
  const _component_a_button = Button;
38100
- const _component_a_image = __unplugin_components_2;
38101
- const _component_mrpTable = __unplugin_components_3;
37852
+ const _component_a_image = __unplugin_components_7;
37853
+ const _component_mrpTable = __unplugin_components_8;
38102
37854
  const _component_CPagination = __unplugin_components_4;
38103
37855
  const _component_a_spin = Spin;
38104
- const _component_MrpModal = _sfc_main$7;
37856
+ const _component_MrpModal = _sfc_main$4;
38105
37857
  return openBlock(), createBlock(_component_MrpModal, {
38106
37858
  show: unref(inputV),
38107
37859
  "onUpdate:show": _cache[4] || (_cache[4] = ($event) => isRef(inputV) ? inputV.value = $event : null),
@@ -41645,24 +41397,19 @@ function useCcflowCall() {
41645
41397
  ccflowData.newVersionList = res;
41646
41398
  });
41647
41399
  connection.value.onreconnected(async (id) => {
41648
- var _a, _b;
41649
41400
  await connection.value.invoke("Start");
41650
41401
  await connection.value.invoke("MenuNums");
41651
- await connection.value.invoke("NewVersion", (_a = JSON.parse(localStorage.getItem("selectModule"))) == null ? void 0 : _a.location, (_b = JSON.parse(localStorage.getItem("userInfos"))) == null ? void 0 : _b.userId);
41402
+ await connection.value.invoke("NewVersion", "basis", "308733a8-11ba-ecd1-8169-3a0242754e58");
41652
41403
  });
41653
41404
  if (connection.value.state !== HubConnectionState.Connected) {
41654
41405
  connection.value.start().then(async () => {
41655
- var _a, _b;
41656
41406
  console.log("启动即时通信成功");
41657
41407
  await connection.value.invoke("Start");
41658
41408
  await connection.value.invoke("MenuNums");
41659
- await connection.value.invoke("NewVersion", (_a = JSON.parse(localStorage.getItem("selectModule"))) == null ? void 0 : _a.location, (_b = JSON.parse(localStorage.getItem("userInfos"))) == null ? void 0 : _b.userId);
41409
+ await connection.value.invoke("NewVersion", "basis", "308733a8-11ba-ecd1-8169-3a0242754e58");
41660
41410
  });
41661
41411
  }
41662
41412
  };
41663
- onBeforeMount(() => {
41664
- init();
41665
- });
41666
41413
  const onClickTodo = () => {
41667
41414
  const md = localStorage.getItem("loginForm");
41668
41415
  window.open(
@@ -41670,7 +41417,7 @@ function useCcflowCall() {
41670
41417
  "_blank"
41671
41418
  );
41672
41419
  };
41673
- return [ccflowData, onClickTodo];
41420
+ return [ccflowData, onClickTodo, init];
41674
41421
  }
41675
41422
  const _imports_0 = "data:image/svg+xml;base64,77u/PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjxzdmcgdmVyc2lvbj0iMS4xIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgd2lkdGg9IjMwcHgiIGhlaWdodD0iMjJweCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4NCiAgPGcgdHJhbnNmb3JtPSJtYXRyaXgoMSAwIDAgMSAtMTEwIC0xNjAgKSI+DQogICAgPHBhdGggZD0iTSAyMS44MDQ2ODc1IDQuMTQwNjI1ICBDIDIxLjc5Njg3NSAzLjY3OTY4NzUgIDIxLjYxNzE4NzUgMy4yNSAgMjEuMjk2ODc1IDIuOTI5Njg3NSAgTCAxOC42NzE4NzUgMC4zMjAzMTI1ICBDIDE4LjM5ODQzNzUgMC4wNDY4NzUgIDE4LjAwNzgxMjUgLTAuMDYyNSAgMTcuNjA5Mzc1IDAuMDM5MDYyNSAgQyAxNy41MTU2MjUgMC4wNjI1ICAxNy40MjE4NzUgMC4xMDE1NjI1ICAxNy4zMzU5Mzc1IDAuMTU2MjUgIEMgMTYuOTY4NzUgMC4zODI4MTI0OTk5OTk5OTk5NCAgMTYuNzczNDM3NSAwLjc2NTYyNDk5OTk5OTk5OTkgIDE2LjgwNDY4NzUgMS4xNzk2ODc1ICBDIDE2LjgyMDMxMjUgMS40NDUzMTI0OTk5OTk5OTk4ICAxNi45NTMxMjUgMS42OTUzMTI1ICAxNy4xNDA2MjUgMS44OTA2MjUgIEwgMTguMzkwNjI1IDMuMTMyODEyNSAgTCA2LjA5Mzc1IDMuMTMyODEyNSAgQyA0LjQ2ODc1IDMuMTMyODEyNSAgMi45NDUzMTI1IDMuNzY1NjI1ICAxLjc4OTA2MjUgNC45MjE4NzUgIEMgMC42MzI4MTI1IDYuMDcwMzEyNSAgMCA3LjU5Mzc1ICAwIDkuMjE4NzUgIEwgMCAxMC40Njg3NSAgQyAwIDExLjA3MDMxMjUgIDAuNDkyMTg3NSAxMS41NjI0OTk5OTk5OTk5OTggIDEuMDkzNzUgMTEuNTYyNDk5OTk5OTk5OTk4ICBDIDEuNjk1MzEyNSAxMS41NjI0OTk5OTk5OTk5OTggIDIuMTg3NSAxMS4wNzAzMTI1ICAyLjE4NzUgMTAuNDY4NzUgIEwgMi4xODc1IDkuMjE4NzUgIEMgMi4xODc1IDguMTc5Njg3NSAgMi41OTM3NSA3LjIwMzEyNSAgMy4zMzU5Mzc1IDYuNDYwOTM3NSAgQyA0LjA3ODEyNSA1LjcxODc1ICA1LjA1NDY4NzUgNS4zMTI1ICA2LjA5Mzc1IDUuMzEyNSAgTCAxOC4yMzQzNzUgNS4zMTI1ICBMIDE2Ljk4NDM3NSA2LjU1NDY4NzQ5OTk5OTk5OSAgQyAxNi43OTY4NzUgNi43NDIxODc1ICAxNi42NzE4NzUgNi45NzY1NjI1ICAxNi42NDg0Mzc1IDcuMjM0Mzc1ICBDIDE2LjYxNzE4NzUgNy41NjI1ICAxNi43MzQzNzUgNy44ODI4MTI1MDAwMDAwMDEgIDE2Ljk2ODc1IDguMTE3MTg3NSAgQyAxNy4xNzE4NzUgOC4zMjAzMTI1ICAxNy40NTMxMjUgOC40Mzc1ICAxNy43NDIxODc1IDguNDM3NSAgQyAxOC4wMzEyNSA4LjQzNzUgIDE4LjMwNDY4NzUgOC4zMjgxMjUgIDE4LjUxNTYyNSA4LjExNzE4NzUgIEwgMjEuMjk2ODc1IDUuMzUxNTYyNSAgQyAyMS42MjUgNS4wMzEyNSAgMjEuODA0Njg3NSA0LjU5Mzc1ICAyMS44MDQ2ODc1IDQuMTQwNjI1ICBaIE0gMzAgMTAuNzY1NjI1ICBDIDMwIDEwLjE3OTY4NzUgIDI5LjUwNzgxMjUgOS42ODc1ICAyOC45MDYyNSA5LjY4NzUgIEMgMjguMzA0Njg3NSA5LjY4NzUgIDI3LjgxMjUgMTAuMTc5Njg3NSAgMjcuODEyNSAxMC43ODEyNSAgTCAyNy44MTI1IDEyLjAzMTI1ICBDIDI3LjgxMjUgMTMuMDcwMzEyNSAgMjcuNDA2MjUgMTQuMDQ2ODc1MDAwMDAwMDAyICAyNi42NjQwNjI1IDE0Ljc4OTA2MjUgIEMgMjUuOTIxODc1IDE1LjUzMTI1ICAyNC45NDUzMTI1IDE1LjkzNzUwMDAwMDAwMDAwMiAgMjMuOTA2MjUgMTYgIEwgMTEuNzY1NjI1IDE2ICBMIDEzLjAxNTYyNSAxNC42OTUzMTI1ICBDIDEzLjIwMzEyNSAxNC41MDc4MTI1ICAxMy4zMjgxMjUgMTQuMjczNDM3NSAgMTMuMzUxNTYyNSAxNC4wMDc4MTI1ICBDIDEzLjM4MjgxMjUgMTMuNjc5Njg3NSAgMTMuMjY1NjI1IDEzLjM1OTM3NTAwMDAwMDAwMiAgMTMuMDMxMjUgMTMuMTI1ICBDIDEyLjgyODEyNSAxMi45MjE4NzUgIDEyLjU0Njg3NSAxMi44MDQ2ODc1ICAxMi4yNTc4MTI1IDEyLjgwNDY4NzUgIEMgMTEuOTY4NzUgMTIuODA0Njg3NSAgMTEuNjk1MzEyNSAxMi45MTQwNjI1ICAxMS40ODQzNzUgMTMuMTI1ICBMIDguNzAzMTI1IDE1Ljg5MDYyNSAgQyA4LjM3NSAxNi4yMTA5Mzc1ICA4LjE5NTMxMjUgMTYuNjQ4NDM3NSAgOC4xOTUzMTI1IDE3LjEwMTU2MjUgIEMgOC4xOTUzMTI1IDE3LjU2MjUgIDguMzc1IDE3Ljk5MjE4NzUgIDguNzAzMTI1IDE4LjMxMjUgIEwgMTEuMzI4MTI1IDIwLjkyMTg3NSAgQyAxMS42MDE1NjI1IDIxLjE5NTMxMjUgIDExLjk5MjE4NzUgMjEuMzA0Njg3NSAgMTIuMzkwNjI1IDIxLjIwMzEyNSAgQyAxMi40ODQzNzUgMjEuMTc5Njg3NSAgMTIuNTc4MTI1IDIxLjE0MDYyNSAgMTIuNjY0MDYyNSAyMS4wODU5Mzc1ICBDIDEzLjAzMTI1IDIwLjg1OTM3NSAgMTMuMjI2NTYyNSAyMC40NzY1NjI1ICAxMy4xOTUzMTI1IDIwLjA2MjUgIEMgMTMuMTc5Njg3NSAxOS43OTY4NzUgIDEzLjA0Njg3NSAxOS41NDY4NzUgIDEyLjg1OTM3NSAxOS4zNTE1NjI1ICBMIDExLjYwOTM3NSAxOCAgTCAyMy45MDYyNSAxOCAgQyAyNy4yNjU2MjUgMTguMTA5Mzc1ICAzMCAxNS4zNzUgIDMwIDEyLjAxNTYyNSAgTCAzMCAxMC43NjU2MjUgIFogIiBmaWxsLXJ1bGU9Im5vbnplcm8iIGZpbGw9IiNiZDllNTUiIHN0cm9rZT0ibm9uZSIgdHJhbnNmb3JtPSJtYXRyaXgoMSAwIDAgMSAxMTAgMTYwICkiIC8+DQogIDwvZz4NCjwvc3ZnPg==";
41676
41423
  const TSider_vue_vue_type_style_index_0_scoped_true_lang = "";
@@ -41750,12 +41497,11 @@ const _sfc_main = {
41750
41497
  new_password: "",
41751
41498
  new_too_password: ""
41752
41499
  },
41753
- userInfo: {},
41754
- twoUrl: void 0
41500
+ userInfo: {}
41755
41501
  });
41756
41502
  const refData = toRefs(data5);
41757
41503
  const iconUrl = process.env.NODE_ENV == "development" ? "https://basis.nacho.cn" : "https://basis.nacho.cn";
41758
- const [ccflowData, onClickTodo] = useCcflowCall();
41504
+ const [ccflowData, onClickTodo, init] = useCcflowCall();
41759
41505
  watch(
41760
41506
  () => props2.isSystems,
41761
41507
  () => {
@@ -41816,15 +41562,11 @@ const _sfc_main = {
41816
41562
  const menuList = ref();
41817
41563
  const goUrl = ref();
41818
41564
  onMounted(async () => {
41819
- var _a2, _b, _c, _d, _e, _f, _g;
41820
- data5.twoUrl = (_a2 = JSON.parse(localStorage.getItem("selectModule"))) == null ? void 0 : _a2.location;
41821
- if (data5.twoUrl) {
41822
- getMaxVersionApi(data5.twoUrl);
41823
- }
41565
+ var _a2, _b, _c, _d, _e, _f;
41824
41566
  getModeuleInfoDataHandle = await getModeuleInfoData();
41825
- isShowAllProductionBases.value = (_b = getModeuleInfoDataHandle(
41567
+ isShowAllProductionBases.value = (_a2 = getModeuleInfoDataHandle(
41826
41568
  window.location.hostname.split(".")[0]
41827
- )) == null ? void 0 : _b.isAllProductionBases;
41569
+ )) == null ? void 0 : _a2.isAllProductionBases;
41828
41570
  selectedSystems.value = isSystems.value;
41829
41571
  await getPermissionModuleListData();
41830
41572
  data5.userInfo = JSON.parse(localStorage.getItem("userInfos") || "{}");
@@ -41845,9 +41587,9 @@ const _sfc_main = {
41845
41587
  }
41846
41588
  }
41847
41589
  if (isSystems.value) {
41848
- moduleTestS.value = ((_c = permissionModuleList.value.find(
41590
+ moduleTestS.value = ((_b = permissionModuleList.value.find(
41849
41591
  (_x) => _x.permissionModuleName === selectedSystems.value
41850
- )) == null ? void 0 : _c.childGroups) ?? [];
41592
+ )) == null ? void 0 : _b.childGroups) ?? [];
41851
41593
  }
41852
41594
  if (permissionModuleList.value.length == 1) {
41853
41595
  sysShow.value = false;
@@ -41875,7 +41617,7 @@ const _sfc_main = {
41875
41617
  shortName: item.shortName
41876
41618
  };
41877
41619
  });
41878
- if ((_e = (_d = modeuleInfos.value) == null ? void 0 : _d.productionBases) == null ? void 0 : _e.includes(modeuleTypeValue.value)) {
41620
+ if ((_d = (_c = modeuleInfos.value) == null ? void 0 : _c.productionBases) == null ? void 0 : _d.includes(modeuleTypeValue.value)) {
41879
41621
  const curSetofBook = await currentGet();
41880
41622
  let baseRes = await baseOptions({ setOfBookId: curSetofBook });
41881
41623
  if (!baseRes) {
@@ -41890,7 +41632,7 @@ const _sfc_main = {
41890
41632
  };
41891
41633
  });
41892
41634
  }
41893
- if ((_g = (_f = modeuleInfos.value) == null ? void 0 : _f.projects) == null ? void 0 : _g.includes(modeuleTypeValue.value)) {
41635
+ if ((_f = (_e = modeuleInfos.value) == null ? void 0 : _e.projects) == null ? void 0 : _f.includes(modeuleTypeValue.value)) {
41894
41636
  let dgRes = await getdungouList();
41895
41637
  if (!dgRes) {
41896
41638
  gjTest.value = [];
@@ -42399,8 +42141,12 @@ const _sfc_main = {
42399
42141
  console.log(item);
42400
42142
  }
42401
42143
  const moduleVersion = ref();
42402
- const getMaxVersionApi = async (moduleType) => {
42403
- moduleVersion.value = await getMaxVersion(moduleType);
42144
+ const getMaxVersionApi = async () => {
42145
+ var _a2;
42146
+ const twoUrl = (_a2 = JSON.parse(localStorage.getItem("selectModule"))) == null ? void 0 : _a2.location;
42147
+ if (twoUrl) {
42148
+ moduleVersion.value = await getMaxVersion(twoUrl);
42149
+ }
42404
42150
  };
42405
42151
  const isModuleVersionUpdate = ref(
42406
42152
  ((_a = ccflowData.newVersionList) == null ? void 0 : _a.length) ? true : false
@@ -42409,10 +42155,84 @@ const _sfc_main = {
42409
42155
  () => ccflowData.newVersionList,
42410
42156
  () => {
42411
42157
  var _a2;
42158
+ console.log("ccflowData.newVersionList", ccflowData.newVersionList);
42159
+ tableData.value = ccflowData.newVersionList;
42412
42160
  isModuleVersionUpdate.value = ((_a2 = ccflowData.newVersionList) == null ? void 0 : _a2.length) ? true : false;
42413
42161
  },
42414
42162
  { deep: true }
42415
42163
  );
42164
+ const tableOptionRef = ref([
42165
+ {
42166
+ title: "序号",
42167
+ w: "43px",
42168
+ key: "index",
42169
+ show: true
42170
+ },
42171
+ {
42172
+ title: "模块",
42173
+ w: "10%",
42174
+ key: "moduleName",
42175
+ show: true
42176
+ },
42177
+ {
42178
+ title: "版本号",
42179
+ w: "15%",
42180
+ key: "version",
42181
+ show: true
42182
+ },
42183
+ {
42184
+ title: "更新内容",
42185
+ w: "25%",
42186
+ key: "description",
42187
+ show: true
42188
+ },
42189
+ {
42190
+ title: "附件",
42191
+ w: "15%",
42192
+ key: "files",
42193
+ show: true,
42194
+ custom: true
42195
+ },
42196
+ {
42197
+ title: "版本日期",
42198
+ w: "10%",
42199
+ key: "versionDate",
42200
+ show: true,
42201
+ custom: true
42202
+ },
42203
+ {
42204
+ title: "发布人",
42205
+ w: "10%",
42206
+ key: "creatorName",
42207
+ show: true
42208
+ },
42209
+ {
42210
+ title: "发布日期",
42211
+ w: "10%",
42212
+ key: "creationTime",
42213
+ show: true,
42214
+ custom: true
42215
+ }
42216
+ ]);
42217
+ const upth = (val) => tableOptionRef.value = val;
42218
+ const tableData = ref([]);
42219
+ const onCancel = () => {
42220
+ console.log("关闭");
42221
+ isModuleVersionUpdate.value = false;
42222
+ };
42223
+ const onRead = async () => {
42224
+ var _a2, _b;
42225
+ console.log("已读");
42226
+ try {
42227
+ await setUserRead(
42228
+ (_a2 = JSON.parse(localStorage.getItem("userInfos"))) == null ? void 0 : _a2.userId,
42229
+ (_b = JSON.parse(localStorage.getItem("selectModule"))) == null ? void 0 : _b.location
42230
+ );
42231
+ isModuleVersionUpdate.value = false;
42232
+ } catch (error) {
42233
+ isModuleVersionUpdate.value = false;
42234
+ }
42235
+ };
42416
42236
  return {
42417
42237
  ...refData,
42418
42238
  beforeUpload,
@@ -42471,12 +42291,20 @@ const _sfc_main = {
42471
42291
  dropdownModuleVersion,
42472
42292
  getModuleVersion,
42473
42293
  moduleVersion,
42474
- isModuleVersionUpdate
42294
+ isModuleVersionUpdate,
42295
+ tableOptionRef,
42296
+ tableData,
42297
+ dayjs,
42298
+ upth,
42299
+ onCancel,
42300
+ onRead,
42301
+ ccflowInit: () => init(),
42302
+ getNewVersion: () => getMaxVersionApi()
42475
42303
  /*******end*****/
42476
42304
  };
42477
42305
  }
42478
42306
  };
42479
- const _withScopeId = (n2) => (pushScopeId("data-v-0fa29760"), n2 = n2(), popScopeId(), n2);
42307
+ const _withScopeId = (n2) => (pushScopeId("data-v-ebf6ce44"), n2 = n2(), popScopeId(), n2);
42480
42308
  const _hoisted_1 = {
42481
42309
  class: "bg-white defaultTS funcTC relative",
42482
42310
  style: { "padding-bottom": "10px", "margin-bottom": "10px" }
@@ -42848,18 +42676,67 @@ const _hoisted_85 = {
42848
42676
  key: 1,
42849
42677
  class: "yuan mr-[10px]"
42850
42678
  };
42679
+ const _hoisted_86 = { class: "flex items-center h-[60px] pl-[40px] themeBGC" };
42680
+ const _hoisted_87 = { class: "relative w-[30px] h-[30px]" };
42681
+ const _hoisted_88 = {
42682
+ "xmlns:xlink": "http://www.w3.org/1999/xlink",
42683
+ xmlns: "http://www.w3.org/2000/svg",
42684
+ version: "1.1",
42685
+ width: "23px",
42686
+ height: "23px",
42687
+ style: { "position": "absolute", "top": "7px" }
42688
+ };
42689
+ const _hoisted_89 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("g", { transform: "matrix(1 0 0 1 -256 -275 )" }, [
42690
+ /* @__PURE__ */ createElementVNode("path", {
42691
+ d: "M 2.8482972136223452 0 C 1.2746130030959648 0.028482972136316675 0 1.3030959752322815 0 2.8767801857584345 L 0 20.151702786377655 C 0 21.725386996904035 1.2746130030959648 23 2.8482972136223452 23 L 20.123219814241565 23 C 21.69690402476772 23 22.971517027863683 21.725386996904035 23 20.151702786377655 L 23 2.8767801857584345 C 22.971517027863683 1.3030959752322815 21.69690402476772 0.028482972136316675 20.123219814241565 0 L 2.8482972136223452 0 Z ",
42692
+ "fill-rule": "nonzero",
42693
+ fill: "#bd9e55",
42694
+ stroke: "none",
42695
+ transform: "matrix(1 0 0 1 256 275 )"
42696
+ })
42697
+ ], -1));
42698
+ const _hoisted_90 = [
42699
+ _hoisted_89
42700
+ ];
42701
+ const _hoisted_91 = {
42702
+ "xmlns:xlink": "http://www.w3.org/1999/xlink",
42703
+ xmlns: "http://www.w3.org/2000/svg",
42704
+ version: "1.1",
42705
+ width: "23px",
42706
+ height: "23px",
42707
+ style: { "position": "absolute", "left": "7px" }
42708
+ };
42709
+ const _hoisted_92 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("g", { transform: "matrix(1 0 0 1 -263 -268 )" }, [
42710
+ /* @__PURE__ */ createElementVNode("path", {
42711
+ d: "M 2.8767801857584345 0 C 1.3030959752322815 0 0.028482972136316675 1.2746130030959648 0.028482972136316675 2.8482972136223452 L 0.028482972136316675 4.870588235294008 C 0.028482972136316675 5.027244582043295 0.15665634674928697 5.155417956656265 0.31331269349834656 5.155417956656265 L 14.426625386996877 5.155417956656265 C 16.306501547987637 5.155417956656265 17.844582043343735 6.693498452012363 17.844582043343735 8.573374613003125 L 17.844582043343735 22.686687306501653 C 17.844582043343735 22.843343653250713 17.972755417956705 22.971517027863683 18.129411764705992 22.971517027863683 L 20.151702786377655 22.971517027863683 C 21.725386996904035 22.971517027863683 23 21.69690402476772 23 20.123219814241565 L 23 2.8482972136223452 C 23 1.2746130030959648 21.725386996904035 0 20.151702786377655 0 L 2.8767801857584345 0 Z ",
42712
+ "fill-rule": "nonzero",
42713
+ fill: "#bd9e55",
42714
+ stroke: "none",
42715
+ transform: "matrix(1 0 0 1 263 268 )"
42716
+ })
42717
+ ], -1));
42718
+ const _hoisted_93 = [
42719
+ _hoisted_92
42720
+ ];
42721
+ const _hoisted_94 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", { class: "text-xl cbd9e55 pl-2" }, "系统更新通知", -1));
42722
+ const _hoisted_95 = { class: "flex flex-col px-28 mt-[50px]" };
42723
+ const _hoisted_96 = { class: "flex justify-center my-20" };
42724
+ const _hoisted_97 = /* @__PURE__ */ createTextVNode(" 取消 ");
42725
+ const _hoisted_98 = /* @__PURE__ */ createTextVNode(" 设为已读 ");
42851
42726
  function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
42852
42727
  var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s;
42853
42728
  const _component_a_upload = __unplugin_components_0$1;
42854
42729
  const _component_a_badge = Badge;
42855
42730
  const _component_EconomicsSider = resolveComponent("EconomicsSider");
42856
- const _component_a_input_password = __unplugin_components_2$1;
42857
- const _component_a_form_item = __unplugin_components_3$2;
42731
+ const _component_a_input_password = __unplugin_components_2;
42732
+ const _component_a_form_item = __unplugin_components_3$1;
42858
42733
  const _component_a_form = Form$1;
42859
- const _component_MrpModal = _sfc_main$7;
42734
+ const _component_MrpModal = _sfc_main$4;
42860
42735
  const _component_check_circle_outlined = resolveComponent("check-circle-outlined");
42861
42736
  const _component_ModuleVersionModal = __unplugin_components_6;
42862
- const _component_VersionUpdateModal = __unplugin_components_7;
42737
+ const _component_a_image = __unplugin_components_7;
42738
+ const _component_mrpTable = __unplugin_components_8;
42739
+ const _component_a_button = Button;
42863
42740
  return openBlock(), createElementBlock(Fragment, null, [
42864
42741
  createElementVNode("div", {
42865
42742
  class: "w-[325px] h-[800px] overflow-y-auto sider scrollbar",
@@ -43448,16 +43325,78 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
43448
43325
  onGetItem: $setup.getModuleVersion,
43449
43326
  title: "更新记录"
43450
43327
  }, null, 8, ["show", "onGetItem"])) : createCommentVNode("", true),
43451
- $setup.isModuleVersionUpdate ? (openBlock(), createBlock(_component_VersionUpdateModal, {
43452
- key: 1,
43328
+ createVNode(_component_MrpModal, {
43453
43329
  show: $setup.isModuleVersionUpdate,
43454
43330
  "onUpdate:show": _cache[26] || (_cache[26] = ($event) => $setup.isModuleVersionUpdate = $event),
43455
- title: "系统更新通知",
43456
- newVersionList: $setup.ccflowData.newVersionList
43457
- }, null, 8, ["show", "newVersionList"])) : createCommentVNode("", true)
43331
+ "remove-padding": false
43332
+ }, {
43333
+ title: withCtx(() => [
43334
+ createElementVNode("div", _hoisted_86, [
43335
+ createElementVNode("div", _hoisted_87, [
43336
+ (openBlock(), createElementBlock("svg", _hoisted_88, _hoisted_90)),
43337
+ (openBlock(), createElementBlock("svg", _hoisted_91, _hoisted_93))
43338
+ ]),
43339
+ _hoisted_94
43340
+ ])
43341
+ ]),
43342
+ body: withCtx(() => [
43343
+ createElementVNode("div", _hoisted_95, [
43344
+ createVNode(_component_mrpTable, {
43345
+ th: $setup.tableOptionRef,
43346
+ contractExecDocList: $setup.tableData,
43347
+ pageSize: 1,
43348
+ currentPages: 1,
43349
+ totalPages: 0,
43350
+ setHeight: 20,
43351
+ isTableControl: false,
43352
+ onUpth: $setup.upth
43353
+ }, {
43354
+ versionDate: withCtx(({ item }) => [
43355
+ createTextVNode(toDisplayString(item.versionDate ? $setup.dayjs(item.versionDate).format("YYYY-MM-DD") : ""), 1)
43356
+ ]),
43357
+ creationTime: withCtx(({ item }) => [
43358
+ createTextVNode(toDisplayString(item.creationTime ? $setup.dayjs(item.creationTime).format("YYYY-MM-DD") : ""), 1)
43359
+ ]),
43360
+ files: withCtx(({ item }) => [
43361
+ (openBlock(true), createElementBlock(Fragment, null, renderList(item.files, (pic, i2) => {
43362
+ return openBlock(), createBlock(_component_a_image, {
43363
+ width: 30,
43364
+ key: i2,
43365
+ src: pic.url
43366
+ }, null, 8, ["src"]);
43367
+ }), 128))
43368
+ ]),
43369
+ _: 1
43370
+ }, 8, ["th", "contractExecDocList", "onUpth"]),
43371
+ createElementVNode("div", _hoisted_96, [
43372
+ createVNode(_component_a_button, {
43373
+ class: "w-[140px] mr-[50px] btn1",
43374
+ style: { "border-radius": "5px" },
43375
+ onClick: $setup.onCancel
43376
+ }, {
43377
+ default: withCtx(() => [
43378
+ _hoisted_97
43379
+ ]),
43380
+ _: 1
43381
+ }, 8, ["onClick"]),
43382
+ createVNode(_component_a_button, {
43383
+ class: "w-[140px] mr-[50px] btn2",
43384
+ type: "primary",
43385
+ onClick: $setup.onRead
43386
+ }, {
43387
+ default: withCtx(() => [
43388
+ _hoisted_98
43389
+ ]),
43390
+ _: 1
43391
+ }, 8, ["onClick"])
43392
+ ])
43393
+ ])
43394
+ ]),
43395
+ _: 1
43396
+ }, 8, ["show"])
43458
43397
  ], 64);
43459
43398
  }
43460
- const TSider = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-0fa29760"]]);
43399
+ const TSider = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-ebf6ce44"]]);
43461
43400
  const components = [TSider];
43462
43401
  installComponents();
43463
43402
  function installComponents() {