n20-common-lib 2.7.21 → 2.7.22

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.7.21",
3
+ "version": "2.7.22",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -2,8 +2,7 @@
2
2
  <el-carousel height="50px" :interval="3000" direction="vertical" indicator-position="none" :autoplay="true">
3
3
  <el-carousel-item v-for="tip in tips" :key="tip.id">
4
4
  <div v-if="tip.isShow === '1'" v-title:br="list" :class="`tip_color_${tip.style || 'default'}`">
5
- {{ tip.busNname }}{{ enumData[tip.busState]
6
- }}{{ tip.busNname === $lc('财司系统') ? '(' + tip.currency + ')' : ''
5
+ {{ tip.busNname }}{{ enumData[tip.busState] }}{{ tip.busCode.includes('CENTER') ? '(' + tip.currency + ')' : ''
7
6
  }}{{ tip.isError === '1' ? '(有异常)' : '' }}
8
7
  </div>
9
8
  </el-carousel-item>
@@ -68,7 +67,7 @@ export default {
68
67
  this.list = cloneDeep(data)
69
68
  .map((tip) => {
70
69
  return `${tip.updateTime || tip.createtime}${tip.busNname}${enumData[tip.busState]}${
71
- tip.busNname === $lc('财司系统') ? '(' + tip.currency + ')' : ''
70
+ tip.busCode.includes('CENTER') ? '(' + tip.currency + ')' : ''
72
71
  }`
73
72
  })
74
73
  .join(',')