File tree 7 files changed +11
-19
lines changed
7 files changed +11
-19
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ export default {
23
23
methods: {
24
24
click () {
25
25
if (! screenfull .enabled ) {
26
- this . $message ({
26
+ Message ({
27
27
message: ' you browser can not work' ,
28
28
type: ' warning'
29
29
})
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ export default {
34
34
this .$ELEMENT .size = size
35
35
this .$store .dispatch (' app/setSize' , size)
36
36
this .refreshView ()
37
- this . $message ({
37
+ Message ({
38
38
message: ' Switch Size Success' ,
39
39
type: ' success'
40
40
})
Original file line number Diff line number Diff line change @@ -27,7 +27,6 @@ service.interceptors.request.use(
27
27
} ,
28
28
error => {
29
29
// do something with request error
30
- console . log ( error ) // for debug
31
30
return Promise . reject ( error )
32
31
}
33
32
)
Original file line number Diff line number Diff line change 5
5
<div class =" card-panel" @click =" handleSetLineChartData(item.dataType)" >
6
6
<div class =" card-panel-icon-wrapper icon-people" >
7
7
<svg-icon :icon-class =" item.icon" class-name =" card-panel-icon" />
8
- <!-- <el-link :href="item.path"><svg-icon :icon-class="item.icon" class-name="card-panel-icon" /></el-link> -->
9
8
</div >
10
9
<div class =" card-panel-description" >
11
10
<div class =" card-panel-text" >
12
- <!-- <el-link :href="item.path"> -->
13
11
{{ item.dataName }}
14
- <!-- </el-link> -->
15
12
</div >
16
13
<count-to :start-val =" 0" :end-val =" item.dataCount" :duration =" 2600" class =" card-panel-num" />
17
14
</div >
@@ -41,9 +38,7 @@ export default {
41
38
try {
42
39
const { data } = await getDash ()
43
40
this .dataInfo = data
44
- } finally {
45
- console .log (this .dataInfo )
46
- }
41
+ } finally {}
47
42
},
48
43
handleSetLineChartData (type ) {
49
44
this .$emit (' handleSetLineChartData' , type)
Original file line number Diff line number Diff line change @@ -152,7 +152,6 @@ export default {
152
152
})
153
153
},
154
154
changePass () {
155
- // console.log(75545)
156
155
// window.location.href='/changePass'
157
156
this .$router .push ({ path: ' /changePass' })
158
157
},
Original file line number Diff line number Diff line change @@ -766,11 +766,10 @@ export default {
766
766
767
767
// 提交表单
768
768
submitForm (e ) {
769
- // console.log(e,765)
770
769
let flag, attributes
771
770
if (this .checked [0 ] === ' 用户字段动态关联' ) {
772
771
if (this .userVal === ' ' ) {
773
- this . $message ({
772
+ Message ({
774
773
message: ' 请选择类型标志' ,
775
774
type: ' warning'
776
775
})
@@ -780,7 +779,7 @@ export default {
780
779
attributes = this .dialogFormData
781
780
} else {
782
781
if (this .groupVal === ' ' ) {
783
- this . $message ({
782
+ Message ({
784
783
message: ' 请选择类型标志' ,
785
784
type: ' warning'
786
785
})
@@ -810,13 +809,13 @@ export default {
810
809
}
811
810
this .resetForm ()
812
811
this .getTableData ()
813
- this . $message ({
812
+ Message ({
814
813
showClose: true ,
815
814
message: " 操作成功" ,
816
815
type: ' success'
817
816
})
818
817
} else {
819
- this . $message ({
818
+ Message ({
820
819
showClose: true ,
821
820
message: ' 表单校验失败' ,
822
821
type: ' warn'
@@ -860,14 +859,14 @@ export default {
860
859
this .loading = false
861
860
}
862
861
this .getTableData ()
863
- this . $message ({
862
+ Message ({
864
863
showClose: true ,
865
864
message: " 删除成功" ,
866
865
type: ' success'
867
866
})
868
867
})
869
868
.catch (() => {
870
- this . $message ({
869
+ Message ({
871
870
showClose: true ,
872
871
type: ' info' ,
873
872
message: ' 已取消删除'
Original file line number Diff line number Diff line change @@ -105,14 +105,14 @@ export default {
105
105
106
106
this .submitLoading = false
107
107
if (code !== 0 ) {
108
- return this . $message ({
108
+ return Message ({
109
109
showClose: true ,
110
110
message: msg,
111
111
type: ' error'
112
112
})
113
113
}
114
114
this .resetForm ()
115
- this . $message ({
115
+ Message ({
116
116
showClose: true ,
117
117
message: ' 密码修改成功,请重新登录' ,
118
118
type: ' success'
You can’t perform that action at this time.
0 commit comments