Commit a0cd71d1 authored by 罗超's avatar 罗超
parents f9295f63 50fe631d
...@@ -124,7 +124,7 @@ ...@@ -124,7 +124,7 @@
</thead> </thead>
</table> </table>
<div class="planTabDiv" ref="planTabDiv"> <div class="planTabDiv" ref="planTabDiv">
<table class="ClassPlanTable planClass-table" ref="PlanTable" style="border-collapse:collapse;margin-top:0;"> <table class="ClassPlanTable planClass-table" ref="PlanTable" style="border-collapse:collapse;margin-top:0;" v-loading="loading">
<tbody> <tbody>
<tr v-for="(item,index) in dataList.fridayList" :key="index"> <tr v-for="(item,index) in dataList.fridayList" :key="index">
<td> <td>
...@@ -176,6 +176,10 @@ ...@@ -176,6 +176,10 @@
type: Object, type: Object,
default: null default: null
}, },
loading:{
type:Boolean,
default:false,
}
}, },
components: { components: {
mateitem, mateitem,
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
<div class="plan_LeftTitle">上课时间:</div> <div class="plan_LeftTitle">上课时间:</div>
<div class="plan_RightInner">{{subItem.StartTime}}-{{subItem.EndTime}}</div> <div class="plan_RightInner">{{subItem.StartTime}}-{{subItem.EndTime}}</div>
</div> </div>
<div class="plan_Inner" v-if="subItem.ClassName"> <div class="plan_Inner" v-if="subItem.ClassName&&subItem.ClassType!==3">
<div class="plan_LeftTitle">班级:</div> <div class="plan_LeftTitle">班级:</div>
<div class="plan_RightInner">{{subItem.ClassName}}</div> <div class="plan_RightInner">{{subItem.ClassName}}</div>
</div> </div>
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
<div class="page-content"> <div class="page-content">
<q-table :pagination='qMsg' :loading="loading" no-data-label="暂无相关数据" flat class="sticky-right-column-table" <q-table :pagination='qMsg' :loading="loading" no-data-label="暂无相关数据" flat class="sticky-right-column-table"
separator="none" :data="dataList" :columns="columns" row-key="name"> separator="none" :data="dataList" :columns="columns" row-key="name">
<template v-slot:top="props"> <template v-slot:top>
<div class="col-2 q-table__title">值班事项管理</div> <div class="col-2 q-table__title">值班事项管理</div>
<q-space /> <q-space />
<div class="page-option"> <div class="page-option">
...@@ -175,7 +175,9 @@ ...@@ -175,7 +175,9 @@
}, },
//获取数据 //获取数据
getList() { getList() {
this.loading=true;
queryDutyItemPage(this.qMsg).then(res => { queryDutyItemPage(this.qMsg).then(res => {
this.loading=false;
if (res.Code == 1) { if (res.Code == 1) {
this.pageCount = res.Data.PageCount; this.pageCount = res.Data.PageCount;
this.dataList = res.Data.PageData;; this.dataList = res.Data.PageData;;
......
This diff is collapsed.
...@@ -15,10 +15,11 @@ ...@@ -15,10 +15,11 @@
:visible-columns="visibleColumns" row-key="CustomerId"> :visible-columns="visibleColumns" row-key="CustomerId">
<template v-slot:top> <template v-slot:top>
<q-space /> <q-space />
<div class="page-option" v-if="authObj.isShowEdit"> <div class="page-option">
<q-btn color="accent" size="sm" class="q-mr-md" icon="add" @click="EditCustom(null)" label="新增联系人" /> <q-btn v-if="authObj.isShowEdit" color="accent" size="sm" class="q-mr-md" icon="add" @click="EditCustom(null)"
<q-btn color="accent" size="sm" label="转交" :disable="selection.length == 0" icon="swap_horiz" label="新增联系人" />
@click="isShowTrans = true"> <q-btn v-if="authObj.isShowEdit" color="accent" size="sm" label="转交" :disable="selection.length == 0"
icon="swap_horiz" @click="isShowTrans = true">
<q-popup-proxy :offset="[10, 10]"> <q-popup-proxy :offset="[10, 10]">
<q-banner v-if="isShowTrans"> <q-banner v-if="isShowTrans">
<q-select style="margin-top:20px;" filled v-model="TransferMsg.EmpId" @filter="filterEmployee" use-input <q-select style="margin-top:20px;" filled v-model="TransferMsg.EmpId" @filter="filterEmployee" use-input
...@@ -29,6 +30,8 @@ ...@@ -29,6 +30,8 @@
</q-banner> </q-banner>
</q-popup-proxy> </q-popup-proxy>
</q-btn> </q-btn>
<q-btn v-if="authObj&&authObj.isShowDownload" color="accent" class="q-mr-md" size="sm" icon="add" label="下载"
@click="downloadCustomer" />
</div> </div>
</template> </template>
<template v-slot:body-cell-CustomerName="props"> <template v-slot:body-cell-CustomerName="props">
...@@ -87,9 +90,13 @@ ...@@ -87,9 +90,13 @@
import { import {
setCustomerCareOf setCustomerCareOf
} from "../../api/sale/peemanagement"; } from "../../api/sale/peemanagement";
import {
EduDownLoad
} from "../../api/common/common";
import customerEditForm from "../sale/customerEdit-form"; import customerEditForm from "../sale/customerEdit-form";
import customerReviewForm from "../sale/customerReview-form"; import customerReviewForm from "../sale/customerReview-form";
import customerInfo from "./b2bcustomerinfo/b2bCustomerInfo.vue"; import customerInfo from "./b2bcustomerinfo/b2bCustomerInfo.vue";
import obj from '../../pages/financial/lang/zh-demo';
export default { export default {
props: { props: {
dataList: { dataList: {
...@@ -111,6 +118,18 @@ ...@@ -111,6 +118,18 @@
sticky: { sticky: {
type: String, type: String,
default: "" default: ""
},
loading: {
type: Boolean,
default: false,
},
queryMsg: {
type: Object,
default: null,
},
authObj: {
type: Object,
default: null,
} }
}, },
components: { components: {
...@@ -134,7 +153,7 @@ ...@@ -134,7 +153,7 @@
}, },
{ {
name: "CategoryName", name: "CategoryName",
label: "同名称", label: "同名称",
field: "CategoryName", field: "CategoryName",
align: "left" align: "left"
}, },
...@@ -231,15 +250,24 @@ ...@@ -231,15 +250,24 @@
this.getEmployeeList(); this.getEmployeeList();
}, },
mounted() { mounted() {
if(this.dataList&&this.dataList.length>0){ if (this.dataList && this.dataList.length > 0) {
this.dataList.forEach(x=>{ this.dataList.forEach(x => {
if(x.CustomerType==4){ if (x.CustomerType == 4) {
x.CategoryName = x.EnterpriseName x.CategoryName = x.EnterpriseName
} }
}) })
} }
}, },
methods: { methods: {
//下载同行联系人
downloadCustomer() {
var msg = JSON.parse(JSON.stringify(this.queryMsg));
EduDownLoad(
"/b2bcustomer/DownLoadCustomerLinkMan",
msg,
"同行资料.xls"
);
},
//初始化权限 //初始化权限
initAuth() { initAuth() {
if (this.authObj) { if (this.authObj) {
......
...@@ -10,8 +10,8 @@ ...@@ -10,8 +10,8 @@
</style> </style>
<template> <template>
<div class="b2bcustomlist"> <div class="b2bcustomlist">
<q-table :pagination="pageMsg" :loading="loading" no-data-label="暂无相关数据" flat <q-table :pagination="pageMsg" :loading="loading" no-data-label="暂无相关数据" flat class="sticky-column-table"
class="sticky-column-table" separator="none" :data="dataList" :columns="columns" row-key="CustomerId"> separator="none" :data="dataList" :columns="columns" row-key="CustomerId">
<template v-slot:top> <template v-slot:top>
<q-space /> <q-space />
<div class="page-option"> <div class="page-option">
...@@ -41,8 +41,10 @@ ...@@ -41,8 +41,10 @@
</template> </template>
<template v-slot:body-cell-optioned="props"> <template v-slot:body-cell-optioned="props">
<q-td :props="props"> <q-td :props="props">
<q-btn flat size="xs" icon="edit" color="accent" @click="EditCustom(props.row)" style="font-weight:400" label="修改" /> <q-btn flat size="xs" icon="edit" color="accent" @click="EditCustom(props.row)" style="font-weight:400"
<q-btn flat size="xs" icon="delete" @click="RemoveCustomer(props.row)" color="negative" style="font-weight:400" label="删除" /> label="修改" />
<q-btn flat size="xs" icon="delete" @click="RemoveCustomer(props.row)" color="negative"
style="font-weight:400" label="删除" />
</q-td> </q-td>
</template> </template>
<template v-slot:bottom> <template v-slot:bottom>
...@@ -52,7 +54,8 @@ ...@@ -52,7 +54,8 @@
<categoryEdit-form v-if="isShowCategoryForm" :customerObj="customerObj" @close="closeCustomForm" <categoryEdit-form v-if="isShowCategoryForm" :customerObj="customerObj" @close="closeCustomForm"
@success="refreshQuestion"> @success="refreshQuestion">
</categoryEdit-form> </categoryEdit-form>
<peerRight v-if="isShowDetailForm" :CategoryId="CategoryId" @close="closeCustomForm" :auth="AuthorityObj" @success="refreshQuestion"></peerRight> <peerRight v-if="isShowDetailForm" :CategoryId="CategoryId" @close="closeCustomForm" :auth="AuthorityObj"
@success="refreshQuestion"></peerRight>
</div> </div>
</template> </template>
<script> <script>
...@@ -66,6 +69,10 @@ ...@@ -66,6 +69,10 @@
dataList: { dataList: {
type: Array, type: Array,
default: null default: null
},
loading: {
type: Boolean,
default: false,
} }
}, },
components: { components: {
...@@ -127,7 +134,7 @@ ...@@ -127,7 +134,7 @@
loading: false, loading: false,
isShowCategoryForm: false, isShowCategoryForm: false,
customerObj: null, //传入参数 customerObj: null, //传入参数
tabId:1, tabId: 1,
//权限设置 //权限设置
AuthorityObj: { AuthorityObj: {
isShowEdit: false, //是否显示新增修改按钮 isShowEdit: false, //是否显示新增修改按钮
...@@ -135,15 +142,14 @@ ...@@ -135,15 +142,14 @@
isShowBankBook: false, //是否显示幸福存折 isShowBankBook: false, //是否显示幸福存折
isShowRebate: false //是否显示返佣 isShowRebate: false //是否显示返佣
}, },
isShowDetailForm:false, isShowDetailForm: false,
CategoryId:0 CategoryId: 0
}; };
}, },
created() { created() {
}, },
mounted() { mounted() {},
},
methods: { methods: {
//新增或者修改客户 //新增或者修改客户
EditCustom(obj) { EditCustom(obj) {
......
...@@ -139,12 +139,12 @@ ...@@ -139,12 +139,12 @@
:options="customList" class="col-6 q-pr-lg q-pb-lg" v-model="objOption.CategoryId" clearable emit-value map-options /> :options="customList" class="col-6 q-pr-lg q-pb-lg" v-model="objOption.CategoryId" clearable emit-value map-options />
<template v-if="objOption.CustomerType!=4"> <template v-if="objOption.CustomerType!=4">
<div class="col-6" v-if="!isShowEdit"> <div class="col-6" v-if="!isShowEdit">
<q-btn label="立即添加" @click="isShowEdit=true" size="sm" color="primary" /> <q-btn label="立即添加同行" @click="isShowEdit=true" size="sm" color="primary" />
</div> </div>
<div class="col-6" v-if="isShowEdit" style="position:relative"> <div class="col-6" v-if="isShowEdit" style="position:relative">
<q-input filled stack-label maxlength="20" :dense="false" v-model="objOption.CategoryName" lazy-rules <q-input filled stack-label maxlength="20" :dense="false" v-model="objOption.CategoryName" lazy-rules
ref="CategoryName" class="col-6 q-pb-lg" label="名称" /> ref="CategoryName" class="col-6 q-pb-lg" label="名称" />
<div class="custom_Close" @click="isShowEdit=false"> <div class="custom_Close" @click="closeCageName()">
<i style="position" class="iconfont icon-guanbi1"></i> <i style="position" class="iconfont icon-guanbi1"></i>
</div> </div>
</div> </div>
...@@ -283,6 +283,10 @@ ...@@ -283,6 +283,10 @@
this.getCustomList(1); this.getCustomList(1);
}, },
methods: { methods: {
closeCageName(){
this.isShowEdit=false;
this.objOption.CategoryName='';
},
//初始化表单 //初始化表单
initObj() { initObj() {
if (this.customerObj && this.customerObj.CustomerId > 0) { if (this.customerObj && this.customerObj.CustomerId > 0) {
...@@ -337,9 +341,8 @@ ...@@ -337,9 +341,8 @@
saveCourse() { saveCourse() {
this.$refs.CustomerName.validate(); this.$refs.CustomerName.validate();
// this.$refs.ContactNumber.validate(); // this.$refs.ContactNumber.validate();
this.$refs.Address.validate();
if(this.objOption.CustomerType!=4){ if(this.objOption.CustomerType!=4){
if (this.objOption.CategoryId=='' && this.objOption.CategoryName=='') { if (!this.objOption.CategoryId && this.objOption.CategoryName=='') {
this.$q.notify({ this.$q.notify({
type:'warning', type:'warning',
message: "请选择客户或立即添加", message: "请选择客户或立即添加",
...@@ -367,7 +370,7 @@ ...@@ -367,7 +370,7 @@
}); });
return return
} }
if (!this.$refs.CustomerName.hasError && !this.$refs.Address.hasError) { if (!this.$refs.CustomerName.hasError) {
this.saveCustomLoading = true; this.saveCustomLoading = true;
SetCustomer(this.objOption).then(res => { SetCustomer(this.objOption).then(res => {
if (res.Code == 1) { if (res.Code == 1) {
......
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
</thead> </thead>
</table> </table>
</div> </div>
<div class="table-body"> <div class="table-body" v-loading="loading">
<table class="enrollTotalSearchTable" border="0" cellspacing="0" cellpadding="0"> <table class="enrollTotalSearchTable" border="0" cellspacing="0" cellpadding="0">
<colgroup> <colgroup>
<col width="12%" /> <col width="12%" />
...@@ -1267,6 +1267,10 @@ ...@@ -1267,6 +1267,10 @@
//来自 1是来自 学管今日订单 //来自 1是来自 学管今日订单
type: Number, type: Number,
default: 0 default: 0
},
loading:{
type:Boolean,
default:false,
} }
}, },
data() { data() {
......
...@@ -110,7 +110,7 @@ ...@@ -110,7 +110,7 @@
}, },
loading: { loading: {
type: Boolean, type: Boolean,
default: null default: false
}, },
authObj: { authObj: {
type: Object, type: Object,
......
This diff is collapsed.
...@@ -25,12 +25,17 @@ ...@@ -25,12 +25,17 @@
</div> </div>
<div class="col-2"> <div class="col-2">
<el-select v-model="msg.ClassType" style="width:100%;" placeholder="类型" size="small" @change="getPlanList()"> <el-select v-model="msg.ClassType" style="width:100%;" placeholder="类型" size="small" @change="getPlanList()">
<el-option :key="0" label="全部" :value="0"> <el-option :key="0" label="全部" :value="0"> </el-option>
</el-option> <el-option :key="1" label="跟班课" :value="1"> </el-option>
<el-option :key="1" label="正常" :value="1"> <el-option :key="2" label="试听课" :value="2"> </el-option>
</el-option> <el-option :key="2" label="预约课" :value="3"> </el-option>
<el-option :key="2" label="试听课" :value="2"> </el-select>
</el-option> </div>
<div class="col-2" v-if="msg.ClassType==3">
<el-select v-model="msg.AppointState" style="width:100%;" placeholder="预约状态" size="small" @change="getPlanList()">
<el-option :key="0" label="不限" :value="0"> </el-option>
<el-option :key="0" label="待确认" :value="1"> </el-option>
<el-option :key="1" label="已确认" :value="2"> </el-option>
</el-select> </el-select>
</div> </div>
</div> </div>
...@@ -70,6 +75,7 @@ ...@@ -70,6 +75,7 @@
TeacherId: 0, TeacherId: 0,
ClassRoomId: 0, ClassRoomId: 0,
ClassType: 0, ClassType: 0,
AppointState:0,
} }
}; };
}, },
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
<div class="page-content"> <div class="page-content">
<q-table :pagination="msg" :loading="loading" no-data-label="暂无相关数据" flat class="sticky-column-table" <q-table :pagination="msg" :loading="loading" no-data-label="暂无相关数据" flat class="sticky-column-table"
separator="none" :data="data" :columns="columns" row-key="name"> separator="none" :data="data" :columns="columns" row-key="name">
<template v-slot:top="props"> <template v-slot:top>
<div class="col-2 q-table__title">题库列表</div> <div class="col-2 q-table__title">题库列表</div>
<q-space /> <q-space />
<div class="page-option"> <div class="page-option">
...@@ -154,7 +154,9 @@ ...@@ -154,7 +154,9 @@
}, },
//获取题库分页列表 //获取题库分页列表
getQuestionBankPage() { getQuestionBankPage() {
this.loading=true;
queryQuestionBankPage(this.msg).then(res => { queryQuestionBankPage(this.msg).then(res => {
this.loading=false;
if (res.Code == 1) { if (res.Code == 1) {
this.data = res.Data.PageData; this.data = res.Data.PageData;
this.pageCount = res.Data.PageCount; this.pageCount = res.Data.PageCount;
......
...@@ -25,6 +25,7 @@ ...@@ -25,6 +25,7 @@
<el-table-column prop="OrderGuestNum" label="订单人数"></el-table-column> <el-table-column prop="OrderGuestNum" label="订单人数"></el-table-column>
<el-table-column prop="OrderMoney" label="订单金额"> </el-table-column> <el-table-column prop="OrderMoney" label="订单金额"> </el-table-column>
<el-table-column prop="OrderStateName" label="订单状态"> </el-table-column> <el-table-column prop="OrderStateName" label="订单状态"> </el-table-column>
<el-table-column prop="Remarks" label="备注"> </el-table-column>
</el-table> </el-table>
</div> </div>
<el-button slot="reference" type="success" plain size="mini">{{scope.row.CurRewardMoney}}</el-button> <el-button slot="reference" type="success" plain size="mini">{{scope.row.CurRewardMoney}}</el-button>
......
...@@ -104,7 +104,7 @@ ...@@ -104,7 +104,7 @@
</div> </div>
<div class="page-content"> <div class="page-content">
<activeOrder :dataList="data.List" :authObj="authObj" @success="refreshClassOrder" :modityOrderType="1" <activeOrder :dataList="data.List" :authObj="authObj" @success="refreshClassOrder" :modityOrderType="1"
ref="orderL"> ref="orderL" :loading="loading">
</activeOrder> </activeOrder>
<div class="row" style="justify-content: flex-end;padding: 5px 20px"> <div class="row" style="justify-content: flex-end;padding: 5px 20px">
<q-pagination v-model="msg.pageIndex" :max="pageCount" @input="changePage" class="full-width justify-end" <q-pagination v-model="msg.pageIndex" :max="pageCount" @input="changePage" class="full-width justify-end"
......
...@@ -10,8 +10,8 @@ ...@@ -10,8 +10,8 @@
<div class="col row wrap q-mr-lg q-col-gutter-md"> <div class="col row wrap q-mr-lg q-col-gutter-md">
<div class="col-3"> <div class="col-3">
<div class="col-4 Sysuser_Date"> <div class="col-4 Sysuser_Date">
<q-field filled> <q-field filled>
 <template v-slot:control> <template v-slot:control>
<el-date-picker v-model="msg.StartClassDate" value-format="yyyy-MM-dd" type="date" placeholder="开始时间" <el-date-picker v-model="msg.StartClassDate" value-format="yyyy-MM-dd" type="date" placeholder="开始时间"
size="small" style="width:47%;" @change="resetSearch" clear-icon="iconfont icon-guanbi"> size="small" style="width:47%;" @change="resetSearch" clear-icon="iconfont icon-guanbi">
</el-date-picker> </el-date-picker>
...@@ -32,14 +32,14 @@ ...@@ -32,14 +32,14 @@
class="col-6 q-pb-lg" emit-value map-options /> class="col-6 q-pb-lg" emit-value map-options />
</div> </div>
<div class="col-3"> <div class="col-3">
<q-input @input="resetSearch" clearable filled v-model="msg.LessonName" <q-input @input="resetSearch" clearable filled v-model="msg.LessonName" label="试听课程名称" @clear="resetSearch"
label="试听课程名称" @clear="resetSearch" maxlength="20" /> maxlength="20" />
</div> </div>
</div> </div>
</div> </div>
<reservelist :data="dataList" :authObj="authObj" :loading="loading" @success="refreshPage"></reservelist> <reservelist :data="dataList" :authObj="authObj" :loading="loading" @success="refreshPage"></reservelist>
<q-pagination class="full-width justify-end" v-model="msg.pageIndex" color="primary" :max="PageCount" <q-pagination class="full-width justify-end" v-model="msg.pageIndex" color="primary" :max="PageCount" :input="true"
:input="true" @input="changePage" /> @input="changePage" />
</div> </div>
</template> </template>
...@@ -71,16 +71,15 @@ ...@@ -71,16 +71,15 @@
EndClassDate: "", //结束时间 EndClassDate: "", //结束时间
TeacherId: "", //教师编号 TeacherId: "", //教师编号
ClassRoomId: "", //教室编号 ClassRoomId: "", //教室编号
LessonName:'' //课程名称 LessonName: '' //课程名称
}, },
dataList: [], dataList: [],
loading: false, loading: false,
PageCount: 0, PageCount: 0,
TeacherList: [], TeacherList: [],
ClassRoomList: [], ClassRoomList: [],
authObj:{ authObj: {
isShowEdit:false isShowEdit: false
} }
} }
}, },
...@@ -107,7 +106,9 @@ ...@@ -107,7 +106,9 @@
}, },
//获取课程系列分页列表 //获取课程系列分页列表
getList() { getList() {
this.loading=true;
GetReserveClassPage(this.msg).then(res => { GetReserveClassPage(this.msg).then(res => {
this.loading=false;
if (res.Code == 1) { if (res.Code == 1) {
this.dataList = res.Data.PageData; this.dataList = res.Data.PageData;
this.PageCount = res.Data.PageCount; this.PageCount = res.Data.PageCount;
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
<q-input @input="resetSearch" filled clearable v-model="msg.CustomerName" label="联系人" maxlength="20" /> <q-input @input="resetSearch" filled clearable v-model="msg.CustomerName" label="联系人" maxlength="20" />
</div> </div>
<div class="col-3"> <div class="col-3">
<q-input @input="resetSearch" filled clearable v-model="msg.CategoryName" label="同名称" maxlength="20" /> <q-input @input="resetSearch" filled clearable v-model="msg.CategoryName" label="同名称" maxlength="20" />
</div> </div>
<div class="col-3"> <div class="col-3">
<q-input @input="resetSearch" filled clearable v-model="msg.ContactNumber" label="电话" maxlength="20" /> <q-input @input="resetSearch" filled clearable v-model="msg.ContactNumber" label="电话" maxlength="20" />
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
</div> </div>
</div> </div>
<div class="page-content"> <div class="page-content">
<b2bcustomlist :dataList="dataList" :authObj="authObj" :loading="loading" @success="getList" <b2bcustomlist :dataList="dataList" :authObj="authObj" :loading="loading" @success="getList" :queryMsg="msg"
:visibleColumns="visibleColumns" sticky="sticky-tow-column-table sticky-right-column-table"></b2bcustomlist> :visibleColumns="visibleColumns" sticky="sticky-tow-column-table sticky-right-column-table"></b2bcustomlist>
<q-pagination class="full-width justify-end" v-model="msg.pageIndex" color="primary" :max="pageCount" <q-pagination class="full-width justify-end" v-model="msg.pageIndex" color="primary" :max="pageCount"
:input="true" @input="changePage" /> :input="true" @input="changePage" />
...@@ -109,7 +109,7 @@ ...@@ -109,7 +109,7 @@
"QQ", "QQ",
"WeChatNo", "WeChatNo",
], ],
tabCheck: 2, tabCheck: 1,
//审核状态列表 //审核状态列表
ApproveStateList: [ ApproveStateList: [
{ {
...@@ -126,7 +126,8 @@ ...@@ -126,7 +126,8 @@
authObj: { authObj: {
isShowEdit: true, //显示新增、修改、删除 isShowEdit: true, //显示新增、修改、删除
isShowBankBook: true, //显示幸福存折 isShowBankBook: true, //显示幸福存折
isShowRebate: true //是否显示返佣 isShowRebate: true, //是否显示返佣,
isShowDownload:true,//显示下载按钮
}, },
categoryMsg: { categoryMsg: {
pageIndex: 1, pageIndex: 1,
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
<q-input @input="resetSearch" filled clearable v-model="msg.CustomerName" label="联系人" maxlength="20" /> <q-input @input="resetSearch" filled clearable v-model="msg.CustomerName" label="联系人" maxlength="20" />
</div> </div>
<div class="col-3"> <div class="col-3">
<q-input @input="resetSearch" filled clearable v-model="msg.CategoryName" label="同名称" maxlength="20" /> <q-input @input="resetSearch" filled clearable v-model="msg.CategoryName" label="同名称" maxlength="20" />
</div> </div>
<div class="col-3"> <div class="col-3">
<q-input @input="resetSearch" filled clearable v-model="msg.ContactNumber" label="电话" maxlength="20" /> <q-input @input="resetSearch" filled clearable v-model="msg.ContactNumber" label="电话" maxlength="20" />
......
...@@ -77,8 +77,7 @@ ...@@ -77,8 +77,7 @@
"WeChatNo", "WeChatNo",
], ],
//审核状态列表 //审核状态列表
ApproveStateList: [ ApproveStateList: [{
{
label: "待审核", label: "待审核",
value: "3" value: "3"
}, },
...@@ -118,6 +117,7 @@ ...@@ -118,6 +117,7 @@
}, },
//获取分页数据 //获取分页数据
getList() { getList() {
this.loading = true;
GetCustomerPage(this.msg) GetCustomerPage(this.msg)
.then(res => { .then(res => {
this.dataList = res.Data.PageData; this.dataList = res.Data.PageData;
......
...@@ -23,20 +23,18 @@ ...@@ -23,20 +23,18 @@
v-model="msg.EnrollState" :options="EnrollStateOpt" emit-value map-options label="报名状态" /> v-model="msg.EnrollState" :options="EnrollStateOpt" emit-value map-options label="报名状态" />
</div> </div>
<div class="col-3"> <div class="col-3">
<q-field filled> <q-field filled>
 <template v-slot:control> <template v-slot:control>
<el-date-picker v-model="dateList" @change="resetSearch()" value-format="yyyy-MM-dd" type="daterange" style="border:none;" <el-date-picker v-model="dateList" @change="resetSearch()" value-format="yyyy-MM-dd" type="daterange" style="border:none;"
 range-separator="至"  start-placeholder="报名开始时间"  end-placeholder="报名结束时间">  range-separator="至"  start-placeholder="报名开始时间"  end-placeholder="报名结束时间" />
 </el-date-picker>       
</template> </template>
</q-field> </q-field>
</div> </div>
<div class="col-3"> <div class="col-3">
<q-field filled> <q-field filled>
 <template v-slot:control> <template v-slot:control>
<el-date-picker v-model="dateList2" @change="resetSearch()" value-format="yyyy-MM-dd" type="daterange" style="border:none;" <el-date-picker v-model="dateList2" @change="resetSearch()" value-format="yyyy-MM-dd" type="daterange" style="border:none;"
 range-separator="至"  start-placeholder="活动开始时间"  end-placeholder="活动结束时间">  range-separator="至"  start-placeholder="活动开始时间"  end-placeholder="活动结束时间" />
 </el-date-picker>       
</template> </template>
</q-field> </q-field>
</div> </div>
...@@ -63,14 +61,6 @@ ...@@ -63,14 +61,6 @@
<span class="stics-name">取消人数</span> <span class="stics-name">取消人数</span>
<span>{{data.Statistics.CancelNum}}人</span> <span>{{data.Statistics.CancelNum}}人</span>
</div> </div>
<!-- <div class="col stics">
<span class="stics-name">提成金额</span>
<span>{{data.Statistics.CommissionMoney}}</span>
</div>
<div class="col stics">
<span class="stics-name">额外奖励</span>
<span>{{data.Statistics.ExtraRewardMoney}}</span>
</div> -->
</div> </div>
<div class="row col" style="justify-content: flex-end"> <div class="row col" style="justify-content: flex-end">
<div class="row tis"> <div class="row tis">
...@@ -92,7 +82,7 @@ ...@@ -92,7 +82,7 @@
</div> </div>
<div class="page-content"> <div class="page-content">
<activeOrder :dataList="data.List" :authObj="authObj" @success="refreshClassOrder" :modityOrderType="1" <activeOrder :dataList="data.List" :authObj="authObj" @success="refreshClassOrder" :modityOrderType="1"
ref="orderL"> ref="orderL" :loading="loading">
</activeOrder> </activeOrder>
<div class="row" style="justify-content: flex-end;padding: 5px 20px"> <div class="row" style="justify-content: flex-end;padding: 5px 20px">
<q-pagination v-model="msg.pageIndex" :max="pageCount" @input="changePage" class="full-width justify-end" <q-pagination v-model="msg.pageIndex" :max="pageCount" @input="changePage" class="full-width justify-end"
...@@ -100,18 +90,16 @@ ...@@ -100,18 +90,16 @@
</q-pagination> </q-pagination>
</div> </div>
</div> </div>
</div> </div>
</template> </template>
<script> <script>
// import myOrderForm from '../../components/sale/myOrder-form'
import activeOrder from '../../components/sale/activeOrder-item' import activeOrder from '../../components/sale/activeOrder-item'
export default { export default {
meta: { meta: {
title: "我的活动订单" title: "我的活动订单"
}, },
components: { components: {
// myOrderForm,
activeOrder activeOrder
}, },
data() { data() {
...@@ -162,8 +150,8 @@ ...@@ -162,8 +150,8 @@
} }
}, },
created() { created() {
let data= JSON.parse(localStorage.getItem("loginUserInfo")).data let data = JSON.parse(localStorage.getItem("loginUserInfo")).data
this.msg.EduUserId=data.Id this.msg.EduUserId = data.Id
}, },
mounted() { mounted() {
this.getList(); this.getList();
...@@ -199,16 +187,16 @@ ...@@ -199,16 +187,16 @@
this.msg.EndTime = ''; this.msg.EndTime = '';
} }
let msg = JSON.parse(JSON.stringify(this.msg)); let msg = JSON.parse(JSON.stringify(this.msg));
if (msg.Id == '' || msg.Id == null) { if (msg.Id == '' || msg.Id == null) {
msg.Id = 0 msg.Id = 0
} }
this.loading = true; this.loading = true;
this.apipostDS("/api/Education/GetConsultOrderStatisticsPage", msg, (res) => { this.apipostDS("/api/Education/GetConsultOrderStatisticsPage", msg, (res) => {
this.loading = false this.loading = false
if (res.data.resultCode === 1) { if (res.data.resultCode === 1) {
this.data = res.data.data.pageData; this.data = res.data.data.pageData;
// let OrderIds = [] // let OrderIds = []
// this.data.forEach(x => { // this.data.forEach(x => {
// OrderIds.push(x.Id) // OrderIds.push(x.Id)
...@@ -217,7 +205,7 @@ ...@@ -217,7 +205,7 @@
// if (this.data.length > 0) { // if (this.data.length > 0) {
// this.$refs.orderL.getOrderFinanceList(OrderIds, 1) // this.$refs.orderL.getOrderFinanceList(OrderIds, 1)
// } // }
this.pageCount = res.data.data.pageCount; this.pageCount = res.data.data.pageCount;
} }
}) })
}, },
...@@ -227,7 +215,6 @@ ...@@ -227,7 +215,6 @@
}, },
} }
} }
</script> </script>
<style> <style>
li { li {
...@@ -286,5 +273,4 @@ ...@@ -286,5 +273,4 @@
font-weight: 600; font-weight: 600;
margin-right: 20px margin-right: 20px
} }
</style>
</style> \ No newline at end of file
...@@ -105,7 +105,7 @@ ...@@ -105,7 +105,7 @@
</div> </div>
<div class="page-content"> <div class="page-content">
<orderlist :dataList="data.List" :authObj="authObj" @success="refreshClassOrder" :modityOrderType="1" <orderlist :dataList="data.List" :authObj="authObj" @success="refreshClassOrder" :modityOrderType="1"
ref="orderL"> ref="orderL" :loading="loading">
</orderlist> </orderlist>
<div class="row" style="justify-content: flex-end;padding: 5px 20px"> <div class="row" style="justify-content: flex-end;padding: 5px 20px">
<q-pagination v-model="msg.pageIndex" :max="pageCount" @input="changePage" class="full-width justify-end" <q-pagination v-model="msg.pageIndex" :max="pageCount" @input="changePage" class="full-width justify-end"
......
This diff is collapsed.
...@@ -141,7 +141,7 @@ ...@@ -141,7 +141,7 @@
</div> </div>
<div class="page-content"> <div class="page-content">
<orderlist :dataList="data.List" :authObj="authObj" @success="refreshClassOrder" :modityOrderType="3" <orderlist :dataList="data.List" :authObj="authObj" @success="refreshClassOrder" :modityOrderType="3"
ref="orderL"> ref="orderL" :loading="loading">
</orderlist> </orderlist>
<div class="row" style="justify-content: flex-end;padding: 5px 20px"> <div class="row" style="justify-content: flex-end;padding: 5px 20px">
<q-pagination v-model="msg.pageIndex" :max="pageCount" @input="changePage" class="full-width justify-end" <q-pagination v-model="msg.pageIndex" :max="pageCount" @input="changePage" class="full-width justify-end"
......
...@@ -107,7 +107,9 @@ ...@@ -107,7 +107,9 @@
}, },
//获取课程系列分页列表 //获取课程系列分页列表
getList() { getList() {
this.loading=true;
GetReserveClassPage(this.msg).then(res => { GetReserveClassPage(this.msg).then(res => {
this.loading=false;
if (res.Code == 1) { if (res.Code == 1) {
this.dataList = res.Data.PageData; this.dataList = res.Data.PageData;
this.PageCount = res.Data.PageCount; this.PageCount = res.Data.PageCount;
......
...@@ -9,23 +9,24 @@ ...@@ -9,23 +9,24 @@
<div class="page-search row items-center"> <div class="page-search row items-center">
<div class="col row wrap q-mr-lg q-col-gutter-md"> <div class="col row wrap q-mr-lg q-col-gutter-md">
<div class="col-3"> <div class="col-3">
<q-input @change="resetSearch" clearable dense standout="bg-primary text-white" v-model="msg.OrderId" label="订单号" <q-input @change="resetSearch" clearable dense standout="bg-primary text-white" v-model="msg.OrderId"
@clear="resetSearch" maxlength="10" /> label="订单号" @clear="resetSearch" maxlength="10" />
</div> </div>
<div class="col-3"> <div class="col-3">
<q-input @change="resetSearch" clearable dense standout="bg-primary text-white" v-model="msg.GuestName" label="客户名称" <q-input @change="resetSearch" clearable dense standout="bg-primary text-white" v-model="msg.GuestName"
@clear="resetSearch" maxlength="20" /> label="客户名称" @clear="resetSearch" maxlength="20" />
</div> </div>
<div class="col-3"> <div class="col-3">
<q-select dense @input="msg.OrderState==0?(msg.Q_OrderState = 1):msg.Q_OrderState=0,resetSearch()" standout="bg-primary text-white" option-value="Id" option-label="Name" <q-select dense @input="msg.OrderState==0?(msg.Q_OrderState = 1):msg.Q_OrderState=0,resetSearch()"
v-model="msg.OrderState" :options="OrderStateList" emit-value map-options label="订单状态" /> standout="bg-primary text-white" option-value="Id" option-label="Name" v-model="msg.OrderState"
:options="OrderStateList" emit-value map-options label="订单状态" />
</div> </div>
<div class="col-3"> <div class="col-3">
<q-field filled dense> <q-field filled dense>
 <template v-slot:control> <template v-slot:control>
<el-date-picker v-model="dateList" size="mini" @change="resetSearch()" value-format="yyyy-MM-dd" type="daterange" style="border:none;" <el-date-picker v-model="dateList" size="mini"  @change="resetSearch()"  value-format="yyyy-MM-dd"
 range-separator="至"  start-placeholder="报名开始时间"  end-placeholder="报名结束时间">  type="daterange"  style="border:none;"  range-separator="至"  start-placeholder="报名开始时间"
 </el-date-picker>         end-placeholder="报名结束时间" />
</template> </template>
</q-field> </q-field>
</div> </div>
...@@ -80,7 +81,8 @@ ...@@ -80,7 +81,8 @@
</div> </div>
</div> </div>
<div class="page-content"> <div class="page-content">
<orderlist :dataList="data.List" :authObj="authObj" :modityOrderType="1" @success="refreshClassOrder" ref="orderL"> <orderlist :dataList="data.List" :authObj="authObj" :modityOrderType="1" @success="refreshClassOrder" ref="orderL"
:loading="loading">
</orderlist> </orderlist>
<div class="row" style="justify-content: flex-end;padding: 5px 20px"> <div class="row" style="justify-content: flex-end;padding: 5px 20px">
<q-pagination v-model="msg.pageIndex" :max="pageCount" @input="changePage" class="full-width justify-end" <q-pagination v-model="msg.pageIndex" :max="pageCount" @input="changePage" class="full-width justify-end"
...@@ -260,7 +262,6 @@ ...@@ -260,7 +262,6 @@
}, },
} }
} }
</script> </script>
<style> <style>
li { li {
...@@ -319,5 +320,4 @@ ...@@ -319,5 +320,4 @@
font-weight: 600; font-weight: 600;
margin-right: 20px margin-right: 20px
} }
</style>
</style> \ No newline at end of file
...@@ -90,7 +90,7 @@ ...@@ -90,7 +90,7 @@
</div> </div>
</div> </div>
<div class="page-content"> <div class="page-content">
<orderlist :dataList="data.List" :authObj="authObj" :modityOrderType="3" @success="refreshClassOrder" ref="orderL"> <orderlist :dataList="data.List" :authObj="authObj" :modityOrderType="3" @success="refreshClassOrder" ref="orderL" :loading="loading">
</orderlist> </orderlist>
<div class="row" style="justify-content: flex-end;padding: 5px 20px"> <div class="row" style="justify-content: flex-end;padding: 5px 20px">
<q-pagination v-model="msg.pageIndex" :max="pageCount" @input="changePage" class="full-width justify-end" <q-pagination v-model="msg.pageIndex" :max="pageCount" @input="changePage" class="full-width justify-end"
......
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
</div> </div>
</div> </div>
<div class="page-content"> <div class="page-content">
<stulist :dataList="data" @success="refreshPage" ref="stuList"> <stulist :dataList="data" @success="refreshPage" :loading="loading" ref="stuList" :authObj="AuthObj" :queryMsg="msg">
</stulist> </stulist>
<div class="row" style="justify-content: flex-end;padding: 5px 20px"> <div class="row" style="justify-content: flex-end;padding: 5px 20px">
<q-pagination v-model="msg.pageIndex" :max="pageCount" @input="changePage" class="full-width justify-end" <q-pagination v-model="msg.pageIndex" :max="pageCount" @input="changePage" class="full-width justify-end"
...@@ -109,7 +109,10 @@ ...@@ -109,7 +109,10 @@
myEmployeeList: [], myEmployeeList: [],
//客户阶段状态列表 //客户阶段状态列表
customState: [], customState: [],
customTypeList: [] //客户类型 customTypeList: [], //客户类型
AuthObj:{
isShowDownload:true,
}
} }
}, },
computed: { computed: {
......
This diff is collapsed.
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
</div> </div>
</div> </div>
<teachTable v-if="commonType == 2" :tableData="tableData" :PageCount="PageCount" :setMsg="tabMsg" :showCZ="true" <teachTable v-if="commonType == 2" :tableData="tableData" :PageCount="PageCount" :setMsg="tabMsg" :showCZ="true"
@getChange="getChange"></teachTable> @getChange="getChange" :loading="loading"></teachTable>
</div> </div>
</template> </template>
...@@ -80,6 +80,7 @@ ...@@ -80,6 +80,7 @@
TeacherId: 0, TeacherId: 0,
ClassRoomId: 0, ClassRoomId: 0,
dataList: {}, dataList: {},
loading:false,
msg: { msg: {
StartTime: "", StartTime: "",
EndTime: "", EndTime: "",
...@@ -211,7 +212,9 @@ ...@@ -211,7 +212,9 @@
this.tabMsg.ClassRoomId = this.msg.ClassRoomId; this.tabMsg.ClassRoomId = this.msg.ClassRoomId;
this.tabMsg.ClassType = this.msg.ClassType; this.tabMsg.ClassType = this.msg.ClassType;
this.tabMsg.TeacherId=this.msg.TeacherId; this.tabMsg.TeacherId=this.msg.TeacherId;
this.loading=true;
GetClassPlanStatisticalPage(this.tabMsg).then((res) => { GetClassPlanStatisticalPage(this.tabMsg).then((res) => {
this.loading=false;
if (res.Code == 1) { if (res.Code == 1) {
this.tableData = res.Data.PageData; this.tableData = res.Data.PageData;
this.PageCount = res.Data.PageCount; this.PageCount = res.Data.PageCount;
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
.site_ListDiv { .site_ListDiv {
margin-bottom: 10px; margin-bottom: 10px;
} }
</style> </style>
<template> <template>
<div class="page-body"> <div class="page-body">
...@@ -102,7 +101,6 @@ ...@@ -102,7 +101,6 @@
} }
], ],
data: [], data: [],
// loading: true,
loading: false, loading: false,
msg: { msg: {
pageIndex: 1, pageIndex: 1,
...@@ -116,12 +114,14 @@ ...@@ -116,12 +114,14 @@
}, },
methods: { methods: {
getList() { getList() {
this.loading = true;
getSiteConfig(this.msg).then(res => { getSiteConfig(this.msg).then(res => {
this.loading = false;
if (res.Code == 1) { if (res.Code == 1) {
this.data = res.Data; this.data = res.Data;
} }
}).catch(() => { }).catch(() => {
this.loading = false;
}) })
}, },
//新增站点 //新增站点
...@@ -160,9 +160,7 @@ ...@@ -160,9 +160,7 @@
}, },
} }
} }
</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
This diff is collapsed.
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