n20-common-lib 2.8.13 → 2.8.15
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 +2 -1
- package/src/components/AdvancedFilter/filterItem.vue +1 -1
- package/src/components/AdvancedFilter/index.vue +4 -4
- package/src/components/LoginTemporary/form.vue +5 -0
- package/src/components/LoginTemporary/index.vue +6 -0
- package/src/components/LoginTemporary/indexN.vue +6 -0
- package/src/components/TablePro/index.vue +2 -1
- package/src/i18n.json +25 -0
- package/src/plugins/Sign/Itrus/index.js +1852 -907
- package/style/fonts/element-icons.535877f5.woff +0 -0
- package/style/fonts/element-icons.732389de.ttf +0 -0
- package/style/fonts/iconfont.09d221ee.woff +0 -0
- package/style/fonts/iconfont.1c4bfacc.ttf +0 -0
- package/style/fonts/iconfont.a6f34dc7.woff2 +0 -0
- package/style/fonts/iconfont.f4c32765.ttf +0 -0
- package/style/index.css +3 -0
- package/theme/blue.css +3 -0
- package/theme/cctcRed.css +3 -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.1c4bfacc.ttf +0 -0
- package/theme/fonts/iconfont.a6f34dc7.woff2 +0 -0
- package/theme/fonts/iconfont.f4c32765.ttf +0 -0
- package/theme/green.css +3 -0
- package/theme/lightBlue.css +3 -0
- package/theme/orange.css +3 -0
- package/theme/purple.css +3 -0
- package/theme/red.css +3 -0
- package/theme/yellow.css +3 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "n20-common-lib",
|
|
3
|
-
"version": "2.8.
|
|
3
|
+
"version": "2.8.15",
|
|
4
4
|
"private": false,
|
|
5
5
|
"scripts": {
|
|
6
6
|
"serve": "vue-cli-service serve",
|
|
@@ -64,6 +64,7 @@
|
|
|
64
64
|
"v-viewer": "1.6.4",
|
|
65
65
|
"vue-jsonp": "2.0.0",
|
|
66
66
|
"vuedraggable": "*",
|
|
67
|
+
"webpack-duplicate-relano-plugin": "^0.1.0",
|
|
67
68
|
"xe-utils": "^3.5.11"
|
|
68
69
|
},
|
|
69
70
|
"devDependencies": {
|
|
@@ -52,7 +52,7 @@ export default {
|
|
|
52
52
|
methods: {
|
|
53
53
|
checkChange(keys) {
|
|
54
54
|
if (keys.length > this.maxLength) {
|
|
55
|
-
return this.$message.warning(
|
|
55
|
+
return this.$message.warning(`${$lc('最多只能添加')}${this.maxLength}${$lc('个')}${$lc('筛选条件!')}`)
|
|
56
56
|
}
|
|
57
57
|
this.$emit('checked', keys)
|
|
58
58
|
},
|
|
@@ -36,9 +36,9 @@
|
|
|
36
36
|
<el-input v-model="keyword" clearable class="input-w m-b-s" :placeholder="$lc('搜索筛选条件')" />
|
|
37
37
|
<div class="flex-box flex-lr">
|
|
38
38
|
<el-button type="text" @click="allCheck">{{
|
|
39
|
-
checkList.length === filterListS.length ? '取消全选' : '全选'
|
|
39
|
+
checkList.length === filterListS.length ? $lc('取消全选') : $lc('全选')
|
|
40
40
|
}}</el-button>
|
|
41
|
-
<el-button type="text" @click="defaultCheck">
|
|
41
|
+
<el-button type="text" @click="defaultCheck">{{ $lc('恢复默认') }}</el-button>
|
|
42
42
|
</div>
|
|
43
43
|
<filterItem
|
|
44
44
|
:filter-list="filterListS"
|
|
@@ -47,8 +47,8 @@
|
|
|
47
47
|
@checked="check"
|
|
48
48
|
/>
|
|
49
49
|
<div class="flex-box flex-c m-t-m">
|
|
50
|
-
<el-button size="mini" type="primary" @click="savaCheck"
|
|
51
|
-
<el-button plain type="primary" @click="cancel"
|
|
50
|
+
<el-button size="mini" type="primary" @click="savaCheck">{{ $lc('确认') }}</el-button>
|
|
51
|
+
<el-button plain type="primary" @click="cancel">{{ $l('取消') }}</el-button>
|
|
52
52
|
</div>
|
|
53
53
|
</el-popover>
|
|
54
54
|
<el-link class="m-l-s color-primary" :underline="false" icon="n20-icon-query" @click="$emit('search')">
|
|
@@ -182,6 +182,10 @@ export default {
|
|
|
182
182
|
type: String,
|
|
183
183
|
default: ''
|
|
184
184
|
},
|
|
185
|
+
syncRelated: {
|
|
186
|
+
type: Function,
|
|
187
|
+
default: undefined
|
|
188
|
+
},
|
|
185
189
|
asyncRelaNos: {
|
|
186
190
|
type: Boolean,
|
|
187
191
|
default: false
|
|
@@ -582,6 +586,7 @@ export default {
|
|
|
582
586
|
} else {
|
|
583
587
|
this.$router.replace('/')
|
|
584
588
|
}
|
|
589
|
+
this.syncRelated && this.syncRelated()
|
|
585
590
|
})
|
|
586
591
|
},
|
|
587
592
|
// 获取用户基本信息
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
:before-login="beforeLogin"
|
|
7
7
|
:login-types="loginTypes"
|
|
8
8
|
:login-then="loginThen"
|
|
9
|
+
:syncRelated="syncRelated"
|
|
9
10
|
:async-rela-nos="asyncRelaNos"
|
|
10
11
|
:show-forget-btn="showForgetBtn"
|
|
11
12
|
style="display: none"
|
|
@@ -25,6 +26,7 @@
|
|
|
25
26
|
:before-login="beforeLogin"
|
|
26
27
|
:login-types="loginTypes"
|
|
27
28
|
:login-then="loginThen"
|
|
29
|
+
:syncRelated="syncRelated"
|
|
28
30
|
:async-rela-nos="asyncRelaNos"
|
|
29
31
|
:show-image-code="showImageCode"
|
|
30
32
|
:show-forget-btn="showForgetBtn"
|
|
@@ -86,6 +88,10 @@ export default {
|
|
|
86
88
|
type: Object,
|
|
87
89
|
default: undefined
|
|
88
90
|
},
|
|
91
|
+
syncRelated: {
|
|
92
|
+
type: Function,
|
|
93
|
+
default: undefined
|
|
94
|
+
},
|
|
89
95
|
asyncRelaNos: {
|
|
90
96
|
type: Boolean,
|
|
91
97
|
default: false
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
:login-types="loginTypes"
|
|
8
8
|
:login-then="loginThen"
|
|
9
9
|
:async-rela-nos="asyncRelaNos"
|
|
10
|
+
:syncRelated="syncRelated"
|
|
10
11
|
:show-forget-btn="showForgetBtn"
|
|
11
12
|
:extra-form="extraForm"
|
|
12
13
|
style="display: none"
|
|
@@ -87,6 +88,7 @@
|
|
|
87
88
|
:login-types="loginTypes"
|
|
88
89
|
:login-then="loginThenT"
|
|
89
90
|
:async-rela-nos="asyncRelaNos"
|
|
91
|
+
:syncRelated="syncRelated"
|
|
90
92
|
:extra-form="extraForm"
|
|
91
93
|
:show-image-code="imgCode"
|
|
92
94
|
:show-forget-btn="showForgetBtn"
|
|
@@ -187,6 +189,10 @@ export default {
|
|
|
187
189
|
type: Object,
|
|
188
190
|
default: undefined
|
|
189
191
|
},
|
|
192
|
+
syncRelated: {
|
|
193
|
+
type: Function,
|
|
194
|
+
default: undefined
|
|
195
|
+
},
|
|
190
196
|
asyncRelaNos: {
|
|
191
197
|
type: Boolean,
|
|
192
198
|
default: false
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
</template>
|
|
93
93
|
<template #empty>
|
|
94
94
|
<slot name="empty">
|
|
95
|
-
<empty type="empty" content="暂无数据" :height="200" :width="200" />
|
|
95
|
+
<empty type="empty" :content="$lc('暂无数据')" :height="200" :width="200" />
|
|
96
96
|
</slot>
|
|
97
97
|
</template>
|
|
98
98
|
</vxe-table>
|
|
@@ -271,6 +271,7 @@ export default {
|
|
|
271
271
|
// row当前单次勾选的哪一行数据 包含checked字段
|
|
272
272
|
handleSelectionChange(row = '') {
|
|
273
273
|
const val = this.$refs.vxeTable.getCheckboxRecords()
|
|
274
|
+
// 支持跨页勾选
|
|
274
275
|
const val1 = this.$refs.vxeTable.getCheckboxReserveRecords()
|
|
275
276
|
this.$emit('selection-change-method', [...val, ...val1], row)
|
|
276
277
|
},
|
package/src/i18n.json
CHANGED
|
@@ -789,6 +789,21 @@
|
|
|
789
789
|
"th": "ล้าง",
|
|
790
790
|
"vi": "Trống"
|
|
791
791
|
},
|
|
792
|
+
"最多只能添加": {
|
|
793
|
+
"en": "Can only add up to",
|
|
794
|
+
"th": "สามารถเพิ่มได้สูงสุด",
|
|
795
|
+
"vi": "Chỉ có thể thêm tối đa"
|
|
796
|
+
},
|
|
797
|
+
"个": {
|
|
798
|
+
"en": "a",
|
|
799
|
+
"th": "คน",
|
|
800
|
+
"vi": "cái"
|
|
801
|
+
},
|
|
802
|
+
"筛选条件!": {
|
|
803
|
+
"en": "Filter conditions!",
|
|
804
|
+
"th": "เงื่อนไขการกรอง!",
|
|
805
|
+
"vi": "Điều kiện lọc!"
|
|
806
|
+
},
|
|
792
807
|
"暂存": {
|
|
793
808
|
"en": "Temporary storage",
|
|
794
809
|
"th": "การจัดเก็บชั่วคราว",
|
|
@@ -3269,6 +3284,16 @@
|
|
|
3269
3284
|
"th": "เลือกแล้ว",
|
|
3270
3285
|
"vi": "Đã chọn"
|
|
3271
3286
|
},
|
|
3287
|
+
"全选": {
|
|
3288
|
+
"en": "Select all",
|
|
3289
|
+
"th": "เลือกทั้งหมด",
|
|
3290
|
+
"vi": "Chọn tất cả"
|
|
3291
|
+
},
|
|
3292
|
+
"取消全选": {
|
|
3293
|
+
"en": "Deselect all",
|
|
3294
|
+
"th": "ยกเลิกการเลือกทั้งหมด",
|
|
3295
|
+
"vi": "Bỏ chọn tất cả"
|
|
3296
|
+
},
|
|
3272
3297
|
"导入进度": {
|
|
3273
3298
|
"en": "Import progress",
|
|
3274
3299
|
"th": "ความคืบหน้าการนำเข้า",
|