@utogether/udp-core 2.0.0-beta.3 → 2.0.0-beta.5
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-CxOqlq0f.js → 403-y4Id7pky.js} +1 -1
- package/dist/{404-xdB6lFeQ.js → 404-DdxstlUr.js} +1 -1
- package/dist/{500-C94bRK2S.js → 500-BpsDn21g.js} +1 -1
- package/dist/{AuthorityInfo-Dy3b_nFN.js → AuthorityInfo-0CnlrZVd.js} +1 -1
- package/dist/{AuthorityInfo.vue_vue_type_style_index_0_lang-Bh7IbcdY.js → AuthorityInfo.vue_vue_type_style_index_0_lang-D5cXM84w.js} +1 -1
- package/dist/{Company-gKkfnhLt.js → Company-BPAqJfZm.js} +3 -3
- package/dist/{CompanyPanel-BF5Pc35s.js → CompanyPanel-CCeM96w4.js} +7 -7
- package/dist/{Department-D0I3QVZe.js → Department-BsLrIIrS.js} +3 -3
- package/dist/{DepartmentPanel-2LHODgc7.js → DepartmentPanel-B2YqwLmq.js} +20 -20
- package/dist/{DesignPanel-CtF3cAAQ.js → DesignPanel-CVSOCMvU.js} +1 -1
- package/dist/{DesignPanel.vue_vue_type_style_index_0_lang-BCYgwoVt.js → DesignPanel.vue_vue_type_style_index_0_lang-Dte8DQnU.js} +2 -2
- package/dist/{DictView-H3V5hxg3.js → DictView-CKVpPtFg.js} +1 -1
- package/dist/{InvOrganization-BiGLnbqe.js → InvOrganization-BBODO8aK.js} +1 -1
- package/dist/{Org-DQTCQHNY.js → Org-BYRi0OAt.js} +1 -1
- package/dist/{Preview-DXaiis29.js → Preview-COI8NwWh.js} +1 -1
- package/dist/{ReportDefine-BLh4CiER.js → ReportDefine-Dbh_8ykf.js} +1 -1
- package/dist/{ReportDesign-Ni1YxrLC.js → ReportDesign-DOeKYL9V.js} +6 -6
- package/dist/{ReportQuery-C8G88_qF.js → ReportQuery-Bb4r9lNR.js} +1 -1
- package/dist/{ReportQueryFrom-CuZKPtB4.js → ReportQueryFrom-CavcWtL3.js} +1 -1
- package/dist/{ReportQueryFrom.vue_vue_type_style_index_0_lang-BAn_siFW.js → ReportQueryFrom.vue_vue_type_style_index_0_lang-tuLRWEK9.js} +7 -7
- package/dist/{ReportTemplate-DFnDXWmx.js → ReportTemplate-C9NzPxM4.js} +8 -8
- package/dist/{Role-BQ7hsfPn.js → Role-Bqt4d9Lz.js} +3 -3
- package/dist/{RoleAssign-UPCg2d4G.js → RoleAssign-CWcytVz3.js} +3 -3
- package/dist/{RolePanel-CoSXOCZN.js → RolePanel-Di5nsMqt.js} +1 -1
- package/dist/{RolePanel-C-mQ5XRq.js → RolePanel-DlU0aCnL.js} +1 -1
- package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-Bg-t2UhF.js → RolePanel.vue_vue_type_script_setup_true_lang-BOq0iJsT.js} +7 -7
- package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-D-o7HYZ8.js → RolePanel.vue_vue_type_script_setup_true_lang-hzbUepuW.js} +7 -7
- package/dist/{ScrollPanel.vue_vue_type_style_index_0_lang-CCsoxDfk.js → ScrollPanel.vue_vue_type_style_index_0_lang-Bg3rg4P4.js} +1 -1
- package/dist/{Staff-D-CmvG1R.js → Staff-DXr2Ka1N.js} +3 -3
- package/dist/{StaffInfo-Idhvuc6e.js → StaffInfo-C6lDK0S_.js} +1 -1
- package/dist/{StaffInfo.vue_vue_type_script_setup_true_lang-MUGKjnHU.js → StaffInfo.vue_vue_type_script_setup_true_lang-YRJm87-b.js} +1 -1
- package/dist/{StaffPanel-CDDmAYE5.js → StaffPanel-WNpg0HWl.js} +1 -1
- package/dist/{StaffPanel.vue_vue_type_script_setup_true_lang-Bdilqbee.js → StaffPanel.vue_vue_type_script_setup_true_lang-azLpvFRo.js} +8 -8
- package/dist/{SysUser-a-j5bppr.js → SysUser-Dph6Qi_a.js} +2 -2
- package/dist/{SysUserPanel-6V232wwB.js → SysUserPanel-Iz024NS_.js} +1 -1
- package/dist/{SysUserPanel.vue_vue_type_script_setup_true_lang-BOtHuMVy.js → SysUserPanel.vue_vue_type_script_setup_true_lang-D8GUQHic.js} +1 -1
- package/dist/{SystemMenu-BnVeOSOQ.js → SystemMenu-6mTYGwbK.js} +6 -6
- package/dist/{UserInfo-Cax9b2nw.js → UserInfo-RQ7VgSbk.js} +1 -1
- package/dist/{UserInfo.vue_vue_type_style_index_0_lang-D-cw11i9.js → UserInfo.vue_vue_type_style_index_0_lang-BYp2-i9R.js} +1 -1
- package/dist/{childView-DKG3eZo8.js → childView-B8L4By2o.js} +1 -1
- package/dist/{childView-siumuBz0.js → childView-nCa8t4tr.js} +1 -1
- package/dist/{childView.vue_vue_type_style_index_0_lang-CUfXDS1q.js → childView.vue_vue_type_style_index_0_lang-Bl1MzDS9.js} +7 -7
- package/dist/{childView.vue_vue_type_style_index_0_lang-CW3EbAmW.js → childView.vue_vue_type_style_index_0_lang-DDx9z61J.js} +7 -7
- package/dist/{code-rule-Dtoree6F.js → code-rule-8dQLPHni.js} +1 -1
- package/dist/core.es.js +10 -10
- package/dist/{cron-task-GSRgA7S5.js → cron-task-aDBWT_Uh.js} +1 -1
- package/dist/{frameView-Cy6wxW0K.js → frameView-DM3flfo5.js} +1 -1
- package/dist/{index-Dc7xWMiC.js → index-ClHeZ3q4.js} +88 -88
- package/dist/{layout-home-3Dy4onl4.js → layout-home-DNPOu6R4.js} +27 -23
- package/dist/{layoutView-DMjNscJ-.js → layoutView-Ymyja_uK.js} +1 -1
- package/dist/{log-in-VAG6Cvcx.js → log-in-DtHf5ZcG.js} +8 -8
- package/dist/{log-out-DZGaMCjC.js → log-out-DZ8OkPM6.js} +3 -3
- package/dist/{login-CqVMdNHs.js → login-CoX7TNHE.js} +15 -15
- package/dist/{lov-view-Cc68_28B.js → lov-view-BWtIPBNm.js} +6 -6
- package/dist/{menuInfo-BIrIaJlH.js → menuInfo-wG5Zt00s.js} +1 -1
- package/dist/{menuInfo.vue_vue_type_style_index_0_lang-DlE4w35X.js → menuInfo.vue_vue_type_style_index_0_lang-DiPeALce.js} +1 -1
- package/dist/{pda-app-DnjphrRS.js → pda-app-9b3JC2he.js} +8 -8
- package/dist/{resource-DISgPDM7.js → resource-DiHXYgfm.js} +4 -4
- package/dist/{su-welcome-CYYy-dzr-D3RKPoB0.js → su-welcome-COvSPTOW.js} +21215 -21131
- package/dist/{sys-config-Yc9vh1t1.js → sys-config-Mm50Y0LQ.js} +12 -12
- package/dist/udp-core.css +1 -1
- package/package.json +1 -1
- package/src/plugins/vxe-table/index.ts +116 -116
- package/src/views/system/layout/layout-home.vue +6 -5
- package/src/views/ufile/aggregation/File.vue +87 -87
- package/src/views/uhome/components/home-todo.vue +6 -6
- package/src/views/uhome/su-welcome.vue +2 -4
- package/vite.config.ts +0 -1
- package/dist/403-WCboRvzZ-ZAPgYStl.js +0 -65
- package/dist/404-2V0Qi-d7-DkNwQggp.js +0 -65
- package/dist/500-BYfzvixf-CGpEieyQ.js +0 -67
- package/dist/AuthorityInfo-DBovfUjB-DpQwT9Q5.js +0 -4
- package/dist/AuthorityInfo.vue_vue_type_style_index_0_lang-D-l_Az3s-Cw7WmFxz.js +0 -100
- package/dist/AuthorityPanel-CRlAwbaI-G7pZXKdE.js +0 -4
- package/dist/AuthorityPanel.vue_vue_type_style_index_0_lang-DxhZjp1S-CJvk3pW8.js +0 -114
- package/dist/Company-B4vsXy2I-CkNCOqjJ.js +0 -25
- package/dist/CompanyPanel-Czcx8Gyw-CvndXwB_.js +0 -206
- package/dist/DataSet-DT-rGICv-DaUfgbxk.js +0 -147
- package/dist/Department-D0dVUrGC-C6HJcYI1.js +0 -25
- package/dist/DepartmentPanel-e91Lxr1j-BS_A-ILd.js +0 -254
- package/dist/DesignPanel-DdFl_ohi-uCwFxcl1.js +0 -4
- package/dist/DesignPanel.vue_vue_type_style_index_0_lang-BACPrfUI-cC7yL0uY.js +0 -1013
- package/dist/DictView-BzQLOf_P-DDicwdmM.js +0 -111
- package/dist/InvOrganization-atbhw0CI-BABbVt9V.js +0 -74
- package/dist/Org-BW1YHG-Q-Cow7JWlD.js +0 -39
- package/dist/Preview-DJtVsoq1-CCGidQjJ.js +0 -48
- package/dist/ReportDefine-CNx_ob99-6NQAHK-Q.js +0 -10
- package/dist/ReportDesign-FbQ6yTJS-C1pPAUSp.js +0 -165
- package/dist/ReportQuery-C5gz8Lgd-Eu2cQmda.js +0 -75
- package/dist/ReportQueryFrom-C7scua5v-uHXWq8Gy.js +0 -4
- package/dist/ReportQueryFrom.vue_vue_type_style_index_0_lang-DCbz67Wa-vK6r2uCl.js +0 -178
- package/dist/ReportTemplate-BDANdIWv-D_IGjR1w.js +0 -161
- package/dist/Role-ByB0WbxW-5E8Mb148.js +0 -25
- package/dist/RoleAssign-DW6iC_0v-Bis61auk.js +0 -26
- package/dist/RolePanel-BM2MaQPU-CgcsbfaX.js +0 -4
- package/dist/RolePanel-ClQy8DBL-DARL4O-o.js +0 -4
- package/dist/RolePanel.vue_vue_type_script_setup_true_lang-Bc_Ao_PU-DMmxr2iI.js +0 -132
- package/dist/RolePanel.vue_vue_type_script_setup_true_lang-fthF1zkp-JsbQJoDy.js +0 -154
- package/dist/ScrollPanel.vue_vue_type_style_index_0_lang-ByWIwajm-BsBf2Vs3.js +0 -100
- package/dist/Staff-CuxzvhD9-D0KTcyRh.js +0 -25
- package/dist/StaffInfo-CY7gUICu-EZUhUwIp.js +0 -4
- package/dist/StaffInfo.vue_vue_type_script_setup_true_lang-Dd8gtQz8-Dlkt-eCn.js +0 -108
- package/dist/StaffPanel-CwqG0_xr-CrvzLJoc.js +0 -4
- package/dist/StaffPanel.vue_vue_type_script_setup_true_lang-DCdBy8Hu-BXrueqi0.js +0 -143
- package/dist/SysUser-9Q2UJWhi-DprWXFlR.js +0 -15
- package/dist/SysUserPanel-bJy69O7x-BJtBgFEs.js +0 -4
- package/dist/SysUserPanel.vue_vue_type_script_setup_true_lang-DUPFqgz3-BSqRCMen.js +0 -356
- package/dist/SystemMenu-DGOAolc1-CJSLHP8i.js +0 -156
- package/dist/UserInfo-CKoOHkAM-DDWp0I_U.js +0 -4
- package/dist/UserInfo.vue_vue_type_style_index_0_lang-BaT53SSu-DsNaAomO.js +0 -160
- package/dist/await-to-js.es5-Bv3Eu4mi-UCggJjes.js +0 -10
- package/dist/childView-0YZQ6GBn-CEqg7k5d.js +0 -4
- package/dist/childView-DKkgi3yo-D47ft-vi.js +0 -4
- package/dist/childView.vue_vue_type_style_index_0_lang-ABMrGInv-ClOdE_sa.js +0 -143
- package/dist/childView.vue_vue_type_style_index_0_lang-CaW106ve-CClTM8PK.js +0 -180
- package/dist/code-rule-wQyfgpNL-C4evD4Co.js +0 -148
- package/dist/cron-task-C-kryDtd-C0NuGZCe.js +0 -135
- package/dist/flow-task-B07st2aD-CgQvagSQ.js +0 -10
- package/dist/frameView-BOGA3ezf-QoSxzmSQ.js +0 -44
- package/dist/layout-home-CYHksXN_-Basy-3IH.js +0 -228
- package/dist/layoutView-BaRvAbIa-xVgfqspc.js +0 -3302
- package/dist/log-in-Cx1dGik8-BVeEHeZ8.js +0 -117
- package/dist/log-out-COYdxrNC-ftopGZdE.js +0 -130
- package/dist/login-Dg9ofNS8-Bocp1XMA.js +0 -241
- package/dist/login-log-DJBGJVV0-AoOyj0jD.js +0 -70
- package/dist/lov-view-C0T5prk8-B2DBmn55.js +0 -97
- package/dist/menuInfo-BZJ_q7bz-Drho-_QC.js +0 -4
- package/dist/menuInfo.vue_vue_type_style_index_0_lang-BA8xjUo3-BCZ1wipf.js +0 -363
- package/dist/pda-app-m9hsppHo-B4xyja1o.js +0 -710
- package/dist/redirect-BqegffKC-CBCIuqmz.js +0 -15
- package/dist/resource-C6KEIXu--B_ddyecm.js +0 -97
- package/dist/su-welcome-BjbuSrBZ.js +0 -49424
- package/dist/sys-config-DCjJGtht-DARDjlrt.js +0 -370
- package/dist/utogether-MlnyYtNS-CGgjFNPS.js +0 -4
|
@@ -1,1013 +0,0 @@
|
|
|
1
|
-
import { defineComponent as ie, ref as f, reactive as k, onMounted as oe, onBeforeUnmount as ne, resolveComponent as r, resolveDirective as ae, withDirectives as pe, createElementBlock as P, openBlock as w, createVNode as l, createBlock as C, createCommentVNode as H, withCtx as i, createElementVNode as t, Fragment as re, renderList as se, unref as de, toDisplayString as U, withModifiers as ce, createTextVNode as D, nextTick as he } from "vue";
|
|
2
|
-
import { VxeUI as O } from "vxe-pc-ui";
|
|
3
|
-
import { useGlobal as ue } from "@utogether/utils";
|
|
4
|
-
import { c as me } from "./await-to-js.es5-Bv3Eu4mi-UCggJjes.js";
|
|
5
|
-
import { clone as fe } from "xe-utils";
|
|
6
|
-
import { M as ge, W as ye } from "./su-welcome-BjbuSrBZ.js";
|
|
7
|
-
import xe from "./Preview-DJtVsoq1-CCGidQjJ.js";
|
|
8
|
-
const ve = {
|
|
9
|
-
panels: [
|
|
10
|
-
{
|
|
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: { title: "椭圆", type: "oval" }
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
options: {
|
|
31
|
-
left: 454.5,
|
|
32
|
-
top: 15,
|
|
33
|
-
height: 18,
|
|
34
|
-
width: 74,
|
|
35
|
-
title: "8888888",
|
|
36
|
-
fontSize: 18,
|
|
37
|
-
fontWeight: "600",
|
|
38
|
-
color: "#2935e3",
|
|
39
|
-
textAlign: "center",
|
|
40
|
-
lineHeight: 16
|
|
41
|
-
},
|
|
42
|
-
printElementType: { title: "文本", type: "text" }
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
options: {
|
|
46
|
-
left: 424.5,
|
|
47
|
-
top: 15,
|
|
48
|
-
height: 19,
|
|
49
|
-
width: 24,
|
|
50
|
-
title: "NO",
|
|
51
|
-
fontSize: 18,
|
|
52
|
-
color: "#2935e3",
|
|
53
|
-
textAlign: "center",
|
|
54
|
-
lineHeight: 15
|
|
55
|
-
},
|
|
56
|
-
printElementType: { title: "文本", type: "text" }
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
options: {
|
|
60
|
-
left: 190.5,
|
|
61
|
-
top: 15,
|
|
62
|
-
height: 21,
|
|
63
|
-
width: 226,
|
|
64
|
-
title: "上海增值税普通发票",
|
|
65
|
-
fontSize: 18,
|
|
66
|
-
fontWeight: "600",
|
|
67
|
-
letterSpacing: 2.5,
|
|
68
|
-
color: "#cc5a5a",
|
|
69
|
-
textAlign: "center",
|
|
70
|
-
lineHeight: 18
|
|
71
|
-
},
|
|
72
|
-
printElementType: { title: "文本", type: "text" }
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
options: {
|
|
76
|
-
left: 244.5,
|
|
77
|
-
top: 19.5,
|
|
78
|
-
height: 51,
|
|
79
|
-
width: 112,
|
|
80
|
-
borderColor: "#eb1111",
|
|
81
|
-
borderWidth: "2"
|
|
82
|
-
},
|
|
83
|
-
printElementType: { title: "椭圆", type: "oval" }
|
|
84
|
-
},
|
|
85
|
-
{
|
|
86
|
-
options: {
|
|
87
|
-
left: 90,
|
|
88
|
-
top: 19.5,
|
|
89
|
-
height: 21,
|
|
90
|
-
width: 96,
|
|
91
|
-
title: "8888888",
|
|
92
|
-
fontSize: 19,
|
|
93
|
-
letterSpacing: 1,
|
|
94
|
-
color: "#2935e3",
|
|
95
|
-
textAlign: "center",
|
|
96
|
-
lineHeight: 18
|
|
97
|
-
},
|
|
98
|
-
printElementType: { title: "文本", type: "text" }
|
|
99
|
-
},
|
|
100
|
-
{
|
|
101
|
-
options: {
|
|
102
|
-
left: 19.5,
|
|
103
|
-
top: 19.5,
|
|
104
|
-
height: 61,
|
|
105
|
-
width: 65,
|
|
106
|
-
title: "031001800204",
|
|
107
|
-
textType: "qrcode"
|
|
108
|
-
},
|
|
109
|
-
printElementType: { title: "文本", type: "text" }
|
|
110
|
-
},
|
|
111
|
-
{
|
|
112
|
-
options: { left: 250.5, top: 25.5, height: 42, width: 104, borderColor: "#f00505" },
|
|
113
|
-
printElementType: { title: "椭圆", type: "oval" }
|
|
114
|
-
},
|
|
115
|
-
{
|
|
116
|
-
options: { left: 190.5, top: 45, height: 10, width: 228, borderColor: "#b5a8a8" },
|
|
117
|
-
printElementType: { title: "横线", type: "hline" }
|
|
118
|
-
},
|
|
119
|
-
{
|
|
120
|
-
options: { left: 190.5, top: 49.5, height: 10, width: 228, borderColor: "#baafaf" },
|
|
121
|
-
printElementType: { title: "横线", type: "hline" }
|
|
122
|
-
},
|
|
123
|
-
{
|
|
124
|
-
options: {
|
|
125
|
-
left: 244.5,
|
|
126
|
-
top: 55.5,
|
|
127
|
-
height: 22,
|
|
128
|
-
width: 120,
|
|
129
|
-
title: "发票联",
|
|
130
|
-
fontSize: 18,
|
|
131
|
-
fontWeight: "600",
|
|
132
|
-
letterSpacing: 8,
|
|
133
|
-
color: "#cc5a5a",
|
|
134
|
-
textAlign: "center",
|
|
135
|
-
lineHeight: 18
|
|
136
|
-
},
|
|
137
|
-
printElementType: { title: "文本", type: "text" }
|
|
138
|
-
},
|
|
139
|
-
{
|
|
140
|
-
options: {
|
|
141
|
-
left: 510,
|
|
142
|
-
top: 55.5,
|
|
143
|
-
height: 13,
|
|
144
|
-
width: 69,
|
|
145
|
-
title: "2019年05月09日",
|
|
146
|
-
color: "#2935e3"
|
|
147
|
-
},
|
|
148
|
-
printElementType: { title: "文本", type: "text" }
|
|
149
|
-
},
|
|
150
|
-
{
|
|
151
|
-
options: {
|
|
152
|
-
left: 445.5,
|
|
153
|
-
top: 55.5,
|
|
154
|
-
height: 15,
|
|
155
|
-
width: 57,
|
|
156
|
-
title: "开票日期:",
|
|
157
|
-
color: "#cc5a5a",
|
|
158
|
-
lineHeight: 13
|
|
159
|
-
},
|
|
160
|
-
printElementType: { title: "文本", type: "text" }
|
|
161
|
-
},
|
|
162
|
-
{
|
|
163
|
-
options: {
|
|
164
|
-
left: 90,
|
|
165
|
-
top: 64.5,
|
|
166
|
-
height: 15,
|
|
167
|
-
width: 141,
|
|
168
|
-
title: "校验码:123456 788942 52344",
|
|
169
|
-
color: "#2935e3",
|
|
170
|
-
textAlign: "center",
|
|
171
|
-
lineHeight: 13
|
|
172
|
-
},
|
|
173
|
-
printElementType: { title: "文本", type: "text" }
|
|
174
|
-
},
|
|
175
|
-
{
|
|
176
|
-
options: { left: 400, top: 90, height: 60, width: 10, borderColor: "#cc5a5a" },
|
|
177
|
-
printElementType: { title: "竖线", type: "vline" }
|
|
178
|
-
},
|
|
179
|
-
{
|
|
180
|
-
options: { left: 35, top: 90, height: 60, width: 10, borderColor: "#cc5a5a" },
|
|
181
|
-
printElementType: { title: "竖线", type: "vline" }
|
|
182
|
-
},
|
|
183
|
-
{
|
|
184
|
-
options: { left: 420, top: 90, height: 61, width: 10, borderColor: "#cc5a5a" },
|
|
185
|
-
printElementType: { title: "竖线", type: "vline" }
|
|
186
|
-
},
|
|
187
|
-
{
|
|
188
|
-
options: { left: 10.5, top: 90, height: 282, width: 572, borderColor: "#cc5a5a" },
|
|
189
|
-
printElementType: { title: "矩形", type: "rect" }
|
|
190
|
-
},
|
|
191
|
-
{
|
|
192
|
-
options: {
|
|
193
|
-
left: 405,
|
|
194
|
-
top: 94.5,
|
|
195
|
-
height: 55,
|
|
196
|
-
width: 13,
|
|
197
|
-
title: "密码区",
|
|
198
|
-
fontSize: 13,
|
|
199
|
-
color: "#cc5a5a",
|
|
200
|
-
lineHeight: 18
|
|
201
|
-
},
|
|
202
|
-
printElementType: { title: "文本", type: "text" }
|
|
203
|
-
},
|
|
204
|
-
{
|
|
205
|
-
options: { left: 424.5, top: 94.5, height: 50, width: 152, title: "", color: "#2935e3" },
|
|
206
|
-
printElementType: { title: "文本", type: "text" }
|
|
207
|
-
},
|
|
208
|
-
{
|
|
209
|
-
options: {
|
|
210
|
-
left: 15,
|
|
211
|
-
top: 94.5,
|
|
212
|
-
height: 53,
|
|
213
|
-
width: 15,
|
|
214
|
-
title: "购买方",
|
|
215
|
-
fontSize: 13,
|
|
216
|
-
color: "#cc5a5a",
|
|
217
|
-
lineHeight: 18
|
|
218
|
-
},
|
|
219
|
-
printElementType: { title: "文本", type: "text" }
|
|
220
|
-
},
|
|
221
|
-
{
|
|
222
|
-
options: {
|
|
223
|
-
left: 45,
|
|
224
|
-
top: 100.5,
|
|
225
|
-
height: 10,
|
|
226
|
-
width: 348,
|
|
227
|
-
title: "名称:北京地铁税务局有限公司",
|
|
228
|
-
color: "#2935e3"
|
|
229
|
-
},
|
|
230
|
-
printElementType: { title: "文本", type: "text" }
|
|
231
|
-
},
|
|
232
|
-
{
|
|
233
|
-
options: {
|
|
234
|
-
left: 45,
|
|
235
|
-
top: 115.5,
|
|
236
|
-
height: 10,
|
|
237
|
-
width: 347,
|
|
238
|
-
title: "纳税人识别号:999999999999999999",
|
|
239
|
-
color: "#2935e3"
|
|
240
|
-
},
|
|
241
|
-
printElementType: { title: "文本", type: "text" }
|
|
242
|
-
},
|
|
243
|
-
{
|
|
244
|
-
options: {
|
|
245
|
-
left: 45,
|
|
246
|
-
top: 130.5,
|
|
247
|
-
height: 10,
|
|
248
|
-
width: 347,
|
|
249
|
-
title: "地址、电话:18888888888",
|
|
250
|
-
color: "#2935e3"
|
|
251
|
-
},
|
|
252
|
-
printElementType: { title: "文本", type: "text" }
|
|
253
|
-
},
|
|
254
|
-
{
|
|
255
|
-
options: { left: 345, top: 150, height: 190, width: 10, borderColor: "#cc5a5a" },
|
|
256
|
-
printElementType: { title: "竖线", type: "vline" }
|
|
257
|
-
},
|
|
258
|
-
{
|
|
259
|
-
options: { left: 409.5, top: 150, height: 190, width: 10, borderColor: "#cc5a5a" },
|
|
260
|
-
printElementType: { title: "竖线", type: "vline" }
|
|
261
|
-
},
|
|
262
|
-
{
|
|
263
|
-
options: { left: 295.5, top: 150, height: 190, width: 10, borderColor: "#cc5a5a" },
|
|
264
|
-
printElementType: { title: "竖线", type: "vline" }
|
|
265
|
-
},
|
|
266
|
-
{
|
|
267
|
-
options: { left: 480, top: 150, height: 190, width: 10, borderColor: "#cc5a5a" },
|
|
268
|
-
printElementType: { title: "竖线", type: "vline" }
|
|
269
|
-
},
|
|
270
|
-
{
|
|
271
|
-
options: { left: 215, top: 150, height: 224, width: 10, borderColor: "#cc5a5a" },
|
|
272
|
-
printElementType: { title: "竖线", type: "vline" }
|
|
273
|
-
},
|
|
274
|
-
{
|
|
275
|
-
options: { left: 520.5, top: 150, height: 190, width: 10, borderColor: "#cc5a5a" },
|
|
276
|
-
printElementType: { title: "竖线", type: "vline" }
|
|
277
|
-
},
|
|
278
|
-
{
|
|
279
|
-
options: { left: 10, top: 150, height: 10, width: 574, borderColor: "#cc5a5a" },
|
|
280
|
-
printElementType: { title: "横线", type: "hline" }
|
|
281
|
-
},
|
|
282
|
-
{
|
|
283
|
-
options: {
|
|
284
|
-
left: 300,
|
|
285
|
-
top: 160.5,
|
|
286
|
-
height: 10,
|
|
287
|
-
width: 36,
|
|
288
|
-
title: "单位",
|
|
289
|
-
fontSize: 13,
|
|
290
|
-
color: "#cc5a5a",
|
|
291
|
-
textAlign: "center"
|
|
292
|
-
},
|
|
293
|
-
printElementType: { title: "文本", type: "text" }
|
|
294
|
-
},
|
|
295
|
-
{
|
|
296
|
-
options: {
|
|
297
|
-
left: 349.5,
|
|
298
|
-
top: 160.5,
|
|
299
|
-
height: 11,
|
|
300
|
-
width: 51,
|
|
301
|
-
title: "数量",
|
|
302
|
-
fontSize: 13,
|
|
303
|
-
color: "#cc5a5a",
|
|
304
|
-
textAlign: "center"
|
|
305
|
-
},
|
|
306
|
-
printElementType: { title: "文本", type: "text" }
|
|
307
|
-
},
|
|
308
|
-
{
|
|
309
|
-
options: {
|
|
310
|
-
left: 225,
|
|
311
|
-
top: 160.5,
|
|
312
|
-
height: 10,
|
|
313
|
-
width: 62,
|
|
314
|
-
title: "规格名称",
|
|
315
|
-
fontSize: 13,
|
|
316
|
-
color: "#cc5a5a",
|
|
317
|
-
textAlign: "center"
|
|
318
|
-
},
|
|
319
|
-
printElementType: { title: "文本", type: "text" }
|
|
320
|
-
},
|
|
321
|
-
{
|
|
322
|
-
options: {
|
|
323
|
-
left: 420,
|
|
324
|
-
top: 160.5,
|
|
325
|
-
height: 10,
|
|
326
|
-
width: 53,
|
|
327
|
-
title: "单价",
|
|
328
|
-
fontSize: 13,
|
|
329
|
-
color: "#cc5a5a",
|
|
330
|
-
textAlign: "center"
|
|
331
|
-
},
|
|
332
|
-
printElementType: { title: "文本", type: "text" }
|
|
333
|
-
},
|
|
334
|
-
{
|
|
335
|
-
options: {
|
|
336
|
-
left: 484.5,
|
|
337
|
-
top: 160.5,
|
|
338
|
-
height: 10,
|
|
339
|
-
width: 32,
|
|
340
|
-
title: "税率",
|
|
341
|
-
fontSize: 13,
|
|
342
|
-
color: "#cc5a5a",
|
|
343
|
-
textAlign: "center"
|
|
344
|
-
},
|
|
345
|
-
printElementType: { title: "文本", type: "text" }
|
|
346
|
-
},
|
|
347
|
-
{
|
|
348
|
-
options: {
|
|
349
|
-
left: 525,
|
|
350
|
-
top: 160.5,
|
|
351
|
-
height: 10,
|
|
352
|
-
width: 52,
|
|
353
|
-
title: "税额",
|
|
354
|
-
fontSize: 13,
|
|
355
|
-
color: "#cc5a5a",
|
|
356
|
-
textAlign: "center"
|
|
357
|
-
},
|
|
358
|
-
printElementType: { title: "文本", type: "text" }
|
|
359
|
-
},
|
|
360
|
-
{
|
|
361
|
-
options: {
|
|
362
|
-
left: 19.5,
|
|
363
|
-
top: 160.5,
|
|
364
|
-
height: 10,
|
|
365
|
-
width: 184,
|
|
366
|
-
title: "货物或应税劳务、服务名称",
|
|
367
|
-
fontSize: 13,
|
|
368
|
-
color: "#cc5a5a",
|
|
369
|
-
textAlign: "center"
|
|
370
|
-
},
|
|
371
|
-
printElementType: { title: "文本", type: "text" }
|
|
372
|
-
},
|
|
373
|
-
{
|
|
374
|
-
options: {
|
|
375
|
-
left: 40.5,
|
|
376
|
-
top: 175.5,
|
|
377
|
-
height: 12,
|
|
378
|
-
width: 120,
|
|
379
|
-
title: "*餐饮服务*餐费",
|
|
380
|
-
color: "#2935e3"
|
|
381
|
-
},
|
|
382
|
-
printElementType: { title: "文本", type: "text" }
|
|
383
|
-
},
|
|
384
|
-
{
|
|
385
|
-
options: { left: 10.5, top: 340.5, height: 10, width: 574, borderColor: "#cc5a5a" },
|
|
386
|
-
printElementType: { title: "横线", type: "hline" }
|
|
387
|
-
},
|
|
388
|
-
{
|
|
389
|
-
options: {
|
|
390
|
-
left: 225,
|
|
391
|
-
top: 349.5,
|
|
392
|
-
height: 14,
|
|
393
|
-
width: 229,
|
|
394
|
-
title: "壹佰贰拾元整",
|
|
395
|
-
color: "#2935e3"
|
|
396
|
-
},
|
|
397
|
-
printElementType: { title: "文本", type: "text" }
|
|
398
|
-
},
|
|
399
|
-
{
|
|
400
|
-
options: {
|
|
401
|
-
left: 460.5,
|
|
402
|
-
top: 349.5,
|
|
403
|
-
height: 13,
|
|
404
|
-
width: 58,
|
|
405
|
-
title: "(小写)",
|
|
406
|
-
fontSize: 13,
|
|
407
|
-
color: "#cc5a5a"
|
|
408
|
-
},
|
|
409
|
-
printElementType: { title: "文本", type: "text" }
|
|
410
|
-
},
|
|
411
|
-
{
|
|
412
|
-
options: {
|
|
413
|
-
left: 520.5,
|
|
414
|
-
top: 349.5,
|
|
415
|
-
height: 13,
|
|
416
|
-
width: 48,
|
|
417
|
-
title: "¥100.00",
|
|
418
|
-
color: "#2935e3"
|
|
419
|
-
},
|
|
420
|
-
printElementType: { title: "文本", type: "text" }
|
|
421
|
-
},
|
|
422
|
-
{
|
|
423
|
-
options: {
|
|
424
|
-
left: 15,
|
|
425
|
-
top: 349.5,
|
|
426
|
-
height: 14,
|
|
427
|
-
width: 193,
|
|
428
|
-
title: "价税合计(大写)",
|
|
429
|
-
fontSize: 13,
|
|
430
|
-
color: "#cc5a5a",
|
|
431
|
-
textAlign: "center"
|
|
432
|
-
},
|
|
433
|
-
printElementType: { title: "文本", type: "text" }
|
|
434
|
-
},
|
|
435
|
-
{
|
|
436
|
-
options: { left: 300, top: 385.5, height: 10, width: 39, title: "开票人:", color: "#cc5a5a" },
|
|
437
|
-
printElementType: { title: "文本", type: "text" }
|
|
438
|
-
},
|
|
439
|
-
{
|
|
440
|
-
options: {
|
|
441
|
-
left: 190.5,
|
|
442
|
-
top: 385.5,
|
|
443
|
-
height: 10,
|
|
444
|
-
width: 103,
|
|
445
|
-
title: "轩大可",
|
|
446
|
-
color: "#2935e3"
|
|
447
|
-
},
|
|
448
|
-
printElementType: { title: "文本", type: "text" }
|
|
449
|
-
},
|
|
450
|
-
{
|
|
451
|
-
options: { left: 150, top: 385.5, height: 10, width: 33, title: "复核:", color: "#cc5a5a" },
|
|
452
|
-
printElementType: { title: "文本", type: "text" }
|
|
453
|
-
},
|
|
454
|
-
{
|
|
455
|
-
options: { left: 345, top: 385.5, height: 10, width: 86, title: "张天天", color: "#2935e3" },
|
|
456
|
-
printElementType: { title: "文本", type: "text" }
|
|
457
|
-
},
|
|
458
|
-
{
|
|
459
|
-
options: { left: 64.5, top: 385.5, height: 10, width: 78, title: "轩天天", color: "#2935e3" },
|
|
460
|
-
printElementType: { title: "文本", type: "text" }
|
|
461
|
-
},
|
|
462
|
-
{
|
|
463
|
-
options: {
|
|
464
|
-
left: 439.5,
|
|
465
|
-
top: 385.5,
|
|
466
|
-
height: 10,
|
|
467
|
-
width: 40,
|
|
468
|
-
title: "销售方:",
|
|
469
|
-
color: "#cc5a5a"
|
|
470
|
-
},
|
|
471
|
-
printElementType: { title: "文本", type: "text" }
|
|
472
|
-
},
|
|
473
|
-
{
|
|
474
|
-
options: { left: 15, top: 385.5, height: 10, width: 44, title: "收款人:", color: "#cc5a5a" },
|
|
475
|
-
printElementType: { title: "文本", type: "text" }
|
|
476
|
-
}
|
|
477
|
-
],
|
|
478
|
-
paperNumberLeft: 565.5,
|
|
479
|
-
paperNumberTop: 394.5,
|
|
480
|
-
paperNumberDisabled: !0
|
|
481
|
-
}
|
|
482
|
-
]
|
|
483
|
-
}, we = { class: "ut-design-panel" }, Te = { class: "flex justify-between" }, be = { style: { float: "left" } }, Ee = { style: { float: "right", "font-size": "13px", color: "var(--el-text-color-secondary)" } }, _e = {
|
|
484
|
-
class: "flex justify-center mb-1",
|
|
485
|
-
style: { width: "100%" }
|
|
486
|
-
}, ke = /* @__PURE__ */ ie({
|
|
487
|
-
__name: "DesignPanel",
|
|
488
|
-
props: {
|
|
489
|
-
record: { default: () => ({}) }
|
|
490
|
-
},
|
|
491
|
-
emits: ["onClose"],
|
|
492
|
-
setup(W, { emit: J }) {
|
|
493
|
-
const B = W;
|
|
494
|
-
let { $printPlugin: u } = ue();
|
|
495
|
-
const j = ge().getDataDict, F = ye();
|
|
496
|
-
let s = null;
|
|
497
|
-
const S = f(!1), g = f(!1), y = f(!1), x = f(!1), z = f(null), T = f(""), m = f({}), d = k({}), h = k({ max: 5, min: 0.5, value: 1, ration: "100%" }), R = () => {
|
|
498
|
-
g.value = !1, s.setPaper(d.width || 210, d.height || 296.6);
|
|
499
|
-
}, V = async (n) => {
|
|
500
|
-
const e = m.value;
|
|
501
|
-
let a = T.value;
|
|
502
|
-
if (!a) {
|
|
503
|
-
const v = s.getJson();
|
|
504
|
-
a = JSON.stringify(v);
|
|
505
|
-
}
|
|
506
|
-
e.templateContent = a, x.value = !0;
|
|
507
|
-
const [E, _] = await me(F.put("/urpt/v1/printTemplate", [e]));
|
|
508
|
-
x.value = !1, E || (T.value = "", m.value = _[0]), n && n();
|
|
509
|
-
}, N = () => {
|
|
510
|
-
q("onClose");
|
|
511
|
-
}, q = J, A = (n) => {
|
|
512
|
-
let e = h.value;
|
|
513
|
-
n === "Y" ? (e += 0.1, e > h.max && (e = 5)) : (e -= 0.1, e < h.min && (e = 0.5)), s && (s.zoom(e), h.value = e, h.ration = `${(e * 100).toFixed(0)}%`);
|
|
514
|
-
}, I = async () => {
|
|
515
|
-
await O.modal.confirm("重绘操作不可逆,您确定继续吗?", "温馨提示") === "confirm" && s.clear();
|
|
516
|
-
}, L = async () => {
|
|
517
|
-
y.value = !0;
|
|
518
|
-
}, Y = async () => {
|
|
519
|
-
await O.modal.confirm("导入后将覆盖原有的模板,您确定继续吗?", "温馨提示") === "confirm" && (V(N), y.value = !1);
|
|
520
|
-
}, G = async () => {
|
|
521
|
-
S.value = !0;
|
|
522
|
-
const n = {};
|
|
523
|
-
he(() => {
|
|
524
|
-
z.value.show(s, n, d.width || 220);
|
|
525
|
-
});
|
|
526
|
-
}, K = (n) => {
|
|
527
|
-
if (n !== "customize") {
|
|
528
|
-
const { width: e, height: a } = Q(n);
|
|
529
|
-
d.width = e, d.height = a, s.setPaper(d.width, d.height);
|
|
530
|
-
} else
|
|
531
|
-
g.value = !0;
|
|
532
|
-
}, Q = (n) => ({
|
|
533
|
-
A3: { width: 420, height: 296.6 },
|
|
534
|
-
A4: { width: 210, height: 296.6 },
|
|
535
|
-
A5: { width: 210, height: 147.6 },
|
|
536
|
-
bisect: { width: 241, height: 140 },
|
|
537
|
-
trisection: { width: 241, height: 93 }
|
|
538
|
-
})[n];
|
|
539
|
-
return oe(() => {
|
|
540
|
-
const { record: n } = B;
|
|
541
|
-
x.value = !0, m.value = fe(n, !0);
|
|
542
|
-
const e = n.templateContent ? JSON.parse(n.templateContent) : ve;
|
|
543
|
-
$("#hiprint-printTemplate").empty(), u.print.init({
|
|
544
|
-
providers: [new u.provider()]
|
|
545
|
-
}), u.print.setConfig(), u.print.setConfig({
|
|
546
|
-
movingDistance: 2.5,
|
|
547
|
-
text: {
|
|
548
|
-
supportOptions: [
|
|
549
|
-
{ name: "styler", hidden: !0 },
|
|
550
|
-
{ name: "formatter", hidden: !0 }
|
|
551
|
-
]
|
|
552
|
-
}
|
|
553
|
-
}), u.print.PrintElementTypeManager.buildByHtml($(".ep-draggable-item")), s = new u.print.PrintTemplate({
|
|
554
|
-
template: e,
|
|
555
|
-
settingContainer: "#PrintElementOptionSetting",
|
|
556
|
-
paginationContainer: ".hiprint-printPagination",
|
|
557
|
-
history: !1
|
|
558
|
-
// 是否需要 撤销重做功能
|
|
559
|
-
}), s.design("#hiprint-printTemplate", { grid: !0 }), h.value = s.editingPanel.scale || 1, x.value = !1;
|
|
560
|
-
}), ne(() => {
|
|
561
|
-
u = null, s = null;
|
|
562
|
-
}), (n, e) => {
|
|
563
|
-
const a = r("ut-button"), E = r("el-option"), _ = r("el-select"), v = r("vxe-input"), X = r("el-popover"), M = r("vxe-button"), Z = r("el-space"), c = r("el-row"), p = r("el-col"), b = r("el-card"), ee = r("vxe-textarea"), te = r("vxe-modal"), le = ae("spinning");
|
|
564
|
-
return pe((w(), P("div", we, [
|
|
565
|
-
l(b, { class: "design-panel-contain" }, {
|
|
566
|
-
default: i(() => [
|
|
567
|
-
l(Z, {
|
|
568
|
-
style: { "margin-bottom": "10px" },
|
|
569
|
-
fill: ""
|
|
570
|
-
}, {
|
|
571
|
-
default: i(() => [
|
|
572
|
-
t("div", Te, [
|
|
573
|
-
t("div", null, [
|
|
574
|
-
l(a, {
|
|
575
|
-
icon: "ri-eye-line ri-1x",
|
|
576
|
-
content: "preview",
|
|
577
|
-
onTap: G
|
|
578
|
-
}),
|
|
579
|
-
l(_, {
|
|
580
|
-
modelValue: m.value.paperType,
|
|
581
|
-
"onUpdate:modelValue": e[0] || (e[0] = (o) => m.value.paperType = o),
|
|
582
|
-
size: "small",
|
|
583
|
-
placeholder: "Select Paper",
|
|
584
|
-
class: "ml-1 mr-1",
|
|
585
|
-
style: { width: "100px !important" },
|
|
586
|
-
onChange: e[1] || (e[1] = (o) => K(m.value.paperType))
|
|
587
|
-
}, {
|
|
588
|
-
default: i(() => [
|
|
589
|
-
(w(!0), P(re, null, se(de(j)["SU.PRINT.PAPER"].children, (o) => (w(), C(E, {
|
|
590
|
-
key: o.dictCode,
|
|
591
|
-
label: o.dictName,
|
|
592
|
-
value: o.dictCode
|
|
593
|
-
}, {
|
|
594
|
-
default: i(() => [
|
|
595
|
-
t("span", be, U(o.dictName), 1),
|
|
596
|
-
t("span", Ee, U(o.dictDesc), 1)
|
|
597
|
-
]),
|
|
598
|
-
_: 2
|
|
599
|
-
}, 1032, ["label", "value"]))), 128))
|
|
600
|
-
]),
|
|
601
|
-
_: 1
|
|
602
|
-
}, 8, ["modelValue"]),
|
|
603
|
-
m.value.paperType === "customize" ? (w(), C(X, {
|
|
604
|
-
key: 0,
|
|
605
|
-
visible: g.value,
|
|
606
|
-
"onUpdate:visible": e[5] || (e[5] = (o) => g.value = o),
|
|
607
|
-
title: "设置纸张宽高(mm)",
|
|
608
|
-
width: "300",
|
|
609
|
-
size: "small",
|
|
610
|
-
effect: "light",
|
|
611
|
-
trigger: "click"
|
|
612
|
-
}, {
|
|
613
|
-
reference: i(() => [
|
|
614
|
-
l(a, {
|
|
615
|
-
icon: "ri-font-size",
|
|
616
|
-
content: "customSize",
|
|
617
|
-
onTap: e[4] || (e[4] = ce((o) => g.value = !0, ["stop"]))
|
|
618
|
-
})
|
|
619
|
-
]),
|
|
620
|
-
default: i(() => [
|
|
621
|
-
t("div", null, [
|
|
622
|
-
t("div", _e, [
|
|
623
|
-
l(v, {
|
|
624
|
-
modelValue: d.width,
|
|
625
|
-
"onUpdate:modelValue": e[2] || (e[2] = (o) => d.width = o),
|
|
626
|
-
type: "number",
|
|
627
|
-
class: "w-40",
|
|
628
|
-
placeholder: "宽(mm)"
|
|
629
|
-
}, null, 8, ["modelValue"]),
|
|
630
|
-
e[15] || (e[15] = t("div", { class: "flex items-center justify-center w-8" }, "~", -1)),
|
|
631
|
-
l(v, {
|
|
632
|
-
modelValue: d.height,
|
|
633
|
-
"onUpdate:modelValue": e[3] || (e[3] = (o) => d.height = o),
|
|
634
|
-
type: "number",
|
|
635
|
-
class: "w-40",
|
|
636
|
-
placeholder: "高(mm)"
|
|
637
|
-
}, null, 8, ["modelValue"])
|
|
638
|
-
]),
|
|
639
|
-
l(a, {
|
|
640
|
-
style: { width: "100%" },
|
|
641
|
-
content: "confirm",
|
|
642
|
-
onTap: R
|
|
643
|
-
})
|
|
644
|
-
])
|
|
645
|
-
]),
|
|
646
|
-
_: 1
|
|
647
|
-
}, 8, ["visible"])) : H("", !0),
|
|
648
|
-
l(a, {
|
|
649
|
-
status: "u-cyan",
|
|
650
|
-
icon: "ri-upload-2-line",
|
|
651
|
-
content: "importJSON",
|
|
652
|
-
auth: "import",
|
|
653
|
-
onTap: e[6] || (e[6] = (o) => L())
|
|
654
|
-
}),
|
|
655
|
-
l(M, {
|
|
656
|
-
icon: "ri-indeterminate-circle-line ",
|
|
657
|
-
class: "design-custom-button",
|
|
658
|
-
onClick: e[7] || (e[7] = (o) => A("N"))
|
|
659
|
-
}),
|
|
660
|
-
l(v, {
|
|
661
|
-
modelValue: h.ration,
|
|
662
|
-
"onUpdate:modelValue": e[8] || (e[8] = (o) => h.ration = o),
|
|
663
|
-
disabled: "",
|
|
664
|
-
align: "center",
|
|
665
|
-
style: { width: "70px", "margin-left": "10px" }
|
|
666
|
-
}, null, 8, ["modelValue"]),
|
|
667
|
-
l(M, {
|
|
668
|
-
icon: "ri-add-circle-fill ",
|
|
669
|
-
class: "design-custom-button",
|
|
670
|
-
onClick: e[9] || (e[9] = (o) => A("Y"))
|
|
671
|
-
}),
|
|
672
|
-
l(a, {
|
|
673
|
-
status: "danger",
|
|
674
|
-
icon: "ri-delete-bin-5-fill",
|
|
675
|
-
content: "repaint",
|
|
676
|
-
auth: "repaint",
|
|
677
|
-
onTap: e[10] || (e[10] = (o) => I())
|
|
678
|
-
})
|
|
679
|
-
]),
|
|
680
|
-
t("div", null, [
|
|
681
|
-
l(a, {
|
|
682
|
-
icon: "ri-save-3-fill",
|
|
683
|
-
content: "save",
|
|
684
|
-
onTap: e[11] || (e[11] = (o) => V())
|
|
685
|
-
}),
|
|
686
|
-
l(a, {
|
|
687
|
-
status: "info",
|
|
688
|
-
icon: "ri-reply-fill",
|
|
689
|
-
content: "back",
|
|
690
|
-
onTap: N
|
|
691
|
-
})
|
|
692
|
-
])
|
|
693
|
-
]),
|
|
694
|
-
e[16] || (e[16] = t("div", { style: { "font-size": "12px", color: "red", "text-align": "center" } }, " 温馨提示: 蓝色线(页眉)以下,每张纸打印都会重复打印到页面底部;红色线(页尾)以下,每张纸打印都会重复打印到页面底部 ", -1))
|
|
695
|
-
]),
|
|
696
|
-
_: 1
|
|
697
|
-
}),
|
|
698
|
-
l(c, null, {
|
|
699
|
-
default: i(() => [
|
|
700
|
-
l(p, { span: 3 }, {
|
|
701
|
-
default: i(() => [
|
|
702
|
-
l(b, { class: "ut-design-item" }, {
|
|
703
|
-
default: i(() => [
|
|
704
|
-
l(c, null, {
|
|
705
|
-
default: i(() => [
|
|
706
|
-
l(p, {
|
|
707
|
-
span: 24,
|
|
708
|
-
class: "rect-printElement-types hiprintEpContainer"
|
|
709
|
-
}, {
|
|
710
|
-
default: i(() => [
|
|
711
|
-
l(c, { class: "drag_item_title" }, {
|
|
712
|
-
default: i(() => e[17] || (e[17] = [
|
|
713
|
-
D("拖拽组件列表")
|
|
714
|
-
])),
|
|
715
|
-
_: 1
|
|
716
|
-
}),
|
|
717
|
-
l(c, { style: { height: "60px" } }, {
|
|
718
|
-
default: i(() => [
|
|
719
|
-
l(p, {
|
|
720
|
-
span: 12,
|
|
721
|
-
class: "drag_item_box"
|
|
722
|
-
}, {
|
|
723
|
-
default: i(() => e[18] || (e[18] = [
|
|
724
|
-
t("div", null, [
|
|
725
|
-
t("a", {
|
|
726
|
-
class: "ep-draggable-item",
|
|
727
|
-
tid: "defaultModule.text"
|
|
728
|
-
}, [
|
|
729
|
-
t("span", {
|
|
730
|
-
class: "ri-text",
|
|
731
|
-
"ariel-hidden": "true"
|
|
732
|
-
}),
|
|
733
|
-
t("p", { class: "glyphicon-class" }, "文本")
|
|
734
|
-
])
|
|
735
|
-
], -1)
|
|
736
|
-
])),
|
|
737
|
-
_: 1
|
|
738
|
-
}),
|
|
739
|
-
l(p, {
|
|
740
|
-
span: 12,
|
|
741
|
-
class: "drag_item_box"
|
|
742
|
-
}, {
|
|
743
|
-
default: i(() => e[19] || (e[19] = [
|
|
744
|
-
t("div", null, [
|
|
745
|
-
t("a", {
|
|
746
|
-
class: "ep-draggable-item",
|
|
747
|
-
tid: "defaultModule.image"
|
|
748
|
-
}, [
|
|
749
|
-
t("span", {
|
|
750
|
-
class: "ri-image-line",
|
|
751
|
-
"ariel-hidden": "true"
|
|
752
|
-
}),
|
|
753
|
-
t("p", { class: "glyphicon-class" }, "图片")
|
|
754
|
-
])
|
|
755
|
-
], -1)
|
|
756
|
-
])),
|
|
757
|
-
_: 1
|
|
758
|
-
})
|
|
759
|
-
]),
|
|
760
|
-
_: 1
|
|
761
|
-
}),
|
|
762
|
-
l(c, { style: { height: "60px" } }, {
|
|
763
|
-
default: i(() => [
|
|
764
|
-
l(p, {
|
|
765
|
-
span: 12,
|
|
766
|
-
class: "drag_item_box",
|
|
767
|
-
tid: "defaultModule.text"
|
|
768
|
-
}, {
|
|
769
|
-
default: i(() => e[20] || (e[20] = [
|
|
770
|
-
t("div", null, [
|
|
771
|
-
t("a", {
|
|
772
|
-
class: "ep-draggable-item",
|
|
773
|
-
tid: "defaultModule.longText"
|
|
774
|
-
}, [
|
|
775
|
-
t("span", {
|
|
776
|
-
class: "ri-line-height",
|
|
777
|
-
"ariel-hidden": "true"
|
|
778
|
-
}),
|
|
779
|
-
t("p", { class: "glyphicon-class" }, "长文")
|
|
780
|
-
])
|
|
781
|
-
], -1)
|
|
782
|
-
])),
|
|
783
|
-
_: 1
|
|
784
|
-
}),
|
|
785
|
-
l(p, {
|
|
786
|
-
span: 12,
|
|
787
|
-
class: "drag_item_box"
|
|
788
|
-
}, {
|
|
789
|
-
default: i(() => e[21] || (e[21] = [
|
|
790
|
-
t("div", null, [
|
|
791
|
-
t("a", {
|
|
792
|
-
class: "ep-draggable-item",
|
|
793
|
-
tid: "defaultModule.table"
|
|
794
|
-
}, [
|
|
795
|
-
t("span", {
|
|
796
|
-
class: "ri-table-line",
|
|
797
|
-
"ariel-hidden": "true"
|
|
798
|
-
}),
|
|
799
|
-
t("p", { class: "glyphicon-class" }, "表格")
|
|
800
|
-
])
|
|
801
|
-
], -1)
|
|
802
|
-
])),
|
|
803
|
-
_: 1
|
|
804
|
-
})
|
|
805
|
-
]),
|
|
806
|
-
_: 1
|
|
807
|
-
}),
|
|
808
|
-
l(c, { class: "drag_item_title" }, {
|
|
809
|
-
default: i(() => e[22] || (e[22] = [
|
|
810
|
-
D("辅助")
|
|
811
|
-
])),
|
|
812
|
-
_: 1
|
|
813
|
-
}),
|
|
814
|
-
l(c, { style: { height: "60px" } }, {
|
|
815
|
-
default: i(() => [
|
|
816
|
-
l(p, {
|
|
817
|
-
span: 12,
|
|
818
|
-
class: "drag_item_box",
|
|
819
|
-
tid: "defaultModule.text"
|
|
820
|
-
}, {
|
|
821
|
-
default: i(() => e[23] || (e[23] = [
|
|
822
|
-
t("div", null, [
|
|
823
|
-
t("a", {
|
|
824
|
-
class: "ep-draggable-item",
|
|
825
|
-
tid: "defaultModule.hline"
|
|
826
|
-
}, [
|
|
827
|
-
t("span", {
|
|
828
|
-
class: "ri-expand-horizontal-s-fill",
|
|
829
|
-
"ariel-hidden": "true"
|
|
830
|
-
}),
|
|
831
|
-
t("p", { class: "glyphicon-class" }, "横线")
|
|
832
|
-
])
|
|
833
|
-
], -1)
|
|
834
|
-
])),
|
|
835
|
-
_: 1
|
|
836
|
-
}),
|
|
837
|
-
l(p, {
|
|
838
|
-
span: 12,
|
|
839
|
-
class: "drag_item_box",
|
|
840
|
-
tid: "defaultModule.text"
|
|
841
|
-
}, {
|
|
842
|
-
default: i(() => e[24] || (e[24] = [
|
|
843
|
-
t("div", null, [
|
|
844
|
-
t("a", {
|
|
845
|
-
class: "ep-draggable-item",
|
|
846
|
-
tid: "defaultModule.vline"
|
|
847
|
-
}, [
|
|
848
|
-
t("span", {
|
|
849
|
-
class: "ri-expand-vertical-s-fill",
|
|
850
|
-
"ariel-hidden": "true"
|
|
851
|
-
}),
|
|
852
|
-
t("p", { class: "glyphicon-class" }, "竖线")
|
|
853
|
-
])
|
|
854
|
-
], -1)
|
|
855
|
-
])),
|
|
856
|
-
_: 1
|
|
857
|
-
})
|
|
858
|
-
]),
|
|
859
|
-
_: 1
|
|
860
|
-
}),
|
|
861
|
-
l(c, { style: { height: "60px" } }, {
|
|
862
|
-
default: i(() => [
|
|
863
|
-
l(p, {
|
|
864
|
-
span: 12,
|
|
865
|
-
class: "drag_item_box",
|
|
866
|
-
tid: "defaultModule.text"
|
|
867
|
-
}, {
|
|
868
|
-
default: i(() => e[25] || (e[25] = [
|
|
869
|
-
t("div", null, [
|
|
870
|
-
t("a", {
|
|
871
|
-
class: "ep-draggable-item",
|
|
872
|
-
tid: "defaultModule.rect"
|
|
873
|
-
}, [
|
|
874
|
-
t("span", {
|
|
875
|
-
class: "ri-square-line",
|
|
876
|
-
"ariel-hidden": "true"
|
|
877
|
-
}),
|
|
878
|
-
t("p", { class: "glyphicon-class" }, "矩形")
|
|
879
|
-
])
|
|
880
|
-
], -1)
|
|
881
|
-
])),
|
|
882
|
-
_: 1
|
|
883
|
-
}),
|
|
884
|
-
l(p, {
|
|
885
|
-
span: 12,
|
|
886
|
-
class: "drag_item_box",
|
|
887
|
-
tid: "defaultModule.text"
|
|
888
|
-
}, {
|
|
889
|
-
default: i(() => e[26] || (e[26] = [
|
|
890
|
-
t("div", null, [
|
|
891
|
-
t("a", {
|
|
892
|
-
class: "ep-draggable-item",
|
|
893
|
-
tid: "defaultModule.oval"
|
|
894
|
-
}, [
|
|
895
|
-
t("span", {
|
|
896
|
-
class: "ri-checkbox-blank-circle-line",
|
|
897
|
-
"ariel-hidden": "true"
|
|
898
|
-
}),
|
|
899
|
-
t("p", { class: "glyphicon-class" }, "椭圆")
|
|
900
|
-
])
|
|
901
|
-
], -1)
|
|
902
|
-
])),
|
|
903
|
-
_: 1
|
|
904
|
-
})
|
|
905
|
-
]),
|
|
906
|
-
_: 1
|
|
907
|
-
})
|
|
908
|
-
]),
|
|
909
|
-
_: 1
|
|
910
|
-
})
|
|
911
|
-
]),
|
|
912
|
-
_: 1
|
|
913
|
-
})
|
|
914
|
-
]),
|
|
915
|
-
_: 1
|
|
916
|
-
})
|
|
917
|
-
]),
|
|
918
|
-
_: 1
|
|
919
|
-
}),
|
|
920
|
-
l(p, {
|
|
921
|
-
xs: 15,
|
|
922
|
-
sm: 15,
|
|
923
|
-
md: 15,
|
|
924
|
-
lg: 16,
|
|
925
|
-
xl: 18
|
|
926
|
-
}, {
|
|
927
|
-
default: i(() => [
|
|
928
|
-
l(b, { class: "card-design" }, {
|
|
929
|
-
default: i(() => e[27] || (e[27] = [
|
|
930
|
-
t("div", {
|
|
931
|
-
id: "hiprint-printTemplate",
|
|
932
|
-
class: "hiprint-printTemplate"
|
|
933
|
-
}, null, -1)
|
|
934
|
-
])),
|
|
935
|
-
_: 1
|
|
936
|
-
})
|
|
937
|
-
]),
|
|
938
|
-
_: 1
|
|
939
|
-
}),
|
|
940
|
-
l(p, {
|
|
941
|
-
xs: 6,
|
|
942
|
-
sm: 6,
|
|
943
|
-
md: 6,
|
|
944
|
-
lg: 5,
|
|
945
|
-
xl: 3
|
|
946
|
-
}, {
|
|
947
|
-
default: i(() => [
|
|
948
|
-
l(b, { class: "design-setting-panel" }, {
|
|
949
|
-
default: i(() => [
|
|
950
|
-
l(c, { class: "hinnn-layout-sider" }, {
|
|
951
|
-
default: i(() => e[28] || (e[28] = [
|
|
952
|
-
t("div", { id: "PrintElementOptionSetting" }, null, -1)
|
|
953
|
-
])),
|
|
954
|
-
_: 1
|
|
955
|
-
})
|
|
956
|
-
]),
|
|
957
|
-
_: 1
|
|
958
|
-
})
|
|
959
|
-
]),
|
|
960
|
-
_: 1
|
|
961
|
-
})
|
|
962
|
-
]),
|
|
963
|
-
_: 1
|
|
964
|
-
})
|
|
965
|
-
]),
|
|
966
|
-
_: 1
|
|
967
|
-
}),
|
|
968
|
-
l(te, {
|
|
969
|
-
modelValue: y.value,
|
|
970
|
-
"onUpdate:modelValue": e[14] || (e[14] = (o) => y.value = o),
|
|
971
|
-
title: "导入模板JSON数据",
|
|
972
|
-
height: "320",
|
|
973
|
-
width: "450",
|
|
974
|
-
"show-footer": ""
|
|
975
|
-
}, {
|
|
976
|
-
default: i(() => [
|
|
977
|
-
e[29] || (e[29] = t("p", { style: { color: "red" } }, "切勿随意修改JSON数据,可能导致模板加载出错", -1)),
|
|
978
|
-
l(ee, {
|
|
979
|
-
modelValue: T.value,
|
|
980
|
-
"onUpdate:modelValue": e[12] || (e[12] = (o) => T.value = o),
|
|
981
|
-
rows: 10,
|
|
982
|
-
size: "mini"
|
|
983
|
-
}, null, 8, ["modelValue"])
|
|
984
|
-
]),
|
|
985
|
-
footer: i(() => [
|
|
986
|
-
l(a, {
|
|
987
|
-
icon: "ri-close-fill",
|
|
988
|
-
content: "cancel",
|
|
989
|
-
onTap: e[13] || (e[13] = (o) => y.value = !1)
|
|
990
|
-
}),
|
|
991
|
-
l(a, {
|
|
992
|
-
icon: "ri-save-3-fill",
|
|
993
|
-
status: "u-cyan",
|
|
994
|
-
content: "confirm",
|
|
995
|
-
onTap: Y
|
|
996
|
-
})
|
|
997
|
-
]),
|
|
998
|
-
_: 1
|
|
999
|
-
}, 8, ["modelValue"]),
|
|
1000
|
-
S.value ? (w(), C(xe, {
|
|
1001
|
-
key: 0,
|
|
1002
|
-
ref_key: "previewRef",
|
|
1003
|
-
ref: z
|
|
1004
|
-
}, null, 512)) : H("", !0)
|
|
1005
|
-
])), [
|
|
1006
|
-
[le, x.value]
|
|
1007
|
-
]);
|
|
1008
|
-
};
|
|
1009
|
-
}
|
|
1010
|
-
});
|
|
1011
|
-
export {
|
|
1012
|
-
ke as N
|
|
1013
|
-
};
|