{{ item.a }}
-{{ item.b }}
+{{ item.errorType }}
+{{ item.timeStamp }}
From a188f609963647dad9be4b800e56a2505feb9124 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=BC=A0=E5=89=91=E8=B1=AA?= <764439554@qq.com>
Date: Sat, 13 Aug 2022 10:33:52 +0800
Subject: [PATCH 01/10] 8/13
---
src/componets/jsError/dataShow.vue | 8 +++----
src/componets/jsError/topRight.vue | 17 --------------
src/componets/jsError/topRight1.vue | 35 ++++++++++++++++++++++++++++-
src/router/index.js | 2 +-
src/views/JsErrorView.vue | 7 +++---
5 files changed, 43 insertions(+), 26 deletions(-)
delete mode 100644 src/componets/jsError/topRight.vue
diff --git a/src/componets/jsError/dataShow.vue b/src/componets/jsError/dataShow.vue
index 643a75b..5418468 100644
--- a/src/componets/jsError/dataShow.vue
+++ b/src/componets/jsError/dataShow.vue
@@ -141,8 +141,8 @@ export default {
display: flex;
justify-content: left;
position: absolute;
- top: 80px;
- left: 357px;
+ top: 10vh;
+ left: 17.5vw;
}
.jseH1 {
font-size: clamp(1rem, 1.3vw, 4rem);
@@ -157,8 +157,8 @@ export default {
.el-select {
width: 10vw;
position: absolute;
- left: 363px;
- top: 30px;
+ left: 17.5vw;
+ top: 3vh;
font-family: AlibabaMedium;
font-weight: 400;
}
diff --git a/src/componets/jsError/topRight.vue b/src/componets/jsError/topRight.vue
deleted file mode 100644
index a057c0f..0000000
--- a/src/componets/jsError/topRight.vue
+++ /dev/null
@@ -1,17 +0,0 @@
-
-
-
-
-
-
-
diff --git a/src/componets/jsError/topRight1.vue b/src/componets/jsError/topRight1.vue
index 6db04cc..043464d 100644
--- a/src/componets/jsError/topRight1.vue
+++ b/src/componets/jsError/topRight1.vue
@@ -1,6 +1,9 @@
使用文档
优秀
@@ -210,4 +211,9 @@ p { margin-left: 0.8vw; line-height: 7px; } +.grade { + margin: 3vh 0 0 5.5vw; + font-size: clamp(1rem, 1.3vw, 4rem); + font-family: AlibabaMedium; +} \ No newline at end of file -- Gitee From 9dc5da059044a8e24c6370f9bcc1a340c952e434 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E5=89=91=E8=B1=AA?= <764439554@qq.com> Date: Wed, 17 Aug 2022 23:48:56 +0800 Subject: [PATCH 07/10] =?UTF-8?q?8/17=E9=99=A4=E4=BA=86=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E8=BF=98=E6=9C=AA=E5=B1=95=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/componets/jsError/dataShow.vue | 3 + src/componets/jsError/jsDetailed.vue | 79 ++++++++++++++++++++++----- src/componets/jsError/jsRecord.vue | 25 +++++++-- src/componets/jsError/jsTrend.vue | 10 ++-- src/componets/jsError/mainContent.vue | 38 ++++++++++++- src/componets/jsError/topRight1.vue | 22 +++++--- src/services/jsError/jsError.js | 10 ++++ src/services/jsError/request.js | 17 ++++++ src/views/JsErrorView.vue | 2 + 9 files changed, 171 insertions(+), 35 deletions(-) create mode 100644 src/services/jsError/jsError.js create mode 100644 src/services/jsError/request.js diff --git a/src/componets/jsError/dataShow.vue b/src/componets/jsError/dataShow.vue index 372e405..95b6fbd 100644 --- a/src/componets/jsError/dataShow.vue +++ b/src/componets/jsError/dataShow.vue @@ -28,8 +28,11 @@ export default { return { channel: "全部组件", value1: '' + } }, + + mounted () { var chartDom = document.getElementById('contemt'); var myChart = this.$echarts.init(chartDom, 'dark'); diff --git a/src/componets/jsError/jsDetailed.vue b/src/componets/jsError/jsDetailed.vue index bccf3af..1bd6b2c 100644 --- a/src/componets/jsError/jsDetailed.vue +++ b/src/componets/jsError/jsDetailed.vue @@ -1,26 +1,36 @@ -事件类型
-Error
-2022-9-20 12:30:20
+{{ errorDetailed[current].errorTypes }}
+{{ errorDetailed[current].timeStamp }}
事件内容
-error is not defined
+{{ errorDetailed[current].message }}
错误内容
-暂无
+{{ errorDetailed[current].detail }}
发生页面
-https://www.(检测对象网址)
+{{ errorDetailed[current].simpleUrl }}
加载信息
-错误代码行列 行:xx,列:xx
-+ 错误代码行列 行:{{ errorDetailed[current].Position.row }},列:{{ + errorDetailed[current].Position.column + }} +
+1,100
++ {{ errorDetailed[current].errorCount }} +
发生总次数
{{ item.a }}
-{{ item.b }}
+{{ item.errorType }}
+{{ item.timeStamp }}
{{ errorDetailed[current].detail }}
发生页面
{{ errorDetailed[current].simpleUrl }}
-加载信息
+错误定位
错误代码行列 行:{{ errorDetailed[current].Position.row }},列:{{
errorDetailed[current].Position.column
@@ -55,13 +55,10 @@ export default {
default: 0
}
},
-
name: 'jsDetailed',
-
data () {
return {
data1: [],
- count: []
}
},
watch: {
@@ -100,7 +97,7 @@ export default {
grid: [{
left: '15%',
bottom: '10%',
- top: '30%',
+ top: '20%',
right: '10%'
}],
title: {
@@ -128,7 +125,7 @@ export default {
backgroundColor: '',
xAxis: {
type: 'category',
- data: ['00', '04', '08', '12', '16', '20', '24'], // 时间
+ data: ['00', '04', '08', '12', '16', '20'], // 时间
boundaryGap: false,
lineStyle: {
color: '#647483'
@@ -200,12 +197,12 @@ export default {
diff --git a/src/componets/jsError/mainContent.vue b/src/componets/jsError/mainContent.vue
index d9e240d..342db76 100644
--- a/src/componets/jsError/mainContent.vue
+++ b/src/componets/jsError/mainContent.vue
@@ -107,6 +107,6 @@ export default {
}
.js-record {
width: 6vw;
- margin-left: 415px;
+ margin-left: 31vw;
}
\ No newline at end of file
diff --git a/src/componets/jsError/topRight1.vue b/src/componets/jsError/topRight1.vue
index 80482f1..41ec844 100644
--- a/src/componets/jsError/topRight1.vue
+++ b/src/componets/jsError/topRight1.vue
@@ -1,6 +1,9 @@
使用文档