n20-common-lib 3.0.28 → 3.0.29
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 +1 -1
- package/src/assets/css/font-icon.scss +13 -1
- package/src/assets/iconFont3/demo_index.html +72 -3
- package/src/assets/iconFont3/iconfont.css +809 -798
- package/src/assets/iconFont3/iconfont.js +1 -1
- package/src/assets/iconFont3/iconfont.json +21 -0
- package/src/assets/iconFont3/iconfont.ttf +0 -0
- package/src/assets/iconFont3/iconfont.woff +0 -0
- package/src/assets/iconFont3/iconfont.woff2 +0 -0
- package/src/components/AdvancedFilter/index.vue +4 -4
- package/src/components/DragList/index.vue +4 -4
- package/src/components/ProFilterView/advancedQuery.vue +5 -10
- package/src/components/ProFilterView/index.vue +3 -3
- package/src/components/ShowColumn/index.vue +8 -12
- package/src/components/TablePro/index.vue +5 -5
- package/src/components/TableSetSize/index.vue +1 -1
- package/theme/blue.css +0 -3
- package/theme/cctcRed.css +0 -3
- package/theme/fonts/SIMSUN.5e0c362c.ttf +0 -0
- package/theme/fonts/element-icons.535877f5.woff +0 -0
- package/theme/fonts/element-icons.732389de.ttf +0 -0
- package/theme/fonts/iconfont.09d221ee.woff +0 -0
- package/theme/fonts/iconfont.15a3ce0f.woff2 +0 -0
- package/theme/fonts/iconfont.1c4bfacc.ttf +0 -0
- package/theme/fonts/iconfont.a6f34dc7.woff2 +0 -0
- package/theme/fonts/iconfont.da8f3f01.ttf +0 -0
- package/theme/fonts/iconfont.ed15bc90.woff +0 -0
- package/theme/fonts/iconfont.f4c32765.ttf +0 -0
- package/theme/green.css +0 -3
- package/theme/lightBlue.css +0 -3
- package/theme/mapleLeafRed.css +0 -3
- package/theme/orange.css +0 -3
- package/theme/purple.css +0 -3
- package/theme/red.css +0 -3
- package/theme/yellow.css +0 -3
|
@@ -5,6 +5,27 @@
|
|
|
5
5
|
"css_prefix_text": "icon-",
|
|
6
6
|
"description": "",
|
|
7
7
|
"glyphs": [
|
|
8
|
+
{
|
|
9
|
+
"icon_id": "47056829",
|
|
10
|
+
"name": "group-expand",
|
|
11
|
+
"font_class": "group-expand",
|
|
12
|
+
"unicode": "e97f",
|
|
13
|
+
"unicode_decimal": 59775
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"icon_id": "47056828",
|
|
17
|
+
"name": "group-collapse",
|
|
18
|
+
"font_class": "group-collapse",
|
|
19
|
+
"unicode": "e980",
|
|
20
|
+
"unicode_decimal": 59776
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"icon_id": "47051390",
|
|
24
|
+
"name": "Zoom to 100%",
|
|
25
|
+
"font_class": "a-Zoomto100",
|
|
26
|
+
"unicode": "e97e",
|
|
27
|
+
"unicode_decimal": 59774
|
|
28
|
+
},
|
|
8
29
|
{
|
|
9
30
|
"icon_id": "46738669",
|
|
10
31
|
"name": "存款业务",
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
<slot name="suffix"></slot>
|
|
34
34
|
<el-form-item :class="prefixCls + '-add'">
|
|
35
35
|
<el-button v-popover:advanced_popover onlyicon plain>
|
|
36
|
-
<i class="
|
|
36
|
+
<i class="v3-icon-plus"></i>
|
|
37
37
|
{{ $lc('添加条件') }}
|
|
38
38
|
</el-button>
|
|
39
39
|
<el-popover ref="advanced_popover" placement="bottom-start" trigger="click">
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
</div>
|
|
57
57
|
</el-popover>
|
|
58
58
|
<span v-if="filterId" class="m-l-s color-primary" :underline="false" @click="$emit('search')">
|
|
59
|
-
<i class="
|
|
59
|
+
<i class="v3-icon-search"></i>
|
|
60
60
|
{{ '查询' | $lc }}</span
|
|
61
61
|
>
|
|
62
62
|
<span
|
|
@@ -72,11 +72,11 @@
|
|
|
72
72
|
"
|
|
73
73
|
@click="addView"
|
|
74
74
|
>
|
|
75
|
-
<i class="
|
|
75
|
+
<i class="v3-icon-folder-add"></i>
|
|
76
76
|
{{ '另存为视图' | $lc }}
|
|
77
77
|
</span>
|
|
78
78
|
<span v-if="filterId" class="m-l-s color-primary" :underline="false" @click="cleared">
|
|
79
|
-
<i class="
|
|
79
|
+
<i class="v3-icon-delete"></i>
|
|
80
80
|
{{ '清空条件' | $lc }}</span
|
|
81
81
|
>
|
|
82
82
|
</el-form-item>
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
:animation="200"
|
|
5
5
|
:group="group"
|
|
6
6
|
:disabled="disabled"
|
|
7
|
-
:handle="'.icon-drag'"
|
|
7
|
+
:handle="'.v3-icon-drag'"
|
|
8
8
|
@change="change"
|
|
9
9
|
>
|
|
10
10
|
<div
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
@mouseenter="hoverIndex = index"
|
|
15
15
|
@mouseleave="hoverIndex = -1"
|
|
16
16
|
>
|
|
17
|
-
<i class="
|
|
17
|
+
<i class="v3-icon-drag f-s-b pointer m-r-s"></i>
|
|
18
18
|
<slot :item="item" :index="index">
|
|
19
19
|
<span v-hover-tooltip:158="item[labelKey] || item" class="drag-item-text" @click="$emit('click', item)">{{
|
|
20
20
|
item[labelKey] || item
|
|
@@ -24,14 +24,14 @@
|
|
|
24
24
|
<i
|
|
25
25
|
v-if="inSC && !disabled && !hideDelete"
|
|
26
26
|
v-show="hoverIndex === index"
|
|
27
|
-
class="
|
|
27
|
+
class="v3-icon-unlock icon-class"
|
|
28
28
|
:disabled="item.checked"
|
|
29
29
|
@click="lock(index)"
|
|
30
30
|
/>
|
|
31
31
|
<i
|
|
32
32
|
v-show="hoverIndex === index"
|
|
33
33
|
v-if="!disabled && !hideDelete"
|
|
34
|
-
class="
|
|
34
|
+
class="v3-icon-delete icon-class"
|
|
35
35
|
:disabled="inSC && item.checked"
|
|
36
36
|
@click="remove(index)"
|
|
37
37
|
/>
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
v-if="groupIndex > 0"
|
|
13
13
|
type="text"
|
|
14
14
|
class="delete-group-btn-top"
|
|
15
|
-
icon="
|
|
15
|
+
icon="v3-icon-delete-fill"
|
|
16
16
|
@click.stop="removeConditionGroup(groupIndex)"
|
|
17
17
|
/>
|
|
18
18
|
<!-- 条件列表 -->
|
|
@@ -157,19 +157,14 @@
|
|
|
157
157
|
></slot>
|
|
158
158
|
</div>
|
|
159
159
|
<!-- 添加按钮 -->
|
|
160
|
-
<el-button
|
|
161
|
-
type="text"
|
|
162
|
-
class="add-btn"
|
|
163
|
-
icon="iconfont icon-add-fill"
|
|
164
|
-
@click.stop="addCondition(groupIndex)"
|
|
165
|
-
/>
|
|
160
|
+
<el-button type="text" class="add-btn" icon="v3-icon-add-fill" @click.stop="addCondition(groupIndex)" />
|
|
166
161
|
<!-- <i class="iconfont icon-add-fill" @click.stop="addCondition(groupIndex)"></i> -->
|
|
167
162
|
<!-- 删除按钮 -->
|
|
168
163
|
<el-button
|
|
169
164
|
type="text"
|
|
170
165
|
class="delete-btn"
|
|
171
166
|
:disabled="group.conditions.length <= 1"
|
|
172
|
-
icon="
|
|
167
|
+
icon="v3-icon-reduce-fill"
|
|
173
168
|
@click.stop="removeCondition(groupIndex, condIndex)"
|
|
174
169
|
/>
|
|
175
170
|
</div>
|
|
@@ -180,10 +175,10 @@
|
|
|
180
175
|
<!-- 添加条件按钮 -->
|
|
181
176
|
<div class="group-actions">
|
|
182
177
|
<el-button v-if="value.length > 0" type="text" class="add-condition-btn" @click.stop="addCondition(0)">
|
|
183
|
-
<i class="
|
|
178
|
+
<i class="v3-icon-add-fill"></i> 添加条件
|
|
184
179
|
</el-button>
|
|
185
180
|
<el-button type="text" class="add-group-btn" @click.stop="addConditionGroup(groupIndex)">
|
|
186
|
-
<i class="
|
|
181
|
+
<i class="v3-icon-add-fill"></i> 添加条件组
|
|
187
182
|
</el-button>
|
|
188
183
|
</div>
|
|
189
184
|
</div>
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<el-popover v-model="stVisible" placement="bottom" trigger="click" class="m-r">
|
|
6
6
|
<el-button slot="reference" class="botton" :class="{ activiti: selectedItem !== '所有的' }">
|
|
7
7
|
<div class="flex-box flex-v m-r">
|
|
8
|
-
<i class="
|
|
8
|
+
<i class="v3-icon-inbox"></i>
|
|
9
9
|
<div style="margin: 0 8px">{{ selectedItem }}</div>
|
|
10
10
|
<i class="n20-icon-xiala-moren"></i>
|
|
11
11
|
</div>
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
<el-button v-if="selectItem" class="activiti m-r" @click="edit(selectItem, true)">
|
|
49
49
|
<div class="flex-box flex-v">
|
|
50
50
|
<!-- <img src="./find.svg" alt="" /> -->
|
|
51
|
-
<i class="
|
|
51
|
+
<i class="v3-icon-find"></i>
|
|
52
52
|
<div style="margin-left: 8px">
|
|
53
53
|
{{
|
|
54
54
|
`视图数据范围(${
|
|
@@ -109,7 +109,7 @@
|
|
|
109
109
|
<div class="flex-box flex-lr flex-v">
|
|
110
110
|
<div>{{ $lc('数据范围') }}</div>
|
|
111
111
|
<div style="color: var(--color-primary); cursor: pointer" @click="typeChange">
|
|
112
|
-
<i class="
|
|
112
|
+
<i class="v3-icon-switch"></i>
|
|
113
113
|
<span v-if="form.viewType === '0'"> {{ $lc('高级查询') }}</span>
|
|
114
114
|
<span v-else> {{ $lc('基础查询') }}</span>
|
|
115
115
|
</div>
|
|
@@ -69,12 +69,12 @@
|
|
|
69
69
|
{{ '当前选定项' | $lc }}
|
|
70
70
|
<span class="right-count"> ({{ rightTotalCount }}) </span>
|
|
71
71
|
</div>
|
|
72
|
-
<i class="
|
|
72
|
+
<i class="v3-icon-delete pointer icon-class" @click="clearAll"></i>
|
|
73
73
|
</div>
|
|
74
74
|
<div class="overflow-y w-100p darg-list-wrap">
|
|
75
75
|
<!-- 纯静态列(static=true),不可拖拽,无删除 -->
|
|
76
76
|
<div v-for="(item, index) in pureStaticColumns" :key="'ps-' + index" class="n20-drag-list-item">
|
|
77
|
-
<i class="
|
|
77
|
+
<i class="v3-icon-lock f-s-b m-r-s"></i>
|
|
78
78
|
<span v-hover-tooltip:158="item[labelKey] || item" class="drag-item-text">{{
|
|
79
79
|
item[labelKey] || item
|
|
80
80
|
}}</span>
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
:list="fixedColumns"
|
|
86
86
|
:animation="200"
|
|
87
87
|
group="fixedBox"
|
|
88
|
-
handle=".icon-drag"
|
|
88
|
+
handle=".v3-icon-drag"
|
|
89
89
|
@change="onFixedDragChange"
|
|
90
90
|
>
|
|
91
91
|
<div
|
|
@@ -95,21 +95,17 @@
|
|
|
95
95
|
@mouseenter="fixedHoverIndex = index"
|
|
96
96
|
@mouseleave="fixedHoverIndex = -1"
|
|
97
97
|
>
|
|
98
|
-
<i class="
|
|
98
|
+
<i class="v3-icon-drag f-s-b pointer m-r-s"></i>
|
|
99
99
|
<span v-hover-tooltip:158="item[labelKey] || item" class="drag-item-text flex-item">{{
|
|
100
100
|
item[labelKey] || item
|
|
101
101
|
}}</span>
|
|
102
102
|
<!-- hover 时显示解锁图标,点击将该项移回 dragList -->
|
|
103
103
|
<i
|
|
104
104
|
v-show="fixedHoverIndex === index"
|
|
105
|
-
class="
|
|
105
|
+
class="v3-icon-unlock icon-class m-r-s"
|
|
106
106
|
@click="unlockFixed(item, index)"
|
|
107
107
|
/>
|
|
108
|
-
<i
|
|
109
|
-
v-show="fixedHoverIndex === index"
|
|
110
|
-
class="iconfont icon-delete icon-class"
|
|
111
|
-
@click="removeFixed(item)"
|
|
112
|
-
/>
|
|
108
|
+
<i v-show="fixedHoverIndex === index" class="v3-icon-delete icon-class" @click="removeFixed(item)" />
|
|
113
109
|
</div>
|
|
114
110
|
</vue-draggable>
|
|
115
111
|
</template>
|
|
@@ -149,7 +145,7 @@
|
|
|
149
145
|
>
|
|
150
146
|
<span slot-scope="{ node, data }" class="menu-item flex-item flex-box flex-lr flex-v">
|
|
151
147
|
<span>
|
|
152
|
-
<i class="
|
|
148
|
+
<i class="v3-icon-drag pointer"></i>
|
|
153
149
|
<span
|
|
154
150
|
:class="data.isNew ? 'color-success' : 'color-primary'"
|
|
155
151
|
class="text-ellipsis pointer"
|
|
@@ -593,7 +589,7 @@ export default {
|
|
|
593
589
|
this.dragList = baseCols.filter((col) => !col.fixed && !col.static)
|
|
594
590
|
},
|
|
595
591
|
setChange() {
|
|
596
|
-
if (this.dragList.length < 1) {
|
|
592
|
+
if (this.pureStaticColumns.length < 1 && this.fixedColumns.length < 1 && this.dragList.length < 1) {
|
|
597
593
|
this.$message.error(
|
|
598
594
|
`${$lc(`至少设置`)}${
|
|
599
595
|
this.isExport ? $lc('一列导出数据') : this.isFilter ? $lc('一个筛选条件') : $lc('一列显示列')
|
|
@@ -85,14 +85,14 @@
|
|
|
85
85
|
<!-- 已固定列(fixed='left'):hover 时显示 lock 图标,点击取消固定 -->
|
|
86
86
|
<i
|
|
87
87
|
v-if="item.fixed === 'left'"
|
|
88
|
-
class="
|
|
88
|
+
class="v3-icon-lock vxe-table--column__icon m-l-ss pointer color-primary"
|
|
89
89
|
@click.stop="unlockColumn(item)"
|
|
90
90
|
></i>
|
|
91
91
|
<!-- 未固定列(且非静态列):hover 时显示 unlock 图标,点击设为固定 -->
|
|
92
92
|
<i
|
|
93
93
|
v-if="!item.fixed && !item.static"
|
|
94
94
|
v-show="hoverHeaderProp === item.prop"
|
|
95
|
-
class="
|
|
95
|
+
class="v3-icon-unlock vxe-table--column__icon m-l-ss pointer"
|
|
96
96
|
@click.stop="lockColumn(item)"
|
|
97
97
|
></i>
|
|
98
98
|
</div>
|
|
@@ -179,14 +179,14 @@
|
|
|
179
179
|
<!-- 已固定列(fixed='left'):hover 时显示 lock 图标,点击取消固定 -->
|
|
180
180
|
<i
|
|
181
181
|
v-if="item.fixed === 'left'"
|
|
182
|
-
class="
|
|
182
|
+
class="v3-icon-lock vxe-table--column__icon m-l-ss pointer color-primary"
|
|
183
183
|
@click.stop="unlockColumn(item)"
|
|
184
184
|
></i>
|
|
185
185
|
<!-- 未固定列(且非静态列):hover 时显示 unlock 图标,点击设为固定 -->
|
|
186
186
|
<i
|
|
187
187
|
v-if="!item.fixed && !item.static"
|
|
188
188
|
v-show="hoverHeaderProp === item.prop"
|
|
189
|
-
class="
|
|
189
|
+
class="v3-icon-unlock vxe-table--column__icon m-l-ss pointer"
|
|
190
190
|
@click.stop="lockColumn(item)"
|
|
191
191
|
></i>
|
|
192
192
|
</div>
|
|
@@ -205,7 +205,7 @@
|
|
|
205
205
|
<i
|
|
206
206
|
v-if="showColumn"
|
|
207
207
|
v-title="$lc('设置显示列')"
|
|
208
|
-
class="
|
|
208
|
+
class="v3-icon-system-solution pointer"
|
|
209
209
|
@click="$emit('visible-column')"
|
|
210
210
|
></i>
|
|
211
211
|
<tableSetSize v-if="showSetsize" :size="sizeC" v-bind="$attrs" @update:size="sizeUp" @resize="sizeSet" />
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<el-dropdown @command="setSize">
|
|
3
|
-
<i v-title="$lc('行高')" class="
|
|
3
|
+
<i v-title="$lc('行高')" class="v3-icon-line-height pointer"></i>
|
|
4
4
|
<el-dropdown-menu slot="dropdown">
|
|
5
5
|
<el-dropdown-item command="small">{{ _lang === 'zh' ? '默认' : 'small' }}</el-dropdown-item>
|
|
6
6
|
<el-dropdown-item command="mini">{{ _lang === 'zh' ? '紧凑' : 'mini' }}</el-dropdown-item>
|