Commit 80106bcb by kingboy_xin

费用

parent af19cc32
...@@ -11,6 +11,10 @@ ...@@ -11,6 +11,10 @@
<img slot="active-icon" src="~assets/img/navSide/icon-memu2-selected.png" alt=""> <img slot="active-icon" src="~assets/img/navSide/icon-memu2-selected.png" alt="">
<div slot="text">费用管理</div> <div slot="text">费用管理</div>
</side-navbar-item> </side-navbar-item>
<div class="" v-show="!isActive">
<div @click="navItemClick('/gpHome/gpEexpense/gpEexp')" :class="qyclass"><i class="el-icon-document-copy"></i> 签约</div>
<div @click="navItemClick('/gpHome/gpEexpense/gpVisit')" :class="jzclass"><i class="el-icon-document-copy"></i> 就诊</div>
</div>
<side-navbar-item link="/gpHome/gpPerformance"> <side-navbar-item link="/gpHome/gpPerformance">
<img slot="icon" src="~assets/img/navSide/icon-memu3.png" alt=""> <img slot="icon" src="~assets/img/navSide/icon-memu3.png" alt="">
<img slot="active-icon" src="~assets/img/navSide/icon-memu3-selected.png" alt=""> <img slot="active-icon" src="~assets/img/navSide/icon-memu3-selected.png" alt="">
...@@ -36,7 +40,29 @@ ...@@ -36,7 +40,29 @@
SideNavbar, SideNavbar,
SideNavbarItem SideNavbarItem
}, },
data() {
return {
qyclass: 'feeclass',
jzclass: 'feeclass'
}
},
computed: {
isActive() {
return this.$route.path=='/gpHome/gpEexpense'?false:true
}
},
mounted: function() {
this.actclass()
},
methods: {
actclass() {
this.qyclass = this.$route.path=='/gpHome/gpEexpense/gpEexp'?'feeactive':'feeclass'
this.jzclass = this.$route.path=='/gpHome/gpEexpense/gpVisit'?'feeactive':'feeclass'
},
navItemClick(link) {
this.$router.replace(link)
}
}
} }
</script> </script>
...@@ -47,5 +73,21 @@ ...@@ -47,5 +73,21 @@
text-align: center; text-align: center;
background:linear-gradient(180deg,rgba(30,36,67,1) 0%,rgba(19,24,44,1) 100%) background:linear-gradient(180deg,rgba(30,36,67,1) 0%,rgba(19,24,44,1) 100%)
} }
.feeclass{width: 70px;
height: 39px;
padding-top: 0;
line-height: 39px;
border-bottom: 1px solid #242c4a;
color: #A6AED6;}
.feeactive{width: 70px;
height: 39px;
padding-top: 0;
line-height: 39px;
border-bottom: 1px solid #242c4a;
color: #A6AED6;
background-color: #2E88FF;
color: #fff;
background: -webkit-linear-gradient(top,#4CBBFF,#2E88FF);
}
</style> </style>
\ No newline at end of file
...@@ -29,7 +29,11 @@ ...@@ -29,7 +29,11 @@
return this.$route.path.indexOf(this.link) !== -1 return this.$route.path.indexOf(this.link) !== -1
}, },
activeClass() { activeClass() {
if(this.$route.path=='/gpHome/gpEexpense'){
return this.isActive ?'activeClass2':{}
}else{
return this.isActive ? 'activeClass' : {} return this.isActive ? 'activeClass' : {}
}
}, },
activeStyle() { activeStyle() {
return this.isActive ? {'color': '#FFFFFF'} : {} return this.isActive ? {'color': '#FFFFFF'} : {}
...@@ -61,4 +65,7 @@ ...@@ -61,4 +65,7 @@
.activeClass{ .activeClass{
background:linear-gradient(180deg,rgba(76,187,255,1) 0%,rgba(46,136,255,1) 100%) background:linear-gradient(180deg,rgba(76,187,255,1) 0%,rgba(46,136,255,1) 100%)
} }
.activeClass2{
background:rgba(48,56,90,1)
}
</style> </style>
\ No newline at end of file
...@@ -38,10 +38,32 @@ export default new Router({ ...@@ -38,10 +38,32 @@ export default new Router({
name: 'gpContract', name: 'gpContract',
component: () => import('views/gp/contract/GpContract.vue'), component: () => import('views/gp/contract/GpContract.vue'),
}, },
// { //费用管理签约
// path: 'gpEexpense',
// name: 'gpEexpense',
// component: () => import('views/gp/expense/GpExpenseHome.vue'),
// },
// { //费用管理就诊
// path: 'gpVisit',
// name: 'gpVisit',
// component: () => import('views/gp/expense/VisitAnalysis.vue'),
// },
{ //费用管理主页 { //费用管理主页
path: 'gpEexpense', path: 'gpEexpense',
name: 'gpEexpense', name: 'gpEexpense',
component: () => import('views/gp/expense/GpExpenseHome.vue'), component: () => import('views/gp/expense/GpExpenseHome.vue'),
children:[
{
path: 'gpEexp',
name: 'gpEexp',
component: () => import('views/gp/expense/GpExpenseHome.vue'),
},
{ //费用管理就诊
path: 'gpVisit',
name: 'gpVisit',
component: () => import('views/gp/expense/VisitAnalysis.vue'),
},
]
}, },
{ //绩效考核 { //绩效考核
path: 'gpPerformance', path: 'gpPerformance',
......
...@@ -371,8 +371,8 @@ ...@@ -371,8 +371,8 @@
{ {
type: 'value', type: 'value',
name: '%', name: '%',
max: 100, max: 300,
min: 0, min: -300,
splitNumber: 5, splitNumber: 5,
axisLabel: { axisLabel: {
textStyle: { textStyle: {
...@@ -413,6 +413,7 @@ ...@@ -413,6 +413,7 @@
name: '管辖数', name: '管辖数',
type: 'bar', type: 'bar',
stack: "1", stack: "1",
// barGap:'-100%',
barWidth: null, barWidth: null,
itemStyle: { itemStyle: {
normal: { normal: {
...@@ -436,7 +437,8 @@ ...@@ -436,7 +437,8 @@
name: '去年管辖', name: '去年管辖',
type: 'bar', type: 'bar',
smooth: true, smooth: true,
yAxisIndex: 1, // yAxisIndex: 1,
// barGap:'-100%',
symbol: 'circle', symbol: 'circle',
symbolSize: 6, symbolSize: 6,
itemStyle: { itemStyle: {
...@@ -457,7 +459,7 @@ ...@@ -457,7 +459,7 @@
z: 11, z: 11,
itemStyle: { itemStyle: {
normal: { normal: {
color: '#fda739' color: '#FF9D3D'
} }
}, },
data: [] data: []
...@@ -472,7 +474,7 @@ ...@@ -472,7 +474,7 @@
z: 11, z: 11,
itemStyle: { itemStyle: {
normal: { normal: {
color: '#f8d065' color: '#FFC965'
} }
}, },
data: [] data: []
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment