Commit 6244c6fe authored by zhengke's avatar zhengke

修改

parent ee3300ec
This diff is collapsed.
......@@ -12,6 +12,11 @@
background: yellow !important;
z-index: 1 !important;
}
.com_CanClick{
color:blue;
text-decoration: underline;
cursor: pointer;
}
</style>
<template>
<div class="page-body">
......@@ -34,6 +39,12 @@
<q-table :pagination="msg" ref="table" :loading="loading" :style="{'height':tableHeight+'px'}"
no-data-label="暂无相关数据" flat class="sticky-column-table sticky-header-column-table no-bottom-table myTable_Zk"
separator="none" :data="dataList" :columns="columns" row-key="">
<template v-slot:body-cell-OrderMoney="props">
<q-td>
<span class="com_CanClick" v-if="isChinese(props.row.DateStr)" @click="goDetails(props.row.DateStr)">{{props.row.OrderMoney}}</span>
<span v-else>{{props.row.OrderMoney}}</span>
</q-td>
</template>
<template v-slot:bottom>
</template>
</q-table>
......@@ -284,6 +295,25 @@
this.getList();
},
methods: {
isChinese(temp){
if(temp=='上期总数'||temp=='总数'||temp=='环比成长'||temp=='月总数'){
return false
}else{
return true
}
},
goDetails(dateStr){
console.log(this.myDate,'mydate');
let year = ''
if(this.myDate){
year = this.myDate.split('-')[0]
}
let NewDate = year+'-'+dateStr;
const obj = {
NewDate: NewDate
};
this.OpenNewUrl("/sale/orderStatistics", obj);
},
//下载数据
downloadStudentStatic() {
this.loading = true;
......
......@@ -272,6 +272,9 @@
if (this.$route.query.ClassName) {
this.msg.ClassName = decodeURI(this.$route.query.ClassName);
}
if (this.$route.query.NewDate) {
this.msg.StartTime = this.$route.query.NewDate
}
this.queryCourseSubject();
this.getOrderState();
this.getCourseList();
......
......@@ -51,6 +51,11 @@
<!-- 投稿审批 -->
<tougao-form></tougao-form>
</template>
<template v-if="tabCheck == '9'">
<!-- vip课程申请 -->
<vipcourse-form></vipcourse-form>
</template>
</div>
</div>
</template>
......@@ -63,6 +68,7 @@ import temporaryClassForm from "../../components/flow/temporaryClass-form";
import separateForm from "../../components/flow/separate-form";
import leaveForm from "../../components/flow/leave-form";
import tougaoForm from "../../components/flow/tougao-form";
import vipcourseForm from "../../components/flow/vipcourse-form";
export default {
meta: {
title: "流程设置",
......@@ -75,7 +81,8 @@ export default {
temporaryClassForm,
separateForm,
leaveForm,
tougaoForm
tougaoForm,
vipcourseForm
},
data() {
return {
......@@ -111,6 +118,10 @@ export default {
{
name: "8",
label: "投稿审批"
},
{
name: "9",
label: "vip课程申请"
}
],
tabCheck: "1",
......
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