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

页面修改

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