n20-common-lib 2.4.1 → 2.4.3
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 -3
- package/src/components/DragList/index.vue +1 -1
- package/src/components/Expandable/index.vue +2 -2
- package/src/components/Expandable/main.vue +5 -2
- package/src/components/FileUploadTable/index.vue +3 -3
- package/src/components/SecondaryTab/index.vue +34 -1
- package/src/components/ShowColumn/index.vue +4 -1
- package/src/components/Statis/index.vue +2 -2
- package/src/components/Statis/statisItem.vue +1 -1
- package/src/components/Table/filters.js +2 -0
- package/src/components/TablePro/index.js +10 -0
- package/src/components/TablePro/index.vue +208 -0
- package/src/components/TertiaryTab/index.vue +2 -1
- package/src/directives/VTitle/index.js +36 -1
- package/src/i18n.json +24 -15
- package/src/index.js +6 -2
- package/src/plugins/.DS_Store +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "n20-common-lib",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.3",
|
|
4
4
|
"private": false,
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -56,7 +56,9 @@
|
|
|
56
56
|
"resize-detector": "*",
|
|
57
57
|
"strip-json-comments": "*",
|
|
58
58
|
"v-viewer": "*",
|
|
59
|
-
"vuedraggable": "*"
|
|
59
|
+
"vuedraggable": "*",
|
|
60
|
+
"vxe-table": "^3.6.17",
|
|
61
|
+
"xe-utils": "^3.5.11"
|
|
60
62
|
},
|
|
61
63
|
"devDependencies": {
|
|
62
64
|
"@babel/plugin-proposal-optional-chaining": "^7.14.5",
|
|
@@ -94,8 +96,8 @@
|
|
|
94
96
|
"svg-url-loader": "^7.1.1",
|
|
95
97
|
"svgo": "1.2.0",
|
|
96
98
|
"swiper": "^8.4.5",
|
|
97
|
-
"url-loader": "^4.1.1",
|
|
98
99
|
"umy-table": "^1.1.8",
|
|
100
|
+
"url-loader": "^4.1.1",
|
|
99
101
|
"vue": "^2.6.11",
|
|
100
102
|
"vue-cli-plugin-axios": "~0.0.4",
|
|
101
103
|
"vue-grid-layout": "^2.3.12",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
<div v-for="(item, index) in list" :key="index" class="n20-drag-list-item">
|
|
11
11
|
<i class="n20-drag-icon n20-icon-tuodong"></i>
|
|
12
12
|
<slot :item="item" :index="index">
|
|
13
|
-
<span class="text-ellipsis">{{ item[labelKey] || item }}</span>
|
|
13
|
+
<span v-hover-tooltip:158="item[labelKey] || item" class="text-ellipsis">{{ item[labelKey] || item }}</span>
|
|
14
14
|
</slot>
|
|
15
15
|
<el-link
|
|
16
16
|
v-if="!disabled"
|
|
@@ -143,7 +143,7 @@
|
|
|
143
143
|
</slot>
|
|
144
144
|
</template>
|
|
145
145
|
</el-table-column>
|
|
146
|
-
<el-table-column :label="'操作' | $lc" align="center" width="
|
|
146
|
+
<el-table-column :label="'操作' | $lc" align="center" width="85" fixed="right">
|
|
147
147
|
<slot slot="header" slot-scope="scope" name="handle-header" :column="scope.column">{{ '操作' | $lc }}</slot>
|
|
148
148
|
<slot slot-scope="{ row }" name="handle" :row="row">
|
|
149
149
|
<el-button type="text" icon="el-icon-view" :disabled="!row[keys.url]" @click="seeFile(row)" />
|
|
@@ -435,7 +435,7 @@ export default {
|
|
|
435
435
|
downRows() {
|
|
436
436
|
if (!this.selectionList.length) {
|
|
437
437
|
return this.$message({
|
|
438
|
-
message:
|
|
438
|
+
message: $lc(`请先勾选要下载的数据!`),
|
|
439
439
|
type: 'warning',
|
|
440
440
|
showClose: true
|
|
441
441
|
})
|
|
@@ -445,7 +445,7 @@ export default {
|
|
|
445
445
|
deleteRows() {
|
|
446
446
|
if (!this.selectionList.length) {
|
|
447
447
|
return this.$message({
|
|
448
|
-
message: '请先勾选要删除的数据!',
|
|
448
|
+
message: $lc('请先勾选要删除的数据!'),
|
|
449
449
|
type: 'warning',
|
|
450
450
|
showClose: true
|
|
451
451
|
})
|
|
@@ -21,7 +21,8 @@
|
|
|
21
21
|
<template slot="label">
|
|
22
22
|
<span v-if="item.icon" :class="item.icon"></span>
|
|
23
23
|
<sup v-if="item.badge" class="el-tabs__item-badge"></sup>
|
|
24
|
-
{{ item.name }}
|
|
24
|
+
<span v-if="item.content" v-title="`${item.content}`"> {{ item.name }}</span>
|
|
25
|
+
<span v-else>{{ item.name }}</span>
|
|
25
26
|
</template>
|
|
26
27
|
</el-tab-pane>
|
|
27
28
|
</el-tabs>
|
|
@@ -46,6 +47,9 @@ export default {
|
|
|
46
47
|
}
|
|
47
48
|
},
|
|
48
49
|
methods: {
|
|
50
|
+
getTooltip(name, tips) {
|
|
51
|
+
return `<el-tooltip content="${tips}">${name}</el-tooltip>`
|
|
52
|
+
},
|
|
49
53
|
clickFn(C) {
|
|
50
54
|
let item = C.$attrs['tab-info']
|
|
51
55
|
if (this.$listeners['update:init']) {
|
|
@@ -61,3 +65,32 @@ export default {
|
|
|
61
65
|
}
|
|
62
66
|
}
|
|
63
67
|
</script>
|
|
68
|
+
|
|
69
|
+
<style>
|
|
70
|
+
.tooltip {
|
|
71
|
+
position: absolute;
|
|
72
|
+
top: 100%;
|
|
73
|
+
left: 0;
|
|
74
|
+
z-index: 9999;
|
|
75
|
+
background-color: black;
|
|
76
|
+
color: white;
|
|
77
|
+
padding: 5px;
|
|
78
|
+
font-size: 12px;
|
|
79
|
+
opacity: 0;
|
|
80
|
+
transition: opacity 0.3s;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.tooltip::after {
|
|
84
|
+
content: '';
|
|
85
|
+
position: absolute;
|
|
86
|
+
top: -5px;
|
|
87
|
+
left: 50%;
|
|
88
|
+
transform: translateX(-50%);
|
|
89
|
+
border: 5px solid transparent;
|
|
90
|
+
border-bottom-color: black;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.tooltip.show {
|
|
94
|
+
opacity: 1;
|
|
95
|
+
}
|
|
96
|
+
</style>
|
|
@@ -29,6 +29,7 @@
|
|
|
29
29
|
<el-checkbox
|
|
30
30
|
v-for="(column, i) in columnsAs"
|
|
31
31
|
:key="i"
|
|
32
|
+
v-hover-tooltip="column[labelKey]"
|
|
32
33
|
:label="column[labelKey]"
|
|
33
34
|
:disabled="column.checked"
|
|
34
35
|
class="m-t"
|
|
@@ -190,7 +191,9 @@ export default {
|
|
|
190
191
|
setChange() {
|
|
191
192
|
if (this.dragList.length < 1) {
|
|
192
193
|
this.$message.error(
|
|
193
|
-
|
|
194
|
+
`${$lc(`至少设置`)}${
|
|
195
|
+
this.isExport ? $lc('一列导出数据') : this.isFilter ? $lc('一个筛选条件') : $lc('一列显示列')
|
|
196
|
+
}!`
|
|
194
197
|
)
|
|
195
198
|
return
|
|
196
199
|
}
|
|
@@ -12,11 +12,11 @@
|
|
|
12
12
|
</div>
|
|
13
13
|
<div v-else class="n20-statis p-t-s p-b-s">
|
|
14
14
|
<span class="m-r">
|
|
15
|
-
{{ '当页:' | $lc }}<span class="n20-primary">{{ pageSum }}</span
|
|
15
|
+
{{ '当页: ' | $lc }}<span class="n20-primary">{{ pageSum }}</span
|
|
16
16
|
>{{ '条' | $lc }}
|
|
17
17
|
</span>
|
|
18
18
|
<span class="m-r">
|
|
19
|
-
{{ '全部:' | $lc }}<span class="n20-primary">{{ totalSun }}</span
|
|
19
|
+
{{ '全部: ' | $lc }}<span class="n20-primary">{{ totalSun }}</span
|
|
20
20
|
>{{ '条' | $lc }}
|
|
21
21
|
</span>
|
|
22
22
|
</div>
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
><span class="stati-type stati-item-cell">{{ type }}</span
|
|
5
5
|
><span class="n20-statis-division p-l-s p-r-s stati-item-cell">|</span
|
|
6
6
|
><span v-for="(item, i) in list" :key="i" class="p-r stati-item-cell"
|
|
7
|
-
>{{ item.label }}
|
|
7
|
+
>{{ item.label }}: <span v-if="countLabel.includes(item.label)" class="n20-primary">{{ item.value }}</span
|
|
8
8
|
><span v-else class="n20-primary">{{ item | numerify('0,0.00', showW, showU) }}</span></span
|
|
9
9
|
>
|
|
10
10
|
</div>
|
|
@@ -2,6 +2,7 @@ import numerify from 'numerify'
|
|
|
2
2
|
import dayjs from 'dayjs'
|
|
3
3
|
|
|
4
4
|
function tplFn(row, sc, mck, map = {}) {
|
|
5
|
+
console.log(row, sc, mck, map)
|
|
5
6
|
let str = ''
|
|
6
7
|
sc.forEach((s, i) => {
|
|
7
8
|
str += s
|
|
@@ -46,6 +47,7 @@ function tplFn(row, sc, mck, map = {}) {
|
|
|
46
47
|
}
|
|
47
48
|
|
|
48
49
|
export function colfF(colf, map) {
|
|
50
|
+
console.log(colf)
|
|
49
51
|
if (typeof colf !== 'string') return colf
|
|
50
52
|
let sc = colf.split(/{.+?}/g) || []
|
|
51
53
|
let mc = colf.match(/{.+?}/g) || []
|
|
@@ -0,0 +1,208 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<vxe-table
|
|
3
|
+
ref="el-table"
|
|
4
|
+
:key="colsKey"
|
|
5
|
+
:class="{ 'cell-default-set--': cellDefault, 'clear-in-form-margin': clearInFormMargin }"
|
|
6
|
+
:header-cell-style="{ 'text-align': 'center' }"
|
|
7
|
+
:data="data"
|
|
8
|
+
:height="height"
|
|
9
|
+
v-bind="Object.assign({ size: size }, $attrs, sizeBind)"
|
|
10
|
+
v-on="$listeners"
|
|
11
|
+
>
|
|
12
|
+
<template v-for="(item, i) in columns">
|
|
13
|
+
<slot v-if="item.slotName" :name="item.slotName" :column="item"></slot>
|
|
14
|
+
<!-- <vxe-column v-else-if="item.render" :key="'vxe-table-' + i" v-bind="item">
|
|
15
|
+
<columnRender slot-scope="{ row, $index }" :c-render="item.render" :row="row" :index="$index" />
|
|
16
|
+
</vxe-column> -->
|
|
17
|
+
<vxe-column
|
|
18
|
+
v-else
|
|
19
|
+
:key="'vxe-table-' + i"
|
|
20
|
+
:formatter="item.formatter | colfF(item.formatterMap)"
|
|
21
|
+
:filters="item.filters | colftF(filtersMap)"
|
|
22
|
+
:title="item.label"
|
|
23
|
+
:field="item.prop"
|
|
24
|
+
v-bind="item"
|
|
25
|
+
/>
|
|
26
|
+
</template>
|
|
27
|
+
<tableSetSize :size="sizeC" @update:size="sizeUp" @resize="sizeSet" />
|
|
28
|
+
</vxe-table>
|
|
29
|
+
</template>
|
|
30
|
+
|
|
31
|
+
<script>
|
|
32
|
+
// import { $lc } from '../../utils/i18n/index'
|
|
33
|
+
import { colfF, colftF, colf_BD_F, colft_BD_F } from '../Table/filters'
|
|
34
|
+
|
|
35
|
+
import tableSetSize from '../TableSetSize/index.vue'
|
|
36
|
+
|
|
37
|
+
const columnRender = {
|
|
38
|
+
props: {
|
|
39
|
+
cRender: {
|
|
40
|
+
type: Function
|
|
41
|
+
},
|
|
42
|
+
row: {
|
|
43
|
+
type: Object
|
|
44
|
+
},
|
|
45
|
+
index: {
|
|
46
|
+
type: [Number, String]
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
render(h) {
|
|
50
|
+
return this.cRender(h, this.row, this.index)
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
export default {
|
|
55
|
+
name: 'TablePro',
|
|
56
|
+
components: {
|
|
57
|
+
columnRender,
|
|
58
|
+
tableSetSize
|
|
59
|
+
},
|
|
60
|
+
filters: {
|
|
61
|
+
colfF,
|
|
62
|
+
colftF,
|
|
63
|
+
typeF(type) {
|
|
64
|
+
return type && type === 'selection' ? 'checkbox' : type
|
|
65
|
+
},
|
|
66
|
+
overflowF(item) {
|
|
67
|
+
return item.showOverflowTooltip || item['show-overflow-tooltip'] ? 'tooltip' : 'ellipsis'
|
|
68
|
+
},
|
|
69
|
+
colf_BD_F,
|
|
70
|
+
colft_BD_F,
|
|
71
|
+
colKey(item) {
|
|
72
|
+
let key = item.columnKey || item['column-key']
|
|
73
|
+
return key ? 'key@' + key : ''
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
props: {
|
|
77
|
+
bigData: {
|
|
78
|
+
type: Boolean,
|
|
79
|
+
default: false
|
|
80
|
+
},
|
|
81
|
+
column: {
|
|
82
|
+
type: Boolean,
|
|
83
|
+
default: false
|
|
84
|
+
},
|
|
85
|
+
data: {
|
|
86
|
+
type: Array,
|
|
87
|
+
default: undefined
|
|
88
|
+
},
|
|
89
|
+
columns: {
|
|
90
|
+
type: Array,
|
|
91
|
+
require: true,
|
|
92
|
+
default: () => []
|
|
93
|
+
},
|
|
94
|
+
filtersMap: {
|
|
95
|
+
type: Object,
|
|
96
|
+
default: () => ({})
|
|
97
|
+
},
|
|
98
|
+
pageObj: {
|
|
99
|
+
type: Object,
|
|
100
|
+
default: undefined
|
|
101
|
+
},
|
|
102
|
+
pageKey: {
|
|
103
|
+
type: Object,
|
|
104
|
+
default: undefined
|
|
105
|
+
},
|
|
106
|
+
height: {
|
|
107
|
+
type: [String, Number],
|
|
108
|
+
default: undefined
|
|
109
|
+
},
|
|
110
|
+
size: {
|
|
111
|
+
type: String,
|
|
112
|
+
default: 'small'
|
|
113
|
+
},
|
|
114
|
+
showSetsize: {
|
|
115
|
+
type: Boolean,
|
|
116
|
+
default: false
|
|
117
|
+
},
|
|
118
|
+
cellDefault: {
|
|
119
|
+
type: Boolean,
|
|
120
|
+
default: false
|
|
121
|
+
},
|
|
122
|
+
clearInFormMargin: {
|
|
123
|
+
type: Boolean,
|
|
124
|
+
default: false
|
|
125
|
+
}
|
|
126
|
+
},
|
|
127
|
+
data() {
|
|
128
|
+
let _this = this
|
|
129
|
+
return {
|
|
130
|
+
colsKey: 0,
|
|
131
|
+
sizeC: _this.size,
|
|
132
|
+
sizeBind: undefined
|
|
133
|
+
}
|
|
134
|
+
},
|
|
135
|
+
provide() {
|
|
136
|
+
let bigData = this.bigData
|
|
137
|
+
return {
|
|
138
|
+
bigData
|
|
139
|
+
}
|
|
140
|
+
},
|
|
141
|
+
watch: {
|
|
142
|
+
columns() {
|
|
143
|
+
this.colsKey = this.colsKey + 1
|
|
144
|
+
},
|
|
145
|
+
size(val) {
|
|
146
|
+
this.sizeC = val
|
|
147
|
+
}
|
|
148
|
+
},
|
|
149
|
+
mounted() {
|
|
150
|
+
console.log(this.data)
|
|
151
|
+
let inTable = this.$refs['el-table']
|
|
152
|
+
if (inTable) {
|
|
153
|
+
this.$refs['table'] = inTable
|
|
154
|
+
this.clearSelection = inTable.clearSelection
|
|
155
|
+
this.toggleRowSelection = inTable.toggleRowSelection
|
|
156
|
+
this.toggleAllSelection = inTable.toggleAllSelection
|
|
157
|
+
this.toggleRowExpansion = inTable.toggleRowExpansion
|
|
158
|
+
this.setCurrentRow = inTable.setCurrentRow
|
|
159
|
+
this.clearSort = inTable.clearSort
|
|
160
|
+
this.clearFilter = inTable.clearFilter
|
|
161
|
+
this.doLayout = inTable.doLayout
|
|
162
|
+
this.sort = inTable.sort
|
|
163
|
+
}
|
|
164
|
+
},
|
|
165
|
+
methods: {
|
|
166
|
+
bigFilter(arg) {
|
|
167
|
+
let filters = arg.filters || []
|
|
168
|
+
let elFilters = {}
|
|
169
|
+
filters.forEach((item) => {
|
|
170
|
+
let key = item.column.className
|
|
171
|
+
if (key && typeof key === 'string') {
|
|
172
|
+
let _key = key.split(',').find((s) => s.includes('key@'))
|
|
173
|
+
|
|
174
|
+
if (_key) _key = _key.replace('key@', '')
|
|
175
|
+
|
|
176
|
+
if (_key) key = _key
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
elFilters[key || item.property] = item.values
|
|
180
|
+
})
|
|
181
|
+
this.$emit('filter-change', elFilters, arg)
|
|
182
|
+
},
|
|
183
|
+
bigExpand(arg) {
|
|
184
|
+
this.$emit('expand-change', arg.row, arg.expanded, arg)
|
|
185
|
+
},
|
|
186
|
+
sizeUp(size) {
|
|
187
|
+
this.sizeC = size
|
|
188
|
+
this.$emit('update:size', size)
|
|
189
|
+
},
|
|
190
|
+
sizeSet(el) {
|
|
191
|
+
this.sizeBind = el
|
|
192
|
+
|
|
193
|
+
let inTable = this.$refs['el-table']
|
|
194
|
+
if (inTable) {
|
|
195
|
+
inTable.doLayout()
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
</script>
|
|
201
|
+
<style>
|
|
202
|
+
.cell-default-set-- .el-table__body .el-table__cell .cell:empty::before {
|
|
203
|
+
content: '--';
|
|
204
|
+
}
|
|
205
|
+
.clear-in-form-margin .el-table__body .el-table__cell .cell .el-form-item {
|
|
206
|
+
margin-bottom: 0;
|
|
207
|
+
}
|
|
208
|
+
</style>
|
|
@@ -11,7 +11,8 @@
|
|
|
11
11
|
<template slot="label">
|
|
12
12
|
<span v-if="item.icon" :class="item.icon"></span>
|
|
13
13
|
<sup v-if="item.badge" class="el-tabs__item-badge"></sup>
|
|
14
|
-
{{ item.name }}
|
|
14
|
+
<span v-if="item.content" v-title="`${item.content}`"> {{ item.name }}</span>
|
|
15
|
+
<span v-else>{{ item.name }}</span>
|
|
15
16
|
</template>
|
|
16
17
|
</el-tab-pane>
|
|
17
18
|
</el-tabs>
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
let tooltip = undefined
|
|
2
|
+
import getWidth from '../../utils/asciiWidth.js'
|
|
2
3
|
const popClass = 'at-title-pop-' + Date.now()
|
|
3
4
|
|
|
4
5
|
function tipInit(Vue) {
|
|
@@ -101,4 +102,38 @@ TitleDirective.install = (Vue) => {
|
|
|
101
102
|
})
|
|
102
103
|
}
|
|
103
104
|
|
|
104
|
-
|
|
105
|
+
const HoverTooltip = {}
|
|
106
|
+
HoverTooltip.install = (Vue) => {
|
|
107
|
+
if (Vue.prototype.$isServer) return
|
|
108
|
+
Vue.directive('hover-tooltip', {
|
|
109
|
+
bind(el, binding, vnode) {
|
|
110
|
+
tooltip || tipInit(Vue)
|
|
111
|
+
|
|
112
|
+
el.$tooltipTitle = binding.value
|
|
113
|
+
|
|
114
|
+
let vmethods = vnode.child ? vnode.child.$options : vnode.context.$options
|
|
115
|
+
vmethods.deactivated || (vmethods.deactivated = [])
|
|
116
|
+
|
|
117
|
+
vmethods.deactivated.push(tipHide.bind(null, el))
|
|
118
|
+
el.$tipShow = () => tipShow(el, binding.arg)
|
|
119
|
+
el.$tipHide = () => tipHide(el)
|
|
120
|
+
el.addEventListener('mouseenter', () => {
|
|
121
|
+
if (getWidth(binding.value) > (binding.arg || 103)) {
|
|
122
|
+
return el.$tipShow()
|
|
123
|
+
}
|
|
124
|
+
})
|
|
125
|
+
|
|
126
|
+
el.addEventListener('mouseleave', el.$tipHide)
|
|
127
|
+
},
|
|
128
|
+
update: function (el, binding) {
|
|
129
|
+
el.$tooltipTitle = binding.value
|
|
130
|
+
},
|
|
131
|
+
unbind: function (el, binding) {
|
|
132
|
+
tipHide(el)
|
|
133
|
+
el.removeEventListener('mouseenter', el.$tipShow)
|
|
134
|
+
el.removeEventListener('mouseleave', el.$tipHide)
|
|
135
|
+
}
|
|
136
|
+
})
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
export { TitleDirective, HoverTooltip }
|
package/src/i18n.json
CHANGED
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
"en": "Business pop-up window"
|
|
94
94
|
},
|
|
95
95
|
"删除": {
|
|
96
|
-
"en": "
|
|
96
|
+
"en": "Remove"
|
|
97
97
|
},
|
|
98
98
|
"退出提示": {
|
|
99
99
|
"en": "Exit prompt"
|
|
@@ -177,7 +177,7 @@
|
|
|
177
177
|
"en": "Passwords include at least two kinds of numbers, letters and special symbols."
|
|
178
178
|
},
|
|
179
179
|
"请输入利率": {
|
|
180
|
-
"en": "Please enter
|
|
180
|
+
"en": "Please enter"
|
|
181
181
|
},
|
|
182
182
|
"其中有效数据": {
|
|
183
183
|
"en": "where valid data"
|
|
@@ -189,7 +189,7 @@
|
|
|
189
189
|
"en": "Language switching"
|
|
190
190
|
},
|
|
191
191
|
"每页显示": {
|
|
192
|
-
"en": "
|
|
192
|
+
"en": "Items per page"
|
|
193
193
|
},
|
|
194
194
|
"全部": {
|
|
195
195
|
"en": "All"
|
|
@@ -258,7 +258,7 @@
|
|
|
258
258
|
"en": "Table"
|
|
259
259
|
},
|
|
260
260
|
"恢复默认": {
|
|
261
|
-
"en": "Restore
|
|
261
|
+
"en": "Restore Default"
|
|
262
262
|
},
|
|
263
263
|
"日期选择框": {
|
|
264
264
|
"en": "Date selection box"
|
|
@@ -288,13 +288,13 @@
|
|
|
288
288
|
"en": "Attachment information"
|
|
289
289
|
},
|
|
290
290
|
"确定": {
|
|
291
|
-
"en": "
|
|
291
|
+
"en": "OK"
|
|
292
292
|
},
|
|
293
293
|
"导入": {
|
|
294
294
|
"en": "Import"
|
|
295
295
|
},
|
|
296
296
|
"新增": {
|
|
297
|
-
"en": "
|
|
297
|
+
"en": "Add"
|
|
298
298
|
},
|
|
299
299
|
"密码只能包含数字 + 字母": {
|
|
300
300
|
"en": "Passwords can only contain numeric letters"
|
|
@@ -401,6 +401,9 @@
|
|
|
401
401
|
"驳回至发起人": {
|
|
402
402
|
"en": "Rejected to promoter"
|
|
403
403
|
},
|
|
404
|
+
"驳回至申请人": {
|
|
405
|
+
"en": "Rejected to applicant"
|
|
406
|
+
},
|
|
404
407
|
"优雅紫": {
|
|
405
408
|
"en": "Elegant purple"
|
|
406
409
|
},
|
|
@@ -618,7 +621,7 @@
|
|
|
618
621
|
"en": "Approval record"
|
|
619
622
|
},
|
|
620
623
|
"附件名称": {
|
|
621
|
-
"en": "
|
|
624
|
+
"en": "Name"
|
|
622
625
|
},
|
|
623
626
|
"加载中": {
|
|
624
627
|
"en": "Loading"
|
|
@@ -663,7 +666,7 @@
|
|
|
663
666
|
"en": "Other reminders"
|
|
664
667
|
},
|
|
665
668
|
"设置显示列": {
|
|
666
|
-
"en": "
|
|
669
|
+
"en": "Config Display Columns"
|
|
667
670
|
},
|
|
668
671
|
"附件批量上传": {
|
|
669
672
|
"en": "Attachment Batch Upload"
|
|
@@ -720,7 +723,7 @@
|
|
|
720
723
|
"en": "Youth green"
|
|
721
724
|
},
|
|
722
725
|
"上传人": {
|
|
723
|
-
"en": "
|
|
726
|
+
"en": "User"
|
|
724
727
|
},
|
|
725
728
|
"隐藏菜单": {
|
|
726
729
|
"en": "Hide menu"
|
|
@@ -885,7 +888,7 @@
|
|
|
885
888
|
"en": "Text link"
|
|
886
889
|
},
|
|
887
890
|
"附件上传": {
|
|
888
|
-
"en": "
|
|
891
|
+
"en": "Upload"
|
|
889
892
|
},
|
|
890
893
|
"同意": {
|
|
891
894
|
"en": "Agree"
|
|
@@ -1002,7 +1005,7 @@
|
|
|
1002
1005
|
"en": "File name cannot be empty"
|
|
1003
1006
|
},
|
|
1004
1007
|
"请输入账号!": {
|
|
1005
|
-
"en": "Please enter
|
|
1008
|
+
"en": "Please enter"
|
|
1006
1009
|
},
|
|
1007
1010
|
"按钮": {
|
|
1008
1011
|
"en": "Button"
|
|
@@ -1164,7 +1167,7 @@
|
|
|
1164
1167
|
"en": "Close others"
|
|
1165
1168
|
},
|
|
1166
1169
|
"上传时间": {
|
|
1167
|
-
"en": "
|
|
1170
|
+
"en": "Time"
|
|
1168
1171
|
},
|
|
1169
1172
|
"导出进度": {
|
|
1170
1173
|
"en": "Export progress"
|
|
@@ -1323,7 +1326,7 @@
|
|
|
1323
1326
|
"en": "All ("
|
|
1324
1327
|
},
|
|
1325
1328
|
"上传进度": {
|
|
1326
|
-
"en": "
|
|
1329
|
+
"en": "Progress"
|
|
1327
1330
|
},
|
|
1328
1331
|
"条件": {
|
|
1329
1332
|
"en": "Condition"
|
|
@@ -1404,10 +1407,10 @@
|
|
|
1404
1407
|
"en": "Import file"
|
|
1405
1408
|
},
|
|
1406
1409
|
"请输入金额": {
|
|
1407
|
-
"en": "Please enter
|
|
1410
|
+
"en": "Please enter"
|
|
1408
1411
|
},
|
|
1409
1412
|
"请输入密码": {
|
|
1410
|
-
"en": "Please enter
|
|
1413
|
+
"en": "Please enter"
|
|
1411
1414
|
},
|
|
1412
1415
|
"活动名称": {
|
|
1413
1416
|
"en": "Activity name"
|
|
@@ -1840,5 +1843,11 @@
|
|
|
1840
1843
|
},
|
|
1841
1844
|
"暂无数据": {
|
|
1842
1845
|
"en": "No data"
|
|
1846
|
+
},
|
|
1847
|
+
"请先勾选要下载的数据!": {
|
|
1848
|
+
"en": "Please select the data to be downloaded first!"
|
|
1849
|
+
},
|
|
1850
|
+
"请先勾选要删除的数据!": {
|
|
1851
|
+
"en": "Please select the data to be deleted first!"
|
|
1843
1852
|
}
|
|
1844
1853
|
}
|
package/src/index.js
CHANGED
|
@@ -50,6 +50,7 @@ import StatisPopover from './components/Statis/statisPopover.vue'
|
|
|
50
50
|
import Step from './components/Step/index.vue'
|
|
51
51
|
import Suspend from './components/Suspend/index.vue'
|
|
52
52
|
import Table from './components/Table/index.vue'
|
|
53
|
+
import TablePro from './components/TablePro/index.vue'
|
|
53
54
|
import TableOperate from './components/TableOperateColumn/OperateBtns.vue'
|
|
54
55
|
import TableOperateColumn from './components/TableOperateColumn/index.vue'
|
|
55
56
|
import TableSetSize from './components/TableSetSize'
|
|
@@ -87,7 +88,7 @@ import VDrag from './directives/VDrag/index.js'
|
|
|
87
88
|
import VHas from './directives/VHas/index.js'
|
|
88
89
|
import VMove from './directives/VMove/index.js'
|
|
89
90
|
import VRuleKey from './directives/VRuleKey/index.js'
|
|
90
|
-
import
|
|
91
|
+
import { HoverTooltip, TitleDirective } from './directives/VTitle/index.js'
|
|
91
92
|
|
|
92
93
|
/** 注入方法 */
|
|
93
94
|
import dayjs from 'dayjs'
|
|
@@ -155,6 +156,7 @@ const components = [
|
|
|
155
156
|
FooterBox,
|
|
156
157
|
Filters,
|
|
157
158
|
Table,
|
|
159
|
+
TablePro,
|
|
158
160
|
TableOperate,
|
|
159
161
|
TableOperateColumn,
|
|
160
162
|
TableSetSize,
|
|
@@ -205,7 +207,8 @@ const install = function (Vue, opts = { prefix: 'Cl', i18nConfig: {} }) {
|
|
|
205
207
|
Vue.component(name, component)
|
|
206
208
|
})
|
|
207
209
|
|
|
208
|
-
Vue.use(
|
|
210
|
+
Vue.use(HoverTooltip)
|
|
211
|
+
Vue.use(TitleDirective)
|
|
209
212
|
Vue.use(VDrag)
|
|
210
213
|
Vue.use(VMove)
|
|
211
214
|
Vue.use(VRuleKey)
|
|
@@ -294,6 +297,7 @@ export {
|
|
|
294
297
|
Step,
|
|
295
298
|
Suspend,
|
|
296
299
|
Table,
|
|
300
|
+
TablePro,
|
|
297
301
|
TableOperate,
|
|
298
302
|
TableOperateColumn,
|
|
299
303
|
TableSetSize,
|
package/src/plugins/.DS_Store
CHANGED
|
Binary file
|