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
15624639
Commit
15624639
authored
Jun 14, 2019
by
姜雷
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'test' into 'master'
Test See merge request
!160
parents
91d34aa8
ecba0777
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
22 additions
and
6 deletions
+22
-6
AreaSelect.vue
src/components/input/AreaDashboard/AreaSelect.vue
+10
-0
SeviceRatioChart.vue
src/containers/Dashboard/SeviceRatio/SeviceRatioChart.vue
+3
-3
admins.js
src/mixins/admins/admins.js
+1
-3
errorHandler.js
src/utils/errorHandler.js
+4
-0
extends.js
src/utils/extends.js
+4
-0
No files found.
src/components/input/AreaDashboard/AreaSelect.vue
View file @
15624639
<
template
>
<el-select
:class=
"
{'no-show-last':selectedAll}"
popper-class="dashboard-area-popper"
:clearable="clearable"
:disabled="disabled"
...
...
@@ -142,4 +143,13 @@ export default {
line-height
:
inherit
;
}
}
.el-select.no-show-last
{
.el-select__tags
{
.el-tag.el-tag--info
{
&
:last-child
{
display
:
none
;
}
}
}
}
</
style
>
src/containers/Dashboard/SeviceRatio/SeviceRatioChart.vue
View file @
15624639
...
...
@@ -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/mixins/admins/admins.js
View file @
15624639
...
...
@@ -6,9 +6,7 @@ export default {
store
.
install
(
this
.
$store
);
},
mounted
()
{
if
(
!
this
.
AdminList
.
length
)
{
this
.
fetchAdminList
();
}
this
.
fetchAdminList
();
},
computed
:
{
...
mapGetters
(
'admins'
,
[
'AdminList'
]),
...
...
src/utils/errorHandler.js
0 → 100644
View file @
15624639
export
default
(
err
,
vm
,
info
)
=>
{
console
.
table
([
err
,
{
info
:
info
}]);
return
false
;
};
src/utils/extends.js
View file @
15624639
...
...
@@ -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