ol-base-components 2.9.4 → 3.1.0
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/package.json +5 -5
- package/public/index.html +1 -0
- package/public/print-lock.css +352 -0
- package/src/App.vue +276 -33
- package/src/assets/css/iconfont.css +342 -0
- package/src/main.js +4 -5
- package/src/package/index.js +4 -3
- package/src/package/print/index.js +78 -0
- package/src/package/print/src/components/PaperSelector.vue +123 -0
- package/src/package/print/src/index.vue +625 -0
- package/src/package/print/src/provide/aaa.json +110 -0
- package/src/package/print/src/provide/provider1.js +215 -0
- package/src/package/table/src/index.vue +16 -11
package/src/App.vue
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div id="app">
|
|
3
|
-
<div>table组件案例</div>
|
|
4
|
-
<ol-search
|
|
3
|
+
<!-- <div>table组件案例</div> -->
|
|
4
|
+
<!-- <ol-search
|
|
5
5
|
:form-search-data="formSearchData"
|
|
6
6
|
@handleSearch="handleSearch"
|
|
7
7
|
@handleReset="handleReset"
|
|
8
8
|
url="/api/app/admission-info/paged-result"
|
|
9
|
-
/>
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
/> -->
|
|
10
|
+
<button @click="aaa">123</button>
|
|
12
11
|
<ol-table
|
|
13
12
|
:paginations="paginations"
|
|
14
13
|
:empty-img="tableData.emptyImg"
|
|
@@ -24,8 +23,7 @@
|
|
|
24
23
|
<el-button @click="onAdd">新建</el-button>
|
|
25
24
|
<el-button @click="onEdit">编辑</el-button>
|
|
26
25
|
|
|
27
|
-
<!--
|
|
28
|
-
<el-dialog :title="`${this.form.title}`" :visible.sync="dialogVisible" width="80%">
|
|
26
|
+
<!-- <el-dialog :title="`${this.form.title}`" :visible.sync="dialogVisible" width="80%">
|
|
29
27
|
<ol-form
|
|
30
28
|
v-if="dialogVisible"
|
|
31
29
|
url="/api/app/admission-info/admission-info"
|
|
@@ -33,32 +31,8 @@
|
|
|
33
31
|
@onCancel="dialogVisible = false"
|
|
34
32
|
@onSubmit="onSubmit"
|
|
35
33
|
/>
|
|
36
|
-
</el-dialog>
|
|
37
|
-
|
|
38
|
-
<!-- <el-button @click="handlePrint">接口</el-button>
|
|
39
|
-
|
|
40
|
-
<div
|
|
41
|
-
class="ellipsis-container"
|
|
42
|
-
id="ellipsis-container"
|
|
43
|
-
v-for="item in 5"
|
|
44
|
-
:key="item"
|
|
45
|
-
>如何处理文本溢出如何实现单行文本溢出显示省略号</div>
|
|
46
|
-
|
|
47
|
-
<div class="triangle-up"></div>
|
|
48
|
-
<div class="grid-content">
|
|
49
|
-
<div>11</div>
|
|
50
|
-
<div>11</div>
|
|
51
|
-
</div>
|
|
52
|
-
|
|
53
|
-
<div class="container">
|
|
54
|
-
<div class="item">1</div>
|
|
55
|
-
<div class="item item2">2</div>
|
|
56
|
-
<div class="item">3</div>
|
|
57
|
-
</div>
|
|
58
|
-
|
|
59
|
-
<div class="square-container">
|
|
60
|
-
<div class="square"></div>
|
|
61
|
-
</div> -->
|
|
34
|
+
</el-dialog> -->
|
|
35
|
+
<!-- <ol-print /> -->
|
|
62
36
|
</div>
|
|
63
37
|
</template>
|
|
64
38
|
|
|
@@ -527,6 +501,275 @@ export default {
|
|
|
527
501
|
});
|
|
528
502
|
}
|
|
529
503
|
},
|
|
504
|
+
aaa() {
|
|
505
|
+
// const printEnpty = this.$hiprint({
|
|
506
|
+
// printData: {
|
|
507
|
+
// name: "CcSimple",
|
|
508
|
+
// barcode: "33321323",
|
|
509
|
+
// table: [
|
|
510
|
+
// { id: "1", name: "王小可123", gender: "男", count: "120", amount: "9089元" },
|
|
511
|
+
// { id: "2", name: "梦之遥", gender: "女", count: "20", amount: "89元" },
|
|
512
|
+
// ],
|
|
513
|
+
// table1: [
|
|
514
|
+
// { id: "1", name: "王小可11", gender: "男", count: "120", amount: "9089元" },
|
|
515
|
+
// { id: "2", name: "梦之遥", gender: "女", count: "20", amount: "89元" },
|
|
516
|
+
// ],
|
|
517
|
+
// },
|
|
518
|
+
// onPrintData: data => {
|
|
519
|
+
// return data;
|
|
520
|
+
// },
|
|
521
|
+
// onTemplate: data => {
|
|
522
|
+
// return data;
|
|
523
|
+
// },
|
|
524
|
+
// defaultTemplate: {
|
|
525
|
+
// panels: [
|
|
526
|
+
// {
|
|
527
|
+
// index: 0,
|
|
528
|
+
// name: 1,
|
|
529
|
+
// paperType: "A4",
|
|
530
|
+
// height: 297,
|
|
531
|
+
// width: 210,
|
|
532
|
+
// paperHeader: 0,
|
|
533
|
+
// paperFooter: 841.8897637795277,
|
|
534
|
+
// printElements: [
|
|
535
|
+
// {
|
|
536
|
+
// options: {
|
|
537
|
+
// left: 117,
|
|
538
|
+
// top: 94.5,
|
|
539
|
+
// height: 9.75,
|
|
540
|
+
// width: 120,
|
|
541
|
+
// field: "name",
|
|
542
|
+
// testData: "内容",
|
|
543
|
+
// title: "文本",
|
|
544
|
+
// qid: "name",
|
|
545
|
+
// },
|
|
546
|
+
// printElementType: {
|
|
547
|
+
// title: "文本",
|
|
548
|
+
// type: "text",
|
|
549
|
+
// },
|
|
550
|
+
// },
|
|
551
|
+
// {
|
|
552
|
+
// options: {
|
|
553
|
+
// left: 160.5,
|
|
554
|
+
// top: 174,
|
|
555
|
+
// height: 36,
|
|
556
|
+
// width: 550,
|
|
557
|
+
// fields: [],
|
|
558
|
+
// field: "table",
|
|
559
|
+
// qid: "table",
|
|
560
|
+
// columns: [
|
|
561
|
+
// [
|
|
562
|
+
// {
|
|
563
|
+
// width: 137.5,
|
|
564
|
+
// title: "名称",
|
|
565
|
+
// field: "name",
|
|
566
|
+
// checked: true,
|
|
567
|
+
// columnId: "name",
|
|
568
|
+
// fixed: false,
|
|
569
|
+
// rowspan: 1,
|
|
570
|
+
// colspan: 1,
|
|
571
|
+
// align: "center",
|
|
572
|
+
// },
|
|
573
|
+
// {
|
|
574
|
+
// width: 137.5,
|
|
575
|
+
// title: "性别",
|
|
576
|
+
// field: "gender",
|
|
577
|
+
// checked: true,
|
|
578
|
+
// columnId: "gender",
|
|
579
|
+
// fixed: false,
|
|
580
|
+
// rowspan: 1,
|
|
581
|
+
// colspan: 1,
|
|
582
|
+
// align: "center",
|
|
583
|
+
// },
|
|
584
|
+
// {
|
|
585
|
+
// width: 137.5,
|
|
586
|
+
// title: "数量",
|
|
587
|
+
// field: "count",
|
|
588
|
+
// checked: true,
|
|
589
|
+
// columnId: "count",
|
|
590
|
+
// fixed: false,
|
|
591
|
+
// rowspan: 1,
|
|
592
|
+
// colspan: 1,
|
|
593
|
+
// align: "center",
|
|
594
|
+
// },
|
|
595
|
+
// {
|
|
596
|
+
// width: 137.5,
|
|
597
|
+
// title: "金额",
|
|
598
|
+
// field: "amount",
|
|
599
|
+
// checked: true,
|
|
600
|
+
// columnId: "amount",
|
|
601
|
+
// fixed: false,
|
|
602
|
+
// rowspan: 1,
|
|
603
|
+
// colspan: 1,
|
|
604
|
+
// align: "center",
|
|
605
|
+
// },
|
|
606
|
+
// ],
|
|
607
|
+
// ],
|
|
608
|
+
// },
|
|
609
|
+
// printElementType: {
|
|
610
|
+
// title: "表格",
|
|
611
|
+
// type: "table",
|
|
612
|
+
// editable: true,
|
|
613
|
+
// columnDisplayEditable: true,
|
|
614
|
+
// columnDisplayIndexEditable: true,
|
|
615
|
+
// columnTitleEditable: true,
|
|
616
|
+
// columnResizable: true,
|
|
617
|
+
// columnAlignEditable: true,
|
|
618
|
+
// isEnableEditField: true,
|
|
619
|
+
// isEnableContextMenu: true,
|
|
620
|
+
// isEnableInsertRow: true,
|
|
621
|
+
// isEnableDeleteRow: true,
|
|
622
|
+
// isEnableInsertColumn: true,
|
|
623
|
+
// isEnableDeleteColumn: true,
|
|
624
|
+
// isEnableMergeCell: true,
|
|
625
|
+
// },
|
|
626
|
+
// },
|
|
627
|
+
// ],
|
|
628
|
+
// paperNumberContinue: true,
|
|
629
|
+
// watermarkOptions: {},
|
|
630
|
+
// panelLayoutOptions: {},
|
|
631
|
+
// },
|
|
632
|
+
// ],
|
|
633
|
+
// },
|
|
634
|
+
// onSubmit: data => {
|
|
635
|
+
// console.log(6666, data);
|
|
636
|
+
// },
|
|
637
|
+
// });
|
|
638
|
+
|
|
639
|
+
this.$hiprint.print({
|
|
640
|
+
printData: {
|
|
641
|
+
name: "CcSimple",
|
|
642
|
+
barcode: "33321323",
|
|
643
|
+
table: [
|
|
644
|
+
{ id: "1", name: "王小可123", gender: "男", count: "120", amount: "9089元" },
|
|
645
|
+
{ id: "2", name: "梦之遥", gender: "女", count: "20", amount: "89元" },
|
|
646
|
+
],
|
|
647
|
+
table1: [
|
|
648
|
+
{ id: "1", name: "王小可11", gender: "男", count: "120", amount: "9089元" },
|
|
649
|
+
{ id: "2", name: "梦之遥", gender: "女", count: "20", amount: "89元" },
|
|
650
|
+
],
|
|
651
|
+
},
|
|
652
|
+
onPrintData: data => {
|
|
653
|
+
return data;
|
|
654
|
+
},
|
|
655
|
+
onTemplate: data => {
|
|
656
|
+
return data;
|
|
657
|
+
},
|
|
658
|
+
defaultTemplate: {
|
|
659
|
+
panels: [
|
|
660
|
+
{
|
|
661
|
+
index: 0,
|
|
662
|
+
name: 1,
|
|
663
|
+
paperType: "A4",
|
|
664
|
+
height: 297,
|
|
665
|
+
width: 210,
|
|
666
|
+
paperHeader: 0,
|
|
667
|
+
paperFooter: 841.8897637795277,
|
|
668
|
+
printElements: [
|
|
669
|
+
{
|
|
670
|
+
options: {
|
|
671
|
+
left: 117,
|
|
672
|
+
top: 94.5,
|
|
673
|
+
height: 9.75,
|
|
674
|
+
width: 120,
|
|
675
|
+
field: "name",
|
|
676
|
+
testData: "内容",
|
|
677
|
+
title: "文本",
|
|
678
|
+
qid: "name",
|
|
679
|
+
},
|
|
680
|
+
printElementType: {
|
|
681
|
+
title: "文本",
|
|
682
|
+
type: "text",
|
|
683
|
+
},
|
|
684
|
+
},
|
|
685
|
+
{
|
|
686
|
+
options: {
|
|
687
|
+
left: 160.5,
|
|
688
|
+
top: 174,
|
|
689
|
+
height: 36,
|
|
690
|
+
width: 550,
|
|
691
|
+
fields: [],
|
|
692
|
+
field: "table",
|
|
693
|
+
qid: "table",
|
|
694
|
+
columns: [
|
|
695
|
+
[
|
|
696
|
+
{
|
|
697
|
+
width: 137.5,
|
|
698
|
+
title: "名称",
|
|
699
|
+
field: "name",
|
|
700
|
+
checked: true,
|
|
701
|
+
columnId: "name",
|
|
702
|
+
fixed: false,
|
|
703
|
+
rowspan: 1,
|
|
704
|
+
colspan: 1,
|
|
705
|
+
align: "center",
|
|
706
|
+
},
|
|
707
|
+
{
|
|
708
|
+
width: 137.5,
|
|
709
|
+
title: "性别",
|
|
710
|
+
field: "gender",
|
|
711
|
+
checked: true,
|
|
712
|
+
columnId: "gender",
|
|
713
|
+
fixed: false,
|
|
714
|
+
rowspan: 1,
|
|
715
|
+
colspan: 1,
|
|
716
|
+
align: "center",
|
|
717
|
+
},
|
|
718
|
+
{
|
|
719
|
+
width: 137.5,
|
|
720
|
+
title: "数量",
|
|
721
|
+
field: "count",
|
|
722
|
+
checked: true,
|
|
723
|
+
columnId: "count",
|
|
724
|
+
fixed: false,
|
|
725
|
+
rowspan: 1,
|
|
726
|
+
colspan: 1,
|
|
727
|
+
align: "center",
|
|
728
|
+
},
|
|
729
|
+
{
|
|
730
|
+
width: 137.5,
|
|
731
|
+
title: "金额",
|
|
732
|
+
field: "amount",
|
|
733
|
+
checked: true,
|
|
734
|
+
columnId: "amount",
|
|
735
|
+
fixed: false,
|
|
736
|
+
rowspan: 1,
|
|
737
|
+
colspan: 1,
|
|
738
|
+
align: "center",
|
|
739
|
+
},
|
|
740
|
+
],
|
|
741
|
+
],
|
|
742
|
+
},
|
|
743
|
+
printElementType: {
|
|
744
|
+
title: "表格",
|
|
745
|
+
type: "table",
|
|
746
|
+
editable: true,
|
|
747
|
+
columnDisplayEditable: true,
|
|
748
|
+
columnDisplayIndexEditable: true,
|
|
749
|
+
columnTitleEditable: true,
|
|
750
|
+
columnResizable: true,
|
|
751
|
+
columnAlignEditable: true,
|
|
752
|
+
isEnableEditField: true,
|
|
753
|
+
isEnableContextMenu: true,
|
|
754
|
+
isEnableInsertRow: true,
|
|
755
|
+
isEnableDeleteRow: true,
|
|
756
|
+
isEnableInsertColumn: true,
|
|
757
|
+
isEnableDeleteColumn: true,
|
|
758
|
+
isEnableMergeCell: true,
|
|
759
|
+
},
|
|
760
|
+
},
|
|
761
|
+
],
|
|
762
|
+
paperNumberContinue: true,
|
|
763
|
+
watermarkOptions: {},
|
|
764
|
+
panelLayoutOptions: {},
|
|
765
|
+
},
|
|
766
|
+
],
|
|
767
|
+
},
|
|
768
|
+
onSubmit: data => {
|
|
769
|
+
console.log(6666, data);
|
|
770
|
+
},
|
|
771
|
+
});
|
|
772
|
+
},
|
|
530
773
|
},
|
|
531
774
|
};
|
|
532
775
|
</script>
|
|
@@ -0,0 +1,342 @@
|
|
|
1
|
+
@font-face {
|
|
2
|
+
font-family: "iconfont"; /* Project id 3559670 */
|
|
3
|
+
src: url("iconfont.woff2?t=1667531544868") format("woff2"),
|
|
4
|
+
url("iconfont.woff?t=1667531544868") format("woff"),
|
|
5
|
+
url("iconfont.ttf?t=1667531544868") format("truetype");
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.iconfont {
|
|
9
|
+
font-family: "iconfont" !important;
|
|
10
|
+
font-size: 16px;
|
|
11
|
+
font-style: normal;
|
|
12
|
+
-webkit-font-smoothing: antialiased;
|
|
13
|
+
-moz-osx-font-smoothing: grayscale;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.sv-edit-data:before {
|
|
17
|
+
content: "\e655";
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.sv-shimmer:before {
|
|
21
|
+
content: "\e6d6";
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.sv-origin:before {
|
|
25
|
+
content: "\e6ac";
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.sv-zIndex:before {
|
|
29
|
+
content: "\e603";
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.sv-structure:before {
|
|
33
|
+
content: "\ec6f";
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.sv-list:before {
|
|
37
|
+
content: "\e742";
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.sv-grid:before {
|
|
41
|
+
content: "\e849";
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.sv-flow:before {
|
|
45
|
+
content: "\e611";
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.sv-switch:before {
|
|
49
|
+
content: "\e6f6";
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.sv-theme:before {
|
|
53
|
+
content: "\e644";
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.sv-element:before {
|
|
57
|
+
content: "\e615";
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.sv-pdf:before {
|
|
61
|
+
content: "\e67a";
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.sv-browser:before {
|
|
65
|
+
content: "\e726";
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.sv-font-big:before {
|
|
69
|
+
content: "\eb04";
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.sv-font-small:before {
|
|
73
|
+
content: "\eb05";
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.sv-font-bold:before {
|
|
77
|
+
content: "\ec83";
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.sv-font-tiny:before {
|
|
81
|
+
content: "\e6c1";
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.sv-options:before {
|
|
85
|
+
content: "\e607";
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.sv-close:before {
|
|
89
|
+
content: "\e646";
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.sv-clone:before {
|
|
93
|
+
content: "\ec7a";
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.sv-cut:before {
|
|
97
|
+
content: "\e643";
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.sv-preview:before {
|
|
101
|
+
content: "\e61c";
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.sv-zoom-in:before {
|
|
105
|
+
content: "\e60f";
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.sv-zoom-out:before {
|
|
109
|
+
content: "\e610";
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.sv-edit:before {
|
|
113
|
+
content: "\e6b9";
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.sv-paste:before {
|
|
117
|
+
content: "\e6c0";
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.sv-copy:before {
|
|
121
|
+
content: "\e6c2";
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.sv-unlock:before {
|
|
125
|
+
content: "\e6e7";
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.sv-lock:before {
|
|
129
|
+
content: "\e6e8";
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.sv-zIndex-plus:before {
|
|
133
|
+
content: "\e715";
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.sv-zIndex-minus:before {
|
|
137
|
+
content: "\e716";
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.sv-zIndex-top:before {
|
|
141
|
+
content: "\e71f";
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.sv-sigh:before {
|
|
145
|
+
content: "\e724";
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.sv-ask:before {
|
|
149
|
+
content: "\e725";
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.sv-dev-code:before {
|
|
153
|
+
content: "\e733";
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.sv-bug:before {
|
|
157
|
+
content: "\e73f";
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.sv-zIndex-bottom:before {
|
|
161
|
+
content: "\e71d";
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.sv-new:before {
|
|
165
|
+
content: "\e64d";
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
.sv-clear:before {
|
|
169
|
+
content: "\e62d";
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
.sv-base:before {
|
|
173
|
+
content: "\e7d0";
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
.sv-export:before {
|
|
177
|
+
content: "\eabf";
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
.sv-import:before {
|
|
181
|
+
content: "\eac0";
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
.sv-add:before {
|
|
185
|
+
content: "\eaf3";
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
.sv-printer:before {
|
|
189
|
+
content: "\eabe";
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
.sv-save:before {
|
|
193
|
+
content: "\eabd";
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
.sv-more:before {
|
|
197
|
+
content: "\e625";
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
.sv-menu:before {
|
|
201
|
+
content: "\e628";
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
.sv-nav-right:before {
|
|
205
|
+
content: "\e629";
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
.sv-nav-up:before {
|
|
209
|
+
content: "\e62a";
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
.sv-nav-left:before {
|
|
213
|
+
content: "\e62b";
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
.sv-nav-down:before {
|
|
217
|
+
content: "\e62c";
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
.sv-setting:before {
|
|
221
|
+
content: "\e62e";
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
.sv-delete:before {
|
|
225
|
+
content: "\e630";
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
.sv-undo:before {
|
|
229
|
+
content: "\e631";
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
.sv-redo:before {
|
|
233
|
+
content: "\e632";
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
.sv-refresh:before {
|
|
237
|
+
content: "\e634";
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
.sv-history:before {
|
|
241
|
+
content: "\e635";
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
.sv-html:before {
|
|
245
|
+
content: "\e633";
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
.sv-longText:before {
|
|
249
|
+
content: "\e64c";
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
.sv-table:before {
|
|
253
|
+
content: "\ec15";
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
.sv-qrcode:before {
|
|
257
|
+
content: "\e642";
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
.sv-image:before {
|
|
261
|
+
content: "\e8ba";
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
.sv-barcode:before {
|
|
265
|
+
content: "\eb64";
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
.sv-text:before {
|
|
269
|
+
content: "\e60b";
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
.sv-vline:before {
|
|
273
|
+
content: "\e63a";
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
.sv-oval:before {
|
|
277
|
+
content: "\eb99";
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
.sv-rect:before {
|
|
281
|
+
content: "\e620";
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
.sv-hline:before {
|
|
285
|
+
content: "\e60a";
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
.sv-print-c:before {
|
|
289
|
+
content: "\e602";
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
.sv-print:before {
|
|
293
|
+
content: "\e601";
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
.sv-c:before {
|
|
297
|
+
content: "\e600";
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
.sv-vertical:before {
|
|
301
|
+
content: "\e706";
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
.sv-distributeHor:before {
|
|
305
|
+
content: "\e707";
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
.sv-right:before {
|
|
309
|
+
content: "\e708";
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
.sv-left:before {
|
|
313
|
+
content: "\e709";
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
.sv-distributeVer:before {
|
|
317
|
+
content: "\e70f";
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
.sv-bottom:before {
|
|
321
|
+
content: "\e710";
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
.sv-top:before {
|
|
325
|
+
content: "\e711";
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
.sv-horizontal:before {
|
|
329
|
+
content: "\e712";
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
.sv-rotate:before {
|
|
333
|
+
content: "\e66f";
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
.sv-butongbu:before {
|
|
337
|
+
content: "\e636";
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
.sv-synchronization:before {
|
|
341
|
+
content: "\e676";
|
|
342
|
+
}
|
package/src/main.js
CHANGED
|
@@ -2,13 +2,12 @@ import Vue from "vue";
|
|
|
2
2
|
import ElementUI from "element-ui";
|
|
3
3
|
import "element-ui/lib/theme-chalk/index.css";
|
|
4
4
|
import App from "./App.vue";
|
|
5
|
-
import OlCom, { swaggerInstall } from "@/package/index.js";
|
|
5
|
+
import OlCom, { swaggerInstall, Hiprint } from "@/package/index.js";
|
|
6
6
|
Vue.use(ElementUI);
|
|
7
|
+
Vue.use(Hiprint);
|
|
7
8
|
|
|
8
9
|
Vue.use(OlCom);
|
|
9
|
-
swaggerInstall("http://220.179.249.140:
|
|
10
|
-
() => {}
|
|
11
|
-
);
|
|
10
|
+
swaggerInstall("http://220.179.249.140:20025/swagger/v1/swagger.json").then(() => {});
|
|
12
11
|
new Vue({
|
|
13
|
-
render:
|
|
12
|
+
render: h => h(App),
|
|
14
13
|
}).$mount("#app");
|