Commit 2cce8bdf authored by 黄奎's avatar 黄奎

页面修改

parent b4349af3
...@@ -172,7 +172,6 @@ export default { ...@@ -172,7 +172,6 @@ export default {
}; };
GetCustomer(msg).then(res => { GetCustomer(msg).then(res => {
if (res.Code == 1) { if (res.Code == 1) {
console.log(res,'res');
let tempData = res.Data; let tempData = res.Data;
this.detailData.CustomerId = tempData.CustomerId; this.detailData.CustomerId = tempData.CustomerId;
this.detailData.ApproveState = tempData.ApproveState; this.detailData.ApproveState = tempData.ApproveState;
......
...@@ -294,7 +294,6 @@ ...@@ -294,7 +294,6 @@
}, },
//子组件选中传值 //子组件选中传值
getchildInfo(obj) { getchildInfo(obj) {
console.log(364, obj)
if (obj) { if (obj) {
this.addMsg.ReserveType = obj.ReserveType; this.addMsg.ReserveType = obj.ReserveType;
this.addMsg.ClassPlanId = obj.ClassPlanId; this.addMsg.ClassPlanId = obj.ClassPlanId;
......
...@@ -102,6 +102,9 @@ ...@@ -102,6 +102,9 @@
components: { components: {
customerInfo customerInfo
}, },
meta: {
title: "市场部细分渠道"
},
data() { data() {
return { return {
msg: { msg: {
......
...@@ -54,7 +54,7 @@ ...@@ -54,7 +54,7 @@
export default { export default {
props: {}, props: {},
meta: { meta: {
title: "每日统计" title: "市场部每日数据统计"
}, },
components: {}, components: {},
data() { data() {
......
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
export default { export default {
props: {}, props: {},
meta: { meta: {
title: "月度统计" title: "市场部月度数据统计"
}, },
components: {}, components: {},
data() { data() {
......
...@@ -109,7 +109,7 @@ ...@@ -109,7 +109,7 @@
export default { export default {
props: {}, props: {},
meta: { meta: {
title: "月度统计" title: "市场部月度数据统计"
}, },
components: {}, components: {},
data() { data() {
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
export default { export default {
props: {}, props: {},
meta: { meta: {
title: "月度统计" title: "市场部月度数据统计"
}, },
components: { components: {
customMonthFirst, customMonthFirst,
......
...@@ -3,24 +3,26 @@ ...@@ -3,24 +3,26 @@
background: transparent !important; background: transparent !important;
border: 0 !important; border: 0 !important;
} }
.zk_Table thead tr:last-child th{
top:35px!important; .zk_Table thead tr:last-child th {
z-index:1!important; top: 35px !important;
z-index: 1 !important;
} }
.zk_Table thead tr{
height:35px; .zk_Table thead tr {
height: 35px;
} }
.TotalredClass { .TotalredClass {
color: red; color: red;
} }
</style> </style>
<template> <template>
<div> <div>
<div class="page-content"> <div class="page-content">
<q-table :pagination="msg" ref="table" :loading="loading" :style="{'height':tableHeight+'px'}" <q-table :pagination="msg" ref="table" :loading="loading" :style="{'height':tableHeight+'px'}"
no-data-label="暂无相关数据" flat class="sticky-header-column-table no-bottom-table zk_Table" no-data-label="暂无相关数据" flat class="sticky-header-column-table no-bottom-table zk_Table" separator="none"
separator="none" :data="dataList" :columns="columns" row-key=""> :data="dataList" :columns="columns" row-key="">
<tr slot="header"> <tr slot="header">
<q-th rowspan="2" style="text-align:left;width:300px;"> <q-th rowspan="2" style="text-align:left;width:300px;">
名称 名称
...@@ -53,30 +55,20 @@ ...@@ -53,30 +55,20 @@
</q-td> </q-td>
</template> </template>
<template v-slot:body-cell-FirstYear="props"> <template v-slot:body-cell-FirstYear="props">
<q-td> <q-td>
<span :class="{'TotalredClass':props.row.FirstYear<0}">{{props.row.FirstYear}}%</span> <span :class="{'TotalredClass':props.row.FirstYear<0}">{{props.row.FirstYear}}%</span>
</q-td> </q-td>
</template> </template>
<template v-slot:body-cell-SecondYear="props"> <template v-slot:body-cell-SecondYear="props">
<q-td> <q-td>
<span :class="{'TotalredClass':props.row.SecondYear<0}">{{props.row.SecondYear}}%</span> <span :class="{'TotalredClass':props.row.SecondYear<0}">{{props.row.SecondYear}}%</span>
</q-td> </q-td>
</template> </template>
<template v-slot:body-cell-YearRate="props"> <template v-slot:body-cell-YearRate="props">
<q-td> <q-td>
<span :class="{'TotalredClass':props.row.YearRate<0}">{{props.row.YearRate}}%</span> <span :class="{'TotalredClass':props.row.YearRate<0}">{{props.row.YearRate}}%</span>
</q-td> </q-td>
</template>
<!-- <template v-slot:header-cell-FirstYear="props">
<q-th :props="props">
<span v-if="dataList&&dataList.length>0">{{dataList[0].FirstYearStr}}</span>
</q-th>
</template> </template>
<template v-slot:header-cell-SecondYear="props">
<q-th :props="props">
<span v-if="dataList&&dataList.length>0">{{dataList[0].SecondYearStr}}</span>
</q-th>
</template> -->
<template v-slot:bottom> <template v-slot:bottom>
</template> </template>
</q-table> </q-table>
...@@ -96,7 +88,7 @@ ...@@ -96,7 +88,7 @@
} }
}, },
meta: { meta: {
title: "年度统计" title: "市场部年度数据统计"
}, },
components: {}, components: {},
data() { data() {
...@@ -127,7 +119,7 @@ ...@@ -127,7 +119,7 @@
} }
], ],
loading: false, loading: false,
msg:{ msg: {
rowsPerPage: 0 rowsPerPage: 0
}, },
tableHeight: 500, tableHeight: 500,
...@@ -138,13 +130,10 @@ ...@@ -138,13 +130,10 @@
this.tableHeight = window.innerHeight - this.$refs.table.$el.offsetTop - 90; this.tableHeight = window.innerHeight - this.$refs.table.$el.offsetTop - 90;
}, 100) }, 100)
}, },
mounted() { mounted() {},
}, methods: {}
methods: {
}
} }
</script> </script>
<style lang="sass"> <style lang="sass">
@import url('~assets/css/table.sass') @import url('~assets/css/table.sass')
</style> </style>
\ No newline at end of file
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
export default { export default {
props: {}, props: {},
meta: { meta: {
title: "年度统计" title: "市场部年度数据统计"
}, },
components: { components: {
customYearFirst customYearFirst
......
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
export default { export default {
props: {}, props: {},
meta: { meta: {
title: "月度统计" title: "课程顾问部月度数据统计"
}, },
components: {}, components: {},
data() { data() {
......
...@@ -110,7 +110,7 @@ ...@@ -110,7 +110,7 @@
export default { export default {
props: {}, props: {},
meta: { meta: {
title: "月度统计" title: "课程顾问部月度数据统计"
}, },
components: {}, components: {},
data() { data() {
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
export default { export default {
props: {}, props: {},
meta: { meta: {
title: "月度统计" title: "课程顾问部月度数据统计"
}, },
components: { components: {
everyMonthFirst, everyMonthFirst,
......
...@@ -193,6 +193,9 @@ ...@@ -193,6 +193,9 @@
EduDownLoad EduDownLoad
} from "../../api/common/common"; } from "../../api/common/common";
export default { export default {
meta: {
title: "市场部渠道总表"
},
data() { data() {
return { return {
msg: { msg: {
......
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
export default { export default {
props: {}, props: {},
meta: { meta: {
title: "每日统计" title: "课程顾问部每日数据统计"
}, },
components: {}, components: {},
data() { data() {
......
...@@ -103,6 +103,9 @@ ...@@ -103,6 +103,9 @@
EduDownLoad EduDownLoad
} from "../../api/common/common"; } from "../../api/common/common";
export default { export default {
meta: {
title: "市场部同行渠道"
},
data() { data() {
return { return {
msg: { msg: {
......
...@@ -52,16 +52,6 @@ ...@@ -52,16 +52,6 @@
{{props.row.YearRate}}% {{props.row.YearRate}}%
</q-td> </q-td>
</template> </template>
<!-- <template v-slot:header-cell-FirstYear="props">
<q-th :props="props">
<span v-if="dataList&&dataList.length>0">{{dataList[0].FirstYearStr}}</span>
</q-th>
</template>
<template v-slot:header-cell-SecondYear="props">
<q-th :props="props">
<span v-if="dataList&&dataList.length>0">{{dataList[0].SecondYearStr}}</span>
</q-th>
</template> -->
<template v-slot:bottom> <template v-slot:bottom>
</template> </template>
</q-table> </q-table>
...@@ -81,7 +71,7 @@ ...@@ -81,7 +71,7 @@
} }
}, },
meta: { meta: {
title: "年度统计" title: "课程顾问部年度数据统计"
}, },
components: {}, components: {},
data() { data() {
......
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
export default { export default {
props: {}, props: {},
meta: { meta: {
title: "年度统计" title: "课程顾问部年度数据统计"
}, },
components: { components: {
yearFirst yearFirst
......
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