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 +1 -2
- package/src/assets/css/advanced-filter.scss +1 -0
- package/src/assets/css/statis.scss +2 -2
- package/src/components/Statis/statisItem.vue +7 -6
- package/src/components/Statis/statisPopover.vue +4 -4
- package/src/utils/xlsx2json.js +1 -1
- package/style/index.css +1 -1
- package/theme/blue.css +1 -1
- package/theme/cctcRed.css +1 -1
- package/theme/green.css +1 -1
- package/theme/lightBlue.css +1 -1
- package/theme/orange.css +1 -1
- package/theme/purple.css +1 -1
- package/theme/red.css +1 -1
- package/theme/yellow.css +1 -1
- package/theme/fonts/iconfont.384a1d95.woff +0 -0
- package/theme/fonts/iconfont.47f5da25.woff2 +0 -0
- package/theme/fonts/iconfont.6ad948fe.woff +0 -0
- package/theme/fonts/iconfont.72a1a997.woff2 +0 -0
- package/theme/fonts/iconfont.72eacf7d.ttf +0 -0
- package/theme/fonts/iconfont.76d19005.woff2 +0 -0
- package/theme/fonts/iconfont.85c70ef9.ttf +0 -0
- package/theme/fonts/iconfont.ab8c366d.ttf +0 -0
- package/theme/fonts/iconfont.b7ea4726.woff +0 -0
- package/theme/fonts/iconfont.e6bdbf43.woff2 +0 -0
- package/theme/fonts/iconfont.f1777a50.woff +0 -0
- package/theme/fonts/iconfont.fbdd69b3.ttf +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "n20-common-lib",
|
|
3
|
-
"version": "2.7.
|
|
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",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
.n20-statis {
|
|
2
|
-
font-size:
|
|
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:
|
|
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
|
-
|
|
5
|
-
><span class="n20-statis-division p-r-ss stati-item-cell"
|
|
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"
|
|
14
|
-
<span
|
|
15
|
-
<span class="n20-statis-division p-r-ss stati-item-cell"
|
|
16
|
-
<span v-
|
|
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-
|
|
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(
|
|
83
|
+
transform: rotate(0deg);
|
|
84
84
|
}
|
|
85
85
|
|
|
86
86
|
.rotating-icon-show {
|
|
87
|
-
transform: rotate(
|
|
87
|
+
transform: rotate(180deg);
|
|
88
88
|
}
|
|
89
89
|
</style>
|
package/src/utils/xlsx2json.js
CHANGED
|
@@ -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('
|
|
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) => {
|