n20-common-lib 2.4.56 → 2.4.58
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 -1
- package/src/components/FileImport/index.vue +0 -3
- package/src/components/FileUploadTable/index.vue +1 -1
- package/src/components/Layout/indexN.vue +0 -1
- package/src/components/Upload/uploadMsg.vue +13 -1
- package/src/components/operatingStatus/index.vue +6 -2
- package/src/i18n.json +3 -0
package/package.json
CHANGED
|
@@ -194,7 +194,7 @@
|
|
|
194
194
|
<i class="el-icon-s-release" style="font-size: 60px; color: #999"></i>
|
|
195
195
|
<span style="margin-top: 16px">
|
|
196
196
|
{{ '不支持在线预览,请' | $lc
|
|
197
|
-
}}<el-link type="primary" @click="downFile(seeRow)">{{ '下载' | $lc }}</el-link
|
|
197
|
+
}}<el-link type="primary" class="color-primary" @click="downFile(seeRow)">{{ '下载' | $lc }}</el-link
|
|
198
198
|
>{{ '到本地查看' | $lc }}
|
|
199
199
|
</span>
|
|
200
200
|
</div>
|
|
@@ -42,7 +42,19 @@
|
|
|
42
42
|
</div>
|
|
43
43
|
<template v-if="validateResult.errorList.length">
|
|
44
44
|
<div class="bd-t bd-l bd-r">
|
|
45
|
-
<div class="m-t m-b p-l">
|
|
45
|
+
<div class="flex-box flex-lr flex-v m-t m-b p-l p-r">
|
|
46
|
+
<span>{{ '无效数据详情' | $lc }}</span>
|
|
47
|
+
<el-button
|
|
48
|
+
type="text"
|
|
49
|
+
@click="
|
|
50
|
+
() => {
|
|
51
|
+
footerBtn.export.click()
|
|
52
|
+
progressV = false
|
|
53
|
+
}
|
|
54
|
+
"
|
|
55
|
+
>{{ '导出错误数据' | $lc }}</el-button
|
|
56
|
+
>
|
|
57
|
+
</div>
|
|
46
58
|
<el-table :data="errorList" border style="width: 100%">
|
|
47
59
|
<el-table-column
|
|
48
60
|
v-for="column in columnsList"
|
|
@@ -52,7 +52,8 @@ export default {
|
|
|
52
52
|
enumData,
|
|
53
53
|
tips: [],
|
|
54
54
|
list: '',
|
|
55
|
-
interval: ''
|
|
55
|
+
interval: '',
|
|
56
|
+
timer: null
|
|
56
57
|
}
|
|
57
58
|
},
|
|
58
59
|
computed: {
|
|
@@ -66,12 +67,15 @@ export default {
|
|
|
66
67
|
this.setTimedTask(res.customOpt.timedTask)
|
|
67
68
|
})
|
|
68
69
|
},
|
|
70
|
+
beforeDestroy() {
|
|
71
|
+
clearInterval(this.timer)
|
|
72
|
+
},
|
|
69
73
|
methods: {
|
|
70
74
|
/**
|
|
71
75
|
* 设置定时任务
|
|
72
76
|
*/
|
|
73
77
|
setTimedTask(timer = 60000) {
|
|
74
|
-
setInterval(this.getOperatingStatus, timer)
|
|
78
|
+
this.timer = setInterval(this.getOperatingStatus, timer)
|
|
75
79
|
},
|
|
76
80
|
/**
|
|
77
81
|
* 获取营业状态
|
package/src/i18n.json
CHANGED