tx-sider 2.1.64 → 2.1.65

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, toDisplayString, renderList, createCommentVNode, pushScopeId, popScopeId, normalizeStyle, normalizeClass, 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, createBlock, withCtx, renderSlot, createElementBlock, createElementVNode, pushScopeId, popScopeId, normalizeStyle, renderList, normalizeClass, toDisplayString, createCommentVNode, createStaticVNode, withKeys } from "vue";
8
8
  const index$m = "";
9
9
  function _defineProperty$z(obj, key2, value) {
10
10
  if (key2 in obj) {
@@ -13887,9 +13887,9 @@ Select.install = function(app) {
13887
13887
  app.component(Select.OptGroup.displayName, Select.OptGroup);
13888
13888
  return app;
13889
13889
  };
13890
- var SelectOption = Select.Option;
13890
+ Select.Option;
13891
13891
  Select.OptGroup;
13892
- const __unplugin_components_1 = Select;
13892
+ const VcSelect = Select;
13893
13893
  var responsiveArray = ["xxxl", "xxl", "xl", "lg", "md", "sm", "xs"];
13894
13894
  var responsiveMap = {
13895
13895
  xs: "(max-width: 575px)",
@@ -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 = defineComponent({
21640
+ const __unplugin_components_3$2 = 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,
22505
+ Item: __unplugin_components_3$2,
22506
22506
  useForm,
22507
22507
  // emits: ['finishFailed', 'submit', 'finish', 'validate'],
22508
22508
  setup: function setup62(props2, _ref) {
@@ -23011,7 +23011,7 @@ function _createForOfIteratorHelper(o2, allowArrayLike) {
23011
23011
  }
23012
23012
  };
23013
23013
  }
23014
- const __unplugin_components_5$1 = defineComponent({
23014
+ const __unplugin_components_5 = defineComponent({
23015
23015
  name: "ACheckboxGroup",
23016
23016
  props: checkboxGroupProps(),
23017
23017
  // emits: ['change', 'update:value'],
@@ -23134,10 +23134,10 @@ const __unplugin_components_5$1 = defineComponent({
23134
23134
  };
23135
23135
  }
23136
23136
  });
23137
- Checkbox.Group = __unplugin_components_5$1;
23137
+ Checkbox.Group = __unplugin_components_5;
23138
23138
  Checkbox.install = function(app) {
23139
23139
  app.component(Checkbox.name, Checkbox);
23140
- app.component(__unplugin_components_5$1.name, __unplugin_components_5$1);
23140
+ app.component(__unplugin_components_5.name, __unplugin_components_5);
23141
23141
  return app;
23142
23142
  };
23143
23143
  var dividerProps = function dividerProps2() {
@@ -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_4 = Image$1;
26191
+ const __unplugin_components_2 = Image$1;
26192
26192
  var __rest$7 = globalThis && globalThis.__rest || function(s2, e2) {
26193
26193
  var t2 = {};
26194
26194
  for (var p in s2) {
@@ -26355,14 +26355,14 @@ Spin.install = function(app) {
26355
26355
  const MiniSelect = defineComponent({
26356
26356
  inheritAttrs: false,
26357
26357
  props: selectProps(),
26358
- Option: __unplugin_components_1.Option,
26358
+ Option: VcSelect.Option,
26359
26359
  setup: function setup84(props2, _ref) {
26360
26360
  var attrs = _ref.attrs, slots = _ref.slots;
26361
26361
  return function() {
26362
26362
  var selelctProps = _extends$1(_extends$1(_extends$1({}, props2), {
26363
26363
  size: "small"
26364
26364
  }), attrs);
26365
- return createVNode(__unplugin_components_1, selelctProps, slots);
26365
+ return createVNode(VcSelect, selelctProps, slots);
26366
26366
  };
26367
26367
  }
26368
26368
  });
@@ -27311,7 +27311,7 @@ const Pagination = defineComponent({
27311
27311
  var paginationProps3 = _extends$1(_extends$1(_extends$1(_extends$1(_extends$1({}, restProps), getIconsProps(prefixCls.value)), {
27312
27312
  prefixCls: prefixCls.value,
27313
27313
  selectPrefixCls: selectPrefixCls.value,
27314
- selectComponentClass: selectComponentClass || (isSmall ? MiniSelect : __unplugin_components_1),
27314
+ selectComponentClass: selectComponentClass || (isSmall ? MiniSelect : VcSelect),
27315
27315
  locale: locale2.value,
27316
27316
  buildOptionText
27317
27317
  }), attrs), {
@@ -27324,7 +27324,7 @@ const Pagination = defineComponent({
27324
27324
  };
27325
27325
  }
27326
27326
  });
27327
- const __unplugin_components_2 = withInstall(Pagination);
27327
+ const __unplugin_components_3$1 = 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,7 +30070,7 @@ 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$6 = /* @__PURE__ */ defineComponent({
30073
+ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
30074
30074
  __name: "MrpModal",
30075
30075
  props: {
30076
30076
  show: {
@@ -30123,7 +30123,10 @@ const index$e = "";
30123
30123
  const index$d = "";
30124
30124
  const index$c = "";
30125
30125
  const index$b = "";
30126
- const CPagination_vue_vue_type_style_index_0_scoped_true_lang = "";
30126
+ const index$a = "";
30127
+ const index$9 = "";
30128
+ const index$8 = "";
30129
+ const tableControl_vue_vue_type_style_index_0_scoped_true_lang = "";
30127
30130
  const _export_sfc = (sfc, props2) => {
30128
30131
  const target = sfc.__vccOpts || sfc;
30129
30132
  for (const [key2, val] of props2) {
@@ -30131,166 +30134,15 @@ const _export_sfc = (sfc, props2) => {
30131
30134
  }
30132
30135
  return target;
30133
30136
  };
30134
- const _hoisted_1$5 = { class: "Pagination" };
30135
- const _hoisted_2$5 = { class: "top_pagination miniTS" };
30136
- const _hoisted_3$5 = /* @__PURE__ */ createTextVNode(" 共有 ");
30137
- const _hoisted_4$5 = { class: "top_pagination_font largeTS focusTC" };
30138
- const _hoisted_5$5 = /* @__PURE__ */ createTextVNode(" 个记录满足条件,当前第 ");
30139
- const _hoisted_6$5 = { class: "top_pagination_font largeTS focusTC" };
30140
- const _hoisted_7$5 = /* @__PURE__ */ createTextVNode(" 页,跳转到第 ");
30141
- const _hoisted_8$4 = { class: "top_pagination_font largeTS focusTC" };
30142
- const _hoisted_9$4 = /* @__PURE__ */ createTextVNode(" 页 ");
30143
- const _hoisted_10$4 = { class: "sticky-footer" };
30144
- const _hoisted_11$4 = {
30145
- key: 0,
30146
- class: "bottom_pagination"
30147
- };
30148
- const _sfc_main$5 = /* @__PURE__ */ defineComponent({
30149
- __name: "CPagination",
30150
- props: {
30151
- currentPage: null,
30152
- skipCount: null,
30153
- pageSize: null,
30154
- pageSizes: { default: () => ["20", "40", "60", "80"] },
30155
- pageTotal: null
30156
- },
30157
- emits: ["update:currentPage", "update:pageSize", "update:skipCount", "change"],
30158
- setup(__props, { emit }) {
30159
- const props2 = __props;
30160
- const _currentPage = computed({
30161
- get() {
30162
- return props2.currentPage;
30163
- },
30164
- set(value) {
30165
- emit("update:currentPage", value);
30166
- }
30167
- });
30168
- const _pageSize = computed({
30169
- get() {
30170
- return props2.pageSize;
30171
- },
30172
- set(value) {
30173
- emit("update:pageSize", value);
30174
- }
30175
- });
30176
- const _skipCount = computed({
30177
- get() {
30178
- return props2.skipCount;
30179
- },
30180
- set(value) {
30181
- emit("update:skipCount", value);
30182
- }
30183
- });
30184
- const onSelectTopPage = (val) => {
30185
- _currentPage.value = val;
30186
- handleCurrentChange(val, _pageSize.value);
30187
- };
30188
- let isHandleSizeChange = false;
30189
- const handleSizeChange = (current2, pageSize2) => {
30190
- isHandleSizeChange = true;
30191
- const _skipCount_temp = (current2 - 1) * pageSize2;
30192
- _skipCount.value = _skipCount_temp;
30193
- emit("change", current2, pageSize2, _skipCount_temp);
30194
- };
30195
- const handleCurrentChange = (current2, pageSize2) => {
30196
- if (isHandleSizeChange) {
30197
- isHandleSizeChange = false;
30198
- return;
30199
- }
30200
- const _skipCount_temp = (current2 - 1) * pageSize2;
30201
- _skipCount.value = _skipCount_temp;
30202
- emit("change", current2, pageSize2, _skipCount_temp);
30203
- };
30204
- return (_ctx, _cache) => {
30205
- const _component_DownOutlined = resolveComponent("DownOutlined");
30206
- const _component_a_menu_item = __unplugin_components_0$3;
30207
- const _component_a_menu = Menu;
30208
- const _component_a_dropdown = Dropdown$1;
30209
- const _component_a_pagination = __unplugin_components_2;
30210
- return openBlock(), createElementBlock("div", _hoisted_1$5, [
30211
- createElementVNode("div", _hoisted_2$5, [
30212
- createElementVNode("div", null, [
30213
- _hoisted_3$5,
30214
- createElementVNode("span", _hoisted_4$5, toDisplayString(__props.pageTotal), 1),
30215
- _hoisted_5$5,
30216
- createElementVNode("span", _hoisted_6$5, toDisplayString(unref(_currentPage)), 1),
30217
- _hoisted_7$5,
30218
- createVNode(_component_a_dropdown, { trigger: ["click"] }, {
30219
- overlay: withCtx(() => [
30220
- createVNode(_component_a_menu, {
30221
- getPopupContainer: (triggerNode) => triggerNode.parentNode,
30222
- class: "top_pagination_menu scrollbar_hover"
30223
- }, {
30224
- default: withCtx(() => [
30225
- (openBlock(true), createElementBlock(Fragment, null, renderList(Math.ceil(__props.pageTotal / unref(_pageSize)), (e2) => {
30226
- return openBlock(), createBlock(_component_a_menu_item, {
30227
- key: e2,
30228
- onClick: ($event) => onSelectTopPage(e2)
30229
- }, {
30230
- default: withCtx(() => [
30231
- createTextVNode(toDisplayString(e2), 1)
30232
- ]),
30233
- _: 2
30234
- }, 1032, ["onClick"]);
30235
- }), 128))
30236
- ]),
30237
- _: 1
30238
- }, 8, ["getPopupContainer"])
30239
- ]),
30240
- default: withCtx(() => [
30241
- createElementVNode("a", {
30242
- class: "top_pagination_click tableBC",
30243
- onClick: _cache[0] || (_cache[0] = withModifiers(() => {
30244
- }, ["prevent"]))
30245
- }, [
30246
- createElementVNode("span", _hoisted_8$4, toDisplayString(__props.currentPage), 1),
30247
- createVNode(_component_DownOutlined, { class: "align-middle ml-1 mb-[4px] largeTS" })
30248
- ])
30249
- ]),
30250
- _: 1
30251
- }),
30252
- _hoisted_9$4
30253
- ]),
30254
- renderSlot(_ctx.$slots, "topInfo", {}, void 0, true)
30255
- ]),
30256
- createElementVNode("div", null, [
30257
- renderSlot(_ctx.$slots, "default", {}, void 0, true)
30258
- ]),
30259
- createElementVNode("div", _hoisted_10$4, [
30260
- __props.pageTotal !== 0 ? (openBlock(), createElementBlock("div", _hoisted_11$4, [
30261
- createVNode(_component_a_pagination, {
30262
- current: unref(_currentPage),
30263
- "onUpdate:current": _cache[1] || (_cache[1] = ($event) => isRef(_currentPage) ? _currentPage.value = $event : null),
30264
- pageSize: unref(_pageSize),
30265
- "onUpdate:pageSize": _cache[2] || (_cache[2] = ($event) => isRef(_pageSize) ? _pageSize.value = $event : null),
30266
- "show-size-changer": "",
30267
- "show-quick-jumper": "",
30268
- "page-size-options": __props.pageSizes,
30269
- total: __props.pageTotal,
30270
- onShowSizeChange: handleSizeChange,
30271
- onChange: handleCurrentChange
30272
- }, null, 8, ["current", "pageSize", "page-size-options", "total"])
30273
- ])) : createCommentVNode("", true)
30274
- ])
30275
- ]);
30276
- };
30277
- }
30278
- });
30279
- const __unplugin_components_6$1 = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-4a456d94"]]);
30280
- const index$a = "";
30281
- const index$9 = "";
30282
- const index$8 = "";
30283
- const index$7 = "";
30284
- const tableControl_vue_vue_type_style_index_0_scoped_true_lang = "";
30285
- const _withScopeId$4 = (n2) => (pushScopeId("data-v-7be61d40"), n2 = n2(), popScopeId(), n2);
30286
- const _hoisted_1$4 = { class: "tableControl" };
30287
- const _hoisted_2$4 = /* @__PURE__ */ _withScopeId$4(() => /* @__PURE__ */ createElementVNode("div", null, "密度", -1));
30288
- const _hoisted_3$4 = /* @__PURE__ */ createTextVNode(" 默认 ");
30289
- const _hoisted_4$4 = /* @__PURE__ */ createTextVNode(" 中等 ");
30290
- const _hoisted_5$4 = /* @__PURE__ */ createTextVNode(" 紧凑 ");
30291
- const _hoisted_6$4 = /* @__PURE__ */ _withScopeId$4(() => /* @__PURE__ */ createElementVNode("div", null, "列设置", -1));
30292
- const _hoisted_7$4 = /* @__PURE__ */ createTextVNode(" 全选 ");
30293
- const _sfc_main$4 = /* @__PURE__ */ defineComponent({
30137
+ const _withScopeId$5 = (n2) => (pushScopeId("data-v-7be61d40"), n2 = n2(), popScopeId(), n2);
30138
+ const _hoisted_1$6 = { class: "tableControl" };
30139
+ const _hoisted_2$6 = /* @__PURE__ */ _withScopeId$5(() => /* @__PURE__ */ createElementVNode("div", null, "密度", -1));
30140
+ const _hoisted_3$6 = /* @__PURE__ */ createTextVNode(" 默认 ");
30141
+ const _hoisted_4$6 = /* @__PURE__ */ createTextVNode(" 中等 ");
30142
+ const _hoisted_5$6 = /* @__PURE__ */ createTextVNode(" 紧凑 ");
30143
+ const _hoisted_6$6 = /* @__PURE__ */ _withScopeId$5(() => /* @__PURE__ */ createElementVNode("div", null, "列设置", -1));
30144
+ const _hoisted_7$6 = /* @__PURE__ */ createTextVNode(" 全选 ");
30145
+ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
30294
30146
  __name: "tableControl",
30295
30147
  props: {
30296
30148
  th: Array,
@@ -30364,16 +30216,16 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
30364
30216
  const _component_a_popover = __unplugin_components_2$2;
30365
30217
  const _component_a_checkbox = Checkbox;
30366
30218
  const _component_a_divider = __unplugin_components_4$1;
30367
- const _component_a_checkbox_group = __unplugin_components_5$1;
30219
+ const _component_a_checkbox_group = __unplugin_components_5;
30368
30220
  const _component_setting_outlined = resolveComponent("setting-outlined");
30369
- return openBlock(), createElementBlock("div", _hoisted_1$4, [
30221
+ return openBlock(), createElementBlock("div", _hoisted_1$6, [
30370
30222
  createVNode(_component_a_popover, {
30371
30223
  trigger: "hover",
30372
30224
  visible: hovered.value,
30373
30225
  onVisibleChange: handleHoverChange
30374
30226
  }, {
30375
30227
  content: withCtx(() => [
30376
- _hoisted_2$4
30228
+ _hoisted_2$6
30377
30229
  ]),
30378
30230
  default: withCtx(() => [
30379
30231
  createVNode(_component_a_popover, {
@@ -30393,19 +30245,19 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
30393
30245
  default: withCtx(() => [
30394
30246
  createVNode(_component_a_menu_item, { key: "0" }, {
30395
30247
  default: withCtx(() => [
30396
- _hoisted_3$4
30248
+ _hoisted_3$6
30397
30249
  ]),
30398
30250
  _: 1
30399
30251
  }),
30400
30252
  createVNode(_component_a_menu_item, { key: "1" }, {
30401
30253
  default: withCtx(() => [
30402
- _hoisted_4$4
30254
+ _hoisted_4$6
30403
30255
  ]),
30404
30256
  _: 1
30405
30257
  }),
30406
30258
  createVNode(_component_a_menu_item, { key: "2" }, {
30407
30259
  default: withCtx(() => [
30408
- _hoisted_5$4
30260
+ _hoisted_5$6
30409
30261
  ]),
30410
30262
  _: 1
30411
30263
  })
@@ -30426,7 +30278,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
30426
30278
  }, 8, ["visible"]),
30427
30279
  createVNode(_component_a_popover, { trigger: "hover" }, {
30428
30280
  content: withCtx(() => [
30429
- _hoisted_6$4
30281
+ _hoisted_6$6
30430
30282
  ]),
30431
30283
  default: withCtx(() => [
30432
30284
  createVNode(_component_a_popover, {
@@ -30445,7 +30297,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
30445
30297
  onChange: onCheckAllChange
30446
30298
  }, {
30447
30299
  default: withCtx(() => [
30448
- _hoisted_7$4
30300
+ _hoisted_7$6
30449
30301
  ]),
30450
30302
  _: 1
30451
30303
  }, 8, ["checked", "indeterminate"])
@@ -30473,7 +30325,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
30473
30325
  };
30474
30326
  }
30475
30327
  });
30476
- const __unplugin_components_0 = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-7be61d40"]]);
30328
+ const __unplugin_components_0 = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-7be61d40"]]);
30477
30329
  function getDevtoolsGlobalHook() {
30478
30330
  return getTarget().__VUE_DEVTOOLS_GLOBAL_HOOK__;
30479
30331
  }
@@ -33023,37 +32875,37 @@ function useRoute() {
33023
32875
  return inject(routeLocationKey);
33024
32876
  }
33025
32877
  const mrpTable_vue_vue_type_style_index_0_scoped_true_lang = "";
33026
- const _withScopeId$3 = (n2) => (pushScopeId("data-v-4e120258"), n2 = n2(), popScopeId(), n2);
33027
- const _hoisted_1$3 = {
32878
+ const _withScopeId$4 = (n2) => (pushScopeId("data-v-4e120258"), n2 = n2(), popScopeId(), n2);
32879
+ const _hoisted_1$5 = {
33028
32880
  key: 0,
33029
32881
  id: "top"
33030
32882
  };
33031
- const _hoisted_2$3 = { class: "flex items-center justify-center" };
33032
- const _hoisted_3$3 = {
32883
+ const _hoisted_2$5 = { class: "flex items-center justify-center" };
32884
+ const _hoisted_3$5 = {
33033
32885
  key: 0,
33034
32886
  style: { "color": "#ff0066" }
33035
32887
  };
33036
- const _hoisted_4$3 = { key: 0 };
33037
- const _hoisted_5$3 = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("div", { class: "h-2 flex items-center" }, [
32888
+ const _hoisted_4$5 = { key: 0 };
32889
+ const _hoisted_5$5 = /* @__PURE__ */ _withScopeId$4(() => /* @__PURE__ */ createElementVNode("div", { class: "h-2 flex items-center" }, [
33038
32890
  /* @__PURE__ */ createElementVNode("span", { class: "bg-[#d9d9d9] h-[1px] w-full" })
33039
32891
  ], -1));
33040
- const _hoisted_6$3 = { class: "flex items-center justify-between h-1/2" };
33041
- const _hoisted_7$3 = {
32892
+ const _hoisted_6$5 = { class: "flex items-center justify-between h-1/2" };
32893
+ const _hoisted_7$5 = {
33042
32894
  key: 0,
33043
32895
  style: { "color": "#ff0066" }
33044
32896
  };
33045
- const _hoisted_8$3 = { class: "mrpTable" };
33046
- const _hoisted_9$3 = {
32897
+ const _hoisted_8$5 = { class: "mrpTable" };
32898
+ const _hoisted_9$5 = {
33047
32899
  class: "relative w-full mb-[24px]",
33048
32900
  style: { "table-layout": "fixed" }
33049
32901
  };
33050
- const _hoisted_10$3 = { class: "flex items-center justify-center" };
33051
- const _hoisted_11$3 = {
32902
+ const _hoisted_10$5 = { class: "flex items-center justify-center" };
32903
+ const _hoisted_11$5 = {
33052
32904
  key: 0,
33053
32905
  style: { "color": "#ff0066" }
33054
32906
  };
33055
- const _hoisted_12$3 = { key: 1 };
33056
- const _hoisted_13$1 = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("div", { class: "h-2 flex items-center" }, [
32907
+ const _hoisted_12$4 = { key: 1 };
32908
+ const _hoisted_13$2 = /* @__PURE__ */ _withScopeId$4(() => /* @__PURE__ */ createElementVNode("div", { class: "h-2 flex items-center" }, [
33057
32909
  /* @__PURE__ */ createElementVNode("span", { class: "bg-[#d9d9d9] h-[1px] w-full" })
33058
32910
  ], -1));
33059
32911
  const _hoisted_14$1 = { class: "flex items-center justify-between h-1/2" };
@@ -33075,7 +32927,7 @@ const _hoisted_20$1 = /* @__PURE__ */ createStaticVNode('<div class="centent" da
33075
32927
  const _hoisted_21$1 = [
33076
32928
  _hoisted_20$1
33077
32929
  ];
33078
- const _sfc_main$3 = /* @__PURE__ */ defineComponent({
32930
+ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
33079
32931
  __name: "mrpTable",
33080
32932
  props: {
33081
32933
  th: Array,
@@ -33150,10 +33002,10 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
33150
33002
  });
33151
33003
  return (_ctx, _cache) => {
33152
33004
  const _component_tableControl = __unplugin_components_0;
33153
- const _component_a_image = __unplugin_components_4;
33154
- const _component_a_pagination = __unplugin_components_2;
33005
+ const _component_a_image = __unplugin_components_2;
33006
+ const _component_a_pagination = __unplugin_components_3$1;
33155
33007
  return openBlock(), createElementBlock(Fragment, null, [
33156
- offsetWidth.value ? (openBlock(), createElementBlock("div", _hoisted_1$3, [
33008
+ offsetWidth.value ? (openBlock(), createElementBlock("div", _hoisted_1$5, [
33157
33009
  createElementVNode("table", {
33158
33010
  class: "relative w-full mb-[24px]",
33159
33011
  style: normalizeStyle([{ "table-layout": "fixed" }, { width: offsetWidth.value ? offsetWidth.value + "px" : "" }])
@@ -33169,20 +33021,20 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
33169
33021
  width: item.w ? item.w : ""
33170
33022
  })
33171
33023
  }, [
33172
- createElementVNode("div", _hoisted_2$3, [
33024
+ createElementVNode("div", _hoisted_2$5, [
33173
33025
  createTextVNode(toDisplayString(item.title == "操作" ? "" : item.title) + " ", 1),
33174
- item.unit ? (openBlock(), createElementBlock("span", _hoisted_3$3, toDisplayString(item.unit), 1)) : createCommentVNode("", true)
33026
+ item.unit ? (openBlock(), createElementBlock("span", _hoisted_3$5, toDisplayString(item.unit), 1)) : createCommentVNode("", true)
33175
33027
  ]),
33176
- item.header ? (openBlock(), createElementBlock("div", _hoisted_4$3, [
33177
- _hoisted_5$3,
33178
- createElementVNode("div", _hoisted_6$3, [
33028
+ item.header ? (openBlock(), createElementBlock("div", _hoisted_4$5, [
33029
+ _hoisted_5$5,
33030
+ createElementVNode("div", _hoisted_6$5, [
33179
33031
  (openBlock(true), createElementBlock(Fragment, null, renderList(item.header, (e2, i2) => {
33180
33032
  return openBlock(), createElementBlock("div", {
33181
33033
  key: i2,
33182
33034
  style: normalizeStyle({ width: e2.w ? e2.w : "" })
33183
33035
  }, [
33184
33036
  createTextVNode(toDisplayString(e2.title == "操作" ? "" : e2.title) + " ", 1),
33185
- e2.unit ? (openBlock(), createElementBlock("span", _hoisted_7$3, toDisplayString(e2.unit), 1)) : createCommentVNode("", true)
33037
+ e2.unit ? (openBlock(), createElementBlock("span", _hoisted_7$5, toDisplayString(e2.unit), 1)) : createCommentVNode("", true)
33186
33038
  ], 4);
33187
33039
  }), 128))
33188
33040
  ])
@@ -33198,8 +33050,8 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
33198
33050
  onChangeS: tableControlChange
33199
33051
  }, null, 8, ["setHeight"])
33200
33052
  ])) : createCommentVNode("", true),
33201
- createElementVNode("div", _hoisted_8$3, [
33202
- createElementVNode("table", _hoisted_9$3, [
33053
+ createElementVNode("div", _hoisted_8$5, [
33054
+ createElementVNode("table", _hoisted_9$5, [
33203
33055
  createElementVNode("tr", null, [
33204
33056
  (openBlock(true), createElementBlock(Fragment, null, renderList(__props.th, (item, index2) => {
33205
33057
  return openBlock(), createElementBlock(Fragment, { key: index2 }, [
@@ -33212,12 +33064,12 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
33212
33064
  })
33213
33065
  }, [
33214
33066
  __props.th[index2].key == "select" ? renderSlot(_ctx.$slots, "selectAll", { key: 0 }, void 0, true) : createCommentVNode("", true),
33215
- createElementVNode("div", _hoisted_10$3, [
33067
+ createElementVNode("div", _hoisted_10$5, [
33216
33068
  createTextVNode(toDisplayString(__props.th[index2].key == "select" ? "" : item.title) + " ", 1),
33217
- item.unit ? (openBlock(), createElementBlock("span", _hoisted_11$3, toDisplayString(item.unit), 1)) : createCommentVNode("", true)
33069
+ item.unit ? (openBlock(), createElementBlock("span", _hoisted_11$5, toDisplayString(item.unit), 1)) : createCommentVNode("", true)
33218
33070
  ]),
33219
- __props.th[index2].header ? (openBlock(), createElementBlock("div", _hoisted_12$3, [
33220
- _hoisted_13$1,
33071
+ __props.th[index2].header ? (openBlock(), createElementBlock("div", _hoisted_12$4, [
33072
+ _hoisted_13$2,
33221
33073
  createElementVNode("div", _hoisted_14$1, [
33222
33074
  (openBlock(true), createElementBlock(Fragment, null, renderList(__props.th[index2].header, (e2, i2) => {
33223
33075
  return openBlock(), createElementBlock("div", {
@@ -33313,8 +33165,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
33313
33165
  };
33314
33166
  }
33315
33167
  });
33316
- const __unplugin_components_5 = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-4e120258"]]);
33317
- const index$6 = "";
33168
+ const __unplugin_components_3 = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-4e120258"]]);
33318
33169
  var axios$3 = { exports: {} };
33319
33170
  var bind$4 = function bind(fn, thisArg) {
33320
33171
  return function wrap() {
@@ -34543,10 +34394,10 @@ var axiosExports = axios$3.exports;
34543
34394
  var axios = axiosExports;
34544
34395
  const axios$1 = /* @__PURE__ */ getDefaultExportFromCjs(axios);
34545
34396
  const routes = [
34546
- // {
34547
- // path: "/",
34548
- // component: TSider,
34549
- // },
34397
+ {
34398
+ path: "/",
34399
+ component: TSider
34400
+ }
34550
34401
  ];
34551
34402
  const __vite_glob_0_0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
34552
34403
  __proto__: null,
@@ -37657,13 +37508,6 @@ const getPermissionSetOfBookMenuList = (modulePermissionName, data5) => {
37657
37508
  requestBase: "USER_BASE_URL"
37658
37509
  });
37659
37510
  };
37660
- const ModuleTypeListGet = () => {
37661
- return cwRequest({
37662
- url: "/api/basis-management/versionManage/moduleTypeList",
37663
- method: "get",
37664
- requestBase: "USER_BASE_URL"
37665
- });
37666
- };
37667
37511
  const VersionManageGet = (data5) => {
37668
37512
  return cwRequest({
37669
37513
  url: "/api/basis-management/versionManage",
@@ -37679,8 +37523,398 @@ const getMaxVersion = (moduleType) => {
37679
37523
  requestBase: "USER_BASE_URL"
37680
37524
  });
37681
37525
  };
37526
+ const VersionUpdateModal_vue_vue_type_style_index_0_scoped_true_lang = "";
37527
+ const _withScopeId$3 = (n2) => (pushScopeId("data-v-24362960"), n2 = n2(), popScopeId(), n2);
37528
+ const _hoisted_1$4 = { class: "flex items-center h-[60px] pl-[40px] themeBGC" };
37529
+ const _hoisted_2$4 = { class: "relative w-[30px] h-[30px]" };
37530
+ const _hoisted_3$4 = {
37531
+ "xmlns:xlink": "http://www.w3.org/1999/xlink",
37532
+ xmlns: "http://www.w3.org/2000/svg",
37533
+ version: "1.1",
37534
+ width: "23px",
37535
+ height: "23px",
37536
+ style: { "position": "absolute", "top": "7px" }
37537
+ };
37538
+ const _hoisted_4$4 = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("g", { transform: "matrix(1 0 0 1 -256 -275 )" }, [
37539
+ /* @__PURE__ */ createElementVNode("path", {
37540
+ 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 ",
37541
+ "fill-rule": "nonzero",
37542
+ fill: "#bd9e55",
37543
+ stroke: "none",
37544
+ transform: "matrix(1 0 0 1 256 275 )"
37545
+ })
37546
+ ], -1));
37547
+ const _hoisted_5$4 = [
37548
+ _hoisted_4$4
37549
+ ];
37550
+ const _hoisted_6$4 = {
37551
+ "xmlns:xlink": "http://www.w3.org/1999/xlink",
37552
+ xmlns: "http://www.w3.org/2000/svg",
37553
+ version: "1.1",
37554
+ width: "23px",
37555
+ height: "23px",
37556
+ style: { "position": "absolute", "left": "7px" }
37557
+ };
37558
+ const _hoisted_7$4 = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("g", { transform: "matrix(1 0 0 1 -263 -268 )" }, [
37559
+ /* @__PURE__ */ createElementVNode("path", {
37560
+ 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 ",
37561
+ "fill-rule": "nonzero",
37562
+ fill: "#bd9e55",
37563
+ stroke: "none",
37564
+ transform: "matrix(1 0 0 1 263 268 )"
37565
+ })
37566
+ ], -1));
37567
+ const _hoisted_8$4 = [
37568
+ _hoisted_7$4
37569
+ ];
37570
+ const _hoisted_9$4 = { class: "text-xl cbd9e55 pl-2" };
37571
+ const _hoisted_10$4 = { class: "flex flex-col px-28" };
37572
+ const _hoisted_11$4 = { class: "flex" };
37573
+ const _hoisted_12$3 = /* @__PURE__ */ createTextVNode("取消");
37574
+ const _hoisted_13$1 = /* @__PURE__ */ createTextVNode("设为已读");
37575
+ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
37576
+ __name: "VersionUpdateModal",
37577
+ props: {
37578
+ show: { type: Boolean },
37579
+ paramsQuery: null,
37580
+ title: null,
37581
+ ccflowData: null
37582
+ },
37583
+ emits: ["update:show", "getItem"],
37584
+ setup(__props, { emit }) {
37585
+ const props2 = __props;
37586
+ const inputV = computed({
37587
+ get() {
37588
+ return props2.show;
37589
+ },
37590
+ set(value) {
37591
+ emit("update:show", value);
37592
+ }
37593
+ });
37594
+ const spinning = ref(false);
37595
+ const tableData = ref([]);
37596
+ const formData = reactive({
37597
+ ...props2.paramsQuery,
37598
+ key: null,
37599
+ skipCount: 0,
37600
+ // 分页跳过数
37601
+ maxResultCount: 20
37602
+ // 每页最大数
37603
+ });
37604
+ ref(0);
37605
+ const currentPage = ref(1);
37606
+ const tableOptionRef = ref([
37607
+ {
37608
+ title: "序号",
37609
+ w: "43px",
37610
+ key: "index",
37611
+ show: true
37612
+ },
37613
+ {
37614
+ title: "模块",
37615
+ w: "10%",
37616
+ key: "moduleName",
37617
+ show: true
37618
+ },
37619
+ {
37620
+ title: "版本号",
37621
+ w: "15%",
37622
+ key: "version",
37623
+ show: true
37624
+ },
37625
+ {
37626
+ title: "更新内容",
37627
+ w: "25%",
37628
+ key: "description",
37629
+ show: true
37630
+ },
37631
+ {
37632
+ title: "附件",
37633
+ w: "15%",
37634
+ key: "files",
37635
+ show: true,
37636
+ custom: true
37637
+ },
37638
+ {
37639
+ title: "版本日期",
37640
+ w: "10%",
37641
+ key: "versionDate",
37642
+ show: true,
37643
+ custom: true
37644
+ },
37645
+ {
37646
+ title: "发布人",
37647
+ w: "10%",
37648
+ key: "creatorName",
37649
+ show: true
37650
+ },
37651
+ {
37652
+ title: "发布日期",
37653
+ w: "10%",
37654
+ key: "creationTime",
37655
+ show: true,
37656
+ custom: true
37657
+ }
37658
+ ]);
37659
+ const upth = (val) => tableOptionRef.value = val;
37660
+ onBeforeMount(async () => {
37661
+ });
37662
+ const moduleHandle = () => {
37663
+ console.log("关闭");
37664
+ inputV.value = false;
37665
+ };
37666
+ const onRead = () => {
37667
+ console.log("已读");
37668
+ inputV.value = false;
37669
+ };
37670
+ watch(
37671
+ () => props2.ccflowData,
37672
+ () => {
37673
+ var _a;
37674
+ tableData.value = (_a = props2.ccflowData) == null ? void 0 : _a.newVersionList;
37675
+ },
37676
+ { deep: true }
37677
+ );
37678
+ return (_ctx, _cache) => {
37679
+ const _component_a_image = __unplugin_components_2;
37680
+ const _component_mrpTable = __unplugin_components_3;
37681
+ const _component_a_button = Button;
37682
+ const _component_a_spin = Spin;
37683
+ const _component_MrpModal = _sfc_main$7;
37684
+ return openBlock(), createBlock(_component_MrpModal, {
37685
+ show: unref(inputV),
37686
+ "onUpdate:show": _cache[0] || (_cache[0] = ($event) => isRef(inputV) ? inputV.value = $event : null),
37687
+ onCancelHandle: moduleHandle,
37688
+ "remove-padding": false
37689
+ }, {
37690
+ title: withCtx(() => [
37691
+ createElementVNode("div", _hoisted_1$4, [
37692
+ createElementVNode("div", _hoisted_2$4, [
37693
+ (openBlock(), createElementBlock("svg", _hoisted_3$4, _hoisted_5$4)),
37694
+ (openBlock(), createElementBlock("svg", _hoisted_6$4, _hoisted_8$4))
37695
+ ]),
37696
+ createElementVNode("span", _hoisted_9$4, toDisplayString(__props.title), 1)
37697
+ ])
37698
+ ]),
37699
+ body: withCtx(() => [
37700
+ createVNode(_component_a_spin, {
37701
+ tip: "Loading...",
37702
+ spinning: spinning.value
37703
+ }, {
37704
+ default: withCtx(() => [
37705
+ createElementVNode("div", _hoisted_10$4, [
37706
+ createVNode(_component_mrpTable, {
37707
+ th: tableOptionRef.value,
37708
+ contractExecDocList: tableData.value,
37709
+ pageSize: formData.maxResultCount,
37710
+ currentPages: currentPage.value,
37711
+ totalPages: 0,
37712
+ setHeight: 20,
37713
+ isTableControl: false,
37714
+ onUpth: upth
37715
+ }, {
37716
+ versionDate: withCtx(({ item }) => [
37717
+ createTextVNode(toDisplayString(item.versionDate ? unref(dayjs)(item.versionDate).format("YYYY-MM-DD") : ""), 1)
37718
+ ]),
37719
+ creationTime: withCtx(({ item }) => [
37720
+ createTextVNode(toDisplayString(item.creationTime ? unref(dayjs)(item.creationTime).format("YYYY-MM-DD") : ""), 1)
37721
+ ]),
37722
+ files: withCtx(({ item }) => [
37723
+ (openBlock(true), createElementBlock(Fragment, null, renderList(item.files, (pic, i2) => {
37724
+ return openBlock(), createBlock(_component_a_image, {
37725
+ width: 30,
37726
+ key: i2,
37727
+ src: pic.url
37728
+ }, null, 8, ["src"]);
37729
+ }), 128))
37730
+ ]),
37731
+ _: 1
37732
+ }, 8, ["th", "contractExecDocList", "pageSize", "currentPages"]),
37733
+ createElementVNode("div", _hoisted_11$4, [
37734
+ createVNode(_component_a_button, {
37735
+ type: "primary",
37736
+ class: "px-4 btn1",
37737
+ onClick: moduleHandle,
37738
+ style: { "margin-right": "50px" }
37739
+ }, {
37740
+ default: withCtx(() => [
37741
+ _hoisted_12$3
37742
+ ]),
37743
+ _: 1
37744
+ }),
37745
+ createVNode(_component_a_button, {
37746
+ type: "primary",
37747
+ class: "px-4 btn2",
37748
+ onClick: onRead
37749
+ }, {
37750
+ default: withCtx(() => [
37751
+ _hoisted_13$1
37752
+ ]),
37753
+ _: 1
37754
+ })
37755
+ ])
37756
+ ])
37757
+ ]),
37758
+ _: 1
37759
+ }, 8, ["spinning"])
37760
+ ]),
37761
+ _: 1
37762
+ }, 8, ["show"]);
37763
+ };
37764
+ }
37765
+ });
37766
+ const __unplugin_components_7 = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-24362960"]]);
37767
+ const index$7 = "";
37768
+ const CPagination_vue_vue_type_style_index_0_scoped_true_lang = "";
37769
+ const _hoisted_1$3 = { class: "Pagination" };
37770
+ const _hoisted_2$3 = { class: "top_pagination miniTS" };
37771
+ const _hoisted_3$3 = /* @__PURE__ */ createTextVNode(" 共有 ");
37772
+ const _hoisted_4$3 = { class: "top_pagination_font largeTS focusTC" };
37773
+ const _hoisted_5$3 = /* @__PURE__ */ createTextVNode(" 个记录满足条件,当前第 ");
37774
+ const _hoisted_6$3 = { class: "top_pagination_font largeTS focusTC" };
37775
+ const _hoisted_7$3 = /* @__PURE__ */ createTextVNode(" 页,跳转到第 ");
37776
+ const _hoisted_8$3 = { class: "top_pagination_font largeTS focusTC" };
37777
+ const _hoisted_9$3 = /* @__PURE__ */ createTextVNode(" 页 ");
37778
+ const _hoisted_10$3 = { class: "sticky-footer" };
37779
+ const _hoisted_11$3 = {
37780
+ key: 0,
37781
+ class: "bottom_pagination"
37782
+ };
37783
+ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
37784
+ __name: "CPagination",
37785
+ props: {
37786
+ currentPage: null,
37787
+ skipCount: null,
37788
+ pageSize: null,
37789
+ pageSizes: { default: () => ["20", "40", "60", "80"] },
37790
+ pageTotal: null
37791
+ },
37792
+ emits: ["update:currentPage", "update:pageSize", "update:skipCount", "change"],
37793
+ setup(__props, { emit }) {
37794
+ const props2 = __props;
37795
+ const _currentPage = computed({
37796
+ get() {
37797
+ return props2.currentPage;
37798
+ },
37799
+ set(value) {
37800
+ emit("update:currentPage", value);
37801
+ }
37802
+ });
37803
+ const _pageSize = computed({
37804
+ get() {
37805
+ return props2.pageSize;
37806
+ },
37807
+ set(value) {
37808
+ emit("update:pageSize", value);
37809
+ }
37810
+ });
37811
+ const _skipCount = computed({
37812
+ get() {
37813
+ return props2.skipCount;
37814
+ },
37815
+ set(value) {
37816
+ emit("update:skipCount", value);
37817
+ }
37818
+ });
37819
+ const onSelectTopPage = (val) => {
37820
+ _currentPage.value = val;
37821
+ handleCurrentChange(val, _pageSize.value);
37822
+ };
37823
+ let isHandleSizeChange = false;
37824
+ const handleSizeChange = (current2, pageSize2) => {
37825
+ isHandleSizeChange = true;
37826
+ const _skipCount_temp = (current2 - 1) * pageSize2;
37827
+ _skipCount.value = _skipCount_temp;
37828
+ emit("change", current2, pageSize2, _skipCount_temp);
37829
+ };
37830
+ const handleCurrentChange = (current2, pageSize2) => {
37831
+ if (isHandleSizeChange) {
37832
+ isHandleSizeChange = false;
37833
+ return;
37834
+ }
37835
+ const _skipCount_temp = (current2 - 1) * pageSize2;
37836
+ _skipCount.value = _skipCount_temp;
37837
+ emit("change", current2, pageSize2, _skipCount_temp);
37838
+ };
37839
+ return (_ctx, _cache) => {
37840
+ const _component_DownOutlined = resolveComponent("DownOutlined");
37841
+ const _component_a_menu_item = __unplugin_components_0$3;
37842
+ const _component_a_menu = Menu;
37843
+ const _component_a_dropdown = Dropdown$1;
37844
+ const _component_a_pagination = __unplugin_components_3$1;
37845
+ return openBlock(), createElementBlock("div", _hoisted_1$3, [
37846
+ createElementVNode("div", _hoisted_2$3, [
37847
+ createElementVNode("div", null, [
37848
+ _hoisted_3$3,
37849
+ createElementVNode("span", _hoisted_4$3, toDisplayString(__props.pageTotal), 1),
37850
+ _hoisted_5$3,
37851
+ createElementVNode("span", _hoisted_6$3, toDisplayString(unref(_currentPage)), 1),
37852
+ _hoisted_7$3,
37853
+ createVNode(_component_a_dropdown, { trigger: ["click"] }, {
37854
+ overlay: withCtx(() => [
37855
+ createVNode(_component_a_menu, {
37856
+ getPopupContainer: (triggerNode) => triggerNode.parentNode,
37857
+ class: "top_pagination_menu scrollbar_hover"
37858
+ }, {
37859
+ default: withCtx(() => [
37860
+ (openBlock(true), createElementBlock(Fragment, null, renderList(Math.ceil(__props.pageTotal / unref(_pageSize)), (e2) => {
37861
+ return openBlock(), createBlock(_component_a_menu_item, {
37862
+ key: e2,
37863
+ onClick: ($event) => onSelectTopPage(e2)
37864
+ }, {
37865
+ default: withCtx(() => [
37866
+ createTextVNode(toDisplayString(e2), 1)
37867
+ ]),
37868
+ _: 2
37869
+ }, 1032, ["onClick"]);
37870
+ }), 128))
37871
+ ]),
37872
+ _: 1
37873
+ }, 8, ["getPopupContainer"])
37874
+ ]),
37875
+ default: withCtx(() => [
37876
+ createElementVNode("a", {
37877
+ class: "top_pagination_click tableBC",
37878
+ onClick: _cache[0] || (_cache[0] = withModifiers(() => {
37879
+ }, ["prevent"]))
37880
+ }, [
37881
+ createElementVNode("span", _hoisted_8$3, toDisplayString(__props.currentPage), 1),
37882
+ createVNode(_component_DownOutlined, { class: "align-middle ml-1 mb-[4px] largeTS" })
37883
+ ])
37884
+ ]),
37885
+ _: 1
37886
+ }),
37887
+ _hoisted_9$3
37888
+ ]),
37889
+ renderSlot(_ctx.$slots, "topInfo", {}, void 0, true)
37890
+ ]),
37891
+ createElementVNode("div", null, [
37892
+ renderSlot(_ctx.$slots, "default", {}, void 0, true)
37893
+ ]),
37894
+ createElementVNode("div", _hoisted_10$3, [
37895
+ __props.pageTotal !== 0 ? (openBlock(), createElementBlock("div", _hoisted_11$3, [
37896
+ createVNode(_component_a_pagination, {
37897
+ current: unref(_currentPage),
37898
+ "onUpdate:current": _cache[1] || (_cache[1] = ($event) => isRef(_currentPage) ? _currentPage.value = $event : null),
37899
+ pageSize: unref(_pageSize),
37900
+ "onUpdate:pageSize": _cache[2] || (_cache[2] = ($event) => isRef(_pageSize) ? _pageSize.value = $event : null),
37901
+ "show-size-changer": "",
37902
+ "show-quick-jumper": "",
37903
+ "page-size-options": __props.pageSizes,
37904
+ total: __props.pageTotal,
37905
+ onShowSizeChange: handleSizeChange,
37906
+ onChange: handleCurrentChange
37907
+ }, null, 8, ["current", "pageSize", "page-size-options", "total"])
37908
+ ])) : createCommentVNode("", true)
37909
+ ])
37910
+ ]);
37911
+ };
37912
+ }
37913
+ });
37914
+ const __unplugin_components_4 = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-9beb5acc"]]);
37915
+ const index$6 = "";
37682
37916
  const ModuleVersionModal_vue_vue_type_style_index_0_scoped_true_lang = "";
37683
- const _withScopeId$2 = (n2) => (pushScopeId("data-v-1e406f1b"), n2 = n2(), popScopeId(), n2);
37917
+ const _withScopeId$2 = (n2) => (pushScopeId("data-v-68292662"), n2 = n2(), popScopeId(), n2);
37684
37918
  const _hoisted_1$2 = { class: "flex items-center h-[60px] pl-[40px] themeBGC" };
37685
37919
  const _hoisted_2$2 = { class: "relative w-[30px] h-[30px]" };
37686
37920
  const _hoisted_3$2 = {
@@ -37736,6 +37970,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
37736
37970
  },
37737
37971
  emits: ["update:show", "getItem"],
37738
37972
  setup(__props, { emit }) {
37973
+ var _a;
37739
37974
  const props2 = __props;
37740
37975
  const inputV = computed({
37741
37976
  get() {
@@ -37756,6 +37991,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
37756
37991
  };
37757
37992
  const formData = reactive({
37758
37993
  ...props2.paramsQuery,
37994
+ moduleCode: ((_a = JSON.parse(localStorage.getItem("selectModule"))) == null ? void 0 : _a.location) ?? void 0,
37759
37995
  key: null,
37760
37996
  skipCount: 0,
37761
37997
  // 分页跳过数
@@ -37782,9 +38018,8 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
37782
38018
  {
37783
38019
  title: "模块",
37784
38020
  w: "10%",
37785
- key: "moduleType",
37786
- show: true,
37787
- custom: true
38021
+ key: "moduleName",
38022
+ show: true
37788
38023
  },
37789
38024
  {
37790
38025
  title: "版本号",
@@ -37827,12 +38062,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
37827
38062
  }
37828
38063
  ]);
37829
38064
  const upth = (val) => tableOptionRef.value = val;
37830
- const moduleList = ref([]);
37831
- const ModuleTypeListGetApi = async () => {
37832
- moduleList.value = await ModuleTypeListGet();
37833
- };
37834
38065
  onBeforeMount(async () => {
37835
- await ModuleTypeListGetApi();
37836
38066
  getData();
37837
38067
  });
37838
38068
  const moduleHandle = () => {
@@ -37840,18 +38070,16 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
37840
38070
  inputV.value = false;
37841
38071
  };
37842
38072
  return (_ctx, _cache) => {
37843
- const _component_a_select_option = SelectOption;
37844
- const _component_a_select = __unplugin_components_1;
37845
38073
  const _component_a_input = Input;
37846
38074
  const _component_a_button = Button;
37847
- const _component_a_image = __unplugin_components_4;
37848
- const _component_mrpTable = __unplugin_components_5;
37849
- const _component_CPagination = __unplugin_components_6$1;
38075
+ const _component_a_image = __unplugin_components_2;
38076
+ const _component_mrpTable = __unplugin_components_3;
38077
+ const _component_CPagination = __unplugin_components_4;
37850
38078
  const _component_a_spin = Spin;
37851
- const _component_MrpModal = _sfc_main$6;
38079
+ const _component_MrpModal = _sfc_main$7;
37852
38080
  return openBlock(), createBlock(_component_MrpModal, {
37853
38081
  show: unref(inputV),
37854
- "onUpdate:show": _cache[5] || (_cache[5] = ($event) => isRef(inputV) ? inputV.value = $event : null),
38082
+ "onUpdate:show": _cache[4] || (_cache[4] = ($event) => isRef(inputV) ? inputV.value = $event : null),
37855
38083
  onCancelHandle: moduleHandle,
37856
38084
  "remove-padding": false
37857
38085
  }, {
@@ -37872,37 +38100,9 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
37872
38100
  default: withCtx(() => [
37873
38101
  createElementVNode("div", _hoisted_10$2, [
37874
38102
  createElementVNode("div", _hoisted_11$2, [
37875
- createVNode(_component_a_select, {
37876
- value: formData.moduleType,
37877
- "onUpdate:value": _cache[0] || (_cache[0] = ($event) => formData.moduleType = $event),
37878
- getPopupContainer: (triggerNode) => triggerNode.parentNode,
37879
- allowClear: "",
37880
- style: { "width": "170px", "margin-right": "10px" },
37881
- overlayStyle: { color: "40px" },
37882
- placeholder: "请选择类型",
37883
- showSearch: "",
37884
- showArrow: true,
37885
- onChange: onSearch
37886
- }, {
37887
- default: withCtx(() => [
37888
- (openBlock(true), createElementBlock(Fragment, null, renderList(moduleList.value, (item, key2) => {
37889
- return openBlock(), createBlock(_component_a_select_option, {
37890
- key: Number(key2),
37891
- value: Number(key2),
37892
- label: item
37893
- }, {
37894
- default: withCtx(() => [
37895
- createTextVNode(toDisplayString(item), 1)
37896
- ]),
37897
- _: 2
37898
- }, 1032, ["value", "label"]);
37899
- }), 128))
37900
- ]),
37901
- _: 1
37902
- }, 8, ["value", "getPopupContainer"]),
37903
38103
  createVNode(_component_a_input, {
37904
38104
  value: formData.key,
37905
- "onUpdate:value": _cache[1] || (_cache[1] = ($event) => formData.key = $event),
38105
+ "onUpdate:value": _cache[0] || (_cache[0] = ($event) => formData.key = $event),
37906
38106
  style: { "width": "338px", "margin-right": "10px" },
37907
38107
  class: "mr-4",
37908
38108
  placeholder: "请输入名称",
@@ -37922,11 +38122,11 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
37922
38122
  ]),
37923
38123
  createVNode(_component_CPagination, {
37924
38124
  "current-page": currentPage.value,
37925
- "onUpdate:current-page": _cache[2] || (_cache[2] = ($event) => currentPage.value = $event),
38125
+ "onUpdate:current-page": _cache[1] || (_cache[1] = ($event) => currentPage.value = $event),
37926
38126
  "page-size": formData.maxResultCount,
37927
- "onUpdate:page-size": _cache[3] || (_cache[3] = ($event) => formData.maxResultCount = $event),
38127
+ "onUpdate:page-size": _cache[2] || (_cache[2] = ($event) => formData.maxResultCount = $event),
37928
38128
  "skip-count": formData.skipCount,
37929
- "onUpdate:skip-count": _cache[4] || (_cache[4] = ($event) => formData.skipCount = $event),
38129
+ "onUpdate:skip-count": _cache[3] || (_cache[3] = ($event) => formData.skipCount = $event),
37930
38130
  pageTotal: pageTotal.value,
37931
38131
  onChange: onChangePagination
37932
38132
  }, {
@@ -37937,12 +38137,10 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
37937
38137
  pageSize: formData.maxResultCount,
37938
38138
  currentPages: currentPage.value,
37939
38139
  totalPages: 0,
38140
+ setHeight: 20,
37940
38141
  isTableControl: false,
37941
38142
  onUpth: upth
37942
38143
  }, {
37943
- moduleType: withCtx(({ item }) => [
37944
- createTextVNode(toDisplayString(moduleList.value[item.moduleType]), 1)
37945
- ]),
37946
38144
  versionDate: withCtx(({ item }) => [
37947
38145
  createTextVNode(toDisplayString(item.versionDate ? unref(dayjs)(item.versionDate).format("YYYY-MM-DD") : ""), 1)
37948
38146
  ]),
@@ -37973,7 +38171,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
37973
38171
  };
37974
38172
  }
37975
38173
  });
37976
- const __unplugin_components_6 = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-1e406f1b"]]);
38174
+ const __unplugin_components_6 = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-68292662"]]);
37977
38175
  const index$5 = "";
37978
38176
  const index$4 = "";
37979
38177
  const index$3 = "";
@@ -41424,14 +41622,14 @@ function useCcflowCall() {
41424
41622
  connection.value.onreconnected(async (id) => {
41425
41623
  await connection.value.invoke("Start");
41426
41624
  await connection.value.invoke("MenuNums");
41427
- await connection.value.invoke("NewVersion", "ZC", "50de0330-4ed6-b657-f4c5-3a13658ffc0c");
41625
+ await connection.value.invoke("NewVersion", "AMS", "50de0330-4ed6-b657-f4c5-3a13658ffc0c");
41428
41626
  });
41429
41627
  if (connection.value.state !== HubConnectionState.Connected) {
41430
41628
  connection.value.start().then(async () => {
41431
41629
  console.log("启动即时通信成功");
41432
41630
  await connection.value.invoke("Start");
41433
41631
  await connection.value.invoke("MenuNums");
41434
- await connection.value.invoke("NewVersion", "ZC", "50de0330-4ed6-b657-f4c5-3a13658ffc0c");
41632
+ await connection.value.invoke("NewVersion", "AMS", "50de0330-4ed6-b657-f4c5-3a13658ffc0c");
41435
41633
  });
41436
41634
  }
41437
41635
  };
@@ -41551,13 +41749,20 @@ const _sfc_main = {
41551
41749
  );
41552
41750
  const modeuleInfos = ref();
41553
41751
  const getModeuleInfoData = async () => {
41752
+ var _a;
41753
+ const location2 = (_a = JSON.parse(
41754
+ localStorage.getItem("selectModule")
41755
+ )) == null ? void 0 : _a.location;
41756
+ if (location2) {
41757
+ getMaxVersionApi(location2);
41758
+ }
41554
41759
  modeuleInfos.value = await getModeuleInfo();
41555
41760
  console.log(modeuleInfos.value, "modeuleInfos.value");
41556
41761
  return (moduleKey) => {
41557
- var _a, _b, _c, _d, _e, _f;
41762
+ var _a2, _b, _c, _d, _e, _f;
41558
41763
  return {
41559
41764
  isSetOfBooks: modeuleInfos.value.setOfBooks.includes(moduleKey),
41560
- isProductionBases: (_b = (_a = modeuleInfos.value) == null ? void 0 : _a.productionBases) == null ? void 0 : _b.includes(moduleKey),
41765
+ isProductionBases: (_b = (_a2 = modeuleInfos.value) == null ? void 0 : _a2.productionBases) == null ? void 0 : _b.includes(moduleKey),
41561
41766
  isProjects: (_d = (_c = modeuleInfos.value) == null ? void 0 : _c.projects) == null ? void 0 : _d.includes(moduleKey),
41562
41767
  isAllProductionBases: (_f = (_e = modeuleInfos.value) == null ? void 0 : _e.allProductionBases) == null ? void 0 : _f.includes(moduleKey)
41563
41768
  };
@@ -41673,7 +41878,6 @@ const _sfc_main = {
41673
41878
  };
41674
41879
  });
41675
41880
  }
41676
- getMaxVersionApi(0);
41677
41881
  });
41678
41882
  function openChangePWDHandle() {
41679
41883
  data5.formState.new_password = "";
@@ -41744,7 +41948,6 @@ const _sfc_main = {
41744
41948
  );
41745
41949
  data5.selectModule = permissionModuleName;
41746
41950
  ctx.emit("changeSystemOrModule", moduleName, name);
41747
- getMaxVersionApi(location2);
41748
41951
  if (!location2) {
41749
41952
  data5.moduleVisible = false;
41750
41953
  ctx.emit("routerReplace", routerUrl);
@@ -42173,6 +42376,9 @@ const _sfc_main = {
42173
42376
  const getMaxVersionApi = async (moduleType) => {
42174
42377
  moduleVersion.value = await getMaxVersion(moduleType);
42175
42378
  };
42379
+ const isModuleVersionUpdate = ref(
42380
+ ccflowData.newVersionList.length ? true : false
42381
+ );
42176
42382
  return {
42177
42383
  ...refData,
42178
42384
  beforeUpload,
@@ -42230,12 +42436,13 @@ const _sfc_main = {
42230
42436
  isModuleModuleVersion,
42231
42437
  dropdownModuleVersion,
42232
42438
  getModuleVersion,
42233
- moduleVersion
42439
+ moduleVersion,
42440
+ isModuleVersionUpdate
42234
42441
  /*******end*****/
42235
42442
  };
42236
42443
  }
42237
42444
  };
42238
- const _withScopeId = (n2) => (pushScopeId("data-v-21939414"), n2 = n2(), popScopeId(), n2);
42445
+ const _withScopeId = (n2) => (pushScopeId("data-v-3a456a0f"), n2 = n2(), popScopeId(), n2);
42239
42446
  const _hoisted_1 = {
42240
42447
  class: "bg-white defaultTS funcTC relative",
42241
42448
  style: { "padding-bottom": "10px", "margin-bottom": "10px" }
@@ -42613,11 +42820,12 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
42613
42820
  const _component_a_badge = Badge;
42614
42821
  const _component_EconomicsSider = resolveComponent("EconomicsSider");
42615
42822
  const _component_a_input_password = __unplugin_components_2$1;
42616
- const _component_a_form_item = __unplugin_components_3;
42823
+ const _component_a_form_item = __unplugin_components_3$2;
42617
42824
  const _component_a_form = Form$1;
42618
- const _component_MrpModal = _sfc_main$6;
42825
+ const _component_MrpModal = _sfc_main$7;
42619
42826
  const _component_check_circle_outlined = resolveComponent("check-circle-outlined");
42620
42827
  const _component_ModuleVersionModal = __unplugin_components_6;
42828
+ const _component_VersionUpdateModal = __unplugin_components_7;
42621
42829
  return openBlock(), createElementBlock(Fragment, null, [
42622
42830
  createElementVNode("div", {
42623
42831
  class: "w-[325px] h-[800px] overflow-y-auto sider scrollbar",
@@ -43204,11 +43412,18 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
43204
43412
  show: $setup.isModuleModuleVersion,
43205
43413
  "onUpdate:show": _cache[25] || (_cache[25] = ($event) => $setup.isModuleModuleVersion = $event),
43206
43414
  onGetItem: $setup.getModuleVersion,
43207
- title: "更新内容"
43208
- }, null, 8, ["show", "onGetItem"])) : createCommentVNode("", true)
43415
+ title: "更新记录"
43416
+ }, null, 8, ["show", "onGetItem"])) : createCommentVNode("", true),
43417
+ $setup.isModuleVersionUpdate ? (openBlock(), createBlock(_component_VersionUpdateModal, {
43418
+ key: 1,
43419
+ show: $setup.isModuleVersionUpdate,
43420
+ "onUpdate:show": _cache[26] || (_cache[26] = ($event) => $setup.isModuleVersionUpdate = $event),
43421
+ title: "系统更新通知",
43422
+ ccflowData: $setup.ccflowData
43423
+ }, null, 8, ["show", "ccflowData"])) : createCommentVNode("", true)
43209
43424
  ], 64);
43210
43425
  }
43211
- const TSider = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-21939414"]]);
43426
+ const TSider = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-3a456a0f"]]);
43212
43427
  const components = [TSider];
43213
43428
  installComponents();
43214
43429
  function installComponents() {