n20-common-lib 2.4.52 → 2.4.53
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/assets/css/normalize.scss +2 -0
- package/src/components/FlowStep/index.vue +11 -1
- package/src/components/Layout/HeaderWrap/indexN.vue +4 -3
- package/src/components/Layout/indexN.vue +2 -1
- package/src/components/LoginTemporary/indexN.vue +1 -1
- package/src/components/TablePro/index.vue +1 -1
- package/src/i18n.json +4 -4
- package/src/index.js +2 -1
package/package.json
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "n20-common-lib",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.53",
|
|
4
4
|
"private": false,
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"scripts": {
|
|
7
|
+
"dev": "vue-cli-service serve --doc",
|
|
7
8
|
"serve": "vue-cli-service serve",
|
|
8
9
|
"serve:theme": "vue-cli-service serve --testTheme",
|
|
9
10
|
"test": "vue-cli-service serve --test",
|
|
@@ -394,6 +394,7 @@ iframe {
|
|
|
394
394
|
box-shadow: 0px 2px 8px 0px rgba($--color-black, 0.08);
|
|
395
395
|
}
|
|
396
396
|
|
|
397
|
+
// 底部统计翻页
|
|
397
398
|
.page-footer-shadow {
|
|
398
399
|
position: relative;
|
|
399
400
|
height: 28px;
|
|
@@ -411,6 +412,7 @@ iframe {
|
|
|
411
412
|
}
|
|
412
413
|
}
|
|
413
414
|
|
|
415
|
+
// 底部操作按钮
|
|
414
416
|
.page-button-shadow {
|
|
415
417
|
position: relative;
|
|
416
418
|
height: 44px;
|
|
@@ -76,7 +76,17 @@ export default {
|
|
|
76
76
|
data() {
|
|
77
77
|
return {
|
|
78
78
|
// 若当前选中步骤超过总步骤数,则默认选择步骤1
|
|
79
|
-
current: this.currentStep > this.totalSteps ? 1 : this.currentStep
|
|
79
|
+
// current: this.currentStep > this.totalSteps ? 1 : this.currentStep
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
computed: {
|
|
83
|
+
current: {
|
|
84
|
+
get() {
|
|
85
|
+
return this.currentStep > this.totalSteps ? 1 : this.currentStep
|
|
86
|
+
},
|
|
87
|
+
set(val) {
|
|
88
|
+
this.$emit('change', val)
|
|
89
|
+
}
|
|
80
90
|
}
|
|
81
91
|
},
|
|
82
92
|
methods: {
|
|
@@ -106,13 +106,14 @@
|
|
|
106
106
|
<div class="flex-box">
|
|
107
107
|
<img v-popover:by_popover class="user-info-btn header-color" :src="headerUserUrl" />
|
|
108
108
|
<div
|
|
109
|
-
v-if="customOpt?.companyName"
|
|
110
109
|
v-title:br="rolesList.map((el) => el.name).join(',')"
|
|
111
110
|
:style="{ width: (userInfo?.companyName?.length * 0.86 || 4) + 'em', overflow: 'hidden' }"
|
|
112
|
-
class="pointer"
|
|
111
|
+
class="pointer flex-column flex-c"
|
|
113
112
|
@click="handleUser"
|
|
114
113
|
>
|
|
115
|
-
<div class="font-size-small text-ellipsis">
|
|
114
|
+
<div class="font-size-small text-ellipsis">
|
|
115
|
+
{{ userNo }}{{ rolesList.length ? '/' : '' }}{{ rolesList.map((el) => el.name).join('/') }}
|
|
116
|
+
</div>
|
|
116
117
|
<div class="companyClass">{{ userInfo.companyName }}</div>
|
|
117
118
|
</div>
|
|
118
119
|
</div>
|
|
@@ -173,7 +173,7 @@ export default {
|
|
|
173
173
|
methods: {
|
|
174
174
|
setMainTab(ev) {
|
|
175
175
|
const { targetName, replaceTab, addTab, closeTab, setTabName, addTabO, refreshTab } = ev.data
|
|
176
|
-
|
|
176
|
+
console.log(refreshTab)
|
|
177
177
|
if (targetName === 'main') {
|
|
178
178
|
replaceTab && this.tabReplace(replaceTab)
|
|
179
179
|
addTab && this.tabAdd(addTab)
|
|
@@ -403,6 +403,7 @@ export default {
|
|
|
403
403
|
},
|
|
404
404
|
tabRefresh({ uuid, path }) {
|
|
405
405
|
let tab = undefined
|
|
406
|
+
console.log(this.tabList)
|
|
406
407
|
if (uuid) {
|
|
407
408
|
tab = this.tabList.find((t) => uuid === t.uuid)
|
|
408
409
|
} else if (path) {
|
package/src/i18n.json
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"en": "Data request"
|
|
7
7
|
},
|
|
8
8
|
"新一代集团财资管理系统": {
|
|
9
|
-
"en": "
|
|
9
|
+
"en": "Group Treasury Management System"
|
|
10
10
|
},
|
|
11
11
|
"不支持在线预览,请": {
|
|
12
12
|
"en": "Online preview is not supported, please"
|
|
@@ -234,7 +234,7 @@
|
|
|
234
234
|
"en": "Approval Opinions"
|
|
235
235
|
},
|
|
236
236
|
"批 准": {
|
|
237
|
-
"en": "
|
|
237
|
+
"en": "Approve"
|
|
238
238
|
},
|
|
239
239
|
"请输入手机号": {
|
|
240
240
|
"en": "Please enter your mobile phone number"
|
|
@@ -402,7 +402,7 @@
|
|
|
402
402
|
"en": "Information presentation component"
|
|
403
403
|
},
|
|
404
404
|
"驳回至发起人": {
|
|
405
|
-
"en": "
|
|
405
|
+
"en": "Reject to initiator"
|
|
406
406
|
},
|
|
407
407
|
"驳回至申请人": {
|
|
408
408
|
"en": "Rejected to applicant"
|
|
@@ -1515,7 +1515,7 @@
|
|
|
1515
1515
|
"en": "Approved to"
|
|
1516
1516
|
},
|
|
1517
1517
|
"驳回至": {
|
|
1518
|
-
"en": "
|
|
1518
|
+
"en": "Reject"
|
|
1519
1519
|
},
|
|
1520
1520
|
"设置抄送用户": {
|
|
1521
1521
|
"en": "Set Cc User"
|
package/src/index.js
CHANGED
|
@@ -102,7 +102,7 @@ import auth from './utils/auth.js'
|
|
|
102
102
|
import axios from './utils/axios.js'
|
|
103
103
|
import downloadBlob from './utils/downloadBlob.js'
|
|
104
104
|
import forEachs from './utils/forEachs'
|
|
105
|
-
import { setTabs } from './utils/handleTab.js'
|
|
105
|
+
import { setTabs, refreshTab } from './utils/handleTab.js'
|
|
106
106
|
import imgLoad from './utils/imgLoad.js'
|
|
107
107
|
import importG from './utils/importGlobal.js' // 联合加载组件保存位置
|
|
108
108
|
import list2tree from './utils/list2tree'
|
|
@@ -338,5 +338,6 @@ export {
|
|
|
338
338
|
repairEl,
|
|
339
339
|
// 页签/路由
|
|
340
340
|
setTabs,
|
|
341
|
+
refreshTab,
|
|
341
342
|
version
|
|
342
343
|
}
|