@utogether/udp-core 2.0.0-beta.23 → 2.0.0-beta.25
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/dist/403-QwBKrRZE.js +72 -0
- package/dist/404-Cr7MbzNV.js +72 -0
- package/dist/500-B7kCOeIA.js +77 -0
- package/dist/AuthorityInfo-Dwml2K4S.js +91 -0
- package/dist/AuthorityPanel-DzPhsPpa.js +98 -0
- package/dist/Company-BhOlvl7Q.js +21 -0
- package/dist/CompanyPanel-ByhY5-Sq.js +199 -0
- package/dist/DataSet-CuGZcKC-.js +141 -0
- package/dist/Department-QvngN63N.js +21 -0
- package/dist/DepartmentPanel-BCXqC39J.js +2 -0
- package/dist/DepartmentPanel-DntGycxr.js +242 -0
- package/dist/DesignPanel-BMN4DZ0R.js +1196 -0
- package/dist/DictView-ERFqZ5VD.js +100 -0
- package/dist/File-WJXjGYxr.js +89 -0
- package/dist/InvOrganization-BwMmD8Ua.js +76 -0
- package/dist/Org-HgnOWubi.js +76 -0
- package/dist/Preview-CVZdnHB1.js +45 -0
- package/dist/ReIcon-DecitXmg.js +413 -0
- package/dist/ReportDefine-BgLM-Rjk.js +10 -0
- package/dist/ReportDesign-CjfTyyy_.js +158 -0
- package/dist/ReportQuery-CP-E0Puv.js +101 -0
- package/dist/ReportQueryFrom-D7SPPAps.js +198 -0
- package/dist/ReportTemplate-DE25zc1f.js +162 -0
- package/dist/Role-K7v_ZhFE.js +21 -0
- package/dist/RoleAssign-C16fjLaX.js +22 -0
- package/dist/RolePanel-CV-xPlYJ.js +176 -0
- package/dist/RolePanel-DPCe9k8f.js +131 -0
- package/dist/ScrollPanel-DW30pGz1.js +88 -0
- package/dist/Staff-w2ly4qd0.js +22 -0
- package/dist/StaffInfo-DPDRpz6F.js +149 -0
- package/dist/StaffPanel-DI1eTTp9.js +143 -0
- package/dist/SysUser-BMTX1cJM.js +12 -0
- package/dist/SysUserPanel-xwZdVjdp.js +365 -0
- package/dist/SystemMenu-TXhiQZVm.js +154 -0
- package/dist/UserInfo-JQqw8FMT.js +194 -0
- package/dist/_plugin-vue_export-helper-C6QCLu9I.js +8 -0
- package/dist/api-BFNxcxSN.js +30 -0
- package/dist/authority-Bi6BGB5B.js +20 -0
- package/dist/await-to-js.es5-DkWYmPXW.js +10 -0
- package/dist/childView-Bk8OD9bV.js +181 -0
- package/dist/childView-CyrcwshT.js +184 -0
- package/dist/code-rule-QFrhqFrW.js +151 -0
- package/dist/contant-Q77dU_V3.js +4 -0
- package/dist/core.es.js +6 -23
- package/dist/cron-task-BpUDKEAU.js +131 -0
- package/dist/flow-task-DAc2NrDU.js +11 -0
- package/dist/frameView-Di0zJZUR.js +39 -0
- package/dist/img/v_img.svg +1 -1
- package/dist/layout-home-BVp7vYLR.js +239 -0
- package/dist/layoutView-DFUjrqAS.js +2662 -0
- package/dist/log-in-BrNB0mLz.js +117 -0
- package/dist/log-out-dYfqvzy6.js +111 -0
- package/dist/login-BdCDnuXL.js +233 -0
- package/dist/login-log-CJak-ANA.js +79 -0
- package/dist/lov-view-DkmG4K57.js +95 -0
- package/dist/menuInfo-kp2wNYOp.js +346 -0
- package/dist/mitt-CQgI7DYU.js +27 -0
- package/dist/pda-app-CA7YI37u.js +589 -0
- package/dist/redirect-N0k4tImU.js +16 -0
- package/dist/resource-CfQTHFcs.js +94 -0
- package/dist/router-CeluSGiD.js +1531 -0
- package/dist/su-welcome-JeiovGpe.js +799 -0
- package/dist/sys-config-Ddb3vBpK.js +316 -0
- package/dist/udp-core-Dhm-BlAs.js +2032 -0
- package/dist/udp-core.css +2 -1
- package/dist/useDataThemeChange-BCy8JBG7.js +226 -0
- package/dist/useNav-DY8FkltH.js +106 -0
- package/dist/utogether-l7JXs4Lv.js +4 -0
- package/dist/water-mark-WDQZ9YqB.js +119 -0
- package/dist/wecom-push-kWkAVRCj.js +77 -0
- package/package.json +1 -1
- package/src/api/index.ts +51 -51
- package/src/components/udp/index.ts +9 -8
- package/src/components/udp/lov/index.vue +430 -0
- package/src/components/udp/upload/index.vue +444 -444
- package/src/main.ts +110 -111
- package/src/plugins/vxe-table/index.ts +1 -1
- package/src/plugins/vxe-table/render.tsx +999 -998
- package/tsconfig.json +1 -1
- package/vite.config.ts +8 -3
- package/dist/403-Bu1hm1tf.js +0 -65
- package/dist/404-BB-df9AI.js +0 -65
- package/dist/500-_ivjNAjo.js +0 -67
- package/dist/AuthorityInfo-DTeV-2ob.js +0 -4
- package/dist/AuthorityInfo.vue_vue_type_style_index_0_lang-BlaR0Onc.js +0 -100
- package/dist/AuthorityPanel-CRlAwbaI.js +0 -4
- package/dist/AuthorityPanel.vue_vue_type_style_index_0_lang-DxhZjp1S.js +0 -114
- package/dist/Company-B-kqHIz7.js +0 -25
- package/dist/CompanyPanel-DyKh7m0Z.js +0 -206
- package/dist/DataSet-DT-rGICv.js +0 -147
- package/dist/Department-CKsiqoIY.js +0 -25
- package/dist/DepartmentPanel-kCSiG2Hv.js +0 -254
- package/dist/DesignPanel-dpjAWAxC.js +0 -4
- package/dist/DesignPanel.vue_vue_type_style_index_0_lang-e3mxfUBR.js +0 -1013
- package/dist/DictView-a_uYPbX5.js +0 -111
- package/dist/InvOrganization-DRhir-02.js +0 -74
- package/dist/Org-CqmyMUy_.js +0 -39
- package/dist/Preview-CXK4KxQN.js +0 -48
- package/dist/ReportDefine-BPBpVUdl.js +0 -10
- package/dist/ReportDesign-D_Cqvh_m.js +0 -165
- package/dist/ReportQuery-CPCKroWq.js +0 -75
- package/dist/ReportQueryFrom-DtVN20Ou.js +0 -4
- package/dist/ReportQueryFrom.vue_vue_type_style_index_0_lang-ByBocawe.js +0 -178
- package/dist/ReportTemplate-B3ubCMWK.js +0 -161
- package/dist/Role-Bq2GjT1k.js +0 -25
- package/dist/RoleAssign-CZGTP6M1.js +0 -26
- package/dist/RolePanel-B_2W2wLA.js +0 -4
- package/dist/RolePanel-DeHHsXTQ.js +0 -4
- package/dist/RolePanel.vue_vue_type_script_setup_true_lang-D165_X8i.js +0 -132
- package/dist/RolePanel.vue_vue_type_script_setup_true_lang-F40M5JeR.js +0 -154
- package/dist/ScrollPanel.vue_vue_type_style_index_0_lang-CjBEiasb.js +0 -101
- package/dist/Staff-e7v32WE7.js +0 -26
- package/dist/StaffInfo-CO0VfxT1.js +0 -4
- package/dist/StaffInfo.vue_vue_type_script_setup_true_lang-DerORcB0.js +0 -108
- package/dist/StaffPanel-ZslIuuEe.js +0 -4
- package/dist/StaffPanel.vue_vue_type_script_setup_true_lang-ONDmYqiK.js +0 -154
- package/dist/SysUser-1LJIDkLs.js +0 -15
- package/dist/SysUserPanel-DGz0upa2.js +0 -4
- package/dist/SysUserPanel.vue_vue_type_script_setup_true_lang-BxDkwKk4.js +0 -356
- package/dist/SystemMenu-BJFA-7na.js +0 -156
- package/dist/UserInfo-DgEgNcI1.js +0 -4
- package/dist/UserInfo.vue_vue_type_style_index_0_lang-0LeXBHJO.js +0 -160
- package/dist/await-to-js.es5-Bv3Eu4mi.js +0 -10
- package/dist/childView-n3PQsXw_.js +0 -4
- package/dist/childView-sWkqPxWe.js +0 -4
- package/dist/childView.vue_vue_type_style_index_0_lang-DlACXm6-.js +0 -183
- package/dist/childView.vue_vue_type_style_index_0_lang-XGM6istV.js +0 -143
- package/dist/code-rule-B5swnIDE.js +0 -148
- package/dist/cron-task-BgeQLdRW.js +0 -135
- package/dist/flow-task-B07st2aD.js +0 -10
- package/dist/frameView-B37Oqu4T.js +0 -44
- package/dist/index-BLLwR2mu.js +0 -7944
- package/dist/layout-home-mag8cpgN.js +0 -232
- package/dist/layoutView-D4YY2av1.js +0 -3239
- package/dist/log-in-BPUMwivh.js +0 -117
- package/dist/log-out-py6304lk.js +0 -130
- package/dist/login-BITK6XJ-.js +0 -235
- package/dist/login-log-BEHYT0v0.js +0 -70
- package/dist/lov-view-Cv-0Ii-W.js +0 -99
- package/dist/menuInfo-DqQdEkla.js +0 -4
- package/dist/menuInfo.vue_vue_type_style_index_0_lang-CObiQiIC.js +0 -363
- package/dist/pda-app-PLxdqt6q.js +0 -710
- package/dist/redirect-BqegffKC.js +0 -15
- package/dist/resource-Dz8NFuxi.js +0 -97
- package/dist/su-welcome-CSWrN5Dc.js +0 -42225
- package/dist/sys-config-BJY2IkSZ.js +0 -385
- package/dist/useNav-BT7Od00q.js +0 -92
- package/dist/utogether-MlnyYtNS.js +0 -4
- package/dist/wecom-push-DR7NsNro.js +0 -70
|
@@ -0,0 +1,1196 @@
|
|
|
1
|
+
import { I as e, y as t } from "./router-CeluSGiD.js";
|
|
2
|
+
import { r as n } from "./api-BFNxcxSN.js";
|
|
3
|
+
import { t as r } from "./await-to-js.es5-DkWYmPXW.js";
|
|
4
|
+
import { t as i } from "./Preview-CVZdnHB1.js";
|
|
5
|
+
import { Fragment as a, createBlock as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, createTextVNode as u, createVNode as d, defineComponent as f, nextTick as p, onBeforeUnmount as m, onMounted as h, openBlock as g, reactive as _, ref as v, renderList as y, resolveComponent as b, resolveDirective as x, toDisplayString as S, unref as C, withCtx as w, withDirectives as T, withModifiers as E } from "vue";
|
|
6
|
+
import { useGlobal as D } from "@utogether/utils";
|
|
7
|
+
import { clone as O } from "xe-utils";
|
|
8
|
+
import { VxeUI as k } from "vxe-pc-ui";
|
|
9
|
+
//#region src/views/urpt/design/panel.ts
|
|
10
|
+
var A = { panels: [{
|
|
11
|
+
index: 0,
|
|
12
|
+
height: 148,
|
|
13
|
+
width: 210,
|
|
14
|
+
paperHeader: -1.5,
|
|
15
|
+
paperFooter: 380,
|
|
16
|
+
printElements: [
|
|
17
|
+
{
|
|
18
|
+
options: {
|
|
19
|
+
left: 540,
|
|
20
|
+
top: 10.5,
|
|
21
|
+
height: 35,
|
|
22
|
+
width: 33,
|
|
23
|
+
borderColor: "#f20000",
|
|
24
|
+
coordinateSync: !0,
|
|
25
|
+
widthHeightSync: !0
|
|
26
|
+
},
|
|
27
|
+
printElementType: {
|
|
28
|
+
title: "椭圆",
|
|
29
|
+
type: "oval"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
options: {
|
|
34
|
+
left: 454.5,
|
|
35
|
+
top: 15,
|
|
36
|
+
height: 18,
|
|
37
|
+
width: 74,
|
|
38
|
+
title: "8888888",
|
|
39
|
+
fontSize: 18,
|
|
40
|
+
fontWeight: "600",
|
|
41
|
+
color: "#2935e3",
|
|
42
|
+
textAlign: "center",
|
|
43
|
+
lineHeight: 16
|
|
44
|
+
},
|
|
45
|
+
printElementType: {
|
|
46
|
+
title: "文本",
|
|
47
|
+
type: "text"
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
options: {
|
|
52
|
+
left: 424.5,
|
|
53
|
+
top: 15,
|
|
54
|
+
height: 19,
|
|
55
|
+
width: 24,
|
|
56
|
+
title: "NO",
|
|
57
|
+
fontSize: 18,
|
|
58
|
+
color: "#2935e3",
|
|
59
|
+
textAlign: "center",
|
|
60
|
+
lineHeight: 15
|
|
61
|
+
},
|
|
62
|
+
printElementType: {
|
|
63
|
+
title: "文本",
|
|
64
|
+
type: "text"
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
options: {
|
|
69
|
+
left: 190.5,
|
|
70
|
+
top: 15,
|
|
71
|
+
height: 21,
|
|
72
|
+
width: 226,
|
|
73
|
+
title: "上海增值税普通发票",
|
|
74
|
+
fontSize: 18,
|
|
75
|
+
fontWeight: "600",
|
|
76
|
+
letterSpacing: 2.5,
|
|
77
|
+
color: "#cc5a5a",
|
|
78
|
+
textAlign: "center",
|
|
79
|
+
lineHeight: 18
|
|
80
|
+
},
|
|
81
|
+
printElementType: {
|
|
82
|
+
title: "文本",
|
|
83
|
+
type: "text"
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
options: {
|
|
88
|
+
left: 244.5,
|
|
89
|
+
top: 19.5,
|
|
90
|
+
height: 51,
|
|
91
|
+
width: 112,
|
|
92
|
+
borderColor: "#eb1111",
|
|
93
|
+
borderWidth: "2"
|
|
94
|
+
},
|
|
95
|
+
printElementType: {
|
|
96
|
+
title: "椭圆",
|
|
97
|
+
type: "oval"
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
options: {
|
|
102
|
+
left: 90,
|
|
103
|
+
top: 19.5,
|
|
104
|
+
height: 21,
|
|
105
|
+
width: 96,
|
|
106
|
+
title: "8888888",
|
|
107
|
+
fontSize: 19,
|
|
108
|
+
letterSpacing: 1,
|
|
109
|
+
color: "#2935e3",
|
|
110
|
+
textAlign: "center",
|
|
111
|
+
lineHeight: 18
|
|
112
|
+
},
|
|
113
|
+
printElementType: {
|
|
114
|
+
title: "文本",
|
|
115
|
+
type: "text"
|
|
116
|
+
}
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
options: {
|
|
120
|
+
left: 19.5,
|
|
121
|
+
top: 19.5,
|
|
122
|
+
height: 61,
|
|
123
|
+
width: 65,
|
|
124
|
+
title: "031001800204",
|
|
125
|
+
textType: "qrcode"
|
|
126
|
+
},
|
|
127
|
+
printElementType: {
|
|
128
|
+
title: "文本",
|
|
129
|
+
type: "text"
|
|
130
|
+
}
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
options: {
|
|
134
|
+
left: 250.5,
|
|
135
|
+
top: 25.5,
|
|
136
|
+
height: 42,
|
|
137
|
+
width: 104,
|
|
138
|
+
borderColor: "#f00505"
|
|
139
|
+
},
|
|
140
|
+
printElementType: {
|
|
141
|
+
title: "椭圆",
|
|
142
|
+
type: "oval"
|
|
143
|
+
}
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
options: {
|
|
147
|
+
left: 190.5,
|
|
148
|
+
top: 45,
|
|
149
|
+
height: 10,
|
|
150
|
+
width: 228,
|
|
151
|
+
borderColor: "#b5a8a8"
|
|
152
|
+
},
|
|
153
|
+
printElementType: {
|
|
154
|
+
title: "横线",
|
|
155
|
+
type: "hline"
|
|
156
|
+
}
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
options: {
|
|
160
|
+
left: 190.5,
|
|
161
|
+
top: 49.5,
|
|
162
|
+
height: 10,
|
|
163
|
+
width: 228,
|
|
164
|
+
borderColor: "#baafaf"
|
|
165
|
+
},
|
|
166
|
+
printElementType: {
|
|
167
|
+
title: "横线",
|
|
168
|
+
type: "hline"
|
|
169
|
+
}
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
options: {
|
|
173
|
+
left: 244.5,
|
|
174
|
+
top: 55.5,
|
|
175
|
+
height: 22,
|
|
176
|
+
width: 120,
|
|
177
|
+
title: "发票联",
|
|
178
|
+
fontSize: 18,
|
|
179
|
+
fontWeight: "600",
|
|
180
|
+
letterSpacing: 8,
|
|
181
|
+
color: "#cc5a5a",
|
|
182
|
+
textAlign: "center",
|
|
183
|
+
lineHeight: 18
|
|
184
|
+
},
|
|
185
|
+
printElementType: {
|
|
186
|
+
title: "文本",
|
|
187
|
+
type: "text"
|
|
188
|
+
}
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
options: {
|
|
192
|
+
left: 510,
|
|
193
|
+
top: 55.5,
|
|
194
|
+
height: 13,
|
|
195
|
+
width: 69,
|
|
196
|
+
title: "2019年05月09日",
|
|
197
|
+
color: "#2935e3"
|
|
198
|
+
},
|
|
199
|
+
printElementType: {
|
|
200
|
+
title: "文本",
|
|
201
|
+
type: "text"
|
|
202
|
+
}
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
options: {
|
|
206
|
+
left: 445.5,
|
|
207
|
+
top: 55.5,
|
|
208
|
+
height: 15,
|
|
209
|
+
width: 57,
|
|
210
|
+
title: "开票日期:",
|
|
211
|
+
color: "#cc5a5a",
|
|
212
|
+
lineHeight: 13
|
|
213
|
+
},
|
|
214
|
+
printElementType: {
|
|
215
|
+
title: "文本",
|
|
216
|
+
type: "text"
|
|
217
|
+
}
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
options: {
|
|
221
|
+
left: 90,
|
|
222
|
+
top: 64.5,
|
|
223
|
+
height: 15,
|
|
224
|
+
width: 141,
|
|
225
|
+
title: "校验码:123456 788942 52344",
|
|
226
|
+
color: "#2935e3",
|
|
227
|
+
textAlign: "center",
|
|
228
|
+
lineHeight: 13
|
|
229
|
+
},
|
|
230
|
+
printElementType: {
|
|
231
|
+
title: "文本",
|
|
232
|
+
type: "text"
|
|
233
|
+
}
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
options: {
|
|
237
|
+
left: 400,
|
|
238
|
+
top: 90,
|
|
239
|
+
height: 60,
|
|
240
|
+
width: 10,
|
|
241
|
+
borderColor: "#cc5a5a"
|
|
242
|
+
},
|
|
243
|
+
printElementType: {
|
|
244
|
+
title: "竖线",
|
|
245
|
+
type: "vline"
|
|
246
|
+
}
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
options: {
|
|
250
|
+
left: 35,
|
|
251
|
+
top: 90,
|
|
252
|
+
height: 60,
|
|
253
|
+
width: 10,
|
|
254
|
+
borderColor: "#cc5a5a"
|
|
255
|
+
},
|
|
256
|
+
printElementType: {
|
|
257
|
+
title: "竖线",
|
|
258
|
+
type: "vline"
|
|
259
|
+
}
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
options: {
|
|
263
|
+
left: 420,
|
|
264
|
+
top: 90,
|
|
265
|
+
height: 61,
|
|
266
|
+
width: 10,
|
|
267
|
+
borderColor: "#cc5a5a"
|
|
268
|
+
},
|
|
269
|
+
printElementType: {
|
|
270
|
+
title: "竖线",
|
|
271
|
+
type: "vline"
|
|
272
|
+
}
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
options: {
|
|
276
|
+
left: 10.5,
|
|
277
|
+
top: 90,
|
|
278
|
+
height: 282,
|
|
279
|
+
width: 572,
|
|
280
|
+
borderColor: "#cc5a5a"
|
|
281
|
+
},
|
|
282
|
+
printElementType: {
|
|
283
|
+
title: "矩形",
|
|
284
|
+
type: "rect"
|
|
285
|
+
}
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
options: {
|
|
289
|
+
left: 405,
|
|
290
|
+
top: 94.5,
|
|
291
|
+
height: 55,
|
|
292
|
+
width: 13,
|
|
293
|
+
title: "密码区",
|
|
294
|
+
fontSize: 13,
|
|
295
|
+
color: "#cc5a5a",
|
|
296
|
+
lineHeight: 18
|
|
297
|
+
},
|
|
298
|
+
printElementType: {
|
|
299
|
+
title: "文本",
|
|
300
|
+
type: "text"
|
|
301
|
+
}
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
options: {
|
|
305
|
+
left: 424.5,
|
|
306
|
+
top: 94.5,
|
|
307
|
+
height: 50,
|
|
308
|
+
width: 152,
|
|
309
|
+
title: "",
|
|
310
|
+
color: "#2935e3"
|
|
311
|
+
},
|
|
312
|
+
printElementType: {
|
|
313
|
+
title: "文本",
|
|
314
|
+
type: "text"
|
|
315
|
+
}
|
|
316
|
+
},
|
|
317
|
+
{
|
|
318
|
+
options: {
|
|
319
|
+
left: 15,
|
|
320
|
+
top: 94.5,
|
|
321
|
+
height: 53,
|
|
322
|
+
width: 15,
|
|
323
|
+
title: "购买方",
|
|
324
|
+
fontSize: 13,
|
|
325
|
+
color: "#cc5a5a",
|
|
326
|
+
lineHeight: 18
|
|
327
|
+
},
|
|
328
|
+
printElementType: {
|
|
329
|
+
title: "文本",
|
|
330
|
+
type: "text"
|
|
331
|
+
}
|
|
332
|
+
},
|
|
333
|
+
{
|
|
334
|
+
options: {
|
|
335
|
+
left: 45,
|
|
336
|
+
top: 100.5,
|
|
337
|
+
height: 10,
|
|
338
|
+
width: 348,
|
|
339
|
+
title: "名称:北京地铁税务局有限公司",
|
|
340
|
+
color: "#2935e3"
|
|
341
|
+
},
|
|
342
|
+
printElementType: {
|
|
343
|
+
title: "文本",
|
|
344
|
+
type: "text"
|
|
345
|
+
}
|
|
346
|
+
},
|
|
347
|
+
{
|
|
348
|
+
options: {
|
|
349
|
+
left: 45,
|
|
350
|
+
top: 115.5,
|
|
351
|
+
height: 10,
|
|
352
|
+
width: 347,
|
|
353
|
+
title: "纳税人识别号:999999999999999999",
|
|
354
|
+
color: "#2935e3"
|
|
355
|
+
},
|
|
356
|
+
printElementType: {
|
|
357
|
+
title: "文本",
|
|
358
|
+
type: "text"
|
|
359
|
+
}
|
|
360
|
+
},
|
|
361
|
+
{
|
|
362
|
+
options: {
|
|
363
|
+
left: 45,
|
|
364
|
+
top: 130.5,
|
|
365
|
+
height: 10,
|
|
366
|
+
width: 347,
|
|
367
|
+
title: "地址、电话:18888888888",
|
|
368
|
+
color: "#2935e3"
|
|
369
|
+
},
|
|
370
|
+
printElementType: {
|
|
371
|
+
title: "文本",
|
|
372
|
+
type: "text"
|
|
373
|
+
}
|
|
374
|
+
},
|
|
375
|
+
{
|
|
376
|
+
options: {
|
|
377
|
+
left: 345,
|
|
378
|
+
top: 150,
|
|
379
|
+
height: 190,
|
|
380
|
+
width: 10,
|
|
381
|
+
borderColor: "#cc5a5a"
|
|
382
|
+
},
|
|
383
|
+
printElementType: {
|
|
384
|
+
title: "竖线",
|
|
385
|
+
type: "vline"
|
|
386
|
+
}
|
|
387
|
+
},
|
|
388
|
+
{
|
|
389
|
+
options: {
|
|
390
|
+
left: 409.5,
|
|
391
|
+
top: 150,
|
|
392
|
+
height: 190,
|
|
393
|
+
width: 10,
|
|
394
|
+
borderColor: "#cc5a5a"
|
|
395
|
+
},
|
|
396
|
+
printElementType: {
|
|
397
|
+
title: "竖线",
|
|
398
|
+
type: "vline"
|
|
399
|
+
}
|
|
400
|
+
},
|
|
401
|
+
{
|
|
402
|
+
options: {
|
|
403
|
+
left: 295.5,
|
|
404
|
+
top: 150,
|
|
405
|
+
height: 190,
|
|
406
|
+
width: 10,
|
|
407
|
+
borderColor: "#cc5a5a"
|
|
408
|
+
},
|
|
409
|
+
printElementType: {
|
|
410
|
+
title: "竖线",
|
|
411
|
+
type: "vline"
|
|
412
|
+
}
|
|
413
|
+
},
|
|
414
|
+
{
|
|
415
|
+
options: {
|
|
416
|
+
left: 480,
|
|
417
|
+
top: 150,
|
|
418
|
+
height: 190,
|
|
419
|
+
width: 10,
|
|
420
|
+
borderColor: "#cc5a5a"
|
|
421
|
+
},
|
|
422
|
+
printElementType: {
|
|
423
|
+
title: "竖线",
|
|
424
|
+
type: "vline"
|
|
425
|
+
}
|
|
426
|
+
},
|
|
427
|
+
{
|
|
428
|
+
options: {
|
|
429
|
+
left: 215,
|
|
430
|
+
top: 150,
|
|
431
|
+
height: 224,
|
|
432
|
+
width: 10,
|
|
433
|
+
borderColor: "#cc5a5a"
|
|
434
|
+
},
|
|
435
|
+
printElementType: {
|
|
436
|
+
title: "竖线",
|
|
437
|
+
type: "vline"
|
|
438
|
+
}
|
|
439
|
+
},
|
|
440
|
+
{
|
|
441
|
+
options: {
|
|
442
|
+
left: 520.5,
|
|
443
|
+
top: 150,
|
|
444
|
+
height: 190,
|
|
445
|
+
width: 10,
|
|
446
|
+
borderColor: "#cc5a5a"
|
|
447
|
+
},
|
|
448
|
+
printElementType: {
|
|
449
|
+
title: "竖线",
|
|
450
|
+
type: "vline"
|
|
451
|
+
}
|
|
452
|
+
},
|
|
453
|
+
{
|
|
454
|
+
options: {
|
|
455
|
+
left: 10,
|
|
456
|
+
top: 150,
|
|
457
|
+
height: 10,
|
|
458
|
+
width: 574,
|
|
459
|
+
borderColor: "#cc5a5a"
|
|
460
|
+
},
|
|
461
|
+
printElementType: {
|
|
462
|
+
title: "横线",
|
|
463
|
+
type: "hline"
|
|
464
|
+
}
|
|
465
|
+
},
|
|
466
|
+
{
|
|
467
|
+
options: {
|
|
468
|
+
left: 300,
|
|
469
|
+
top: 160.5,
|
|
470
|
+
height: 10,
|
|
471
|
+
width: 36,
|
|
472
|
+
title: "单位",
|
|
473
|
+
fontSize: 13,
|
|
474
|
+
color: "#cc5a5a",
|
|
475
|
+
textAlign: "center"
|
|
476
|
+
},
|
|
477
|
+
printElementType: {
|
|
478
|
+
title: "文本",
|
|
479
|
+
type: "text"
|
|
480
|
+
}
|
|
481
|
+
},
|
|
482
|
+
{
|
|
483
|
+
options: {
|
|
484
|
+
left: 349.5,
|
|
485
|
+
top: 160.5,
|
|
486
|
+
height: 11,
|
|
487
|
+
width: 51,
|
|
488
|
+
title: "数量",
|
|
489
|
+
fontSize: 13,
|
|
490
|
+
color: "#cc5a5a",
|
|
491
|
+
textAlign: "center"
|
|
492
|
+
},
|
|
493
|
+
printElementType: {
|
|
494
|
+
title: "文本",
|
|
495
|
+
type: "text"
|
|
496
|
+
}
|
|
497
|
+
},
|
|
498
|
+
{
|
|
499
|
+
options: {
|
|
500
|
+
left: 225,
|
|
501
|
+
top: 160.5,
|
|
502
|
+
height: 10,
|
|
503
|
+
width: 62,
|
|
504
|
+
title: "规格名称",
|
|
505
|
+
fontSize: 13,
|
|
506
|
+
color: "#cc5a5a",
|
|
507
|
+
textAlign: "center"
|
|
508
|
+
},
|
|
509
|
+
printElementType: {
|
|
510
|
+
title: "文本",
|
|
511
|
+
type: "text"
|
|
512
|
+
}
|
|
513
|
+
},
|
|
514
|
+
{
|
|
515
|
+
options: {
|
|
516
|
+
left: 420,
|
|
517
|
+
top: 160.5,
|
|
518
|
+
height: 10,
|
|
519
|
+
width: 53,
|
|
520
|
+
title: "单价",
|
|
521
|
+
fontSize: 13,
|
|
522
|
+
color: "#cc5a5a",
|
|
523
|
+
textAlign: "center"
|
|
524
|
+
},
|
|
525
|
+
printElementType: {
|
|
526
|
+
title: "文本",
|
|
527
|
+
type: "text"
|
|
528
|
+
}
|
|
529
|
+
},
|
|
530
|
+
{
|
|
531
|
+
options: {
|
|
532
|
+
left: 484.5,
|
|
533
|
+
top: 160.5,
|
|
534
|
+
height: 10,
|
|
535
|
+
width: 32,
|
|
536
|
+
title: "税率",
|
|
537
|
+
fontSize: 13,
|
|
538
|
+
color: "#cc5a5a",
|
|
539
|
+
textAlign: "center"
|
|
540
|
+
},
|
|
541
|
+
printElementType: {
|
|
542
|
+
title: "文本",
|
|
543
|
+
type: "text"
|
|
544
|
+
}
|
|
545
|
+
},
|
|
546
|
+
{
|
|
547
|
+
options: {
|
|
548
|
+
left: 525,
|
|
549
|
+
top: 160.5,
|
|
550
|
+
height: 10,
|
|
551
|
+
width: 52,
|
|
552
|
+
title: "税额",
|
|
553
|
+
fontSize: 13,
|
|
554
|
+
color: "#cc5a5a",
|
|
555
|
+
textAlign: "center"
|
|
556
|
+
},
|
|
557
|
+
printElementType: {
|
|
558
|
+
title: "文本",
|
|
559
|
+
type: "text"
|
|
560
|
+
}
|
|
561
|
+
},
|
|
562
|
+
{
|
|
563
|
+
options: {
|
|
564
|
+
left: 19.5,
|
|
565
|
+
top: 160.5,
|
|
566
|
+
height: 10,
|
|
567
|
+
width: 184,
|
|
568
|
+
title: "货物或应税劳务、服务名称",
|
|
569
|
+
fontSize: 13,
|
|
570
|
+
color: "#cc5a5a",
|
|
571
|
+
textAlign: "center"
|
|
572
|
+
},
|
|
573
|
+
printElementType: {
|
|
574
|
+
title: "文本",
|
|
575
|
+
type: "text"
|
|
576
|
+
}
|
|
577
|
+
},
|
|
578
|
+
{
|
|
579
|
+
options: {
|
|
580
|
+
left: 40.5,
|
|
581
|
+
top: 175.5,
|
|
582
|
+
height: 12,
|
|
583
|
+
width: 120,
|
|
584
|
+
title: "*餐饮服务*餐费",
|
|
585
|
+
color: "#2935e3"
|
|
586
|
+
},
|
|
587
|
+
printElementType: {
|
|
588
|
+
title: "文本",
|
|
589
|
+
type: "text"
|
|
590
|
+
}
|
|
591
|
+
},
|
|
592
|
+
{
|
|
593
|
+
options: {
|
|
594
|
+
left: 10.5,
|
|
595
|
+
top: 340.5,
|
|
596
|
+
height: 10,
|
|
597
|
+
width: 574,
|
|
598
|
+
borderColor: "#cc5a5a"
|
|
599
|
+
},
|
|
600
|
+
printElementType: {
|
|
601
|
+
title: "横线",
|
|
602
|
+
type: "hline"
|
|
603
|
+
}
|
|
604
|
+
},
|
|
605
|
+
{
|
|
606
|
+
options: {
|
|
607
|
+
left: 225,
|
|
608
|
+
top: 349.5,
|
|
609
|
+
height: 14,
|
|
610
|
+
width: 229,
|
|
611
|
+
title: "壹佰贰拾元整",
|
|
612
|
+
color: "#2935e3"
|
|
613
|
+
},
|
|
614
|
+
printElementType: {
|
|
615
|
+
title: "文本",
|
|
616
|
+
type: "text"
|
|
617
|
+
}
|
|
618
|
+
},
|
|
619
|
+
{
|
|
620
|
+
options: {
|
|
621
|
+
left: 460.5,
|
|
622
|
+
top: 349.5,
|
|
623
|
+
height: 13,
|
|
624
|
+
width: 58,
|
|
625
|
+
title: "(小写)",
|
|
626
|
+
fontSize: 13,
|
|
627
|
+
color: "#cc5a5a"
|
|
628
|
+
},
|
|
629
|
+
printElementType: {
|
|
630
|
+
title: "文本",
|
|
631
|
+
type: "text"
|
|
632
|
+
}
|
|
633
|
+
},
|
|
634
|
+
{
|
|
635
|
+
options: {
|
|
636
|
+
left: 520.5,
|
|
637
|
+
top: 349.5,
|
|
638
|
+
height: 13,
|
|
639
|
+
width: 48,
|
|
640
|
+
title: "¥100.00",
|
|
641
|
+
color: "#2935e3"
|
|
642
|
+
},
|
|
643
|
+
printElementType: {
|
|
644
|
+
title: "文本",
|
|
645
|
+
type: "text"
|
|
646
|
+
}
|
|
647
|
+
},
|
|
648
|
+
{
|
|
649
|
+
options: {
|
|
650
|
+
left: 15,
|
|
651
|
+
top: 349.5,
|
|
652
|
+
height: 14,
|
|
653
|
+
width: 193,
|
|
654
|
+
title: "价税合计(大写)",
|
|
655
|
+
fontSize: 13,
|
|
656
|
+
color: "#cc5a5a",
|
|
657
|
+
textAlign: "center"
|
|
658
|
+
},
|
|
659
|
+
printElementType: {
|
|
660
|
+
title: "文本",
|
|
661
|
+
type: "text"
|
|
662
|
+
}
|
|
663
|
+
},
|
|
664
|
+
{
|
|
665
|
+
options: {
|
|
666
|
+
left: 300,
|
|
667
|
+
top: 385.5,
|
|
668
|
+
height: 10,
|
|
669
|
+
width: 39,
|
|
670
|
+
title: "开票人:",
|
|
671
|
+
color: "#cc5a5a"
|
|
672
|
+
},
|
|
673
|
+
printElementType: {
|
|
674
|
+
title: "文本",
|
|
675
|
+
type: "text"
|
|
676
|
+
}
|
|
677
|
+
},
|
|
678
|
+
{
|
|
679
|
+
options: {
|
|
680
|
+
left: 190.5,
|
|
681
|
+
top: 385.5,
|
|
682
|
+
height: 10,
|
|
683
|
+
width: 103,
|
|
684
|
+
title: "轩大可",
|
|
685
|
+
color: "#2935e3"
|
|
686
|
+
},
|
|
687
|
+
printElementType: {
|
|
688
|
+
title: "文本",
|
|
689
|
+
type: "text"
|
|
690
|
+
}
|
|
691
|
+
},
|
|
692
|
+
{
|
|
693
|
+
options: {
|
|
694
|
+
left: 150,
|
|
695
|
+
top: 385.5,
|
|
696
|
+
height: 10,
|
|
697
|
+
width: 33,
|
|
698
|
+
title: "复核:",
|
|
699
|
+
color: "#cc5a5a"
|
|
700
|
+
},
|
|
701
|
+
printElementType: {
|
|
702
|
+
title: "文本",
|
|
703
|
+
type: "text"
|
|
704
|
+
}
|
|
705
|
+
},
|
|
706
|
+
{
|
|
707
|
+
options: {
|
|
708
|
+
left: 345,
|
|
709
|
+
top: 385.5,
|
|
710
|
+
height: 10,
|
|
711
|
+
width: 86,
|
|
712
|
+
title: "张天天",
|
|
713
|
+
color: "#2935e3"
|
|
714
|
+
},
|
|
715
|
+
printElementType: {
|
|
716
|
+
title: "文本",
|
|
717
|
+
type: "text"
|
|
718
|
+
}
|
|
719
|
+
},
|
|
720
|
+
{
|
|
721
|
+
options: {
|
|
722
|
+
left: 64.5,
|
|
723
|
+
top: 385.5,
|
|
724
|
+
height: 10,
|
|
725
|
+
width: 78,
|
|
726
|
+
title: "轩天天",
|
|
727
|
+
color: "#2935e3"
|
|
728
|
+
},
|
|
729
|
+
printElementType: {
|
|
730
|
+
title: "文本",
|
|
731
|
+
type: "text"
|
|
732
|
+
}
|
|
733
|
+
},
|
|
734
|
+
{
|
|
735
|
+
options: {
|
|
736
|
+
left: 439.5,
|
|
737
|
+
top: 385.5,
|
|
738
|
+
height: 10,
|
|
739
|
+
width: 40,
|
|
740
|
+
title: "销售方:",
|
|
741
|
+
color: "#cc5a5a"
|
|
742
|
+
},
|
|
743
|
+
printElementType: {
|
|
744
|
+
title: "文本",
|
|
745
|
+
type: "text"
|
|
746
|
+
}
|
|
747
|
+
},
|
|
748
|
+
{
|
|
749
|
+
options: {
|
|
750
|
+
left: 15,
|
|
751
|
+
top: 385.5,
|
|
752
|
+
height: 10,
|
|
753
|
+
width: 44,
|
|
754
|
+
title: "收款人:",
|
|
755
|
+
color: "#cc5a5a"
|
|
756
|
+
},
|
|
757
|
+
printElementType: {
|
|
758
|
+
title: "文本",
|
|
759
|
+
type: "text"
|
|
760
|
+
}
|
|
761
|
+
}
|
|
762
|
+
],
|
|
763
|
+
paperNumberLeft: 565.5,
|
|
764
|
+
paperNumberTop: 394.5,
|
|
765
|
+
paperNumberDisabled: !0
|
|
766
|
+
}] }, j = { class: "ut-design-panel" }, M = { class: "flex justify-between" }, N = { style: { float: "left" } }, P = { style: {
|
|
767
|
+
float: "right",
|
|
768
|
+
"font-size": "13px",
|
|
769
|
+
color: "var(--el-text-color-secondary)"
|
|
770
|
+
} }, F = {
|
|
771
|
+
class: "flex justify-center mb-1",
|
|
772
|
+
style: { width: "100%" }
|
|
773
|
+
}, I = /* @__PURE__ */ f({
|
|
774
|
+
__name: "DesignPanel",
|
|
775
|
+
props: { record: { default: () => ({}) } },
|
|
776
|
+
emits: ["onClose"],
|
|
777
|
+
setup(e, { emit: f }) {
|
|
778
|
+
let I = e, { $printPlugin: L } = D(), R = t().getDataDict, z = n(), B = null, V = v(!1), H = v(!1), U = v(!1), W = v(!1), G = v(null), K = v(""), q = v({}), J = _({}), Y = _({
|
|
779
|
+
max: 5,
|
|
780
|
+
min: .5,
|
|
781
|
+
value: 1,
|
|
782
|
+
ration: "100%"
|
|
783
|
+
}), ee = () => {
|
|
784
|
+
H.value = !1, B.setPaper(J.width || 210, J.height || 296.6);
|
|
785
|
+
}, X = async (e) => {
|
|
786
|
+
let t = q.value, n = K.value;
|
|
787
|
+
if (!n) {
|
|
788
|
+
let e = B.getJson();
|
|
789
|
+
n = JSON.stringify(e);
|
|
790
|
+
}
|
|
791
|
+
t.templateContent = n, W.value = !0;
|
|
792
|
+
let [i, a] = await r(z.put("/urpt/v1/printTemplate", [t]));
|
|
793
|
+
W.value = !1, i || (K.value = "", q.value = a[0]), e && e();
|
|
794
|
+
}, Z = () => {
|
|
795
|
+
te("onClose");
|
|
796
|
+
}, te = f, Q = (e) => {
|
|
797
|
+
let t = Y.value;
|
|
798
|
+
e === "Y" ? (t += .1, t > Y.max && (t = 5)) : (t -= .1, t < Y.min && (t = .5)), B && (B.zoom(t), Y.value = t, Y.ration = `${(t * 100).toFixed(0)}%`);
|
|
799
|
+
}, ne = async () => {
|
|
800
|
+
await k.modal.confirm("重绘操作不可逆,您确定继续吗?", "温馨提示") === "confirm" && B.clear();
|
|
801
|
+
}, re = async () => {
|
|
802
|
+
U.value = !0;
|
|
803
|
+
}, ie = async () => {
|
|
804
|
+
await k.modal.confirm("导入后将覆盖原有的模板,您确定继续吗?", "温馨提示") === "confirm" && (X(Z), U.value = !1);
|
|
805
|
+
}, ae = async () => {
|
|
806
|
+
V.value = !0;
|
|
807
|
+
let e = {};
|
|
808
|
+
p(() => {
|
|
809
|
+
G.value.show(B, e, J.width || 220);
|
|
810
|
+
});
|
|
811
|
+
}, oe = (e) => {
|
|
812
|
+
if (e !== "customize") {
|
|
813
|
+
let { width: t, height: n } = se(e);
|
|
814
|
+
J.width = t, J.height = n, B.setPaper(J.width, J.height);
|
|
815
|
+
} else H.value = !0;
|
|
816
|
+
}, se = (e) => ({
|
|
817
|
+
A3: {
|
|
818
|
+
width: 420,
|
|
819
|
+
height: 296.6
|
|
820
|
+
},
|
|
821
|
+
A4: {
|
|
822
|
+
width: 210,
|
|
823
|
+
height: 296.6
|
|
824
|
+
},
|
|
825
|
+
A5: {
|
|
826
|
+
width: 210,
|
|
827
|
+
height: 147.6
|
|
828
|
+
},
|
|
829
|
+
bisect: {
|
|
830
|
+
width: 241,
|
|
831
|
+
height: 140
|
|
832
|
+
},
|
|
833
|
+
trisection: {
|
|
834
|
+
width: 241,
|
|
835
|
+
height: 93
|
|
836
|
+
}
|
|
837
|
+
})[e];
|
|
838
|
+
return h(() => {
|
|
839
|
+
let { record: e } = I;
|
|
840
|
+
W.value = !0, q.value = O(e, !0);
|
|
841
|
+
let t = e.templateContent ? JSON.parse(e.templateContent) : A;
|
|
842
|
+
$("#hiprint-printTemplate").empty(), L.print.init({ providers: [new L.provider()] }), L.print.setConfig(), L.print.setConfig({
|
|
843
|
+
movingDistance: 2.5,
|
|
844
|
+
text: { supportOptions: [{
|
|
845
|
+
name: "styler",
|
|
846
|
+
hidden: !0
|
|
847
|
+
}, {
|
|
848
|
+
name: "formatter",
|
|
849
|
+
hidden: !0
|
|
850
|
+
}] }
|
|
851
|
+
}), L.print.PrintElementTypeManager.buildByHtml($(".ep-draggable-item")), B = new L.print.PrintTemplate({
|
|
852
|
+
template: t,
|
|
853
|
+
settingContainer: "#PrintElementOptionSetting",
|
|
854
|
+
paginationContainer: ".hiprint-printPagination",
|
|
855
|
+
history: !1
|
|
856
|
+
}), B.design("#hiprint-printTemplate", { grid: !0 }), Y.value = B.editingPanel.scale || 1, W.value = !1;
|
|
857
|
+
}), m(() => {
|
|
858
|
+
L = null, B = null;
|
|
859
|
+
}), (e, t) => {
|
|
860
|
+
let n = b("ut-button"), r = b("el-option"), f = b("el-select"), p = b("vxe-input"), m = b("el-popover"), h = b("vxe-button"), _ = b("el-space"), v = b("el-row"), D = b("el-col"), O = b("el-card"), k = b("vxe-textarea"), A = b("vxe-modal"), I = x("spinning");
|
|
861
|
+
return T((g(), c("div", j, [
|
|
862
|
+
d(O, { class: "design-panel-contain" }, {
|
|
863
|
+
default: w(() => [d(_, {
|
|
864
|
+
style: { "margin-bottom": "10px" },
|
|
865
|
+
fill: ""
|
|
866
|
+
}, {
|
|
867
|
+
default: w(() => [l("div", M, [l("div", null, [
|
|
868
|
+
d(n, {
|
|
869
|
+
icon: "ri-eye-line ri-1x",
|
|
870
|
+
content: "preview",
|
|
871
|
+
onTap: ae
|
|
872
|
+
}),
|
|
873
|
+
d(f, {
|
|
874
|
+
modelValue: q.value.paperType,
|
|
875
|
+
"onUpdate:modelValue": t[0] ||= (e) => q.value.paperType = e,
|
|
876
|
+
size: "small",
|
|
877
|
+
placeholder: "Select Paper",
|
|
878
|
+
class: "ml-1 mr-1",
|
|
879
|
+
style: { width: "100px !important" },
|
|
880
|
+
onChange: t[1] ||= (e) => oe(q.value.paperType)
|
|
881
|
+
}, {
|
|
882
|
+
default: w(() => [(g(!0), c(a, null, y(C(R)["SU.PRINT.PAPER"].children, (e) => (g(), o(r, {
|
|
883
|
+
key: e.dictCode,
|
|
884
|
+
label: e.dictName,
|
|
885
|
+
value: e.dictCode
|
|
886
|
+
}, {
|
|
887
|
+
default: w(() => [l("span", N, S(e.dictName), 1), l("span", P, S(e.dictDesc), 1)]),
|
|
888
|
+
_: 2
|
|
889
|
+
}, 1032, ["label", "value"]))), 128))]),
|
|
890
|
+
_: 1
|
|
891
|
+
}, 8, ["modelValue"]),
|
|
892
|
+
q.value.paperType === "customize" ? (g(), o(m, {
|
|
893
|
+
key: 0,
|
|
894
|
+
visible: H.value,
|
|
895
|
+
"onUpdate:visible": t[5] ||= (e) => H.value = e,
|
|
896
|
+
title: "设置纸张宽高(mm)",
|
|
897
|
+
width: "300",
|
|
898
|
+
size: "small",
|
|
899
|
+
effect: "light",
|
|
900
|
+
trigger: "click"
|
|
901
|
+
}, {
|
|
902
|
+
reference: w(() => [d(n, {
|
|
903
|
+
icon: "ri-font-size",
|
|
904
|
+
content: "customSize",
|
|
905
|
+
onTap: t[4] ||= E((e) => H.value = !0, ["stop"])
|
|
906
|
+
})]),
|
|
907
|
+
default: w(() => [l("div", null, [l("div", F, [
|
|
908
|
+
d(p, {
|
|
909
|
+
modelValue: J.width,
|
|
910
|
+
"onUpdate:modelValue": t[2] ||= (e) => J.width = e,
|
|
911
|
+
type: "number",
|
|
912
|
+
class: "w-40",
|
|
913
|
+
placeholder: "宽(mm)"
|
|
914
|
+
}, null, 8, ["modelValue"]),
|
|
915
|
+
t[15] ||= l("div", { class: "flex items-center justify-center w-8" }, "~", -1),
|
|
916
|
+
d(p, {
|
|
917
|
+
modelValue: J.height,
|
|
918
|
+
"onUpdate:modelValue": t[3] ||= (e) => J.height = e,
|
|
919
|
+
type: "number",
|
|
920
|
+
class: "w-40",
|
|
921
|
+
placeholder: "高(mm)"
|
|
922
|
+
}, null, 8, ["modelValue"])
|
|
923
|
+
]), d(n, {
|
|
924
|
+
style: { width: "100%" },
|
|
925
|
+
content: "confirm",
|
|
926
|
+
onTap: ee
|
|
927
|
+
})])]),
|
|
928
|
+
_: 1
|
|
929
|
+
}, 8, ["visible"])) : s("", !0),
|
|
930
|
+
d(n, {
|
|
931
|
+
status: "u-cyan",
|
|
932
|
+
icon: "ri-upload-2-line",
|
|
933
|
+
content: "importJSON",
|
|
934
|
+
auth: "import",
|
|
935
|
+
onTap: t[6] ||= (e) => re()
|
|
936
|
+
}),
|
|
937
|
+
d(h, {
|
|
938
|
+
icon: "ri-indeterminate-circle-line ",
|
|
939
|
+
class: "design-custom-button",
|
|
940
|
+
onClick: t[7] ||= (e) => Q("N")
|
|
941
|
+
}),
|
|
942
|
+
d(p, {
|
|
943
|
+
modelValue: Y.ration,
|
|
944
|
+
"onUpdate:modelValue": t[8] ||= (e) => Y.ration = e,
|
|
945
|
+
disabled: "",
|
|
946
|
+
align: "center",
|
|
947
|
+
style: {
|
|
948
|
+
width: "70px",
|
|
949
|
+
"margin-left": "10px"
|
|
950
|
+
}
|
|
951
|
+
}, null, 8, ["modelValue"]),
|
|
952
|
+
d(h, {
|
|
953
|
+
icon: "ri-add-circle-fill ",
|
|
954
|
+
class: "design-custom-button",
|
|
955
|
+
onClick: t[9] ||= (e) => Q("Y")
|
|
956
|
+
}),
|
|
957
|
+
d(n, {
|
|
958
|
+
status: "danger",
|
|
959
|
+
icon: "ri-delete-bin-5-fill",
|
|
960
|
+
content: "repaint",
|
|
961
|
+
auth: "repaint",
|
|
962
|
+
onTap: t[10] ||= (e) => ne()
|
|
963
|
+
})
|
|
964
|
+
]), l("div", null, [d(n, {
|
|
965
|
+
icon: "ri-save-3-fill",
|
|
966
|
+
content: "save",
|
|
967
|
+
onTap: t[11] ||= (e) => X()
|
|
968
|
+
}), d(n, {
|
|
969
|
+
status: "info",
|
|
970
|
+
icon: "ri-reply-fill",
|
|
971
|
+
content: "back",
|
|
972
|
+
onTap: Z
|
|
973
|
+
})])]), t[16] ||= l("div", { style: {
|
|
974
|
+
"font-size": "12px",
|
|
975
|
+
color: "red",
|
|
976
|
+
"text-align": "center"
|
|
977
|
+
} }, " 温馨提示: 蓝色线(页眉)以下,每张纸打印都会重复打印到页面底部;红色线(页尾)以下,每张纸打印都会重复打印到页面底部 ", -1)]),
|
|
978
|
+
_: 1
|
|
979
|
+
}), d(v, null, {
|
|
980
|
+
default: w(() => [
|
|
981
|
+
d(D, { span: 3 }, {
|
|
982
|
+
default: w(() => [d(O, { class: "ut-design-item" }, {
|
|
983
|
+
default: w(() => [d(v, null, {
|
|
984
|
+
default: w(() => [d(D, {
|
|
985
|
+
span: 24,
|
|
986
|
+
class: "rect-printElement-types hiprintEpContainer"
|
|
987
|
+
}, {
|
|
988
|
+
default: w(() => [
|
|
989
|
+
d(v, { class: "drag_item_title" }, {
|
|
990
|
+
default: w(() => [...t[17] ||= [u("拖拽组件列表", -1)]]),
|
|
991
|
+
_: 1
|
|
992
|
+
}),
|
|
993
|
+
d(v, { style: { height: "60px" } }, {
|
|
994
|
+
default: w(() => [d(D, {
|
|
995
|
+
span: 12,
|
|
996
|
+
class: "drag_item_box"
|
|
997
|
+
}, {
|
|
998
|
+
default: w(() => [...t[18] ||= [l("div", null, [l("a", {
|
|
999
|
+
class: "ep-draggable-item",
|
|
1000
|
+
tid: "defaultModule.text"
|
|
1001
|
+
}, [l("span", {
|
|
1002
|
+
class: "ri-text",
|
|
1003
|
+
"ariel-hidden": "true"
|
|
1004
|
+
}), l("p", { class: "glyphicon-class" }, "文本")])], -1)]]),
|
|
1005
|
+
_: 1
|
|
1006
|
+
}), d(D, {
|
|
1007
|
+
span: 12,
|
|
1008
|
+
class: "drag_item_box"
|
|
1009
|
+
}, {
|
|
1010
|
+
default: w(() => [...t[19] ||= [l("div", null, [l("a", {
|
|
1011
|
+
class: "ep-draggable-item",
|
|
1012
|
+
tid: "defaultModule.image"
|
|
1013
|
+
}, [l("span", {
|
|
1014
|
+
class: "ri-image-line",
|
|
1015
|
+
"ariel-hidden": "true"
|
|
1016
|
+
}), l("p", { class: "glyphicon-class" }, "图片")])], -1)]]),
|
|
1017
|
+
_: 1
|
|
1018
|
+
})]),
|
|
1019
|
+
_: 1
|
|
1020
|
+
}),
|
|
1021
|
+
d(v, { style: { height: "60px" } }, {
|
|
1022
|
+
default: w(() => [d(D, {
|
|
1023
|
+
span: 12,
|
|
1024
|
+
class: "drag_item_box",
|
|
1025
|
+
tid: "defaultModule.text"
|
|
1026
|
+
}, {
|
|
1027
|
+
default: w(() => [...t[20] ||= [l("div", null, [l("a", {
|
|
1028
|
+
class: "ep-draggable-item",
|
|
1029
|
+
tid: "defaultModule.longText"
|
|
1030
|
+
}, [l("span", {
|
|
1031
|
+
class: "ri-line-height",
|
|
1032
|
+
"ariel-hidden": "true"
|
|
1033
|
+
}), l("p", { class: "glyphicon-class" }, "长文")])], -1)]]),
|
|
1034
|
+
_: 1
|
|
1035
|
+
}), d(D, {
|
|
1036
|
+
span: 12,
|
|
1037
|
+
class: "drag_item_box"
|
|
1038
|
+
}, {
|
|
1039
|
+
default: w(() => [...t[21] ||= [l("div", null, [l("a", {
|
|
1040
|
+
class: "ep-draggable-item",
|
|
1041
|
+
tid: "defaultModule.table"
|
|
1042
|
+
}, [l("span", {
|
|
1043
|
+
class: "ri-table-line",
|
|
1044
|
+
"ariel-hidden": "true"
|
|
1045
|
+
}), l("p", { class: "glyphicon-class" }, "表格")])], -1)]]),
|
|
1046
|
+
_: 1
|
|
1047
|
+
})]),
|
|
1048
|
+
_: 1
|
|
1049
|
+
}),
|
|
1050
|
+
d(v, { class: "drag_item_title" }, {
|
|
1051
|
+
default: w(() => [...t[22] ||= [u("辅助", -1)]]),
|
|
1052
|
+
_: 1
|
|
1053
|
+
}),
|
|
1054
|
+
d(v, { style: { height: "60px" } }, {
|
|
1055
|
+
default: w(() => [d(D, {
|
|
1056
|
+
span: 12,
|
|
1057
|
+
class: "drag_item_box",
|
|
1058
|
+
tid: "defaultModule.text"
|
|
1059
|
+
}, {
|
|
1060
|
+
default: w(() => [...t[23] ||= [l("div", null, [l("a", {
|
|
1061
|
+
class: "ep-draggable-item",
|
|
1062
|
+
tid: "defaultModule.hline"
|
|
1063
|
+
}, [l("span", {
|
|
1064
|
+
class: "ri-expand-horizontal-s-fill",
|
|
1065
|
+
"ariel-hidden": "true"
|
|
1066
|
+
}), l("p", { class: "glyphicon-class" }, "横线")])], -1)]]),
|
|
1067
|
+
_: 1
|
|
1068
|
+
}), d(D, {
|
|
1069
|
+
span: 12,
|
|
1070
|
+
class: "drag_item_box",
|
|
1071
|
+
tid: "defaultModule.text"
|
|
1072
|
+
}, {
|
|
1073
|
+
default: w(() => [...t[24] ||= [l("div", null, [l("a", {
|
|
1074
|
+
class: "ep-draggable-item",
|
|
1075
|
+
tid: "defaultModule.vline"
|
|
1076
|
+
}, [l("span", {
|
|
1077
|
+
class: "ri-expand-vertical-s-fill",
|
|
1078
|
+
"ariel-hidden": "true"
|
|
1079
|
+
}), l("p", { class: "glyphicon-class" }, "竖线")])], -1)]]),
|
|
1080
|
+
_: 1
|
|
1081
|
+
})]),
|
|
1082
|
+
_: 1
|
|
1083
|
+
}),
|
|
1084
|
+
d(v, { style: { height: "60px" } }, {
|
|
1085
|
+
default: w(() => [d(D, {
|
|
1086
|
+
span: 12,
|
|
1087
|
+
class: "drag_item_box",
|
|
1088
|
+
tid: "defaultModule.text"
|
|
1089
|
+
}, {
|
|
1090
|
+
default: w(() => [...t[25] ||= [l("div", null, [l("a", {
|
|
1091
|
+
class: "ep-draggable-item",
|
|
1092
|
+
tid: "defaultModule.rect"
|
|
1093
|
+
}, [l("span", {
|
|
1094
|
+
class: "ri-square-line",
|
|
1095
|
+
"ariel-hidden": "true"
|
|
1096
|
+
}), l("p", { class: "glyphicon-class" }, "矩形")])], -1)]]),
|
|
1097
|
+
_: 1
|
|
1098
|
+
}), d(D, {
|
|
1099
|
+
span: 12,
|
|
1100
|
+
class: "drag_item_box",
|
|
1101
|
+
tid: "defaultModule.text"
|
|
1102
|
+
}, {
|
|
1103
|
+
default: w(() => [...t[26] ||= [l("div", null, [l("a", {
|
|
1104
|
+
class: "ep-draggable-item",
|
|
1105
|
+
tid: "defaultModule.oval"
|
|
1106
|
+
}, [l("span", {
|
|
1107
|
+
class: "ri-checkbox-blank-circle-line",
|
|
1108
|
+
"ariel-hidden": "true"
|
|
1109
|
+
}), l("p", { class: "glyphicon-class" }, "椭圆")])], -1)]]),
|
|
1110
|
+
_: 1
|
|
1111
|
+
})]),
|
|
1112
|
+
_: 1
|
|
1113
|
+
})
|
|
1114
|
+
]),
|
|
1115
|
+
_: 1
|
|
1116
|
+
})]),
|
|
1117
|
+
_: 1
|
|
1118
|
+
})]),
|
|
1119
|
+
_: 1
|
|
1120
|
+
})]),
|
|
1121
|
+
_: 1
|
|
1122
|
+
}),
|
|
1123
|
+
d(D, {
|
|
1124
|
+
xs: 15,
|
|
1125
|
+
sm: 15,
|
|
1126
|
+
md: 15,
|
|
1127
|
+
lg: 16,
|
|
1128
|
+
xl: 18
|
|
1129
|
+
}, {
|
|
1130
|
+
default: w(() => [d(O, { class: "card-design" }, {
|
|
1131
|
+
default: w(() => [...t[27] ||= [l("div", {
|
|
1132
|
+
id: "hiprint-printTemplate",
|
|
1133
|
+
class: "hiprint-printTemplate"
|
|
1134
|
+
}, null, -1)]]),
|
|
1135
|
+
_: 1
|
|
1136
|
+
})]),
|
|
1137
|
+
_: 1
|
|
1138
|
+
}),
|
|
1139
|
+
d(D, {
|
|
1140
|
+
xs: 6,
|
|
1141
|
+
sm: 6,
|
|
1142
|
+
md: 6,
|
|
1143
|
+
lg: 5,
|
|
1144
|
+
xl: 3
|
|
1145
|
+
}, {
|
|
1146
|
+
default: w(() => [d(O, { class: "design-setting-panel" }, {
|
|
1147
|
+
default: w(() => [d(v, { class: "hinnn-layout-sider" }, {
|
|
1148
|
+
default: w(() => [...t[28] ||= [l("div", { id: "PrintElementOptionSetting" }, null, -1)]]),
|
|
1149
|
+
_: 1
|
|
1150
|
+
})]),
|
|
1151
|
+
_: 1
|
|
1152
|
+
})]),
|
|
1153
|
+
_: 1
|
|
1154
|
+
})
|
|
1155
|
+
]),
|
|
1156
|
+
_: 1
|
|
1157
|
+
})]),
|
|
1158
|
+
_: 1
|
|
1159
|
+
}),
|
|
1160
|
+
d(A, {
|
|
1161
|
+
modelValue: U.value,
|
|
1162
|
+
"onUpdate:modelValue": t[14] ||= (e) => U.value = e,
|
|
1163
|
+
title: "导入模板JSON数据",
|
|
1164
|
+
height: "320",
|
|
1165
|
+
width: "450",
|
|
1166
|
+
"show-footer": ""
|
|
1167
|
+
}, {
|
|
1168
|
+
default: w(() => [t[29] ||= l("p", { style: { color: "red" } }, "切勿随意修改JSON数据,可能导致模板加载出错", -1), d(k, {
|
|
1169
|
+
modelValue: K.value,
|
|
1170
|
+
"onUpdate:modelValue": t[12] ||= (e) => K.value = e,
|
|
1171
|
+
rows: 10,
|
|
1172
|
+
size: "mini"
|
|
1173
|
+
}, null, 8, ["modelValue"])]),
|
|
1174
|
+
footer: w(() => [d(n, {
|
|
1175
|
+
icon: "ri-close-fill",
|
|
1176
|
+
content: "cancel",
|
|
1177
|
+
onTap: t[13] ||= (e) => U.value = !1
|
|
1178
|
+
}), d(n, {
|
|
1179
|
+
icon: "ri-save-3-fill",
|
|
1180
|
+
status: "u-cyan",
|
|
1181
|
+
content: "confirm",
|
|
1182
|
+
onTap: ie
|
|
1183
|
+
})]),
|
|
1184
|
+
_: 1
|
|
1185
|
+
}, 8, ["modelValue"]),
|
|
1186
|
+
V.value ? (g(), o(i, {
|
|
1187
|
+
key: 0,
|
|
1188
|
+
ref_key: "previewRef",
|
|
1189
|
+
ref: G
|
|
1190
|
+
}, null, 512)) : s("", !0)
|
|
1191
|
+
])), [[I, W.value]]);
|
|
1192
|
+
};
|
|
1193
|
+
}
|
|
1194
|
+
}), L = /* @__PURE__ */ e({ default: () => R }), R = I;
|
|
1195
|
+
//#endregion
|
|
1196
|
+
export { L as n, R as t };
|