master
parent
bd5be7b3d5
commit
43e1f5b3c1
@ -0,0 +1,9 @@
|
||||
<template>
|
||||
<router-view/>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
</script>
|
||||
|
||||
<style>
|
||||
</style>
|
||||
@ -0,0 +1,9 @@
|
||||
<template>
|
||||
<router-view/>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
</script>
|
||||
|
||||
<style>
|
||||
</style>
|
||||
@ -1,8 +1,69 @@
|
||||
<template>
|
||||
<div style="padding: 0 20px">
|
||||
|
||||
<div ref="lxHeader">
|
||||
<lx-header icon="md-apps" :text="bookName" style="margin-bottom: 10px; border: 0px; margin-top: 15px">
|
||||
</lx-header>
|
||||
</div>
|
||||
<div class="wrap" :style="{'height':mapHeight+'px'}">
|
||||
<echartsLine ref="echartsLine1" :rotate="60" :color="['#147d38','#333']" :lineDataX='monthX' :lineDataY='monthY'></echartsLine>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import echartsLine from "@/views/jsc/components/echartsLine.vue";
|
||||
export default {
|
||||
components: {
|
||||
echartsLine
|
||||
},
|
||||
data(){
|
||||
return{
|
||||
bookName:'',
|
||||
mapHeight:0,
|
||||
monthX: ['一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', '十二月'],
|
||||
monthY: [5, 6, 7, 8, 9, 10, 12, 5, 6, 7, 8, 9],
|
||||
bookTypeList:{
|
||||
number:'残疾人证台账',
|
||||
drug:'免费服药台账',
|
||||
children:'儿童康复台账',
|
||||
help:'辅具适配台账',
|
||||
health:'社区康复台账',
|
||||
student:'优秀学生奖学金台账',
|
||||
education:'教育专项台账',
|
||||
raise:'托养台账',
|
||||
cars:'燃油补贴台账',
|
||||
address:'创业场地补贴台账',
|
||||
starts:'创业补贴台账',
|
||||
}
|
||||
}
|
||||
|
||||
},
|
||||
created(){
|
||||
this.initHeight()
|
||||
if(this.$route.path){
|
||||
let path = this.$route.path.split("_")[1]
|
||||
console.log(path)
|
||||
for(var k in this.bookTypeList){
|
||||
if(path==k){
|
||||
this.bookName = this.bookTypeList[k]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
initHeight() {
|
||||
let winHeight = document.body.clientHeight
|
||||
this.mapHeight = winHeight - 50 - 20
|
||||
console.log(winHeight)
|
||||
},
|
||||
},
|
||||
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
.wrap{
|
||||
width:100%;
|
||||
}
|
||||
</style>
|
||||
@ -0,0 +1,9 @@
|
||||
<template>
|
||||
<router-view/>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
</script>
|
||||
|
||||
<style>
|
||||
</style>
|
||||
@ -0,0 +1,9 @@
|
||||
<template>
|
||||
<router-view/>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
</script>
|
||||
|
||||
<style>
|
||||
</style>
|
||||
Loading…
Reference in new issue