n20-common-lib 2.7.61 → 2.7.62

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.61",
3
+ "version": "2.7.62",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -10,7 +10,6 @@
10
10
  "build:Jenkins_1": "vue-cli-service build --serverConfig ./server-config-jenkins.jsonc",
11
11
  "build:css": "node build_css",
12
12
  "build:doc": "node versionInfo.js && vue-cli-service build --testTheme",
13
- "build:docs": "vue-cli-service build --doc",
14
13
  "build:gzip": "vue-cli-service build --gzip",
15
14
  "build:js": "vue-cli-service build --formats umd-min --target lib src/index.js --name index --dest lib --analy",
16
15
  "build:report": "vue-cli-service build --analy",
@@ -3,6 +3,7 @@
3
3
  position: relative;
4
4
  display: flex;
5
5
  align-items: center;
6
+ flex:1;
6
7
  padding: 8px 0;
7
8
 
8
9
  &-item.n20-advanced-filter-active {
@@ -1,5 +1,5 @@
1
1
  .n20-statis {
2
- font-size: 12px;
2
+ font-size: 14px;
3
3
  color: $--color-text-primary;
4
4
  .n20-primary {
5
5
  color: $--color-primary;
@@ -23,7 +23,7 @@
23
23
 
24
24
  .n20-statis:not(:first-child) {
25
25
  .stati-type {
26
- padding-left: 12px;
26
+ padding-left: 4px;
27
27
  }
28
28
  .n20-statis-group & {
29
29
  .stati-type {
@@ -1,8 +1,8 @@
1
1
  <template>
2
2
  <div v-if="!isDbz" class="n20-statis">
3
3
  <span v-if="title" class="p-r-ss text-r stati-item-cell">{{ title }}</span
4
- ><span class="stati-type stati-item-cell p-r-ss">{{ type }}</span
5
- ><span class="n20-statis-division p-r-ss stati-item-cell"></span
4
+ > <span class="stati-type stati-item-cell p-r-ss">{{ type }}</span
5
+ ><span class="n20-statis-division p-r-ss stati-item-cell">|</span
6
6
  ><span v-for="(item, i) in list" :key="i" class="p-r-ss stati-item-cell"
7
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
@@ -10,10 +10,11 @@
10
10
  </div>
11
11
  <div v-else class="n20-statis">
12
12
  <span class="stati-type stati-item-cell">{{ type }}</span>
13
- <span v-if="total !== null" class="stati-type stati-item-cell n20-primary">:{{ total }}</span>
14
- <span v-if="title" class="text-r stati-item-cell p-l-ss">{{ title }}</span>
15
- <span class="n20-statis-division p-r-ss stati-item-cell"></span>
16
- <span v-for="(item, i) in list" :key="i" class="p-r-ss stati-item-cell"
13
+ <span v-if="total !== null">:</span>
14
+ <span class="stati-type stati-item-cell n20-primary p-l-ss">{{ total }}</span>
15
+ <span v-if="total !== null" class="n20-statis-division p-l-ss p-r-ss stati-item-cell">|</span>
16
+ <span v-if="title" class="text-r stati-item-cell p-r-ss">{{ title }}</span>
17
+ <span v-for="(item, i) in list" :key="i" class="p-r-ss p-l-ss stati-item-cell"
17
18
  >{{ item.label }}:<span v-if="countLabel.includes(item.label)" class="n20-primary">{{ item.value }}</span>
18
19
  <span v-else class="n20-primary">{{ item | numerify('0,0.00', showW, showU) }}</span></span
19
20
  >
@@ -20,7 +20,7 @@
20
20
  @show="show = true"
21
21
  @hide="show = false"
22
22
  >
23
- <div slot="reference" class="flex-box p-t-ss p-b-ss">
23
+ <div slot="reference" class="flex-box flex-v p-t-ss p-b-ss">
24
24
  <statisItem
25
25
  v-for="(item, i) in lists[0]['statis']"
26
26
  :key="i"
@@ -32,7 +32,7 @@
32
32
  :is-dbz="true"
33
33
  :total="total"
34
34
  />
35
- <i class="n20-icon-nianfenqiehuan-youce" :class="show ? 'rotating-icon-show' : 'rotating-icon'"></i>
35
+ <i class="n20-icon-shouqizhedie f-s-l" :class="show ? 'rotating-icon-show' : 'rotating-icon'"></i>
36
36
  </div>
37
37
 
38
38
  <div>
@@ -80,10 +80,10 @@ export default {
80
80
  </script>
81
81
  <style>
82
82
  .rotating-icon {
83
- transform: rotate(90deg);
83
+ transform: rotate(0deg);
84
84
  }
85
85
 
86
86
  .rotating-icon-show {
87
- transform: rotate(270deg);
87
+ transform: rotate(180deg);
88
88
  }
89
89
  </style>
@@ -1,7 +1,7 @@
1
1
  import importG from './importGlobal.js'
2
2
 
3
3
  export default async function toJson(file, name) {
4
- let { default: ExcelJS } = await importG('exceljs', () => import(/*webpackChunkName: "exceljs"*/ 'exceljs'))
4
+ let { default: ExcelJS } = await importG(' ', () => import(/*webpackChunkName: "exceljs"*/ 'exceljs'))
5
5
 
6
6
  const workbook = new ExcelJS.Workbook()
7
7
  return new Promise((resolve, reject) => {