n20-common-lib 2.6.63 → 2.6.65

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "n20-common-lib",
3
- "version": "2.6.63",
3
+ "version": "2.6.65",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -124,4 +124,4 @@
124
124
  "last 2 versions",
125
125
  "not dead"
126
126
  ]
127
- }
127
+ }
@@ -20,7 +20,7 @@
20
20
  <!-- <el-divider class="header-wrap-logo-hr" direction="vertical" /> -->
21
21
  <div class="m-l-m"></div>
22
22
  <h3 class="header-title m-r-auto">{{ headerTitle | $l }}</h3>
23
- <span v-if="byLabel && !inBack" class="header-uif-by">{{ byLabel }}</span>
23
+ <span v-if="byLabel && !inBack && hideWelcomeSpeech" class="header-uif-by">{{ byLabel }}</span>
24
24
  <!-- YSCW -->
25
25
  <slot name="header-ectad">
26
26
  <span v-if="ectad" class="f-s-s">
@@ -142,7 +142,7 @@
142
142
  </div>
143
143
  <div class="uif-gs text-ellipsis">{{ userInfo.companyName }}</div>
144
144
  <div class="uif-js text-ellipsis">{{ rolesList.map((el) => el.name).join('/') }}</div>
145
- <div class="uif-by">
145
+ <div class="uif-by" v-if="hideWelcomeSpeech">
146
146
  <template v-if="!byEV">
147
147
  <span>{{ byLabel }}</span>
148
148
  <span class="_edit el-icon-edit" @click="byEShow"></span>
@@ -356,6 +356,7 @@ export default {
356
356
  afficheNum: 0,
357
357
  rolesList: [],
358
358
  scV: false,
359
+ hideWelcomeSpeech: true,
359
360
  underway: false,
360
361
  /* */
361
362
  byV: false,
@@ -384,6 +385,7 @@ export default {
384
385
  this.hideLang = _layoutData.hideLang
385
386
  this.hideDowApp = _layoutData.hideDowApp
386
387
  this.hideTheme = _layoutData.hideTheme
388
+ this.hideWelcomeSpeech = _layoutData.hideWelcomeSpeech ?? true
387
389
 
388
390
  if (_loginSetting !== 'JSON') {
389
391
  this.headerTitle = sessionStorage.getItem('headerTitle') || this.headerTitle
@@ -396,7 +398,7 @@ export default {
396
398
 
397
399
  this.getByLabel().then(() => {
398
400
  let notFirstShowBy = sessionStorage.getItem('notFirstShowBy')
399
- if (!notFirstShowBy) {
401
+ if (!notFirstShowBy && this.hideWelcomeSpeech) {
400
402
  this.byV = true
401
403
  setTimeout(() => {
402
404
  this.byV = false