@utogether/udp-core 1.0.1-beta.6 → 1.0.1-beta.8
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-Co4hnzlW.js → 403-Cjzd1bv9.js} +1 -1
- package/dist/{404-BsseeBQQ.js → 404-CJ-3SXgP.js} +1 -1
- package/dist/{500-DtKz7MA4.js → 500-CQ65MvIK.js} +1 -1
- package/dist/{AuthorityInfo-iWYEWOmC.js → AuthorityInfo-BdISFrap.js} +1 -1
- package/dist/AuthorityInfo.vue_vue_type_style_index_0_lang-DsLG5slc.js +100 -0
- package/dist/{Company-CK8Zkcv3.js → Company-Mj-z1hNb.js} +3 -3
- package/dist/{CompanyPanel-DL4UrYYG.js → CompanyPanel-BNXZ7ER3.js} +1 -1
- package/dist/{Department-BPHn8to4.js → Department-C4ygVbSP.js} +3 -3
- package/dist/{DepartmentPanel-Bqraa_NB.js → DepartmentPanel-Bk96mDlD.js} +1 -1
- package/dist/{DesignPanel-CFOIOZme.js → DesignPanel-Bwx2QwMM.js} +1 -1
- package/dist/{DesignPanel.vue_vue_type_style_index_0_lang-H0FNG35Z.js → DesignPanel.vue_vue_type_style_index_0_lang-B3OjJTHG.js} +24 -26
- package/dist/{DictView-CaD1yHQS.js → DictView-DE3jnxnq.js} +19 -18
- package/dist/{InvOrganization-CoO0_wsY.js → InvOrganization-Drce3xUC.js} +1 -1
- package/dist/Org-C42D9lDj.js +39 -0
- package/dist/{Preview-B-K_bxDG.js → Preview-CCXoRvWF.js} +1 -1
- package/dist/{ReportDefine-DElbukSL.js → ReportDefine-BWsExcQU.js} +1 -1
- package/dist/{ReportDesign-DvUHOKDK.js → ReportDesign-BTzpUpGj.js} +26 -26
- package/dist/{ReportQuery-BcSYRNT3.js → ReportQuery-eoSmPXzc.js} +1 -1
- package/dist/{ReportQueryFrom-BGEA4Pqk.js → ReportQueryFrom-D4YlI5jl.js} +1 -1
- package/dist/{ReportQueryFrom.vue_vue_type_style_index_0_lang-B-KEPnfY.js → ReportQueryFrom.vue_vue_type_style_index_0_lang-DPDGKW9a.js} +1 -1
- package/dist/{ReportTemplate-DnPtEoxn.js → ReportTemplate-BTa2YWq0.js} +1 -1
- package/dist/{Role-CMKkWZil.js → Role-BTGB91P1.js} +6 -6
- package/dist/{RoleAssign-BToNzG9a.js → RoleAssign-BBSY6bYM.js} +3 -3
- package/dist/{RolePanel-BikZ-D2u.js → RolePanel-BaTuyeVC.js} +1 -1
- package/dist/{RolePanel-BNqd7-M6.js → RolePanel-DNDI7e0g.js} +1 -1
- package/dist/RolePanel.vue_vue_type_script_setup_true_lang-BCwAp_1a.js +132 -0
- package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-Nngq860f.js → RolePanel.vue_vue_type_script_setup_true_lang-QUeAQHrg.js} +44 -38
- package/dist/{ScrollPanel.vue_vue_type_style_index_0_lang-BDRDD2FX.js → ScrollPanel.vue_vue_type_style_index_0_lang-nqrbOaQP.js} +1 -1
- package/dist/{Staff-DBFATgM_.js → Staff-4dbkOqzl.js} +3 -3
- package/dist/{StaffInfo-CrfwZcEL.js → StaffInfo-xFAMTWgD.js} +1 -1
- package/dist/{StaffInfo.vue_vue_type_script_setup_true_lang-CE3_NJF_.js → StaffInfo.vue_vue_type_script_setup_true_lang-CocRlLsO.js} +1 -1
- package/dist/{StaffPanel-D54Rl_Bg.js → StaffPanel-Cx-8MHBz.js} +1 -1
- package/dist/{StaffPanel.vue_vue_type_script_setup_true_lang-B8wtuSZD.js → StaffPanel.vue_vue_type_script_setup_true_lang-B3wfpxel.js} +2 -2
- package/dist/{SysUser-CsuovBei.js → SysUser-BHpgPXsI.js} +2 -2
- package/dist/{SysUserPanel-DNUwWEVp.js → SysUserPanel-DH79Lsnm.js} +1 -1
- package/dist/{SysUserPanel.vue_vue_type_script_setup_true_lang-CY6mhBV0.js → SysUserPanel.vue_vue_type_script_setup_true_lang-BONl2R1a.js} +104 -100
- package/dist/{SystemMenu-oLmwvaqT.js → SystemMenu-C2JbVgyr.js} +2 -2
- package/dist/{UserInfo-LyrDwBG1.js → UserInfo-Efo-_yRo.js} +1 -1
- package/dist/{UserInfo.vue_vue_type_style_index_0_lang-vinrRyOG.js → UserInfo.vue_vue_type_style_index_0_lang-DnjjBjMU.js} +39 -37
- package/dist/{childView-DGKp87fT.js → childView-D7U7qh_A.js} +1 -1
- package/dist/{childView-SmYl4G6c.js → childView-wFMGHGiX.js} +1 -1
- package/dist/{childView.vue_vue_type_style_index_0_lang-wVoPvyRY.js → childView.vue_vue_type_style_index_0_lang-Bshn4N8Y.js} +1 -1
- package/dist/{childView.vue_vue_type_style_index_0_lang-DU-Uun5d.js → childView.vue_vue_type_style_index_0_lang-w2CkZij-.js} +1 -1
- package/dist/{code-rule-CfbGjmOs.js → code-rule-B5dIxV6g.js} +1 -1
- package/dist/core.es.js +1 -1
- package/dist/{cron-task-DMfwGfms.js → cron-task-DWGtihrw.js} +1 -1
- package/dist/{frameView-D-hu_pqQ.js → frameView-DF2mXAwO.js} +1 -1
- package/dist/{index-ADANSV-q.js → index-VU6c04nN.js} +1562 -1309
- package/dist/{layoutView-D3SikBPr.js → layoutView-DUUKW0KX.js} +2 -2
- package/dist/{login-CQ1yBBdY.js → login-ByEoQ2HH.js} +11 -11
- package/dist/{lov-view-CSobDBH7.js → lov-view-DqD__3-w.js} +2 -2
- package/dist/{menuInfo-mFuM30f1.js → menuInfo-a7jPwS1r.js} +1 -1
- package/dist/{menuInfo.vue_vue_type_style_index_0_lang-BsIPzYg0.js → menuInfo.vue_vue_type_style_index_0_lang-ZzGrkylA.js} +2 -2
- package/dist/{pda-app-CIGFsvrX.js → pda-app-EP9d0Ypd.js} +201 -189
- package/dist/{resource-mbd4LPi-.js → resource-eughqxkP.js} +1 -1
- package/dist/{su-welcome-DruLsVvu.js → su-welcome-98GLKyZM.js} +1 -1
- package/dist/{sys-config-TXb5cJM4.js → sys-config-gs16tgwA.js} +1 -1
- package/dist/udp-core.css +2 -2
- package/dist/{utogether-Cv0UXnEX.js → utogether-C4Dd2epc.js} +1 -1
- package/package.json +1 -1
- package/src/App.vue +1 -6
- package/src/components/SuCharts/src/UserInfo.vue +78 -78
- package/src/components/udp/grid.vue +2 -18
- package/src/components/udp/index.ts +2 -2
- package/src/components/udp/modal-grid.vue +288 -297
- package/src/components/udp/utils.ts +11 -18
- package/src/main.ts +10 -2
- package/src/plugins/i18n/en.ts +24 -13
- package/src/plugins/i18n/zh.ts +348 -342
- package/src/plugins/vxe-table/index.ts +1 -1
- package/src/plugins/vxe-table/render.tsx +92 -17
- package/src/style/vxetable.scss +293 -287
- package/src/views/organization/org/Org.vue +9 -5
- package/src/views/system/menu/SystemMenu.vue +4 -18
- package/src/views/system/menu/menuInfo.vue +4 -17
- package/src/views/system/role/AuthorityInfo.vue +19 -15
- package/src/views/system/role/Role.vue +1 -5
- package/src/views/system/role/RolePanel.vue +11 -2
- package/src/views/system/role/UserInfo.vue +195 -193
- package/src/views/system/role-assign/RolePanel.vue +139 -136
- package/src/views/system/sysUser/SysUserPanel.vue +278 -282
- package/src/views/uapp/pda/pda-app.vue +36 -11
- package/src/views/udev/dict/DictView.vue +6 -1
- package/src/views/udev/dict/childView.vue +1 -6
- package/src/views/ulogin/login.vue +1 -5
- package/src/views/urpt/design/DesignPanel.vue +507 -526
- package/src/views/urpt/design/ReportDesign.vue +7 -11
- package/dist/AuthorityInfo.vue_vue_type_style_index_0_lang-BWp7PKyH.js +0 -102
- package/dist/Org-BU3oaFx3.js +0 -35
- package/dist/RolePanel.vue_vue_type_script_setup_true_lang-DYP3u1Nv.js +0 -126
|
@@ -1,526 +1,507 @@
|
|
|
1
|
-
<!--
|
|
2
|
-
* @Author: wei.li
|
|
3
|
-
* @Date: 2022-03-21 10:36:15
|
|
4
|
-
* @LastEditors: levi7754 levi7754@163.com
|
|
5
|
-
* @LastEditTime: 2025-
|
|
6
|
-
* @Description: 设计面板
|
|
7
|
-
-->
|
|
8
|
-
<template>
|
|
9
|
-
<div v-spinning="loading" class="ut-design-panel">
|
|
10
|
-
<el-card class="design-panel-contain">
|
|
11
|
-
<el-space style="margin-bottom: 10px" fill>
|
|
12
|
-
<div class="flex justify-between">
|
|
13
|
-
<div>
|
|
14
|
-
<ut-button icon="ri-eye-line ri-1x" content="preview" @tap="handlePreView" />
|
|
15
|
-
<el-select
|
|
16
|
-
v-model="currentRecord.paperType"
|
|
17
|
-
size="small"
|
|
18
|
-
placeholder="Select Paper"
|
|
19
|
-
class="ml-1 mr-1"
|
|
20
|
-
style="width: 100px !important"
|
|
21
|
-
@change="handlePaperChange(currentRecord.paperType)"
|
|
22
|
-
>
|
|
23
|
-
<el-option
|
|
24
|
-
v-for="item in dataDict['SU.PRINT.PAPER'].children"
|
|
25
|
-
:key="item.dictCode"
|
|
26
|
-
:label="item.dictName"
|
|
27
|
-
:value="item.dictCode"
|
|
28
|
-
>
|
|
29
|
-
<span style="float: left">{{ item.dictName }}</span>
|
|
30
|
-
<span style="float: right; font-size: 13px; color: var(--el-text-color-secondary)">{{
|
|
31
|
-
item.dictDesc
|
|
32
|
-
}}</span>
|
|
33
|
-
</el-option>
|
|
34
|
-
</el-select>
|
|
35
|
-
<el-popover
|
|
36
|
-
v-if="currentRecord.paperType === 'customize'"
|
|
37
|
-
v-model:visible="paperPopVisible"
|
|
38
|
-
title="设置纸张宽高(mm)"
|
|
39
|
-
width="300"
|
|
40
|
-
size="small"
|
|
41
|
-
effect="light"
|
|
42
|
-
trigger="click"
|
|
43
|
-
>
|
|
44
|
-
<div>
|
|
45
|
-
<div class="flex justify-center mb-1" style="width: 100%">
|
|
46
|
-
<vxe-input v-model="paperSize.width" type="number" class="w-40" placeholder="宽(mm)" />
|
|
47
|
-
<div class="flex items-center justify-center w-8">~</div>
|
|
48
|
-
<vxe-input
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
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
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
const
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
const
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
const
|
|
252
|
-
const
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
const
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
//
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
const
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
}
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
const
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
};
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
}
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
}
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
}
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
//
|
|
414
|
-
|
|
415
|
-
//
|
|
416
|
-
//
|
|
417
|
-
|
|
418
|
-
//
|
|
419
|
-
//
|
|
420
|
-
|
|
421
|
-
//
|
|
422
|
-
//
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
}
|
|
447
|
-
|
|
448
|
-
.drag_item_box {
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
}
|
|
466
|
-
|
|
467
|
-
.
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
border-top: 1px dashed purple;
|
|
509
|
-
}
|
|
510
|
-
|
|
511
|
-
.leftlineOfPosition {
|
|
512
|
-
border: 0;
|
|
513
|
-
border-left: 1px dashed purple;
|
|
514
|
-
}
|
|
515
|
-
|
|
516
|
-
.rightlineOfPosition {
|
|
517
|
-
border: 0;
|
|
518
|
-
border-left: 1px dashed purple;
|
|
519
|
-
}
|
|
520
|
-
|
|
521
|
-
// 设计容器
|
|
522
|
-
.card-design {
|
|
523
|
-
overflow: hidden;
|
|
524
|
-
overflow: auto;
|
|
525
|
-
}
|
|
526
|
-
</style>
|
|
1
|
+
<!--
|
|
2
|
+
* @Author: wei.li
|
|
3
|
+
* @Date: 2022-03-21 10:36:15
|
|
4
|
+
* @LastEditors: levi7754 levi7754@163.com
|
|
5
|
+
* @LastEditTime: 2025-08-12 09:57:22
|
|
6
|
+
* @Description: 设计面板
|
|
7
|
+
-->
|
|
8
|
+
<template>
|
|
9
|
+
<div v-spinning="loading" class="ut-design-panel">
|
|
10
|
+
<el-card class="design-panel-contain">
|
|
11
|
+
<el-space style="margin-bottom: 10px" fill>
|
|
12
|
+
<div class="flex justify-between">
|
|
13
|
+
<div>
|
|
14
|
+
<ut-button icon="ri-eye-line ri-1x" content="preview" @tap="handlePreView" />
|
|
15
|
+
<el-select
|
|
16
|
+
v-model="currentRecord.paperType"
|
|
17
|
+
size="small"
|
|
18
|
+
placeholder="Select Paper"
|
|
19
|
+
class="ml-1 mr-1"
|
|
20
|
+
style="width: 100px !important"
|
|
21
|
+
@change="handlePaperChange(currentRecord.paperType)"
|
|
22
|
+
>
|
|
23
|
+
<el-option
|
|
24
|
+
v-for="item in dataDict['SU.PRINT.PAPER'].children"
|
|
25
|
+
:key="item.dictCode"
|
|
26
|
+
:label="item.dictName"
|
|
27
|
+
:value="item.dictCode"
|
|
28
|
+
>
|
|
29
|
+
<span style="float: left">{{ item.dictName }}</span>
|
|
30
|
+
<span style="float: right; font-size: 13px; color: var(--el-text-color-secondary)">{{
|
|
31
|
+
item.dictDesc
|
|
32
|
+
}}</span>
|
|
33
|
+
</el-option>
|
|
34
|
+
</el-select>
|
|
35
|
+
<el-popover
|
|
36
|
+
v-if="currentRecord.paperType === 'customize'"
|
|
37
|
+
v-model:visible="paperPopVisible"
|
|
38
|
+
title="设置纸张宽高(mm)"
|
|
39
|
+
width="300"
|
|
40
|
+
size="small"
|
|
41
|
+
effect="light"
|
|
42
|
+
trigger="click"
|
|
43
|
+
>
|
|
44
|
+
<div>
|
|
45
|
+
<div class="flex justify-center mb-1" style="width: 100%">
|
|
46
|
+
<vxe-input v-model="paperSize.width" type="number" class="w-40" placeholder="宽(mm)" />
|
|
47
|
+
<div class="flex items-center justify-center w-8">~</div>
|
|
48
|
+
<vxe-input v-model="paperSize.height" type="number" class="w-40" placeholder="高(mm)" />
|
|
49
|
+
</div>
|
|
50
|
+
<ut-button style="width: 100%" content="confirm" @tap="handleCustomSize" />
|
|
51
|
+
</div>
|
|
52
|
+
<template #reference>
|
|
53
|
+
<ut-button icon="ri-font-size" content="customSize" @tap.stop="paperPopVisible = true" />
|
|
54
|
+
</template>
|
|
55
|
+
</el-popover>
|
|
56
|
+
<ut-button
|
|
57
|
+
status="u-cyan"
|
|
58
|
+
icon="ri-upload-2-line"
|
|
59
|
+
content="importJSON"
|
|
60
|
+
auth="import"
|
|
61
|
+
@tap="handleShowImport()"
|
|
62
|
+
/>
|
|
63
|
+
<vxe-button icon="ri-indeterminate-circle-line " class="design-custom-button" @click="handleScale('N')" />
|
|
64
|
+
<vxe-input v-model="scale.ration" disabled align="center" style="width: 70px; margin-left: 10px" />
|
|
65
|
+
<vxe-button icon="ri-add-circle-fill " class="design-custom-button" @click="handleScale('Y')" />
|
|
66
|
+
<ut-button
|
|
67
|
+
status="danger"
|
|
68
|
+
icon="ri-delete-bin-5-fill"
|
|
69
|
+
content="repaint"
|
|
70
|
+
auth="repaint"
|
|
71
|
+
@tap="handleClearPaper()"
|
|
72
|
+
/>
|
|
73
|
+
</div>
|
|
74
|
+
<div>
|
|
75
|
+
<ut-button icon="ri-save-3-fill" content="save" @tap="handleSave()" />
|
|
76
|
+
<ut-button status="info" icon="ri-reply-fill" content="back" @tap="handleClose" />
|
|
77
|
+
</div>
|
|
78
|
+
</div>
|
|
79
|
+
<div style="font-size: 12px; color: red; text-align: center">
|
|
80
|
+
温馨提示: 蓝色线(页眉)以下,每张纸打印都会重复打印到页面底部;红色线(页尾)以下,每张纸打印都会重复打印到页面底部
|
|
81
|
+
</div>
|
|
82
|
+
</el-space>
|
|
83
|
+
<el-row>
|
|
84
|
+
<el-col :span="3">
|
|
85
|
+
<el-card class="ut-design-item">
|
|
86
|
+
<el-row>
|
|
87
|
+
<el-col :span="24" class="rect-printElement-types hiprintEpContainer">
|
|
88
|
+
<el-row class="drag_item_title">拖拽组件列表</el-row>
|
|
89
|
+
<el-row style="height: 60px">
|
|
90
|
+
<el-col :span="12" class="drag_item_box">
|
|
91
|
+
<div>
|
|
92
|
+
<a class="ep-draggable-item" tid="defaultModule.text">
|
|
93
|
+
<span class="ri-text" ariel-hidden="true" />
|
|
94
|
+
<p class="glyphicon-class">文本</p>
|
|
95
|
+
</a>
|
|
96
|
+
</div>
|
|
97
|
+
</el-col>
|
|
98
|
+
<el-col :span="12" class="drag_item_box">
|
|
99
|
+
<div>
|
|
100
|
+
<a class="ep-draggable-item" tid="defaultModule.image">
|
|
101
|
+
<span class="ri-image-line" ariel-hidden="true" />
|
|
102
|
+
<p class="glyphicon-class">图片</p>
|
|
103
|
+
</a>
|
|
104
|
+
</div>
|
|
105
|
+
</el-col>
|
|
106
|
+
</el-row>
|
|
107
|
+
<el-row style="height: 60px">
|
|
108
|
+
<el-col :span="12" class="drag_item_box" tid="defaultModule.text">
|
|
109
|
+
<div>
|
|
110
|
+
<a class="ep-draggable-item" tid="defaultModule.longText">
|
|
111
|
+
<span class="ri-line-height" ariel-hidden="true" />
|
|
112
|
+
<p class="glyphicon-class">长文</p>
|
|
113
|
+
</a>
|
|
114
|
+
</div>
|
|
115
|
+
</el-col>
|
|
116
|
+
<el-col :span="12" class="drag_item_box">
|
|
117
|
+
<div>
|
|
118
|
+
<a class="ep-draggable-item" tid="defaultModule.table">
|
|
119
|
+
<span class="ri-table-line" ariel-hidden="true" />
|
|
120
|
+
<p class="glyphicon-class">表格</p>
|
|
121
|
+
</a>
|
|
122
|
+
</div>
|
|
123
|
+
</el-col>
|
|
124
|
+
</el-row>
|
|
125
|
+
<el-row class="drag_item_title">辅助</el-row>
|
|
126
|
+
<el-row style="height: 60px">
|
|
127
|
+
<el-col :span="12" class="drag_item_box" tid="defaultModule.text">
|
|
128
|
+
<div>
|
|
129
|
+
<a class="ep-draggable-item" tid="defaultModule.hline">
|
|
130
|
+
<span class="ri-expand-horizontal-s-fill" ariel-hidden="true" />
|
|
131
|
+
<p class="glyphicon-class">横线</p>
|
|
132
|
+
</a>
|
|
133
|
+
</div>
|
|
134
|
+
</el-col>
|
|
135
|
+
<el-col :span="12" class="drag_item_box" tid="defaultModule.text">
|
|
136
|
+
<div>
|
|
137
|
+
<a class="ep-draggable-item" tid="defaultModule.vline">
|
|
138
|
+
<span class="ri-expand-vertical-s-fill" ariel-hidden="true" />
|
|
139
|
+
<p class="glyphicon-class">竖线</p>
|
|
140
|
+
</a>
|
|
141
|
+
</div>
|
|
142
|
+
</el-col>
|
|
143
|
+
</el-row>
|
|
144
|
+
<el-row style="height: 60px">
|
|
145
|
+
<el-col :span="12" class="drag_item_box" tid="defaultModule.text">
|
|
146
|
+
<div>
|
|
147
|
+
<a class="ep-draggable-item" tid="defaultModule.rect">
|
|
148
|
+
<span class="ri-square-line" ariel-hidden="true" />
|
|
149
|
+
<p class="glyphicon-class">矩形</p>
|
|
150
|
+
</a>
|
|
151
|
+
</div>
|
|
152
|
+
</el-col>
|
|
153
|
+
<el-col :span="12" class="drag_item_box" tid="defaultModule.text">
|
|
154
|
+
<div>
|
|
155
|
+
<a class="ep-draggable-item" tid="defaultModule.oval">
|
|
156
|
+
<span class="ri-checkbox-blank-circle-line" ariel-hidden="true" />
|
|
157
|
+
<p class="glyphicon-class">椭圆</p>
|
|
158
|
+
</a>
|
|
159
|
+
</div>
|
|
160
|
+
</el-col>
|
|
161
|
+
</el-row>
|
|
162
|
+
</el-col>
|
|
163
|
+
</el-row>
|
|
164
|
+
</el-card>
|
|
165
|
+
</el-col>
|
|
166
|
+
<el-col :xs="15" :sm="15" :md="15" :lg="16" :xl="18">
|
|
167
|
+
<el-card class="card-design">
|
|
168
|
+
<div id="hiprint-printTemplate" class="hiprint-printTemplate" />
|
|
169
|
+
</el-card>
|
|
170
|
+
</el-col>
|
|
171
|
+
<el-col :xs="6" :sm="6" :md="6" :lg="5" :xl="3">
|
|
172
|
+
<el-card class="design-setting-panel">
|
|
173
|
+
<el-row class="hinnn-layout-sider">
|
|
174
|
+
<div id="PrintElementOptionSetting" />
|
|
175
|
+
</el-row>
|
|
176
|
+
</el-card>
|
|
177
|
+
</el-col>
|
|
178
|
+
</el-row>
|
|
179
|
+
</el-card>
|
|
180
|
+
<vxe-modal v-model="showImportView" title="导入模板JSON数据" height="320" width="450" show-footer>
|
|
181
|
+
<template #default>
|
|
182
|
+
<p style="color: red">切勿随意修改JSON数据,可能导致模板加载出错</p>
|
|
183
|
+
<vxe-textarea v-model="templateContent" :rows="10" size="mini" />
|
|
184
|
+
</template>
|
|
185
|
+
<template #footer>
|
|
186
|
+
<ut-button icon="ri-close-fill" content="cancel" @tap="showImportView = false" />
|
|
187
|
+
<ut-button icon="ri-save-3-fill" status="u-cyan" content="confirm" @tap="handleImportJson" />
|
|
188
|
+
</template>
|
|
189
|
+
</vxe-modal>
|
|
190
|
+
<preview v-if="showPreviewModal" ref="previewRef" />
|
|
191
|
+
</div>
|
|
192
|
+
</template>
|
|
193
|
+
|
|
194
|
+
<script setup lang="ts">
|
|
195
|
+
import { onMounted, reactive, ref, nextTick, onBeforeUnmount } from 'vue';
|
|
196
|
+
import { VxeUI } from 'vxe-pc-ui';
|
|
197
|
+
import { useGlobal } from '@utogether/utils';
|
|
198
|
+
import to from 'await-to-js';
|
|
199
|
+
import { clone } from 'xe-utils';
|
|
200
|
+
import { useSystemStoreHook } from '../../../store/modules/system';
|
|
201
|
+
import panel from './panel';
|
|
202
|
+
import Preview from './Preview.vue';
|
|
203
|
+
// import printData from './print-data';
|
|
204
|
+
import { getServiceApi } from '../../../api';
|
|
205
|
+
// import { errorMessage } from '@utogether/utils';
|
|
206
|
+
|
|
207
|
+
import '../../../style/suprint.css';
|
|
208
|
+
import '../../../style/print-lock.css';
|
|
209
|
+
|
|
210
|
+
interface IProps {
|
|
211
|
+
record: IRecord;
|
|
212
|
+
}
|
|
213
|
+
const props = withDefaults(defineProps<IProps>(), {
|
|
214
|
+
record: (): IRecord => {
|
|
215
|
+
return {};
|
|
216
|
+
}
|
|
217
|
+
});
|
|
218
|
+
|
|
219
|
+
let { $printPlugin } = useGlobal();
|
|
220
|
+
|
|
221
|
+
const systemStoreHook = useSystemStoreHook();
|
|
222
|
+
const dataDict = systemStoreHook.getDataDict;
|
|
223
|
+
|
|
224
|
+
const serviceApi = getServiceApi();
|
|
225
|
+
let hiprintTemplate = null;
|
|
226
|
+
const showPreviewModal = ref(false);
|
|
227
|
+
const paperPopVisible = ref(false);
|
|
228
|
+
const showImportView = ref(false);
|
|
229
|
+
const loading = ref(false);
|
|
230
|
+
const previewRef = ref(null);
|
|
231
|
+
const templateContent = ref('');
|
|
232
|
+
const currentRecord = ref<IRecord>({});
|
|
233
|
+
const paperSize = reactive<IRecord>({});
|
|
234
|
+
const scale = reactive({ max: 5, min: 0.5, value: 1, ration: '100%' });
|
|
235
|
+
|
|
236
|
+
const handleCustomSize = () => {
|
|
237
|
+
paperPopVisible.value = false;
|
|
238
|
+
hiprintTemplate.setPaper(paperSize.width || 210, paperSize.height || 296.6);
|
|
239
|
+
};
|
|
240
|
+
// 直接打印(静默打印)
|
|
241
|
+
// const handlePictBridge = async () => {
|
|
242
|
+
// if (window.hiwebSocket.opened) {
|
|
243
|
+
// const data = await serviceApi('CUS003', {});
|
|
244
|
+
// const printerList = hiprintTemplate.getPrinterList();
|
|
245
|
+
// hiprintTemplate.print2(data, { printer: '', title: 'hiprint测试打印' });
|
|
246
|
+
// return;
|
|
247
|
+
// }
|
|
248
|
+
// errorMessage('客户端未连接,无法直接打印');
|
|
249
|
+
// };
|
|
250
|
+
|
|
251
|
+
const handleSave = async (cb?) => {
|
|
252
|
+
const body = currentRecord.value;
|
|
253
|
+
let bt = templateContent.value;
|
|
254
|
+
if (!bt) {
|
|
255
|
+
const template = hiprintTemplate.getJson();
|
|
256
|
+
bt = JSON.stringify(template);
|
|
257
|
+
}
|
|
258
|
+
body.templateContent = bt;
|
|
259
|
+
loading.value = true;
|
|
260
|
+
const [err, data] = await to(serviceApi.put('/urpt/v1/printTemplate', [body]));
|
|
261
|
+
loading.value = false;
|
|
262
|
+
if (!err) {
|
|
263
|
+
templateContent.value = '';
|
|
264
|
+
currentRecord.value = data[0];
|
|
265
|
+
}
|
|
266
|
+
cb && cb();
|
|
267
|
+
};
|
|
268
|
+
|
|
269
|
+
const handleClose = () => {
|
|
270
|
+
// hiprint = null
|
|
271
|
+
emit('onClose');
|
|
272
|
+
};
|
|
273
|
+
|
|
274
|
+
const emit = defineEmits<{ (e: 'onClose'): void }>();
|
|
275
|
+
|
|
276
|
+
// 放大缩小值
|
|
277
|
+
const handleScale = max => {
|
|
278
|
+
let scaleValue = scale.value;
|
|
279
|
+
if (max === 'Y') {
|
|
280
|
+
scaleValue += 0.1;
|
|
281
|
+
if (scaleValue > scale.max) scaleValue = 5;
|
|
282
|
+
} else {
|
|
283
|
+
scaleValue -= 0.1;
|
|
284
|
+
if (scaleValue < scale.min) scaleValue = 0.5;
|
|
285
|
+
}
|
|
286
|
+
if (hiprintTemplate) {
|
|
287
|
+
// scaleValue: 放大缩小值, false: 不保存(不传也一样), 如果传 true, 打印时也会放大
|
|
288
|
+
hiprintTemplate.zoom(scaleValue);
|
|
289
|
+
scale.value = scaleValue;
|
|
290
|
+
scale.ration = `${(scaleValue * 100).toFixed(0)}%`;
|
|
291
|
+
}
|
|
292
|
+
};
|
|
293
|
+
|
|
294
|
+
/**
|
|
295
|
+
* @Author: liwei
|
|
296
|
+
* @Date: 2021-09-01 11:21:05
|
|
297
|
+
* @Desc: 参数设置drawer回调,将参数设置dom添加到弹出层中
|
|
298
|
+
*/
|
|
299
|
+
const handleClearPaper = async () => {
|
|
300
|
+
const type = await VxeUI.modal.confirm('重绘操作不可逆,您确定继续吗?', '温馨提示');
|
|
301
|
+
if (type === 'confirm') {
|
|
302
|
+
hiprintTemplate.clear();
|
|
303
|
+
}
|
|
304
|
+
};
|
|
305
|
+
const handleShowImport = async () => {
|
|
306
|
+
showImportView.value = true;
|
|
307
|
+
};
|
|
308
|
+
const handleImportJson = async () => {
|
|
309
|
+
const type = await VxeUI.modal.confirm('导入后将覆盖原有的模板,您确定继续吗?', '温馨提示');
|
|
310
|
+
if (type === 'confirm') {
|
|
311
|
+
handleSave(handleClose);
|
|
312
|
+
showImportView.value = false;
|
|
313
|
+
}
|
|
314
|
+
};
|
|
315
|
+
const handlePreView = async () => {
|
|
316
|
+
showPreviewModal.value = true;
|
|
317
|
+
// const data = await serviceApi('CUS003', {});
|
|
318
|
+
const data = {};
|
|
319
|
+
// data.pageSize = 6789;
|
|
320
|
+
nextTick(() => {
|
|
321
|
+
previewRef.value.show(hiprintTemplate, data, paperSize.width || 220);
|
|
322
|
+
});
|
|
323
|
+
};
|
|
324
|
+
// 纸张切换
|
|
325
|
+
const handlePaperChange = code => {
|
|
326
|
+
if ('customize' !== code) {
|
|
327
|
+
const { width, height } = getPaperSize(code);
|
|
328
|
+
paperSize.width = width;
|
|
329
|
+
paperSize.height = height;
|
|
330
|
+
hiprintTemplate.setPaper(paperSize.width, paperSize.height);
|
|
331
|
+
} else {
|
|
332
|
+
paperPopVisible.value = true;
|
|
333
|
+
}
|
|
334
|
+
};
|
|
335
|
+
const getPaperSize = code => {
|
|
336
|
+
const paper = {
|
|
337
|
+
A3: { width: 420, height: 296.6 },
|
|
338
|
+
A4: { width: 210, height: 296.6 },
|
|
339
|
+
A5: { width: 210, height: 147.6 },
|
|
340
|
+
bisect: { width: 241, height: 140 },
|
|
341
|
+
trisection: { width: 241, height: 93 }
|
|
342
|
+
};
|
|
343
|
+
return paper[code];
|
|
344
|
+
};
|
|
345
|
+
|
|
346
|
+
onMounted(() => {
|
|
347
|
+
const { record } = props;
|
|
348
|
+
loading.value = true;
|
|
349
|
+
currentRecord.value = clone(record, true);
|
|
350
|
+
const template = record.templateContent ? JSON.parse(record.templateContent) : panel;
|
|
351
|
+
$('#hiprint-printTemplate').empty();
|
|
352
|
+
$printPlugin.print.init({
|
|
353
|
+
providers: [new $printPlugin.provider()]
|
|
354
|
+
});
|
|
355
|
+
// 还原配置
|
|
356
|
+
$printPlugin.print.setConfig();
|
|
357
|
+
// 替换配置
|
|
358
|
+
$printPlugin.print.setConfig({
|
|
359
|
+
movingDistance: 2.5,
|
|
360
|
+
text: {
|
|
361
|
+
supportOptions: [
|
|
362
|
+
{ name: 'styler', hidden: true },
|
|
363
|
+
{ name: 'formatter', hidden: true }
|
|
364
|
+
]
|
|
365
|
+
}
|
|
366
|
+
});
|
|
367
|
+
|
|
368
|
+
$printPlugin.print.PrintElementTypeManager.buildByHtml($('.ep-draggable-item'));
|
|
369
|
+
hiprintTemplate = new $printPlugin.print.PrintTemplate({
|
|
370
|
+
template,
|
|
371
|
+
settingContainer: '#PrintElementOptionSetting',
|
|
372
|
+
paginationContainer: '.hiprint-printPagination',
|
|
373
|
+
history: false // 是否需要 撤销重做功能
|
|
374
|
+
});
|
|
375
|
+
hiprintTemplate.design('#hiprint-printTemplate', { grid: true });
|
|
376
|
+
scale.value = hiprintTemplate.editingPanel.scale || 1;
|
|
377
|
+
loading.value = false;
|
|
378
|
+
});
|
|
379
|
+
onBeforeUnmount(() => {
|
|
380
|
+
$printPlugin = null;
|
|
381
|
+
hiprintTemplate = null;
|
|
382
|
+
});
|
|
383
|
+
</script>
|
|
384
|
+
|
|
385
|
+
<style lang="scss">
|
|
386
|
+
.ut-design-panel {
|
|
387
|
+
// .design-panel-contain > .el-card__body {
|
|
388
|
+
// height: 85vh;
|
|
389
|
+
// padding: 3px !important;
|
|
390
|
+
// }
|
|
391
|
+
|
|
392
|
+
// .card-design {
|
|
393
|
+
// display: flex;
|
|
394
|
+
// justify-content: center;
|
|
395
|
+
// background: url('./bg.png');
|
|
396
|
+
// }
|
|
397
|
+
|
|
398
|
+
// ::v-deep(.ut-design-item > .el-card__body) {
|
|
399
|
+
// padding: 3px;
|
|
400
|
+
// }
|
|
401
|
+
|
|
402
|
+
// ::v-deep(.card-design > .el-card__body) {
|
|
403
|
+
// height: 75vh;
|
|
404
|
+
// overflow: auto;
|
|
405
|
+
// }
|
|
406
|
+
|
|
407
|
+
::v-deep(.design-setting-panel > .el-card__body) {
|
|
408
|
+
height: 75vh;
|
|
409
|
+
padding: 3px;
|
|
410
|
+
overflow: auto;
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
// .el-space {
|
|
414
|
+
// width: 100%;
|
|
415
|
+
// margin: 5px 0 0 !important;
|
|
416
|
+
// }
|
|
417
|
+
|
|
418
|
+
// ::v-deep(.el-space__item) {
|
|
419
|
+
// width: 100%;
|
|
420
|
+
// padding-right: 10px;
|
|
421
|
+
// padding-bottom: 0 !important;
|
|
422
|
+
// }
|
|
423
|
+
}
|
|
424
|
+
// 拖拽
|
|
425
|
+
.drag_item_box {
|
|
426
|
+
height: 100%;
|
|
427
|
+
padding: 6px;
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
.drag_item_box > div {
|
|
431
|
+
display: flex;
|
|
432
|
+
align-items: center;
|
|
433
|
+
justify-content: center;
|
|
434
|
+
width: 100%;
|
|
435
|
+
height: 100%;
|
|
436
|
+
background-color: #fff;
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
.drag_item_box > div > a {
|
|
440
|
+
text-align: center;
|
|
441
|
+
text-decoration-line: none;
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
.drag_item_box > div > a > span {
|
|
445
|
+
font-size: 28px;
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
.drag_item_box > div > a > p {
|
|
449
|
+
margin: 0;
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
.drag_item_title {
|
|
453
|
+
padding: 12px 6px 0;
|
|
454
|
+
font-size: 14px;
|
|
455
|
+
font-weight: bold;
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
// 默认图片
|
|
459
|
+
.design-custom-button {
|
|
460
|
+
font-size: 16px;
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
.el-card__body {
|
|
464
|
+
padding: 16px;
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
.design-setting-panel > .el-card__body {
|
|
468
|
+
height: 75vh;
|
|
469
|
+
padding: 3px;
|
|
470
|
+
overflow: auto;
|
|
471
|
+
}
|
|
472
|
+
|
|
473
|
+
.design-custom-button:not(.is--disabled):hover {
|
|
474
|
+
color: inherit !important;
|
|
475
|
+
}
|
|
476
|
+
|
|
477
|
+
// 辅助线样式
|
|
478
|
+
.toplineOfPosition {
|
|
479
|
+
border: 0;
|
|
480
|
+
border-top: 1px dashed purple;
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
.bottomlineOfPosition {
|
|
484
|
+
border: 0;
|
|
485
|
+
border-top: 1px dashed purple;
|
|
486
|
+
}
|
|
487
|
+
|
|
488
|
+
.leftlineOfPosition {
|
|
489
|
+
border: 0;
|
|
490
|
+
border-left: 1px dashed purple;
|
|
491
|
+
}
|
|
492
|
+
|
|
493
|
+
.rightlineOfPosition {
|
|
494
|
+
border: 0;
|
|
495
|
+
border-left: 1px dashed purple;
|
|
496
|
+
}
|
|
497
|
+
|
|
498
|
+
// 设计容器
|
|
499
|
+
.card-design {
|
|
500
|
+
overflow: hidden;
|
|
501
|
+
overflow: auto;
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
.hiprint-printElement-image-content img {
|
|
505
|
+
content: url('/logo.png');
|
|
506
|
+
}
|
|
507
|
+
</style>
|