n20-common-lib 1.2.13 → 1.2.16
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
|
@@ -117,7 +117,8 @@ $--input-max: 304px;
|
|
|
117
117
|
.el-form.label-width-6em {
|
|
118
118
|
margin-left: 96px;
|
|
119
119
|
margin-right: 14px;
|
|
120
|
-
.n20-title
|
|
120
|
+
.n20-title,
|
|
121
|
+
.n20-in-block {
|
|
121
122
|
margin-left: -96px;
|
|
122
123
|
margin-right: -14px;
|
|
123
124
|
}
|
|
@@ -154,7 +155,8 @@ $--input-max: 304px;
|
|
|
154
155
|
.el-form.label-width-8em {
|
|
155
156
|
margin-left: 66px;
|
|
156
157
|
margin-right: 38px;
|
|
157
|
-
.n20-title
|
|
158
|
+
.n20-title,
|
|
159
|
+
.n20-in-block {
|
|
158
160
|
margin-left: -66px;
|
|
159
161
|
margin-right: -38px;
|
|
160
162
|
}
|
|
@@ -191,7 +193,8 @@ $--input-max: 304px;
|
|
|
191
193
|
.el-form.label-width-10em {
|
|
192
194
|
margin-left: 40px;
|
|
193
195
|
margin-right: 70px;
|
|
194
|
-
.n20-title
|
|
196
|
+
.n20-title,
|
|
197
|
+
.n20-in-block {
|
|
195
198
|
margin-left: -40px;
|
|
196
199
|
margin-right: -70px;
|
|
197
200
|
}
|
|
@@ -228,7 +231,8 @@ $--input-max: 304px;
|
|
|
228
231
|
.el-form.label-width-12em {
|
|
229
232
|
margin-left: 10px;
|
|
230
233
|
margin-right: 96px;
|
|
231
|
-
.n20-title
|
|
234
|
+
.n20-title,
|
|
235
|
+
.n20-in-block {
|
|
232
236
|
margin-left: -10px;
|
|
233
237
|
margin-right: -96px;
|
|
234
238
|
}
|
|
@@ -265,7 +269,8 @@ $--input-max: 304px;
|
|
|
265
269
|
.el-form.label-width-14em {
|
|
266
270
|
margin-left: 0px;
|
|
267
271
|
margin-right: 96px;
|
|
268
|
-
.n20-title
|
|
272
|
+
.n20-title,
|
|
273
|
+
.n20-in-block {
|
|
269
274
|
margin-left: 0px;
|
|
270
275
|
margin-right: -96px;
|
|
271
276
|
}
|
|
@@ -302,7 +307,8 @@ $--input-max: 304px;
|
|
|
302
307
|
.el-form.label-width-16em {
|
|
303
308
|
margin-left: 0px;
|
|
304
309
|
margin-right: 98px;
|
|
305
|
-
.n20-title
|
|
310
|
+
.n20-title,
|
|
311
|
+
.n20-in-block {
|
|
306
312
|
margin-left: 0px;
|
|
307
313
|
margin-right: -96px;
|
|
308
314
|
}
|
|
@@ -10,11 +10,23 @@
|
|
|
10
10
|
height: 27px;
|
|
11
11
|
line-height: 26px;
|
|
12
12
|
padding: 0 10px;
|
|
13
|
-
&.is-disabled {
|
|
14
|
-
cursor: no-drop;
|
|
15
|
-
}
|
|
16
13
|
&.is-active {
|
|
17
14
|
font-weight: 500;
|
|
15
|
+
&::after {
|
|
16
|
+
content: '';
|
|
17
|
+
position: absolute;
|
|
18
|
+
left: 0;
|
|
19
|
+
bottom: 0;
|
|
20
|
+
height: 2px;
|
|
21
|
+
width: 100%;
|
|
22
|
+
background-color: $--color-primary;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
&.is-disabled {
|
|
26
|
+
cursor: no-drop;
|
|
27
|
+
&::after {
|
|
28
|
+
background-color: $--color-text-placeholder;
|
|
29
|
+
}
|
|
18
30
|
}
|
|
19
31
|
}
|
|
20
32
|
|
|
@@ -33,7 +45,6 @@
|
|
|
33
45
|
}
|
|
34
46
|
}
|
|
35
47
|
.el-tabs__active-bar {
|
|
36
|
-
|
|
48
|
+
display: none;
|
|
37
49
|
}
|
|
38
|
-
|
|
39
50
|
}
|
|
@@ -46,7 +46,7 @@ export default {
|
|
|
46
46
|
},
|
|
47
47
|
waitTime: {
|
|
48
48
|
type: Number,
|
|
49
|
-
default:
|
|
49
|
+
default: 5000
|
|
50
50
|
}
|
|
51
51
|
},
|
|
52
52
|
data() {
|
|
@@ -128,6 +128,10 @@ export default {
|
|
|
128
128
|
|
|
129
129
|
downloadBlob(data, this.fileName)
|
|
130
130
|
this.pgsV = false
|
|
131
|
+
let confirmBtn = document.querySelector(
|
|
132
|
+
'.ex-waitime-msg .el-button--primary'
|
|
133
|
+
)
|
|
134
|
+
confirmBtn && confirmBtn.click()
|
|
131
135
|
})
|
|
132
136
|
},
|
|
133
137
|
// 导出取消
|
|
@@ -159,7 +163,7 @@ export default {
|
|
|
159
163
|
title: '提示',
|
|
160
164
|
message: '您的数据导出时间可能会比较长,是否继续导出?',
|
|
161
165
|
type: 'warning',
|
|
162
|
-
customClass: 'question',
|
|
166
|
+
customClass: 'question ex-waitime-msg',
|
|
163
167
|
confirmButtonText: '继续导出',
|
|
164
168
|
cancelButtonText: '取消'
|
|
165
169
|
}).catch(() => {
|
|
@@ -4,7 +4,8 @@ let timer = undefined
|
|
|
4
4
|
|
|
5
5
|
function tipShow(el, tip) {
|
|
6
6
|
if (el.$tooltipTitle) {
|
|
7
|
-
|
|
7
|
+
let _el = el.querySelector('.el-input__inner') || el
|
|
8
|
+
if (!el.$tooltipTitleOverflow || _el.clientWidth < _el.scrollWidth) {
|
|
8
9
|
tip.title = el.$tooltipTitle
|
|
9
10
|
tip.$refs['title-pop'].referenceElm = el
|
|
10
11
|
tip.$refs['title-pop'].doDestroy()
|
|
@@ -22,6 +23,7 @@ function tipShow(el, tip) {
|
|
|
22
23
|
}
|
|
23
24
|
function tipHide(el, tip) {
|
|
24
25
|
tip.visible = false
|
|
26
|
+
clearInterval(timer)
|
|
25
27
|
}
|
|
26
28
|
|
|
27
29
|
const TitleDirective = {}
|
|
@@ -57,6 +59,7 @@ TitleDirective.install = (Vue) => {
|
|
|
57
59
|
el.$tooltipHide()
|
|
58
60
|
el.removeEventListener('mouseenter', el.$tooltipShow)
|
|
59
61
|
el.removeEventListener('mouseleave', el.$tooltipHide)
|
|
62
|
+
clearInterval(timer)
|
|
60
63
|
}
|
|
61
64
|
})
|
|
62
65
|
}
|