@fecp/designer 5.5.105 → 5.5.108
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/es/_virtual/exceljs.min.mjs +7 -0
- package/es/_virtual/exceljs.min2.mjs +4 -0
- package/es/designer/package.json.mjs +1 -1
- package/es/designer/src/packages/dialog/useDialogDialog.mjs +1 -1
- package/es/designer/src/packages/dialogGlobal/useDialogGlobalDialog.mjs +1 -1
- package/es/designer/src/packages/form/property/widgets.vue.mjs +2 -2
- package/es/designer.css +126 -95
- package/es/node_modules/@vxe-ui/plugin-export-xlsx/es/index.esm.mjs +809 -0
- package/es/node_modules/exceljs/dist/exceljs.min.mjs +23129 -0
- package/es/packages/mobile/node_modules/vant/es/tag/Tag.mjs +80 -0
- package/es/packages/mobile/node_modules/vant/es/tag/index.mjs +8 -0
- package/es/packages/mobile/src/components/custom/approvalList/ApprovalCard.vue.mjs +139 -0
- package/es/packages/mobile/src/components/custom/approvalList/ApprovalList.vue.mjs +116 -300
- package/es/packages/vue/index.mjs +6 -1
- package/es/packages/vue/src/components/layout/Layout.vue.mjs +8 -3
- package/es/packages/vue/src/components/table/Table.vue.mjs +125 -4
- package/es/packages/vue/src/components/table/TableColumn.vue.mjs +6 -115
- package/lib/_virtual/exceljs.min.js +7 -0
- package/lib/_virtual/exceljs.min2.js +4 -0
- package/lib/designer/package.json.js +1 -1
- package/lib/designer/src/packages/dialog/useDialogDialog.js +1 -1
- package/lib/designer/src/packages/dialogGlobal/useDialogGlobalDialog.js +1 -1
- package/lib/designer/src/packages/form/property/widgets.vue.js +2 -2
- package/lib/designer.css +126 -95
- package/lib/node_modules/@vxe-ui/plugin-export-xlsx/es/index.esm.js +809 -0
- package/lib/node_modules/exceljs/dist/exceljs.min.js +23129 -0
- package/lib/packages/mobile/node_modules/vant/es/tag/Tag.js +80 -0
- package/lib/packages/mobile/node_modules/vant/es/tag/index.js +7 -0
- package/lib/packages/mobile/src/components/custom/approvalList/ApprovalCard.vue.js +139 -0
- package/lib/packages/mobile/src/components/custom/approvalList/ApprovalList.vue.js +119 -303
- package/lib/packages/vue/index.js +5 -0
- package/lib/packages/vue/src/components/layout/Layout.vue.js +8 -3
- package/lib/packages/vue/src/components/table/Table.vue.js +125 -4
- package/lib/packages/vue/src/components/table/TableColumn.vue.js +6 -115
- package/package.json +1 -1
|
@@ -7,50 +7,26 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
|
|
|
7
7
|
;/* empty css */
|
|
8
8
|
;/* empty css */
|
|
9
9
|
;/* empty css */
|
|
10
|
-
;/* empty css */
|
|
11
10
|
;/* empty css */
|
|
11
|
+
;/* empty css */
|
|
12
|
+
;/* empty css */
|
|
13
|
+
;/* empty css */
|
|
14
|
+
;/* empty css */
|
|
12
15
|
;/* empty css */
|
|
13
16
|
const Vue = require("vue");
|
|
17
|
+
const ApprovalCard = require("./ApprovalCard.vue.js");
|
|
14
18
|
;/* empty css */
|
|
15
19
|
const _pluginVue_exportHelper = require("../../../../../../_virtual/_plugin-vue_export-helper.js");
|
|
16
|
-
const index = require("../../../../node_modules/vant/es/
|
|
17
|
-
const index$1 = require("../../../../node_modules/vant/es/
|
|
18
|
-
const index$2 = require("../../../../node_modules/vant/es/
|
|
19
|
-
const index$3 = require("../../../../node_modules/vant/es/
|
|
20
|
+
const index = require("../../../../node_modules/vant/es/search/index.js");
|
|
21
|
+
const index$1 = require("../../../../node_modules/vant/es/tabs/index.js");
|
|
22
|
+
const index$2 = require("../../../../node_modules/vant/es/tab/index.js");
|
|
23
|
+
const index$3 = require("../../../../node_modules/vant/es/list/index.js");
|
|
20
24
|
const _hoisted_1 = { class: "fec-mobile-approval-list" };
|
|
21
25
|
const _hoisted_2 = { class: "fec-tab-content" };
|
|
22
|
-
const _hoisted_3 = { class: "fec-
|
|
23
|
-
const _hoisted_4 = { class: "fec-
|
|
24
|
-
const _hoisted_5 = { class: "fec-
|
|
25
|
-
const _hoisted_6 = { class: "fec-
|
|
26
|
-
const _hoisted_7 = { class: "fec-card-message" };
|
|
27
|
-
const _hoisted_8 = { class: "fec-card-sn" };
|
|
28
|
-
const _hoisted_9 = { class: "fec-card-value" };
|
|
29
|
-
const _hoisted_10 = { class: "fec-card-footer" };
|
|
30
|
-
const _hoisted_11 = { class: "fec-card-time" };
|
|
31
|
-
const _hoisted_12 = { class: "fec-card-actions" };
|
|
32
|
-
const _hoisted_13 = { class: "fec-tab-content" };
|
|
33
|
-
const _hoisted_14 = { class: "fec-list" };
|
|
34
|
-
const _hoisted_15 = { class: "fec-card-header" };
|
|
35
|
-
const _hoisted_16 = { class: "fec-card-title" };
|
|
36
|
-
const _hoisted_17 = { class: "fec-card-body" };
|
|
37
|
-
const _hoisted_18 = { class: "fec-card-message" };
|
|
38
|
-
const _hoisted_19 = { class: "fec-card-sn" };
|
|
39
|
-
const _hoisted_20 = { class: "fec-card-value" };
|
|
40
|
-
const _hoisted_21 = { class: "fec-card-footer" };
|
|
41
|
-
const _hoisted_22 = { class: "fec-card-time" };
|
|
42
|
-
const _hoisted_23 = { class: "fec-card-actions" };
|
|
43
|
-
const _hoisted_24 = { class: "fec-tab-content" };
|
|
44
|
-
const _hoisted_25 = { class: "fec-list" };
|
|
45
|
-
const _hoisted_26 = { class: "fec-card-header" };
|
|
46
|
-
const _hoisted_27 = { class: "fec-card-title" };
|
|
47
|
-
const _hoisted_28 = { class: "fec-card-body" };
|
|
48
|
-
const _hoisted_29 = { class: "fec-card-message" };
|
|
49
|
-
const _hoisted_30 = { class: "fec-card-sn" };
|
|
50
|
-
const _hoisted_31 = { class: "fec-card-value" };
|
|
51
|
-
const _hoisted_32 = { class: "fec-card-footer" };
|
|
52
|
-
const _hoisted_33 = { class: "fec-card-time" };
|
|
53
|
-
const _hoisted_34 = { class: "fec-card-actions" };
|
|
26
|
+
const _hoisted_3 = { class: "fec-tab-content" };
|
|
27
|
+
const _hoisted_4 = { class: "fec-list" };
|
|
28
|
+
const _hoisted_5 = { class: "fec-tab-content" };
|
|
29
|
+
const _hoisted_6 = { class: "fec-list" };
|
|
54
30
|
const _sfc_main = {
|
|
55
31
|
__name: "ApprovalList",
|
|
56
32
|
props: {},
|
|
@@ -58,107 +34,54 @@ const _sfc_main = {
|
|
|
58
34
|
const currentInstance = Vue.getCurrentInstance();
|
|
59
35
|
const ctx = currentInstance.proxy;
|
|
60
36
|
ctx.route;
|
|
61
|
-
const activeName = Vue.ref("
|
|
62
|
-
const todoList = [
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
id: 4,
|
|
103
|
-
title: "采购申请",
|
|
104
|
-
message: "客户孙七提交了一笔办公用品采购申请,处理中。",
|
|
105
|
-
sn: "1100202406140004",
|
|
106
|
-
arriveTime: "2026-06-06 14:30:00",
|
|
107
|
-
statusText: "处理中",
|
|
108
|
-
statusColor: "#1890ff",
|
|
109
|
-
statusIcon: "edit"
|
|
110
|
-
},
|
|
111
|
-
{
|
|
112
|
-
id: 5,
|
|
113
|
-
title: "用车申请",
|
|
114
|
-
message: "客户周八提交了一笔商务用车申请,已完成。",
|
|
115
|
-
sn: "1100202406130005",
|
|
116
|
-
arriveTime: "2026-06-05 10:15:00",
|
|
117
|
-
statusText: "已完成",
|
|
118
|
-
statusColor: "#52c41a",
|
|
119
|
-
statusIcon: "checked"
|
|
120
|
-
}
|
|
121
|
-
];
|
|
122
|
-
const ccList = [
|
|
123
|
-
{
|
|
124
|
-
id: 6,
|
|
125
|
-
title: "会议通知",
|
|
126
|
-
message: "客户吴九提交了周一例会,请您知悉。",
|
|
127
|
-
sn: "1100202406150006",
|
|
128
|
-
arriveTime: "1小时前",
|
|
129
|
-
statusText: "处理中",
|
|
130
|
-
statusColor: "#1890ff",
|
|
131
|
-
statusIcon: "edit"
|
|
132
|
-
},
|
|
133
|
-
{
|
|
134
|
-
id: 7,
|
|
135
|
-
title: "制度变更",
|
|
136
|
-
message: "客户郑十提交了新的考勤制度变更,请您知悉。",
|
|
137
|
-
sn: "1100202406140007",
|
|
138
|
-
arriveTime: "2026-06-07 16:45:00",
|
|
139
|
-
statusText: "已完成",
|
|
140
|
-
statusColor: "#52c41a",
|
|
141
|
-
statusIcon: "checked"
|
|
142
|
-
}
|
|
143
|
-
];
|
|
144
|
-
function formatTime(timeStr) {
|
|
145
|
-
if (!timeStr) return "";
|
|
146
|
-
if (timeStr.includes(":")) {
|
|
147
|
-
const time = new Date(timeStr.replace(/\-/g, "/"));
|
|
148
|
-
const now = /* @__PURE__ */ new Date();
|
|
149
|
-
const diff = now - time;
|
|
150
|
-
const oneDay = 24 * 60 * 60 * 1e3;
|
|
151
|
-
if (diff > oneDay) {
|
|
152
|
-
return timeStr;
|
|
37
|
+
const activeName = Vue.ref("0");
|
|
38
|
+
const todoList = Vue.ref([]);
|
|
39
|
+
const doneList = Vue.ref([]);
|
|
40
|
+
const ccList = Vue.ref([]);
|
|
41
|
+
const searchData = Vue.ref("");
|
|
42
|
+
const finished = Vue.ref(false);
|
|
43
|
+
const loading = Vue.ref(false);
|
|
44
|
+
let pageNo = 1;
|
|
45
|
+
let pageSize = 10;
|
|
46
|
+
function onLoad() {
|
|
47
|
+
loading.value = true;
|
|
48
|
+
pageNo++;
|
|
49
|
+
call();
|
|
50
|
+
}
|
|
51
|
+
function call() {
|
|
52
|
+
ctx.$http.post(
|
|
53
|
+
"/base-server/flow/workbench/findTaskListByPage",
|
|
54
|
+
{
|
|
55
|
+
pageNo,
|
|
56
|
+
pageSize,
|
|
57
|
+
taskStatus: activeName.value,
|
|
58
|
+
searchData: searchData.value
|
|
59
|
+
},
|
|
60
|
+
false
|
|
61
|
+
).then((data) => {
|
|
62
|
+
const list = data.list;
|
|
63
|
+
switch (activeName.value) {
|
|
64
|
+
case "0":
|
|
65
|
+
list.forEach((item) => {
|
|
66
|
+
item.statusColor = item.statusColor || "#fa8c16";
|
|
67
|
+
item.statusIcon = item.statusIcon || "clock-o";
|
|
68
|
+
item.statusText = item.statusText || "待处理";
|
|
69
|
+
});
|
|
70
|
+
todoList.value.push(...list);
|
|
71
|
+
break;
|
|
72
|
+
case "1":
|
|
73
|
+
doneList.value = list;
|
|
74
|
+
break;
|
|
75
|
+
case "2":
|
|
76
|
+
ccList.value = list;
|
|
77
|
+
break;
|
|
153
78
|
}
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
return `${hours}小时前`;
|
|
79
|
+
if (list.length < pageSize) {
|
|
80
|
+
finished.value = true;
|
|
157
81
|
}
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
}
|
|
161
|
-
return timeStr;
|
|
82
|
+
}).finally(() => {
|
|
83
|
+
loading.value = false;
|
|
84
|
+
});
|
|
162
85
|
}
|
|
163
86
|
function onView(item) {
|
|
164
87
|
console.log("查看:", item);
|
|
@@ -169,154 +92,83 @@ const _sfc_main = {
|
|
|
169
92
|
function onRevoke(item) {
|
|
170
93
|
console.log("撤销:", item);
|
|
171
94
|
}
|
|
95
|
+
function onSearch(val) {
|
|
96
|
+
console.log("🚀 ~ onSearch ~ val:", val);
|
|
97
|
+
}
|
|
172
98
|
return (_ctx, _cache) => {
|
|
173
|
-
const
|
|
174
|
-
const
|
|
175
|
-
const _component_van_tab = index$
|
|
176
|
-
const _component_van_tabs = index.Tabs;
|
|
99
|
+
const _component_van_search = index.Search;
|
|
100
|
+
const _component_van_list = index$3.List;
|
|
101
|
+
const _component_van_tab = index$2.Tab;
|
|
102
|
+
const _component_van_tabs = index$1.Tabs;
|
|
177
103
|
return Vue.openBlock(), Vue.createElementBlock("div", _hoisted_1, [
|
|
104
|
+
Vue.createVNode(_component_van_search, {
|
|
105
|
+
modelValue: Vue.unref(searchData),
|
|
106
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => Vue.isRef(searchData) ? searchData.value = $event : null),
|
|
107
|
+
shape: "round",
|
|
108
|
+
placeholder: "请输入业务描述",
|
|
109
|
+
clearable: "",
|
|
110
|
+
onSearch
|
|
111
|
+
}, null, 8, ["modelValue"]),
|
|
178
112
|
Vue.createVNode(_component_van_tabs, {
|
|
179
113
|
sticky: "",
|
|
180
114
|
class: "fec-tabs",
|
|
181
115
|
active: Vue.unref(activeName),
|
|
182
|
-
"onUpdate:active": _cache[
|
|
116
|
+
"onUpdate:active": _cache[2] || (_cache[2] = ($event) => Vue.isRef(activeName) ? activeName.value = $event : null),
|
|
183
117
|
swipeable: "",
|
|
184
118
|
"lazy-render": ""
|
|
185
119
|
}, {
|
|
186
120
|
default: Vue.withCtx(() => [
|
|
187
121
|
Vue.createVNode(_component_van_tab, {
|
|
188
122
|
title: "待办",
|
|
189
|
-
name: "
|
|
123
|
+
name: "0",
|
|
190
124
|
replace: "",
|
|
191
125
|
"show-zero-badge": false
|
|
192
126
|
}, {
|
|
193
127
|
default: Vue.withCtx(() => [
|
|
194
128
|
Vue.createElementVNode("div", _hoisted_2, [
|
|
195
|
-
Vue.
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
Vue.createElementVNode("div", _hoisted_8, [
|
|
217
|
-
_cache[1] || (_cache[1] = Vue.createElementVNode("span", { class: "fec-card-label" }, "业务流水号:", -1)),
|
|
218
|
-
Vue.createElementVNode("span", _hoisted_9, Vue.toDisplayString(item.sn), 1)
|
|
219
|
-
])
|
|
220
|
-
]),
|
|
221
|
-
Vue.createElementVNode("div", _hoisted_10, [
|
|
222
|
-
Vue.createElementVNode("span", _hoisted_11, Vue.toDisplayString(formatTime(item.arriveTime)), 1),
|
|
223
|
-
Vue.createElementVNode("div", _hoisted_12, [
|
|
224
|
-
Vue.createVNode(_component_van_button, {
|
|
225
|
-
plain: "",
|
|
226
|
-
hairline: "",
|
|
227
|
-
round: "",
|
|
228
|
-
size: "small",
|
|
229
|
-
onClick: ($event) => onView(item)
|
|
230
|
-
}, {
|
|
231
|
-
default: Vue.withCtx(() => _cache[2] || (_cache[2] = [
|
|
232
|
-
Vue.createTextVNode(" 查看 ")
|
|
233
|
-
])),
|
|
234
|
-
_: 2
|
|
235
|
-
}, 1032, ["onClick"]),
|
|
236
|
-
Vue.createVNode(_component_van_button, {
|
|
237
|
-
type: "primary",
|
|
238
|
-
round: "",
|
|
239
|
-
size: "small",
|
|
240
|
-
onClick: ($event) => onApprove(item)
|
|
241
|
-
}, {
|
|
242
|
-
default: Vue.withCtx(() => [
|
|
243
|
-
Vue.createTextVNode(Vue.toDisplayString(item.actionText || "同意"), 1)
|
|
244
|
-
]),
|
|
245
|
-
_: 2
|
|
246
|
-
}, 1032, ["onClick"])
|
|
247
|
-
])
|
|
248
|
-
])
|
|
249
|
-
]);
|
|
250
|
-
}), 64))
|
|
251
|
-
])
|
|
129
|
+
Vue.createVNode(_component_van_list, {
|
|
130
|
+
loading: Vue.unref(loading),
|
|
131
|
+
"onUpdate:loading": _cache[1] || (_cache[1] = ($event) => Vue.isRef(loading) ? loading.value = $event : null),
|
|
132
|
+
finished: Vue.unref(finished),
|
|
133
|
+
"finished-text": "没有更多了",
|
|
134
|
+
onLoad,
|
|
135
|
+
class: "fec-list"
|
|
136
|
+
}, {
|
|
137
|
+
default: Vue.withCtx(() => [
|
|
138
|
+
(Vue.openBlock(true), Vue.createElementBlock(Vue.Fragment, null, Vue.renderList(Vue.unref(todoList), (item) => {
|
|
139
|
+
return Vue.openBlock(), Vue.createBlock(ApprovalCard.default, {
|
|
140
|
+
key: item.id,
|
|
141
|
+
item,
|
|
142
|
+
type: 0,
|
|
143
|
+
onView,
|
|
144
|
+
onApprove
|
|
145
|
+
}, null, 8, ["item"]);
|
|
146
|
+
}), 128))
|
|
147
|
+
]),
|
|
148
|
+
_: 1
|
|
149
|
+
}, 8, ["loading", "finished"])
|
|
252
150
|
])
|
|
253
151
|
]),
|
|
254
152
|
_: 1
|
|
255
153
|
}),
|
|
256
154
|
Vue.createVNode(_component_van_tab, {
|
|
257
155
|
title: "已办",
|
|
258
|
-
name: "
|
|
156
|
+
name: "1",
|
|
259
157
|
replace: "",
|
|
260
158
|
"show-zero-badge": false
|
|
261
159
|
}, {
|
|
262
160
|
default: Vue.withCtx(() => [
|
|
263
|
-
Vue.createElementVNode("div",
|
|
264
|
-
Vue.createElementVNode("div",
|
|
265
|
-
(Vue.openBlock(), Vue.createElementBlock(Vue.Fragment, null, Vue.renderList(doneList, (item) => {
|
|
266
|
-
return Vue.
|
|
161
|
+
Vue.createElementVNode("div", _hoisted_3, [
|
|
162
|
+
Vue.createElementVNode("div", _hoisted_4, [
|
|
163
|
+
(Vue.openBlock(true), Vue.createElementBlock(Vue.Fragment, null, Vue.renderList(Vue.unref(doneList), (item) => {
|
|
164
|
+
return Vue.openBlock(), Vue.createBlock(ApprovalCard.default, {
|
|
267
165
|
key: item.id,
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
style: Vue.normalizeStyle({ background: item.statusColor })
|
|
275
|
-
}, [
|
|
276
|
-
Vue.createVNode(_component_van_icon, {
|
|
277
|
-
name: item.statusIcon,
|
|
278
|
-
size: "12"
|
|
279
|
-
}, null, 8, ["name"]),
|
|
280
|
-
Vue.createTextVNode(" " + Vue.toDisplayString(item.statusText), 1)
|
|
281
|
-
], 4)
|
|
282
|
-
]),
|
|
283
|
-
Vue.createElementVNode("div", _hoisted_17, [
|
|
284
|
-
Vue.createElementVNode("div", _hoisted_18, Vue.toDisplayString(item.message), 1),
|
|
285
|
-
Vue.createElementVNode("div", _hoisted_19, [
|
|
286
|
-
_cache[3] || (_cache[3] = Vue.createElementVNode("span", { class: "fec-card-label" }, "业务流水号:", -1)),
|
|
287
|
-
Vue.createElementVNode("span", _hoisted_20, Vue.toDisplayString(item.sn), 1)
|
|
288
|
-
])
|
|
289
|
-
]),
|
|
290
|
-
Vue.createElementVNode("div", _hoisted_21, [
|
|
291
|
-
Vue.createElementVNode("span", _hoisted_22, Vue.toDisplayString(formatTime(item.arriveTime)), 1),
|
|
292
|
-
Vue.createElementVNode("div", _hoisted_23, [
|
|
293
|
-
Vue.createVNode(_component_van_button, {
|
|
294
|
-
plain: "",
|
|
295
|
-
hairline: "",
|
|
296
|
-
round: "",
|
|
297
|
-
size: "small",
|
|
298
|
-
onClick: ($event) => onView(item)
|
|
299
|
-
}, {
|
|
300
|
-
default: Vue.withCtx(() => _cache[4] || (_cache[4] = [
|
|
301
|
-
Vue.createTextVNode(" 查看 ")
|
|
302
|
-
])),
|
|
303
|
-
_: 2
|
|
304
|
-
}, 1032, ["onClick"]),
|
|
305
|
-
Vue.createVNode(_component_van_button, {
|
|
306
|
-
type: "warning",
|
|
307
|
-
round: "",
|
|
308
|
-
size: "small",
|
|
309
|
-
onClick: ($event) => onRevoke(item)
|
|
310
|
-
}, {
|
|
311
|
-
default: Vue.withCtx(() => _cache[5] || (_cache[5] = [
|
|
312
|
-
Vue.createTextVNode(" 撤销 ")
|
|
313
|
-
])),
|
|
314
|
-
_: 2
|
|
315
|
-
}, 1032, ["onClick"])
|
|
316
|
-
])
|
|
317
|
-
])
|
|
318
|
-
]);
|
|
319
|
-
}), 64))
|
|
166
|
+
item,
|
|
167
|
+
type: 1,
|
|
168
|
+
onView,
|
|
169
|
+
onRevoke
|
|
170
|
+
}, null, 8, ["item"]);
|
|
171
|
+
}), 128))
|
|
320
172
|
])
|
|
321
173
|
])
|
|
322
174
|
]),
|
|
@@ -324,57 +176,21 @@ const _sfc_main = {
|
|
|
324
176
|
}),
|
|
325
177
|
Vue.createVNode(_component_van_tab, {
|
|
326
178
|
title: "抄送",
|
|
327
|
-
name: "
|
|
179
|
+
name: "2",
|
|
328
180
|
replace: "",
|
|
329
181
|
"show-zero-badge": false
|
|
330
182
|
}, {
|
|
331
183
|
default: Vue.withCtx(() => [
|
|
332
|
-
Vue.createElementVNode("div",
|
|
333
|
-
Vue.createElementVNode("div",
|
|
334
|
-
(Vue.openBlock(), Vue.createElementBlock(Vue.Fragment, null, Vue.renderList(ccList, (item) => {
|
|
335
|
-
return Vue.
|
|
184
|
+
Vue.createElementVNode("div", _hoisted_5, [
|
|
185
|
+
Vue.createElementVNode("div", _hoisted_6, [
|
|
186
|
+
(Vue.openBlock(true), Vue.createElementBlock(Vue.Fragment, null, Vue.renderList(Vue.unref(ccList), (item) => {
|
|
187
|
+
return Vue.openBlock(), Vue.createBlock(ApprovalCard.default, {
|
|
336
188
|
key: item.id,
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
class: "fec-card-status",
|
|
343
|
-
style: Vue.normalizeStyle({ background: item.statusColor })
|
|
344
|
-
}, [
|
|
345
|
-
Vue.createVNode(_component_van_icon, {
|
|
346
|
-
name: item.statusIcon,
|
|
347
|
-
size: "12"
|
|
348
|
-
}, null, 8, ["name"]),
|
|
349
|
-
Vue.createTextVNode(" " + Vue.toDisplayString(item.statusText), 1)
|
|
350
|
-
], 4)
|
|
351
|
-
]),
|
|
352
|
-
Vue.createElementVNode("div", _hoisted_28, [
|
|
353
|
-
Vue.createElementVNode("div", _hoisted_29, Vue.toDisplayString(item.message), 1),
|
|
354
|
-
Vue.createElementVNode("div", _hoisted_30, [
|
|
355
|
-
_cache[6] || (_cache[6] = Vue.createElementVNode("span", { class: "fec-card-label" }, "业务流水号:", -1)),
|
|
356
|
-
Vue.createElementVNode("span", _hoisted_31, Vue.toDisplayString(item.sn), 1)
|
|
357
|
-
])
|
|
358
|
-
]),
|
|
359
|
-
Vue.createElementVNode("div", _hoisted_32, [
|
|
360
|
-
Vue.createElementVNode("span", _hoisted_33, Vue.toDisplayString(formatTime(item.arriveTime)), 1),
|
|
361
|
-
Vue.createElementVNode("div", _hoisted_34, [
|
|
362
|
-
Vue.createVNode(_component_van_button, {
|
|
363
|
-
plain: "",
|
|
364
|
-
hairline: "",
|
|
365
|
-
round: "",
|
|
366
|
-
size: "small",
|
|
367
|
-
onClick: ($event) => onView(item)
|
|
368
|
-
}, {
|
|
369
|
-
default: Vue.withCtx(() => _cache[7] || (_cache[7] = [
|
|
370
|
-
Vue.createTextVNode(" 查看 ")
|
|
371
|
-
])),
|
|
372
|
-
_: 2
|
|
373
|
-
}, 1032, ["onClick"])
|
|
374
|
-
])
|
|
375
|
-
])
|
|
376
|
-
]);
|
|
377
|
-
}), 64))
|
|
189
|
+
item,
|
|
190
|
+
type: 2,
|
|
191
|
+
onView
|
|
192
|
+
}, null, 8, ["item"]);
|
|
193
|
+
}), 128))
|
|
378
194
|
])
|
|
379
195
|
])
|
|
380
196
|
]),
|
|
@@ -387,5 +203,5 @@ const _sfc_main = {
|
|
|
387
203
|
};
|
|
388
204
|
}
|
|
389
205
|
};
|
|
390
|
-
const _ApprovalList = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-
|
|
206
|
+
const _ApprovalList = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-15b64ae4"]]);
|
|
391
207
|
exports.default = _ApprovalList;
|
|
@@ -5,10 +5,15 @@ const index$u = require("../mobile/index.js");
|
|
|
5
5
|
const zhCn = require("../../node_modules/element-plus/es/locale/lang/zh-cn.js");
|
|
6
6
|
const index$v = require("../../node_modules/element-plus/es/index.js");
|
|
7
7
|
const VxeUIBase = require("vxe-pc-ui");
|
|
8
|
+
const index_esm = require("../../node_modules/@vxe-ui/plugin-export-xlsx/es/index.esm.js");
|
|
9
|
+
const exceljs_min = require("../../_virtual/exceljs.min.js");
|
|
8
10
|
;/* empty css */
|
|
9
11
|
;/* empty css */
|
|
10
12
|
const layout = require("./src/directive/layout.js");
|
|
11
13
|
const auth = require("./src/directive/auth.js");
|
|
14
|
+
VxeUIBase.VxeUI.use(index_esm.VxeUIPluginExportXLSX, {
|
|
15
|
+
ExcelJS: exceljs_min.default
|
|
16
|
+
});
|
|
12
17
|
const fecVue = {
|
|
13
18
|
install: (app) => {
|
|
14
19
|
for (let c in all) {
|
|
@@ -26,6 +26,10 @@ const _sfc_main = {
|
|
|
26
26
|
initFormData: {
|
|
27
27
|
type: Object,
|
|
28
28
|
default: {}
|
|
29
|
+
},
|
|
30
|
+
isDialog: {
|
|
31
|
+
type: Boolean,
|
|
32
|
+
default: false
|
|
29
33
|
}
|
|
30
34
|
},
|
|
31
35
|
emits: ["loaded"],
|
|
@@ -68,8 +72,9 @@ const _sfc_main = {
|
|
|
68
72
|
modelValue: Vue.unref(formData),
|
|
69
73
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => Vue.isRef(formData) ? formData.value = $event : null),
|
|
70
74
|
onLoaded: loaded,
|
|
71
|
-
initFormMode: __props.initFormMode
|
|
72
|
-
|
|
75
|
+
initFormMode: __props.initFormMode,
|
|
76
|
+
isDialog: __props.isDialog
|
|
77
|
+
}, null, 8, ["templateKey", "modelValue", "initFormMode", "isDialog"])
|
|
73
78
|
])
|
|
74
79
|
]),
|
|
75
80
|
_: 1
|
|
@@ -93,5 +98,5 @@ const _sfc_main = {
|
|
|
93
98
|
};
|
|
94
99
|
}
|
|
95
100
|
};
|
|
96
|
-
const _Layout = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-
|
|
101
|
+
const _Layout = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-269d36e1"]]);
|
|
97
102
|
exports.default = _Layout;
|