Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
dcxy-manage-shell
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
姜雷
dcxy-manage-shell
Commits
d85308de
Commit
d85308de
authored
Jun 13, 2019
by
姜雷
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' into 'test'
Develop See merge request
!157
parents
227d18bf
ea5dd48a
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
3 deletions
+11
-3
SeviceRatioChart.vue
src/containers/Dashboard/SeviceRatio/SeviceRatioChart.vue
+3
-3
errorHandler.js
src/utils/errorHandler.js
+4
-0
extends.js
src/utils/extends.js
+4
-0
No files found.
src/containers/Dashboard/SeviceRatio/SeviceRatioChart.vue
View file @
d85308de
...
...
@@ -33,7 +33,7 @@ export default {
container
:
'SeviceRatio'
,
forceFit
:
true
,
height
:
this
.
height
-
30
,
padding
:
[
0
,
2
2
0
,
0
,
0
],
padding
:
[
0
,
2
4
0
,
0
,
0
],
});
this
.
chart
.
source
(
this
.
data
);
this
.
chart
.
coord
(
'theta'
,
{
...
...
@@ -74,8 +74,8 @@ export default {
`
;
},
'g2-legend'
:
{
width
:
'2
1
5px'
,
'max-width'
:
'2
1
5px'
,
width
:
'2
3
5px'
,
'max-width'
:
'2
3
5px'
,
'max-height'
:
this
.
height
-
30
+
'px'
,
// left: '-20px',
},
...
...
src/utils/errorHandler.js
0 → 100644
View file @
d85308de
export
default
(
err
,
vm
,
info
)
=>
{
console
.
table
([
err
,
{
info
:
info
}]);
return
false
;
};
src/utils/extends.js
View file @
d85308de
...
...
@@ -10,6 +10,8 @@ import {
import
rymUi
from
'rym-element-ui'
;
import
'rym-element-ui/lib/rymUi.css'
;
import
errorHandler
from
'./errorHandler'
;
import
HeaderImg
from
'../components/HeaderImg/HeaderImg.vue'
;
import
UserWithContent
from
'../components/UserCard/UserWithContent.vue'
;
import
UserCard
from
'../components/UserCard/UserCard.vue'
;
...
...
@@ -35,6 +37,8 @@ const extendVue = Vue => {
Vue
.
prototype
.
$formatterMoneyToDouble
=
formatterMoneyToDouble
;
Vue
.
prototype
.
$formatPrice
=
formatPrice
;
Vue
.
config
.
errorHandler
=
errorHandler
;
Vue
.
component
(
'UserCard'
,
UserCard
);
Vue
.
component
(
'UserInfo'
,
UserInfo
);
Vue
.
component
(
UserWithContent
.
name
,
UserWithContent
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment