tx-sider 2.2.1 → 2.2.2
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 +488 -538
- package/lib/TXUI.umd.js +3 -3
- package/lib/style.css +1 -1
- package/package.json +1 -1
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,
|
|
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$
|
|
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$
|
|
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$
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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 = "";
|
|
@@ -30136,7 +30079,6 @@ const index$c = "";
|
|
|
30136
30079
|
const index$b = "";
|
|
30137
30080
|
const index$a = "";
|
|
30138
30081
|
const index$9 = "";
|
|
30139
|
-
const index$8 = "";
|
|
30140
30082
|
const tableControl_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
30141
30083
|
const _export_sfc = (sfc, props2) => {
|
|
30142
30084
|
const target = sfc.__vccOpts || sfc;
|
|
@@ -30145,14 +30087,14 @@ const _export_sfc = (sfc, props2) => {
|
|
|
30145
30087
|
}
|
|
30146
30088
|
return target;
|
|
30147
30089
|
};
|
|
30148
|
-
const _withScopeId$
|
|
30149
|
-
const _hoisted_1$
|
|
30150
|
-
const _hoisted_2$
|
|
30151
|
-
const _hoisted_3$
|
|
30152
|
-
const _hoisted_4$
|
|
30153
|
-
const _hoisted_5$
|
|
30154
|
-
const _hoisted_6$
|
|
30155
|
-
const _hoisted_7$
|
|
30090
|
+
const _withScopeId$4 = (n2) => (pushScopeId("data-v-7be61d40"), n2 = n2(), popScopeId(), n2);
|
|
30091
|
+
const _hoisted_1$5 = { class: "tableControl" };
|
|
30092
|
+
const _hoisted_2$5 = /* @__PURE__ */ _withScopeId$4(() => /* @__PURE__ */ createElementVNode("div", null, "密度", -1));
|
|
30093
|
+
const _hoisted_3$5 = /* @__PURE__ */ createTextVNode(" 默认 ");
|
|
30094
|
+
const _hoisted_4$5 = /* @__PURE__ */ createTextVNode(" 中等 ");
|
|
30095
|
+
const _hoisted_5$5 = /* @__PURE__ */ createTextVNode(" 紧凑 ");
|
|
30096
|
+
const _hoisted_6$5 = /* @__PURE__ */ _withScopeId$4(() => /* @__PURE__ */ createElementVNode("div", null, "列设置", -1));
|
|
30097
|
+
const _hoisted_7$5 = /* @__PURE__ */ createTextVNode(" 全选 ");
|
|
30156
30098
|
const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
30157
30099
|
__name: "tableControl",
|
|
30158
30100
|
props: {
|
|
@@ -30224,19 +30166,19 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
30224
30166
|
const _component_a_menu_item = __unplugin_components_0$3;
|
|
30225
30167
|
const _component_a_menu = Menu;
|
|
30226
30168
|
const _component_column_height_outlined = resolveComponent("column-height-outlined");
|
|
30227
|
-
const _component_a_popover = __unplugin_components_2$
|
|
30169
|
+
const _component_a_popover = __unplugin_components_2$1;
|
|
30228
30170
|
const _component_a_checkbox = Checkbox;
|
|
30229
30171
|
const _component_a_divider = __unplugin_components_4$1;
|
|
30230
30172
|
const _component_a_checkbox_group = __unplugin_components_5;
|
|
30231
30173
|
const _component_setting_outlined = resolveComponent("setting-outlined");
|
|
30232
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
30174
|
+
return openBlock(), createElementBlock("div", _hoisted_1$5, [
|
|
30233
30175
|
createVNode(_component_a_popover, {
|
|
30234
30176
|
trigger: "hover",
|
|
30235
30177
|
visible: hovered.value,
|
|
30236
30178
|
onVisibleChange: handleHoverChange
|
|
30237
30179
|
}, {
|
|
30238
30180
|
content: withCtx(() => [
|
|
30239
|
-
_hoisted_2$
|
|
30181
|
+
_hoisted_2$5
|
|
30240
30182
|
]),
|
|
30241
30183
|
default: withCtx(() => [
|
|
30242
30184
|
createVNode(_component_a_popover, {
|
|
@@ -30256,19 +30198,19 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
30256
30198
|
default: withCtx(() => [
|
|
30257
30199
|
createVNode(_component_a_menu_item, { key: "0" }, {
|
|
30258
30200
|
default: withCtx(() => [
|
|
30259
|
-
_hoisted_3$
|
|
30201
|
+
_hoisted_3$5
|
|
30260
30202
|
]),
|
|
30261
30203
|
_: 1
|
|
30262
30204
|
}),
|
|
30263
30205
|
createVNode(_component_a_menu_item, { key: "1" }, {
|
|
30264
30206
|
default: withCtx(() => [
|
|
30265
|
-
_hoisted_4$
|
|
30207
|
+
_hoisted_4$5
|
|
30266
30208
|
]),
|
|
30267
30209
|
_: 1
|
|
30268
30210
|
}),
|
|
30269
30211
|
createVNode(_component_a_menu_item, { key: "2" }, {
|
|
30270
30212
|
default: withCtx(() => [
|
|
30271
|
-
_hoisted_5$
|
|
30213
|
+
_hoisted_5$5
|
|
30272
30214
|
]),
|
|
30273
30215
|
_: 1
|
|
30274
30216
|
})
|
|
@@ -30289,7 +30231,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
30289
30231
|
}, 8, ["visible"]),
|
|
30290
30232
|
createVNode(_component_a_popover, { trigger: "hover" }, {
|
|
30291
30233
|
content: withCtx(() => [
|
|
30292
|
-
_hoisted_6$
|
|
30234
|
+
_hoisted_6$5
|
|
30293
30235
|
]),
|
|
30294
30236
|
default: withCtx(() => [
|
|
30295
30237
|
createVNode(_component_a_popover, {
|
|
@@ -30308,7 +30250,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
30308
30250
|
onChange: onCheckAllChange
|
|
30309
30251
|
}, {
|
|
30310
30252
|
default: withCtx(() => [
|
|
30311
|
-
_hoisted_7$
|
|
30253
|
+
_hoisted_7$5
|
|
30312
30254
|
]),
|
|
30313
30255
|
_: 1
|
|
30314
30256
|
}, 8, ["checked", "indeterminate"])
|
|
@@ -32886,37 +32828,37 @@ function useRoute() {
|
|
|
32886
32828
|
return inject(routeLocationKey);
|
|
32887
32829
|
}
|
|
32888
32830
|
const mrpTable_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
32889
|
-
const _withScopeId$
|
|
32890
|
-
const _hoisted_1$
|
|
32831
|
+
const _withScopeId$3 = (n2) => (pushScopeId("data-v-4e120258"), n2 = n2(), popScopeId(), n2);
|
|
32832
|
+
const _hoisted_1$4 = {
|
|
32891
32833
|
key: 0,
|
|
32892
32834
|
id: "top"
|
|
32893
32835
|
};
|
|
32894
|
-
const _hoisted_2$
|
|
32895
|
-
const _hoisted_3$
|
|
32836
|
+
const _hoisted_2$4 = { class: "flex items-center justify-center" };
|
|
32837
|
+
const _hoisted_3$4 = {
|
|
32896
32838
|
key: 0,
|
|
32897
32839
|
style: { "color": "#ff0066" }
|
|
32898
32840
|
};
|
|
32899
|
-
const _hoisted_4$
|
|
32900
|
-
const _hoisted_5$
|
|
32841
|
+
const _hoisted_4$4 = { key: 0 };
|
|
32842
|
+
const _hoisted_5$4 = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("div", { class: "h-2 flex items-center" }, [
|
|
32901
32843
|
/* @__PURE__ */ createElementVNode("span", { class: "bg-[#d9d9d9] h-[1px] w-full" })
|
|
32902
32844
|
], -1));
|
|
32903
|
-
const _hoisted_6$
|
|
32904
|
-
const _hoisted_7$
|
|
32845
|
+
const _hoisted_6$4 = { class: "flex items-center justify-between h-1/2" };
|
|
32846
|
+
const _hoisted_7$4 = {
|
|
32905
32847
|
key: 0,
|
|
32906
32848
|
style: { "color": "#ff0066" }
|
|
32907
32849
|
};
|
|
32908
|
-
const _hoisted_8$
|
|
32909
|
-
const _hoisted_9$
|
|
32850
|
+
const _hoisted_8$4 = { class: "mrpTable" };
|
|
32851
|
+
const _hoisted_9$4 = {
|
|
32910
32852
|
class: "relative w-full mb-[24px]",
|
|
32911
32853
|
style: { "table-layout": "fixed" }
|
|
32912
32854
|
};
|
|
32913
|
-
const _hoisted_10$
|
|
32914
|
-
const _hoisted_11$
|
|
32855
|
+
const _hoisted_10$4 = { class: "flex items-center justify-center" };
|
|
32856
|
+
const _hoisted_11$4 = {
|
|
32915
32857
|
key: 0,
|
|
32916
32858
|
style: { "color": "#ff0066" }
|
|
32917
32859
|
};
|
|
32918
|
-
const _hoisted_12$
|
|
32919
|
-
const _hoisted_13$
|
|
32860
|
+
const _hoisted_12$3 = { key: 1 };
|
|
32861
|
+
const _hoisted_13$1 = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("div", { class: "h-2 flex items-center" }, [
|
|
32920
32862
|
/* @__PURE__ */ createElementVNode("span", { class: "bg-[#d9d9d9] h-[1px] w-full" })
|
|
32921
32863
|
], -1));
|
|
32922
32864
|
const _hoisted_14$1 = { class: "flex items-center justify-between h-1/2" };
|
|
@@ -33013,10 +32955,10 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
33013
32955
|
});
|
|
33014
32956
|
return (_ctx, _cache) => {
|
|
33015
32957
|
const _component_tableControl = __unplugin_components_0;
|
|
33016
|
-
const _component_a_image =
|
|
33017
|
-
const _component_a_pagination = __unplugin_components_3
|
|
32958
|
+
const _component_a_image = __unplugin_components_7;
|
|
32959
|
+
const _component_a_pagination = __unplugin_components_3;
|
|
33018
32960
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
33019
|
-
offsetWidth.value ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
32961
|
+
offsetWidth.value ? (openBlock(), createElementBlock("div", _hoisted_1$4, [
|
|
33020
32962
|
createElementVNode("table", {
|
|
33021
32963
|
class: "relative w-full mb-[24px]",
|
|
33022
32964
|
style: normalizeStyle([{ "table-layout": "fixed" }, { width: offsetWidth.value ? offsetWidth.value + "px" : "" }])
|
|
@@ -33032,20 +32974,20 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
33032
32974
|
width: item.w ? item.w : ""
|
|
33033
32975
|
})
|
|
33034
32976
|
}, [
|
|
33035
|
-
createElementVNode("div", _hoisted_2$
|
|
32977
|
+
createElementVNode("div", _hoisted_2$4, [
|
|
33036
32978
|
createTextVNode(toDisplayString(item.title == "操作" ? "" : item.title) + " ", 1),
|
|
33037
|
-
item.unit ? (openBlock(), createElementBlock("span", _hoisted_3$
|
|
32979
|
+
item.unit ? (openBlock(), createElementBlock("span", _hoisted_3$4, toDisplayString(item.unit), 1)) : createCommentVNode("", true)
|
|
33038
32980
|
]),
|
|
33039
|
-
item.header ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
33040
|
-
_hoisted_5$
|
|
33041
|
-
createElementVNode("div", _hoisted_6$
|
|
32981
|
+
item.header ? (openBlock(), createElementBlock("div", _hoisted_4$4, [
|
|
32982
|
+
_hoisted_5$4,
|
|
32983
|
+
createElementVNode("div", _hoisted_6$4, [
|
|
33042
32984
|
(openBlock(true), createElementBlock(Fragment, null, renderList(item.header, (e2, i2) => {
|
|
33043
32985
|
return openBlock(), createElementBlock("div", {
|
|
33044
32986
|
key: i2,
|
|
33045
32987
|
style: normalizeStyle({ width: e2.w ? e2.w : "" })
|
|
33046
32988
|
}, [
|
|
33047
32989
|
createTextVNode(toDisplayString(e2.title == "操作" ? "" : e2.title) + " ", 1),
|
|
33048
|
-
e2.unit ? (openBlock(), createElementBlock("span", _hoisted_7$
|
|
32990
|
+
e2.unit ? (openBlock(), createElementBlock("span", _hoisted_7$4, toDisplayString(e2.unit), 1)) : createCommentVNode("", true)
|
|
33049
32991
|
], 4);
|
|
33050
32992
|
}), 128))
|
|
33051
32993
|
])
|
|
@@ -33061,8 +33003,8 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
33061
33003
|
onChangeS: tableControlChange
|
|
33062
33004
|
}, null, 8, ["setHeight"])
|
|
33063
33005
|
])) : createCommentVNode("", true),
|
|
33064
|
-
createElementVNode("div", _hoisted_8$
|
|
33065
|
-
createElementVNode("table", _hoisted_9$
|
|
33006
|
+
createElementVNode("div", _hoisted_8$4, [
|
|
33007
|
+
createElementVNode("table", _hoisted_9$4, [
|
|
33066
33008
|
createElementVNode("tr", null, [
|
|
33067
33009
|
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.th, (item, index2) => {
|
|
33068
33010
|
return openBlock(), createElementBlock(Fragment, { key: index2 }, [
|
|
@@ -33075,12 +33017,12 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
33075
33017
|
})
|
|
33076
33018
|
}, [
|
|
33077
33019
|
__props.th[index2].key == "select" ? renderSlot(_ctx.$slots, "selectAll", { key: 0 }, void 0, true) : createCommentVNode("", true),
|
|
33078
|
-
createElementVNode("div", _hoisted_10$
|
|
33020
|
+
createElementVNode("div", _hoisted_10$4, [
|
|
33079
33021
|
createTextVNode(toDisplayString(__props.th[index2].key == "select" ? "" : item.title) + " ", 1),
|
|
33080
|
-
item.unit ? (openBlock(), createElementBlock("span", _hoisted_11$
|
|
33022
|
+
item.unit ? (openBlock(), createElementBlock("span", _hoisted_11$4, toDisplayString(item.unit), 1)) : createCommentVNode("", true)
|
|
33081
33023
|
]),
|
|
33082
|
-
__props.th[index2].header ? (openBlock(), createElementBlock("div", _hoisted_12$
|
|
33083
|
-
_hoisted_13$
|
|
33024
|
+
__props.th[index2].header ? (openBlock(), createElementBlock("div", _hoisted_12$3, [
|
|
33025
|
+
_hoisted_13$1,
|
|
33084
33026
|
createElementVNode("div", _hoisted_14$1, [
|
|
33085
33027
|
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.th[index2].header, (e2, i2) => {
|
|
33086
33028
|
return openBlock(), createElementBlock("div", {
|
|
@@ -33176,7 +33118,214 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
33176
33118
|
};
|
|
33177
33119
|
}
|
|
33178
33120
|
});
|
|
33179
|
-
const
|
|
33121
|
+
const __unplugin_components_8 = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-4e120258"]]);
|
|
33122
|
+
const index$8 = "";
|
|
33123
|
+
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
33124
|
+
__name: "MrpModal",
|
|
33125
|
+
props: {
|
|
33126
|
+
show: {
|
|
33127
|
+
type: Boolean,
|
|
33128
|
+
default: false
|
|
33129
|
+
},
|
|
33130
|
+
removePadding: {
|
|
33131
|
+
type: Boolean,
|
|
33132
|
+
default: true
|
|
33133
|
+
}
|
|
33134
|
+
},
|
|
33135
|
+
emits: ["cancelHandle", "update:show"],
|
|
33136
|
+
setup(__props, { emit }) {
|
|
33137
|
+
const props2 = __props;
|
|
33138
|
+
const inputV = computed({
|
|
33139
|
+
get() {
|
|
33140
|
+
return props2.show;
|
|
33141
|
+
},
|
|
33142
|
+
set(value) {
|
|
33143
|
+
emit("update:show", value);
|
|
33144
|
+
emit("cancelHandle", value);
|
|
33145
|
+
}
|
|
33146
|
+
});
|
|
33147
|
+
function cancel() {
|
|
33148
|
+
console.log("11111111111111111111111111");
|
|
33149
|
+
emit("update:show", false);
|
|
33150
|
+
emit("cancelHandle", false);
|
|
33151
|
+
}
|
|
33152
|
+
return (_ctx, _cache) => {
|
|
33153
|
+
const _component_close_circle_outlined = resolveComponent("close-circle-outlined");
|
|
33154
|
+
const _component_a_modal = Modal;
|
|
33155
|
+
return openBlock(), createBlock(_component_a_modal, {
|
|
33156
|
+
wrapClassName: [
|
|
33157
|
+
__props.removePadding ? "" : "not-padding",
|
|
33158
|
+
"module-class modal-components"
|
|
33159
|
+
],
|
|
33160
|
+
visible: unref(inputV),
|
|
33161
|
+
"onUpdate:visible": _cache[0] || (_cache[0] = ($event) => isRef(inputV) ? inputV.value = $event : null),
|
|
33162
|
+
onCancel: cancel,
|
|
33163
|
+
destroyOnClose: "",
|
|
33164
|
+
footer: null
|
|
33165
|
+
}, {
|
|
33166
|
+
title: withCtx(() => [
|
|
33167
|
+
renderSlot(_ctx.$slots, "title")
|
|
33168
|
+
]),
|
|
33169
|
+
closeIcon: withCtx(() => [
|
|
33170
|
+
createVNode(_component_close_circle_outlined, { class: "text-[#006ab2] text-[30px]" })
|
|
33171
|
+
]),
|
|
33172
|
+
default: withCtx(() => [
|
|
33173
|
+
renderSlot(_ctx.$slots, "body")
|
|
33174
|
+
]),
|
|
33175
|
+
_: 3
|
|
33176
|
+
}, 8, ["wrapClassName", "visible"]);
|
|
33177
|
+
};
|
|
33178
|
+
}
|
|
33179
|
+
});
|
|
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
|
-
|
|
34410
|
-
|
|
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 =
|
|
38101
|
-
const _component_mrpTable =
|
|
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$
|
|
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",
|
|
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",
|
|
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 = "";
|
|
@@ -41713,8 +41460,13 @@ const _sfc_main = {
|
|
|
41713
41460
|
// 所属的模块
|
|
41714
41461
|
menuTitle: String,
|
|
41715
41462
|
// 模块名称
|
|
41716
|
-
modeuleType: String
|
|
41463
|
+
modeuleType: String,
|
|
41717
41464
|
// 模块类型
|
|
41465
|
+
listenVersion: {
|
|
41466
|
+
type: Boolean,
|
|
41467
|
+
default: false
|
|
41468
|
+
}
|
|
41469
|
+
// 是否监听更新
|
|
41718
41470
|
},
|
|
41719
41471
|
emits: [
|
|
41720
41472
|
"routerReplace",
|
|
@@ -41755,7 +41507,7 @@ const _sfc_main = {
|
|
|
41755
41507
|
});
|
|
41756
41508
|
const refData = toRefs(data5);
|
|
41757
41509
|
const iconUrl = process.env.NODE_ENV == "development" ? "https://basis.nacho.cn" : "https://basis.nacho.cn";
|
|
41758
|
-
const [ccflowData, onClickTodo] = useCcflowCall();
|
|
41510
|
+
const [ccflowData, onClickTodo, init] = useCcflowCall();
|
|
41759
41511
|
watch(
|
|
41760
41512
|
() => props2.isSystems,
|
|
41761
41513
|
() => {
|
|
@@ -42409,10 +42161,84 @@ const _sfc_main = {
|
|
|
42409
42161
|
() => ccflowData.newVersionList,
|
|
42410
42162
|
() => {
|
|
42411
42163
|
var _a2;
|
|
42164
|
+
console.log("ccflowData.newVersionList", ccflowData.newVersionList);
|
|
42165
|
+
tableData.value = ccflowData.newVersionList;
|
|
42412
42166
|
isModuleVersionUpdate.value = ((_a2 = ccflowData.newVersionList) == null ? void 0 : _a2.length) ? true : false;
|
|
42413
42167
|
},
|
|
42414
42168
|
{ deep: true }
|
|
42415
42169
|
);
|
|
42170
|
+
const tableOptionRef = ref([
|
|
42171
|
+
{
|
|
42172
|
+
title: "序号",
|
|
42173
|
+
w: "43px",
|
|
42174
|
+
key: "index",
|
|
42175
|
+
show: true
|
|
42176
|
+
},
|
|
42177
|
+
{
|
|
42178
|
+
title: "模块",
|
|
42179
|
+
w: "10%",
|
|
42180
|
+
key: "moduleName",
|
|
42181
|
+
show: true
|
|
42182
|
+
},
|
|
42183
|
+
{
|
|
42184
|
+
title: "版本号",
|
|
42185
|
+
w: "15%",
|
|
42186
|
+
key: "version",
|
|
42187
|
+
show: true
|
|
42188
|
+
},
|
|
42189
|
+
{
|
|
42190
|
+
title: "更新内容",
|
|
42191
|
+
w: "25%",
|
|
42192
|
+
key: "description",
|
|
42193
|
+
show: true
|
|
42194
|
+
},
|
|
42195
|
+
{
|
|
42196
|
+
title: "附件",
|
|
42197
|
+
w: "15%",
|
|
42198
|
+
key: "files",
|
|
42199
|
+
show: true,
|
|
42200
|
+
custom: true
|
|
42201
|
+
},
|
|
42202
|
+
{
|
|
42203
|
+
title: "版本日期",
|
|
42204
|
+
w: "10%",
|
|
42205
|
+
key: "versionDate",
|
|
42206
|
+
show: true,
|
|
42207
|
+
custom: true
|
|
42208
|
+
},
|
|
42209
|
+
{
|
|
42210
|
+
title: "发布人",
|
|
42211
|
+
w: "10%",
|
|
42212
|
+
key: "creatorName",
|
|
42213
|
+
show: true
|
|
42214
|
+
},
|
|
42215
|
+
{
|
|
42216
|
+
title: "发布日期",
|
|
42217
|
+
w: "10%",
|
|
42218
|
+
key: "creationTime",
|
|
42219
|
+
show: true,
|
|
42220
|
+
custom: true
|
|
42221
|
+
}
|
|
42222
|
+
]);
|
|
42223
|
+
const upth = (val) => tableOptionRef.value = val;
|
|
42224
|
+
const tableData = ref([]);
|
|
42225
|
+
const onCancel = () => {
|
|
42226
|
+
console.log("关闭");
|
|
42227
|
+
isModuleVersionUpdate.value = false;
|
|
42228
|
+
};
|
|
42229
|
+
const onRead = async () => {
|
|
42230
|
+
var _a2, _b;
|
|
42231
|
+
console.log("已读");
|
|
42232
|
+
try {
|
|
42233
|
+
await setUserRead(
|
|
42234
|
+
(_a2 = JSON.parse(localStorage.getItem("userInfos"))) == null ? void 0 : _a2.userId,
|
|
42235
|
+
(_b = JSON.parse(localStorage.getItem("selectModule"))) == null ? void 0 : _b.location
|
|
42236
|
+
);
|
|
42237
|
+
isModuleVersionUpdate.value = false;
|
|
42238
|
+
} catch (error) {
|
|
42239
|
+
isModuleVersionUpdate.value = false;
|
|
42240
|
+
}
|
|
42241
|
+
};
|
|
42416
42242
|
return {
|
|
42417
42243
|
...refData,
|
|
42418
42244
|
beforeUpload,
|
|
@@ -42471,12 +42297,19 @@ const _sfc_main = {
|
|
|
42471
42297
|
dropdownModuleVersion,
|
|
42472
42298
|
getModuleVersion,
|
|
42473
42299
|
moduleVersion,
|
|
42474
|
-
isModuleVersionUpdate
|
|
42300
|
+
isModuleVersionUpdate,
|
|
42301
|
+
tableOptionRef,
|
|
42302
|
+
tableData,
|
|
42303
|
+
dayjs,
|
|
42304
|
+
upth,
|
|
42305
|
+
onCancel,
|
|
42306
|
+
onRead,
|
|
42307
|
+
ccflowInit: () => init()
|
|
42475
42308
|
/*******end*****/
|
|
42476
42309
|
};
|
|
42477
42310
|
}
|
|
42478
42311
|
};
|
|
42479
|
-
const _withScopeId = (n2) => (pushScopeId("data-v-
|
|
42312
|
+
const _withScopeId = (n2) => (pushScopeId("data-v-6127534b"), n2 = n2(), popScopeId(), n2);
|
|
42480
42313
|
const _hoisted_1 = {
|
|
42481
42314
|
class: "bg-white defaultTS funcTC relative",
|
|
42482
42315
|
style: { "padding-bottom": "10px", "margin-bottom": "10px" }
|
|
@@ -42848,18 +42681,68 @@ const _hoisted_85 = {
|
|
|
42848
42681
|
key: 1,
|
|
42849
42682
|
class: "yuan mr-[10px]"
|
|
42850
42683
|
};
|
|
42684
|
+
const _hoisted_86 = { class: "flex items-center h-[60px] pl-[40px] themeBGC" };
|
|
42685
|
+
const _hoisted_87 = { class: "relative w-[30px] h-[30px]" };
|
|
42686
|
+
const _hoisted_88 = {
|
|
42687
|
+
"xmlns:xlink": "http://www.w3.org/1999/xlink",
|
|
42688
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
42689
|
+
version: "1.1",
|
|
42690
|
+
width: "23px",
|
|
42691
|
+
height: "23px",
|
|
42692
|
+
style: { "position": "absolute", "top": "7px" }
|
|
42693
|
+
};
|
|
42694
|
+
const _hoisted_89 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("g", { transform: "matrix(1 0 0 1 -256 -275 )" }, [
|
|
42695
|
+
/* @__PURE__ */ createElementVNode("path", {
|
|
42696
|
+
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 ",
|
|
42697
|
+
"fill-rule": "nonzero",
|
|
42698
|
+
fill: "#bd9e55",
|
|
42699
|
+
stroke: "none",
|
|
42700
|
+
transform: "matrix(1 0 0 1 256 275 )"
|
|
42701
|
+
})
|
|
42702
|
+
], -1));
|
|
42703
|
+
const _hoisted_90 = [
|
|
42704
|
+
_hoisted_89
|
|
42705
|
+
];
|
|
42706
|
+
const _hoisted_91 = {
|
|
42707
|
+
"xmlns:xlink": "http://www.w3.org/1999/xlink",
|
|
42708
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
42709
|
+
version: "1.1",
|
|
42710
|
+
width: "23px",
|
|
42711
|
+
height: "23px",
|
|
42712
|
+
style: { "position": "absolute", "left": "7px" }
|
|
42713
|
+
};
|
|
42714
|
+
const _hoisted_92 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("g", { transform: "matrix(1 0 0 1 -263 -268 )" }, [
|
|
42715
|
+
/* @__PURE__ */ createElementVNode("path", {
|
|
42716
|
+
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 ",
|
|
42717
|
+
"fill-rule": "nonzero",
|
|
42718
|
+
fill: "#bd9e55",
|
|
42719
|
+
stroke: "none",
|
|
42720
|
+
transform: "matrix(1 0 0 1 263 268 )"
|
|
42721
|
+
})
|
|
42722
|
+
], -1));
|
|
42723
|
+
const _hoisted_93 = [
|
|
42724
|
+
_hoisted_92
|
|
42725
|
+
];
|
|
42726
|
+
const _hoisted_94 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", { class: "text-xl cbd9e55 pl-2" }, "系统更新通知", -1));
|
|
42727
|
+
const _hoisted_95 = { class: "flex flex-col px-28 mt-[50px]" };
|
|
42728
|
+
const _hoisted_96 = { class: "flex justify-center my-20" };
|
|
42729
|
+
const _hoisted_97 = /* @__PURE__ */ createTextVNode(" 取消 ");
|
|
42730
|
+
const _hoisted_98 = /* @__PURE__ */ createTextVNode(" 设为已读 ");
|
|
42851
42731
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
42852
42732
|
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s;
|
|
42853
42733
|
const _component_a_upload = __unplugin_components_0$1;
|
|
42854
42734
|
const _component_a_badge = Badge;
|
|
42855
42735
|
const _component_EconomicsSider = resolveComponent("EconomicsSider");
|
|
42856
|
-
const _component_a_input_password = __unplugin_components_2
|
|
42857
|
-
const _component_a_form_item = __unplugin_components_3$
|
|
42736
|
+
const _component_a_input_password = __unplugin_components_2;
|
|
42737
|
+
const _component_a_form_item = __unplugin_components_3$1;
|
|
42858
42738
|
const _component_a_form = Form$1;
|
|
42859
|
-
const _component_MrpModal = _sfc_main$
|
|
42739
|
+
const _component_MrpModal = _sfc_main$4;
|
|
42860
42740
|
const _component_check_circle_outlined = resolveComponent("check-circle-outlined");
|
|
42861
42741
|
const _component_ModuleVersionModal = __unplugin_components_6;
|
|
42862
|
-
const
|
|
42742
|
+
const _component_a_image = __unplugin_components_7;
|
|
42743
|
+
const _component_mrpTable = __unplugin_components_8;
|
|
42744
|
+
const _component_a_button = Button;
|
|
42745
|
+
const _component_a_spin = Spin;
|
|
42863
42746
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
42864
42747
|
createElementVNode("div", {
|
|
42865
42748
|
class: "w-[325px] h-[800px] overflow-y-auto sider scrollbar",
|
|
@@ -43448,16 +43331,83 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
43448
43331
|
onGetItem: $setup.getModuleVersion,
|
|
43449
43332
|
title: "更新记录"
|
|
43450
43333
|
}, null, 8, ["show", "onGetItem"])) : createCommentVNode("", true),
|
|
43451
|
-
|
|
43452
|
-
key: 1,
|
|
43334
|
+
createVNode(_component_MrpModal, {
|
|
43453
43335
|
show: $setup.isModuleVersionUpdate,
|
|
43454
43336
|
"onUpdate:show": _cache[26] || (_cache[26] = ($event) => $setup.isModuleVersionUpdate = $event),
|
|
43455
|
-
|
|
43456
|
-
|
|
43457
|
-
|
|
43337
|
+
"remove-padding": false
|
|
43338
|
+
}, {
|
|
43339
|
+
title: withCtx(() => [
|
|
43340
|
+
createElementVNode("div", _hoisted_86, [
|
|
43341
|
+
createElementVNode("div", _hoisted_87, [
|
|
43342
|
+
(openBlock(), createElementBlock("svg", _hoisted_88, _hoisted_90)),
|
|
43343
|
+
(openBlock(), createElementBlock("svg", _hoisted_91, _hoisted_93))
|
|
43344
|
+
]),
|
|
43345
|
+
_hoisted_94
|
|
43346
|
+
])
|
|
43347
|
+
]),
|
|
43348
|
+
body: withCtx(() => [
|
|
43349
|
+
createVNode(_component_a_spin, { tip: "Loading..." }, {
|
|
43350
|
+
default: withCtx(() => [
|
|
43351
|
+
createElementVNode("div", _hoisted_95, [
|
|
43352
|
+
createVNode(_component_mrpTable, {
|
|
43353
|
+
th: $setup.tableOptionRef,
|
|
43354
|
+
contractExecDocList: $setup.tableData,
|
|
43355
|
+
pageSize: 1,
|
|
43356
|
+
currentPages: 1,
|
|
43357
|
+
totalPages: 0,
|
|
43358
|
+
setHeight: 20,
|
|
43359
|
+
isTableControl: false,
|
|
43360
|
+
onUpth: $setup.upth
|
|
43361
|
+
}, {
|
|
43362
|
+
versionDate: withCtx(({ item }) => [
|
|
43363
|
+
createTextVNode(toDisplayString(item.versionDate ? $setup.dayjs(item.versionDate).format("YYYY-MM-DD") : ""), 1)
|
|
43364
|
+
]),
|
|
43365
|
+
creationTime: withCtx(({ item }) => [
|
|
43366
|
+
createTextVNode(toDisplayString(item.creationTime ? $setup.dayjs(item.creationTime).format("YYYY-MM-DD") : ""), 1)
|
|
43367
|
+
]),
|
|
43368
|
+
files: withCtx(({ item }) => [
|
|
43369
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(item.files, (pic, i2) => {
|
|
43370
|
+
return openBlock(), createBlock(_component_a_image, {
|
|
43371
|
+
width: 30,
|
|
43372
|
+
key: i2,
|
|
43373
|
+
src: pic.url
|
|
43374
|
+
}, null, 8, ["src"]);
|
|
43375
|
+
}), 128))
|
|
43376
|
+
]),
|
|
43377
|
+
_: 1
|
|
43378
|
+
}, 8, ["th", "contractExecDocList", "onUpth"]),
|
|
43379
|
+
createElementVNode("div", _hoisted_96, [
|
|
43380
|
+
createVNode(_component_a_button, {
|
|
43381
|
+
class: "w-[140px] mr-[50px] btn1",
|
|
43382
|
+
style: { "border-radius": "5px" },
|
|
43383
|
+
onClick: $setup.onCancel
|
|
43384
|
+
}, {
|
|
43385
|
+
default: withCtx(() => [
|
|
43386
|
+
_hoisted_97
|
|
43387
|
+
]),
|
|
43388
|
+
_: 1
|
|
43389
|
+
}, 8, ["onClick"]),
|
|
43390
|
+
createVNode(_component_a_button, {
|
|
43391
|
+
class: "w-[140px] mr-[50px] btn2",
|
|
43392
|
+
type: "primary",
|
|
43393
|
+
onClick: $setup.onRead
|
|
43394
|
+
}, {
|
|
43395
|
+
default: withCtx(() => [
|
|
43396
|
+
_hoisted_98
|
|
43397
|
+
]),
|
|
43398
|
+
_: 1
|
|
43399
|
+
}, 8, ["onClick"])
|
|
43400
|
+
])
|
|
43401
|
+
])
|
|
43402
|
+
]),
|
|
43403
|
+
_: 1
|
|
43404
|
+
})
|
|
43405
|
+
]),
|
|
43406
|
+
_: 1
|
|
43407
|
+
}, 8, ["show"])
|
|
43458
43408
|
], 64);
|
|
43459
43409
|
}
|
|
43460
|
-
const TSider = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-
|
|
43410
|
+
const TSider = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-6127534b"]]);
|
|
43461
43411
|
const components = [TSider];
|
|
43462
43412
|
installComponents();
|
|
43463
43413
|
function installComponents() {
|