Commit 521493f2 authored by 黄奎's avatar 黄奎

页面Title修改

parent 2cce8bdf
...@@ -106,9 +106,6 @@ ...@@ -106,9 +106,6 @@
} from '../../api/scheduling/schedu' } from '../../api/scheduling/schedu'
import reserveForm from '../schedul/reserve-form' import reserveForm from '../schedul/reserve-form'
export default { export default {
meta: {
title: "班级列表"
},
props: { props: {
data: { data: {
type: Array, type: Array,
......
...@@ -5,7 +5,6 @@ ...@@ -5,7 +5,6 @@
</div> </div>
<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 standout="bg-primary text-white" v-model="msg.ActivityName" <q-input @change="resetSearch" clearable standout="bg-primary text-white" v-model="msg.ActivityName"
label="活动名称" @clear="resetSearch" maxlength="20" /> label="活动名称" @clear="resetSearch" maxlength="20" />
...@@ -20,7 +19,8 @@ ...@@ -20,7 +19,8 @@
</div> </div>
<div class="col-3"> <div class="col-3">
<q-select @input="resetSearch" standout="bg-primary text-white" option-value="Id" option-label="EmployeeName" <q-select @input="resetSearch" standout="bg-primary text-white" option-value="Id" option-label="EmployeeName"
v-model="msg.EduUserId" use-input clearable @filter="filterFn" :options="EmployeeList" emit-value map-options label="业务员"> v-model="msg.EduUserId" use-input clearable @filter="filterFn" :options="EmployeeList" emit-value
map-options label="业务员">
<template v-slot:no-option> <template v-slot:no-option>
<q-item> <q-item>
<q-item-section class="text-grey"> <q-item-section class="text-grey">
...@@ -35,20 +35,18 @@ ...@@ -35,20 +35,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>
...@@ -75,14 +73,6 @@ ...@@ -75,14 +73,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">
...@@ -112,21 +102,18 @@ ...@@ -112,21 +102,18 @@
</q-pagination> </q-pagination>
</div> </div>
</div> </div>
</div> </div>
</template> </template>
<script> <script>
import { import {
queryEmployee queryEmployee
} from '../../api/users/user' //获取业务员列表 } from '../../api/users/user' //获取业务员列表
// 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() {
...@@ -148,7 +135,6 @@ ...@@ -148,7 +135,6 @@
EndTime: "", //活动结束时间 EndTime: "", //活动结束时间
EnrollState: 3, //报名状态 EnrollState: 3, //报名状态
LinkMan: "", //联系人 LinkMan: "", //联系人
}, },
EnrollStateOpt: [ //报名状态列表 EnrollStateOpt: [ //报名状态列表
{ {
...@@ -169,8 +155,6 @@ ...@@ -169,8 +155,6 @@
//订单状态 //订单状态
OrderStateList: [], OrderStateList: [],
pageCount: 1, pageCount: 1,
showone: false, showone: false,
//权限判断 //权限判断
authObj: { authObj: {
...@@ -188,13 +172,10 @@ ...@@ -188,13 +172,10 @@
this.msg.OrderId = this.$route.query.OrderId; this.msg.OrderId = this.$route.query.OrderId;
this.msg.Id = this.$route.query.OrderId; this.msg.Id = this.$route.query.OrderId;
} }
this.getEmployee(0); this.getEmployee(0);
this.getList(); this.getList();
}, },
mounted() { mounted() {},
},
methods: { methods: {
//筛选员工 //筛选员工
filterFn(val, update) { filterFn(val, update) {
...@@ -223,11 +204,8 @@ ...@@ -223,11 +204,8 @@
this.EmployeeList.unshift(obj) this.EmployeeList.unshift(obj)
this.AllemployeeList = JSON.parse(JSON.stringify(this.EmployeeList)); this.AllemployeeList = JSON.parse(JSON.stringify(this.EmployeeList));
} }
}).catch(() => { }).catch(() => {})
})
}, },
//翻页 //翻页
changePage(val) { changePage(val) {
if (this.showone == true) { if (this.showone == true) {
...@@ -279,7 +257,6 @@ ...@@ -279,7 +257,6 @@
}, },
} }
} }
</script> </script>
<style> <style>
li { li {
...@@ -338,5 +315,4 @@ ...@@ -338,5 +315,4 @@
font-weight: 600; font-weight: 600;
margin-right: 20px margin-right: 20px
} }
</style> </style>
\ No newline at end of file
This diff is collapsed.
...@@ -79,7 +79,7 @@ ...@@ -79,7 +79,7 @@
import customcategorylist from "../../components/sale/customcategorylist" import customcategorylist from "../../components/sale/customcategorylist"
export default { export default {
meta: { meta: {
title: "同行管理" title: "我的同业"
}, },
components: { components: {
b2bcustomlist, b2bcustomlist,
......
<style> <style>
.page-content p { .page-content p {
margin: 0 !important; margin: 0 !important;
} }
.quetion_Title { .quetion_Title {
background: transparent !important; background: transparent !important;
text-overflow: ellipsis; text-overflow: ellipsis;
overflow: hidden; overflow: hidden;
white-space: nowrap; white-space: nowrap;
width: 400px; width: 400px;
} }
</style> </style>
<template> <template>
<div class="page-body"> <div class="page-body">
<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-select <q-select @input="resetSearch" filled v-model="msg.Type" :options="TypeList" emit-value map-options
@input="resetSearch" label="审核状态" />
filled
v-model="msg.Type"
:options="TypeList"
emit-value
map-options
label="审核状态"
/>
</div> </div>
<div class="col-3"> <div class="col-3">
<q-select <q-select @input="resetSearch" filled v-model="msg.AuditStatus" :options="ApproveStateList" emit-value
@input="resetSearch" map-options label="审核状态" />
filled
v-model="msg.AuditStatus"
:options="ApproveStateList"
emit-value
map-options
label="审核状态"
/>
</div> </div>
</div> </div>
</div> </div>
<div class="page-content"> <div class="page-content">
<q-table <q-table :loading="loading" no-data-label="暂无相关数据" flat class="sticky-column-table sticky-right-column-table"
:loading="loading" separator="none" :data="dataList" :columns="columns" row-key="name">
no-data-label="暂无相关数据"
flat
class="sticky-column-table sticky-right-column-table"
separator="none"
:data="dataList"
:columns="columns"
row-key="name"
>
<template v-slot:body-cell-CustomerName="props"> <template v-slot:body-cell-CustomerName="props">
<q-td :props="props"> <q-td :props="props">
<q-avatar rounded size="sm" v-if="props.row.CustomerImage"> <q-avatar rounded size="sm" v-if="props.row.CustomerImage">
<img :src="props.row.CustomerImage" /> <img :src="props.row.CustomerImage" />
</q-avatar> </q-avatar>
<q-avatar <q-avatar rounded size="sm" color="teal-10" text-color="white" v-if="!props.row.CustomerImage">
rounded {{ props.row.CustomerName.substring(0, 1) }}</q-avatar>
size="sm"
color="teal-10"
text-color="white"
v-if="!props.row.CustomerImage"
>{{ props.row.CustomerName.substring(0, 1) }}</q-avatar>
{{ props.row.CustomerName }} {{ props.row.CustomerName }}
</q-td> </q-td>
</template> </template>
...@@ -87,15 +58,9 @@ ...@@ -87,15 +58,9 @@
</template> </template>
<template v-slot:body-cell-Remark="props"> <template v-slot:body-cell-Remark="props">
<q-td :props="props"> <q-td :props="props">
<div <div v-if="props.row.AuditRemark && props.row.AuditRemark != ''">审核备注:{{ props.row.AuditRemark }}</div>
v-if="props.row.AuditRemark && props.row.AuditRemark != ''" <div v-if="props.row.RemitRemark && props.row.RemitRemark != ''">打款备注:{{ props.row.RemitRemark }}</div>
>审核备注:{{ props.row.AuditRemark }}</div> <div v-if="props.row.RejectRemark && props.row.RejectRemark != ''">拒绝备注:{{ props.row.RejectRemark }}</div>
<div
v-if="props.row.RemitRemark && props.row.RemitRemark != ''"
>打款备注:{{ props.row.RemitRemark }}</div>
<div
v-if="props.row.RejectRemark && props.row.RejectRemark != ''"
>拒绝备注:{{ props.row.RejectRemark }}</div>
</q-td> </q-td>
</template> </template>
<template v-slot:body-cell-BankName="props"> <template v-slot:body-cell-BankName="props">
...@@ -107,43 +72,19 @@ ...@@ -107,43 +72,19 @@
</q-td> </q-td>
</template> </template>
<template v-slot:body-cell-optioned="props"> <template v-slot:body-cell-optioned="props">
<q-td :props="props" style="width:100px;" > <q-td :props="props" style="width:100px;">
<q-btn <q-btn v-if="props.row.AuditStatus==1" flat size="xs" icon="edit" color="done" style="font-weight:400"
v-if="props.row.AuditStatus==1" label="审核" @click="operation(props.row)" />
flat <q-btn flat size="xs" icon="iconfont icon-view" color="done" style="font-weight:400" label="查看详情"
size="xs" @click="godetails(props.row)" />
icon="edit"
color="done"
style="font-weight:400"
label="审核"
@click="operation(props.row)"
/>
<q-btn
flat
size="xs"
icon="iconfont icon-view"
color="done"
style="font-weight:400"
label="查看详情"
@click="godetails(props.row)"
/>
</q-td> </q-td>
</template> </template>
<template v-slot:bottom> <template v-slot:bottom>
<div></div> <div></div>
</template> </template>
</q-table> </q-table>
<q-pagination <q-pagination class="full-width justify-end" v-model="msg.pageIndex" color="primary" :max="pageCount"
class="full-width justify-end" :input="true" @input="changePage" />
v-model="msg.pageIndex"
color="primary"
:max="pageCount"
:input="true"
@input="changePage"
/>
</div> </div>
<q-dialog v-model="isShow" persistent> <q-dialog v-model="isShow" persistent>
<q-card style="width: 520px; max-width: 80vw;"> <q-card style="width: 520px; max-width: 80vw;">
...@@ -154,8 +95,7 @@ ...@@ -154,8 +95,7 @@
<q-card-section class="q-pt-none" style="margin-top: 15px;padding:10px 20px;"> <q-card-section class="q-pt-none" style="margin-top: 15px;padding:10px 20px;">
<q-radio v-model="remitMsg.State" val="1" label="审核通过" /> <q-radio v-model="remitMsg.State" val="1" label="审核通过" />
<q-radio v-model="remitMsg.State" val="2" label="审核驳回" /> <q-radio v-model="remitMsg.State" val="2" label="审核驳回" />
<q-input filled clearable v-model="remitMsg.Remark" label="备注" <q-input filled clearable v-model="remitMsg.Remark" label="备注" style="margin-top: 20px;" type="textarea" />
style="margin-top: 20px;" type="textarea"/>
</q-card-section> </q-card-section>
<q-separator /> <q-separator />
<q-card-actions align="right" class="bg-white"> <q-card-actions align="right" class="bg-white">
...@@ -167,22 +107,21 @@ ...@@ -167,22 +107,21 @@
</div> </div>
</template> </template>
<script> <script>
import { import {
getCustomerRemitPageList, getCustomerRemitPageList,
setCustomerRemitState setCustomerRemitState
} from '../../api/sale/peemanagement'; } from '../../api/sale/peemanagement';
export default { export default {
meta: { meta: {
title: "同行审批" title: "提现审核"
}, },
components: { components: {
}, },
data() { data() {
return { return {
pageCount: 0, pageCount: 0,
isShow:false, isShow: false,
msg: { msg: {
pageIndex: 1, pageIndex: 1,
pageSize: 12, pageSize: 12,
...@@ -192,7 +131,16 @@ export default { ...@@ -192,7 +131,16 @@ export default {
}, },
loading: false, loading: false,
TypeList: [{ label: "全部", value: "0", }, { label: "返佣", value: "1", }, { label: "幸福存折", value: "2", }], TypeList: [{
label: "全部",
value: "0",
}, {
label: "返佣",
value: "1",
}, {
label: "幸福存折",
value: "2",
}],
//审核状态列表 //审核状态列表
ApproveStateList: [{ ApproveStateList: [{
label: "不限", label: "不限",
...@@ -212,8 +160,7 @@ export default { ...@@ -212,8 +160,7 @@ export default {
value: "4", value: "4",
}, },
], ],
columns: [ columns: [{
{
name: 'CustomerName', name: 'CustomerName',
label: '客户信息', label: '客户信息',
field: 'CustomerName', field: 'CustomerName',
...@@ -286,14 +233,14 @@ export default { ...@@ -286,14 +233,14 @@ export default {
authObj: { authObj: {
isShowAudit: true, isShowAudit: true,
}, },
remitMsg:{ remitMsg: {
RemitId:0, RemitId: 0,
State:1, State: 1,
Remark:'', Remark: '',
} }
} }
}, },
created() { }, created() {},
mounted() { mounted() {
this.getList(); this.getList();
}, },
...@@ -318,18 +265,18 @@ export default { ...@@ -318,18 +265,18 @@ export default {
this.loading = false this.loading = false
}) })
}, },
operation(row,type){ operation(row, type) {
this.remitMsg.RemitId = row.Id; this.remitMsg.RemitId = row.Id;
this.remitMsg.State = '1'; this.remitMsg.State = '1';
this.remitMsg.Remark = ''; this.remitMsg.Remark = '';
this.isShow = true this.isShow = true
}, },
godetails(row){ godetails(row) {
this.OpenNewUrl('/financial/returnPassbook/returnpassbookStatistics', { this.OpenNewUrl('/financial/returnPassbook/returnpassbookStatistics', {
UnionCashOutId: row.Id, UnionCashOutId: row.Id,
}); });
}, },
submit(){ submit() {
setCustomerRemitState(this.remitMsg).then(res => { setCustomerRemitState(this.remitMsg).then(res => {
this.$q.notify({ this.$q.notify({
icon: 'iconfont icon-chenggong', icon: 'iconfont icon-chenggong',
...@@ -345,8 +292,8 @@ export default { ...@@ -345,8 +292,8 @@ export default {
}) })
} }
} }
} }
</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.
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
import courserefundForm from "../../components/course/courserefund-form" import courserefundForm from "../../components/course/courserefund-form"
export default { export default {
meta: { meta: {
title: "退课协议管理", title: "语培退学合同",
}, },
components: { components: {
courserefundForm courserefundForm
......
...@@ -136,7 +136,6 @@ ...@@ -136,7 +136,6 @@
<!-- <q-btn color="accent" size="sm" class="q-mr-md" icon="add" label="创建报价单" @click="createQuotation" /> --> <!-- <q-btn color="accent" size="sm" class="q-mr-md" icon="add" label="创建报价单" @click="createQuotation" /> -->
</div> </div>
</template> </template>
<template v-slot:body="props"> <template v-slot:body="props">
<q-tr :props="props"> <q-tr :props="props">
<q-td auto-width> <q-td auto-width>
...@@ -305,10 +304,9 @@ ...@@ -305,10 +304,9 @@
} from "../../api/course/index"; } from "../../api/course/index";
import quotationForm from '../../components/sale/quotation-form' import quotationForm from '../../components/sale/quotation-form'
import { mapState } from "vuex"; import { mapState } from "vuex";
export default { export default {
meta: { meta: {
title: "课程预览" title: "课程报价表"
}, },
components: { components: {
quotationForm quotationForm
...@@ -383,7 +381,6 @@ ...@@ -383,7 +381,6 @@
field: row => row.PreferentialList field: row => row.PreferentialList
}, },
// 12月15号新增参数 // 12月15号新增参数
{ {
name: "B2CRatio", name: "B2CRatio",
label: "直客优惠比例", label: "直客优惠比例",
...@@ -583,5 +580,4 @@ ...@@ -583,5 +580,4 @@
</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
...@@ -72,8 +72,8 @@ ...@@ -72,8 +72,8 @@
</div> </div>
<template v-if="morequery"> <template v-if="morequery">
<div class="col-3"> <div class="col-3">
<q-select @input="resetSearch" dense filled v-model="msg.StuStage" :options="customState" option-label="Name" <q-select @input="resetSearch" dense filled v-model="msg.StuStage" :options="customState"
option-value="Id" emit-value map-options label="客户状态" clearable /> option-label="Name" option-value="Id" emit-value map-options label="客户状态" clearable />
</div> </div>
<div class="col-3"> <div class="col-3">
<q-select @input="resetSearch" dense filled option-value="Id" option-label="EmployeeName" <q-select @input="resetSearch" dense filled option-value="Id" option-label="EmployeeName"
...@@ -186,7 +186,7 @@ ...@@ -186,7 +186,7 @@
export default { export default {
meta: { meta: {
title: "客咨询" title: "客咨询"
}, },
props: {}, props: {},
components: { components: {
......
...@@ -328,7 +328,7 @@ ...@@ -328,7 +328,7 @@
export default { export default {
meta: { meta: {
title: "日语培训" title: "语培产品"
}, },
components: { components: {
editorderForm editorderForm
......
...@@ -132,7 +132,7 @@ ...@@ -132,7 +132,7 @@
import orderlist from '../../components/sale/orderlist' import orderlist from '../../components/sale/orderlist'
export default { export default {
meta: { meta: {
title: "我的订单" title: "我的语培订单"
}, },
components: { components: {
myOrderForm, myOrderForm,
......
...@@ -121,7 +121,7 @@ ...@@ -121,7 +121,7 @@
} from "vuex"; } from "vuex";
export default { export default {
meta: { meta: {
title: "客户管理" title: "我的学员"
}, },
components: { components: {
stulist stulist
......
...@@ -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,17 +32,16 @@ ...@@ -32,17 +32,16 @@
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>
<script> <script>
import { import {
GetReserveClassPage GetReserveClassPage
...@@ -51,12 +50,10 @@ ...@@ -51,12 +50,10 @@
getTeacherDropDownList, getTeacherDropDownList,
queryClassRoomList queryClassRoomList
} from "../../api/school/index"; } from "../../api/school/index";
import reservelist from '../../components/schedul/reservelist' import reservelist from '../../components/schedul/reservelist'
export default { export default {
meta: { meta: {
title: "试听管理" title: "试听班级管理"
}, },
components: { components: {
reservelist reservelist
...@@ -71,16 +68,15 @@ ...@@ -71,16 +68,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:true isShowEdit: true
} }
} }
}, },
...@@ -107,9 +103,9 @@ ...@@ -107,9 +103,9 @@
}, },
//获取课程系列分页列表 //获取课程系列分页列表
getList() { getList() {
this.loading=true; this.loading = true;
GetReserveClassPage(this.msg).then(res => { GetReserveClassPage(this.msg).then(res => {
this.loading=false; 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;
......
...@@ -108,7 +108,7 @@ ...@@ -108,7 +108,7 @@
import orderlist from '../../components/sale/orderlist' import orderlist from '../../components/sale/orderlist'
export default { export default {
meta: { meta: {
title: "我的订单" title: "我的留学就业订单"
}, },
components: { components: {
myOrderForm, myOrderForm,
......
...@@ -198,7 +198,7 @@ ...@@ -198,7 +198,7 @@
export default { export default {
meta: { meta: {
title: "留学产品审核" title: "留学就业产品"
}, },
components: { components: {
quotationstudyForm, quotationstudyForm,
......
...@@ -41,11 +41,13 @@ ...@@ -41,11 +41,13 @@
</el-select> </el-select>
</div> </div>
<div class="col-2 yuyuezhuangtai" style="width: 10%" v-if="msg.ClassType==3"> <div class="col-2 yuyuezhuangtai" style="width: 10%" v-if="msg.ClassType==3">
<el-select v-model="msg.AppointState" style="width: 100%;" placeholder="预约状态" size="small" @change="getTypeWay()"> <el-select v-model="msg.AppointState" style="width: 100%;" placeholder="预约状态" size="small"
@change="getTypeWay()">
<el-option :key="0" label="不限" :value="0"> </el-option> <el-option :key="0" label="不限" :value="0"> </el-option>
<el-option :key="0" label="待确认" :value="1"> </el-option> <el-option :key="0" label="待确认" :value="1"> </el-option>
<el-option :key="1" label="已确认" :value="2"> </el-option> <el-option :key="1" label="已确认" :value="2"> </el-option>
<div slot="prefix" class="full-height flex items-center" style="color: #000;margin-right:61px; white-space:nowrap;"> <div slot="prefix" class="full-height flex items-center"
style="color: #000;margin-right:61px; white-space:nowrap;">
预约状态: 预约状态:
</div> </div>
</el-select> </el-select>
...@@ -82,7 +84,7 @@ ...@@ -82,7 +84,7 @@
export default { export default {
meta: { meta: {
title: "教师课表", title: "上课计划",
}, },
components: { components: {
classmateForm, classmateForm,
...@@ -106,7 +108,7 @@ ...@@ -106,7 +108,7 @@
TeacherId: 0, TeacherId: 0,
ClassRoomId: 0, ClassRoomId: 0,
ClassType: 0, ClassType: 0,
AppointState:0, AppointState: 0,
}, },
commonType: 1, //1日历模式 2列表模式 commonType: 1, //1日历模式 2列表模式
typeName: "列表模式", typeName: "列表模式",
...@@ -142,7 +144,7 @@ ...@@ -142,7 +144,7 @@
} }
}, },
}, },
loading:false, loading: false,
}; };
}, },
created() { created() {
...@@ -231,9 +233,9 @@ ...@@ -231,9 +233,9 @@
this.tabMsg.EndTime = this.msg.EndTime; this.tabMsg.EndTime = this.msg.EndTime;
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.loading=true; this.loading = true;
GetClassPlanStatisticalPage(this.tabMsg).then((res) => { GetClassPlanStatisticalPage(this.tabMsg).then((res) => {
this.loading=false; 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;
...@@ -258,6 +260,7 @@ ...@@ -258,6 +260,7 @@
.xg .el-input--prefix .el-input__inner { .xg .el-input--prefix .el-input__inner {
padding-left: 50px; padding-left: 50px;
} }
.yuyuezhuangtai .el-input--prefix .el-input__inner { .yuyuezhuangtai .el-input--prefix .el-input__inner {
padding-left: 60px; padding-left: 60px;
} }
......
...@@ -64,7 +64,7 @@ ...@@ -64,7 +64,7 @@
import changeClassForm from "../../components/teacher/changeClassForm.vue"; import changeClassForm from "../../components/teacher/changeClassForm.vue";
export default { export default {
meta: { meta: {
title: "我的课表", title: "上课记录",
}, },
components: { components: {
classmateForm, classmateForm,
......
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
border: none; border: none;
background-color: transparent; background-color: transparent;
} }
.studentManage .el-input__inner { .studentManage .el-input__inner {
width: 100%; width: 100%;
border: none; border: none;
...@@ -36,10 +37,9 @@ ...@@ -36,10 +37,9 @@
option-label="ClassName" v-model="msg.ClassId" :options="ClassList" emit-value map-options label="班级" option-label="ClassName" v-model="msg.ClassId" :options="ClassList" emit-value map-options label="班级"
use-input @filter="filterClass" /> use-input @filter="filterClass" />
</div> </div>
<div class="col-3 Sysuser_Date"> <div class="col-3 Sysuser_Date">
<q-field filled> <q-field filled>
 <template v-slot:control> <template v-slot:control>
<el-date-picker v-model="msg.StartDate" type="date" placeholder="开始日期" value-format="yyyy-MM-dd" <el-date-picker v-model="msg.StartDate" type="date" placeholder="开始日期" value-format="yyyy-MM-dd"
:picker-options="option" :clearable='false' @change="resetSearch"> :picker-options="option" :clearable='false' @change="resetSearch">
</el-date-picker>     </el-date-picker>    
...@@ -60,8 +60,8 @@ ...@@ -60,8 +60,8 @@
<q-table :pagination="msg" :loading="loading" no-data-label="暂无相关数据" flat <q-table :pagination="msg" :loading="loading" no-data-label="暂无相关数据" flat
class="sticky-tow-column-table sticky-right-column-table" separator="none" :data="data" :columns="columns" class="sticky-tow-column-table sticky-right-column-table" separator="none" :data="data" :columns="columns"
row-key="name"> 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">
<q-btn color="accent" size="sm" class="q-mr-md" label="导出" @click="getexport()" /> <q-btn color="accent" size="sm" class="q-mr-md" label="导出" @click="getexport()" />
...@@ -69,7 +69,7 @@ ...@@ -69,7 +69,7 @@
</template> </template>
<template v-slot:body-cell-GuestName="props"> <template v-slot:body-cell-GuestName="props">
<q-td :props="props" style="padding-right:0px"> <q-td :props="props" style="padding-right:0px">
<div v-for="x in props.row.GuestList"> <div v-for="(x,index) in props.row.GuestList" :key="index">
<div class="border-bottom"> <div class="border-bottom">
{{ x.GuestName }} {{ x.GuestName }}
</div> </div>
...@@ -81,7 +81,7 @@ ...@@ -81,7 +81,7 @@
</template> </template>
<template v-slot:body-cell-CurrentDeductionHours="props"> <template v-slot:body-cell-CurrentDeductionHours="props">
<q-td :props="props"> <q-td :props="props">
<div v-for="x in props.row.GuestList"> <div v-for="(x,index) in props.row.GuestList" :key="index">
<div class="border-bottom"> <div class="border-bottom">
{{ x.CurrentDeductionHours }} {{ x.CurrentDeductionHours }}
</div> </div>
...@@ -93,7 +93,7 @@ ...@@ -93,7 +93,7 @@
</template> </template>
<template v-slot:body-cell-CheckStatus="props"> <template v-slot:body-cell-CheckStatus="props">
<q-td :props="props"> <q-td :props="props">
<div v-for="x in props.row.GuestList"> <div v-for="(x,index) in props.row.GuestList" :key="index">
<div class="border-bottom"> <div class="border-bottom">
<span v-if="x.CheckStatus == 0">正常</span> <span v-if="x.CheckStatus == 0">正常</span>
<span v-if="x.CheckStatus == 1">缺席</span> <span v-if="x.CheckStatus == 1">缺席</span>
...@@ -111,7 +111,7 @@ ...@@ -111,7 +111,7 @@
</template> </template>
<template v-slot:body-cell-optioned="props"> <template v-slot:body-cell-optioned="props">
<q-td :props="props"> <q-td :props="props">
<div v-for="x in props.row.GuestList"> <div v-for="(x,index) in props.row.GuestList" :key="index">
<div class="border-bottom"> <div class="border-bottom">
<q-btn flat size="xs" icon="edit" color="accent" style="font-weight:400" label="编辑" <q-btn flat size="xs" icon="edit" color="accent" style="font-weight:400" label="编辑"
@click="EditCourse(x,props.row)" /> @click="EditCourse(x,props.row)" />
...@@ -143,7 +143,6 @@ ...@@ -143,7 +143,6 @@
</template> </template>
<script> <script>
import { import {
addClassCheck addClassCheck
} from '../../api/course/class'; } from '../../api/course/class';
import { import {
...@@ -167,15 +166,14 @@ ...@@ -167,15 +166,14 @@
} from '../../api/common/common'; } from '../../api/common/common';
export default { export default {
meta: { meta: {
title: "学员管理" title: "学员出勤管理"
}, },
components: { components: {
selectTree, selectTree,
}, },
data() { data() {
return { return {
columns: [ columns: [{
{
name: "ClassName", name: "ClassName",
required: true, required: true,
label: "班级", label: "班级",
...@@ -456,7 +454,6 @@ ...@@ -456,7 +454,6 @@
}, },
} }
}; };
</script> </script>
<style scoped> <style scoped>
.border-bottom { .border-bottom {
...@@ -464,9 +461,7 @@ ...@@ -464,9 +461,7 @@
padding-bottom: 5px; padding-bottom: 5px;
margin-bottom: 5px; margin-bottom: 5px;
} }
</style> </style>
<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
...@@ -12,8 +12,8 @@ ...@@ -12,8 +12,8 @@
<q-table :pagination="msg" :loading="loading" no-data-label="暂无相关数据" flat <q-table :pagination="msg" :loading="loading" no-data-label="暂无相关数据" flat
class="sticky-column-table sticky-right-column-table" separator="none" :data="dataList" :columns="columns" class="sticky-column-table sticky-right-column-table" separator="none" :data="dataList" :columns="columns"
row-key="name"> 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">
<q-btn color="accent" size="sm" class="q-mr-md" icon="add" label="添加客户" @click="editVisitor(null)" /> <q-btn color="accent" size="sm" class="q-mr-md" icon="add" label="添加客户" @click="editVisitor(null)" />
...@@ -121,7 +121,7 @@ ...@@ -121,7 +121,7 @@
import appointForm from '../../components/schedul/appoint-form' import appointForm from '../../components/schedul/appoint-form'
export default { export default {
meta: { meta: {
title: "客户名单" title: "访客管理"
}, },
components: { components: {
schedulFanke, schedulFanke,
...@@ -147,12 +147,6 @@ ...@@ -147,12 +147,6 @@
field: 'Name', field: 'Name',
align: 'left' align: 'left'
}, },
// {
// name: 'Age',
// field: 'Age',
// label: '年龄',
// align: 'left',
// },
{ {
name: 'Tel', name: 'Tel',
field: 'Tel', field: 'Tel',
...@@ -289,14 +283,14 @@ ...@@ -289,14 +283,14 @@
//关闭访客弹窗 //关闭访客弹窗
closeVisitorForm() { closeVisitorForm() {
this.isShowVisitor = false; this.isShowVisitor = false;
this.isShowVisitorCreate=false; this.isShowVisitorCreate = false;
this.isShowDetail = false; this.isShowDetail = false;
}, },
//刷新页面 //刷新页面
refreshPage() { refreshPage() {
this.isShowVisitor = false; this.isShowVisitor = false;
this.isShowDetail = false; this.isShowDetail = false;
this.isShowVisitorCreate=false; this.isShowVisitorCreate = false;
this.getList(); this.getList();
}, },
//打开约课 //打开约课
...@@ -309,7 +303,6 @@ ...@@ -309,7 +303,6 @@
} }
} }
} }
</script> </script>
<style scoped> <style scoped>
.border-bottom { .border-bottom {
...@@ -317,9 +310,7 @@ ...@@ -317,9 +310,7 @@
padding-bottom: 5px; padding-bottom: 5px;
margin-bottom: 5px; margin-bottom: 5px;
} }
</style> </style>
<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
...@@ -54,7 +54,7 @@ ...@@ -54,7 +54,7 @@
import typeForm from '../../../components/system/type-form' import typeForm from '../../../components/system/type-form'
export default { export default {
meta: { meta: {
title: "客户阶段管理" title: "留学产品分类"
}, },
components: { components: {
typeForm typeForm
......
...@@ -3,8 +3,8 @@ ...@@ -3,8 +3,8 @@
<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 @input="resetSearch" clearable filled v-model="msg.Name" label="项目名称" <q-input @input="resetSearch" clearable filled v-model="msg.Name" label="项目名称" @clear="resetSearch"
@clear="resetSearch" maxlength="20" /> maxlength="20" />
</div> </div>
<div class="col-3"> <div class="col-3">
<q-select class="q-pb-lg q-pr-lg" filled stack-label clearable option-value="Id" option-label="Name" <q-select class="q-pb-lg q-pr-lg" filled stack-label clearable option-value="Id" option-label="Name"
...@@ -41,10 +41,6 @@ ...@@ -41,10 +41,6 @@
<q-btn size="sm" color="accent" round dense @click="props.row.expand = !props.row.expand" <q-btn size="sm" color="accent" round dense @click="props.row.expand = !props.row.expand"
:icon="props.row.expand ? 'remove' : 'add'" /> :icon="props.row.expand ? 'remove' : 'add'" />
</q-td> </q-td>
<!-- <q-td key="ProductTypeName" :props="props" style="width:100px;">
{{props.row.ProductTypeName}}
</q-td> -->
<q-td key="Name" :props="props" style="width:100px;"> <q-td key="Name" :props="props" style="width:100px;">
{{props.row.Name}} {{props.row.Name}}
</q-td> </q-td>
...@@ -66,9 +62,6 @@ ...@@ -66,9 +62,6 @@
</a> </a>
</div> </div>
</q-td> </q-td>
<!-- <q-td key="StudyCountryName" :props="props">
{{props.row.StudyCountryName}}
</q-td> -->
<q-td key="SchoolName" :props="props"> <q-td key="SchoolName" :props="props">
{{props.row.SchoolName}} {{props.row.SchoolName}}
</q-td> </q-td>
...@@ -290,7 +283,6 @@ ...@@ -290,7 +283,6 @@
queryCountryList queryCountryList
} from '../../api/common/common' } from '../../api/common/common'
import studyAbroadForm from '../../components/studyAbroad/studyAbroad-form' import studyAbroadForm from '../../components/studyAbroad/studyAbroad-form'
// import studyAbroadpriceForm from '../../components/studyAbroad/studyAbroadprice-form'
import studyAbroadpriceForm from '../../components/studyAbroad/newstudyAbroadprice-form' import studyAbroadpriceForm from '../../components/studyAbroad/newstudyAbroadprice-form'
import studyproauditinfoForm from '../../components/studyAbroad/studyproauditinfo-form' import studyproauditinfoForm from '../../components/studyAbroad/studyproauditinfo-form'
import { import {
...@@ -298,7 +290,7 @@ ...@@ -298,7 +290,7 @@
} from "vuex"; } from "vuex";
export default { export default {
meta: { meta: {
title: "就业管理" title: "就业产品"
}, },
components: { components: {
studyAbroadForm, studyAbroadForm,
...@@ -326,12 +318,6 @@ ...@@ -326,12 +318,6 @@
field: 'Remark', field: 'Remark',
align: 'left' align: 'left'
}, },
// {
// name: 'ProductTypeName',
// label: '类型',
// field: 'ProductTypeName',
// align: 'left'
// },
{ {
name: 'Name', name: 'Name',
label: '项目名称', label: '项目名称',
......
...@@ -9,6 +9,9 @@ ...@@ -9,6 +9,9 @@
<script> <script>
import type from "../studyAbroad/common/type"; import type from "../studyAbroad/common/type";
export default { export default {
meta: {
title: "留学产品分类"
},
components: { components: {
type type
}, },
......
<template> <template>
<div class="page-body"> <div class="page-body">
<div class="page-content"> <div class="page-content">
<q-table :pagination="msg" :loading="loading" no-data-label="暂无相关数据" flat <q-table :pagination="msg" :loading="loading" no-data-label="暂无相关数据" flat class="sticky-column-table"
class="sticky-column-table" separator="none" :data="dataList" :columns="columns" separator="none" :data="dataList" :columns="columns" row-key="name">
row-key="name"> <template v-slot:top>
<template v-slot:top="props">
<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">
...@@ -31,7 +30,6 @@ ...@@ -31,7 +30,6 @@
</customneed-form> </customneed-form>
</div> </div>
</template> </template>
<script> <script>
import { import {
GetNeedsPage, GetNeedsPage,
...@@ -40,7 +38,7 @@ ...@@ -40,7 +38,7 @@
import customneedForm from '../../components/system/customneed-form' import customneedForm from '../../components/system/customneed-form'
export default { export default {
meta: { meta: {
title: "客户需求" title: "客户需求管理"
}, },
components: { components: {
customneedForm customneedForm
...@@ -52,35 +50,34 @@ ...@@ -52,35 +50,34 @@
label: 'Id', label: 'Id',
field: row => row.Id, field: row => row.Id,
align: 'left' align: 'left'
},{ }, {
name: 'Name', name: 'Name',
label: '需求', label: '需求',
field: 'Name', field: 'Name',
align: 'left' align: 'left'
},{ }, {
name: 'CreateByName', name: 'CreateByName',
label: '创建人', label: '创建人',
align: 'left', align: 'left',
field: 'CreateByName' field: 'CreateByName'
},{ }, {
name: 'CreateTime', name: 'CreateTime',
label: '创建时间', label: '创建时间',
align: 'left', align: 'left',
field: 'CreateTime' field: 'CreateTime'
},{ }, {
name: 'Group_Id', name: 'Group_Id',
label: '操作', label: '操作',
field: 'Group_Id' field: 'Group_Id'
} }],
], msg: {
msg:{ pageIndex: 1,
pageIndex:1, pageSize: 12,
pageSize:12, Name: "",
Name:"",
rowsPerPage: 12 rowsPerPage: 12
}, },
dataList: [], dataList: [],
pageCount:0, pageCount: 0,
loading: true, loading: true,
isShowNeedForm: false, isShowNeedForm: false,
customObj: {} customObj: {}
...@@ -127,7 +124,7 @@ ...@@ -127,7 +124,7 @@
this.loading = true; this.loading = true;
GetNeedsPage(this.msg).then(res => { GetNeedsPage(this.msg).then(res => {
this.loading = false; 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;
} }
...@@ -136,10 +133,10 @@ ...@@ -136,10 +133,10 @@
closestageForm() { closestageForm() {
this.isShowNeedForm = false this.isShowNeedForm = false
}, },
refreshPage(){ refreshPage() {
this.getList(); this.getList();
}, },
addObj(obj){ addObj(obj) {
if (obj) { if (obj) {
this.customObj = obj this.customObj = obj
} else { } else {
...@@ -149,10 +146,7 @@ ...@@ -149,10 +146,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
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<q-table :pagination="msg" :loading="loading" no-data-label="暂无相关数据" flat <q-table :pagination="msg" :loading="loading" no-data-label="暂无相关数据" flat
class="sticky-column-table no-bottom-table" separator="none" :data="dataList" :columns="columns" class="sticky-column-table no-bottom-table" separator="none" :data="dataList" :columns="columns"
row-key="name"> 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">
...@@ -27,7 +27,6 @@ ...@@ -27,7 +27,6 @@
</stage-form> </stage-form>
</div> </div>
</template> </template>
<script> <script>
import { import {
GetStageList, GetStageList,
......
...@@ -8,23 +8,12 @@ ...@@ -8,23 +8,12 @@
</div> </div>
<div class="q-mb-md row"> <div class="q-mb-md row">
<div class="col"> <div class="col">
<q-btn <q-btn outline color="primary" class="q-px-lg" @click="outerVisible = true">选择部门/成员</q-btn>
outline
color="primary"
class="q-px-lg"
@click="outerVisible = true"
>选择部门/成员</q-btn
>
</div> </div>
<div class="col">已选择:{{ chosenUser.length }}</div> <div class="col">已选择:{{ chosenUser.length }}</div>
</div> </div>
<div class="q-mb-xl"> <div class="q-mb-xl">
<q-badge <q-badge color="primary" class="q-mr-md" v-for="(x, i) in chosenUser" :key="i">
color="primary"
class="q-mr-md"
v-for="(x, i) in chosenUser"
:key="i"
>
{{ x.DeptName }} {{ x.DeptName }}
</q-badge> </q-badge>
</div> </div>
...@@ -36,31 +25,28 @@ ...@@ -36,31 +25,28 @@
<q-radio v-model="ruleType" val="1" label="随机分配" /> <q-radio v-model="ruleType" val="1" label="随机分配" />
</div> </div>
</div> </div>
<q-btn <q-btn class="q-mt-xl q-px-lg" unelevated color="primary" :loading="saving" @click="saveHandler">立即保存</q-btn>
class="q-mt-xl q-px-lg"
unelevated
color="primary"
:loading="saving"
@click="saveHandler"
>立即保存</q-btn
>
</q-card> </q-card>
<choiceapproval <choiceapproval v-if="outerVisible" @close="getclose()" @success="getsuccess2" :byval="chosenUser" cptype="0">
v-if="outerVisible" </choiceapproval>
@close="getclose()"
@success="getsuccess2"
:byval="chosenUser"
cptype="0"
></choiceapproval>
</div> </div>
</template> </template>
<script> <script>
import choiceapproval from "../../components/enterprise/choiceapproval"; import choiceapproval from "../../components/enterprise/choiceapproval";
import { getDictValueList } from "../../api/administration/administration"; import {
import { saveDict } from "../../api/system/notiveSysSet"; getDictValueList
export default { } from "../../api/administration/administration";
components: { choiceapproval }, import {
saveDict
} from "../../api/system/notiveSysSet";
export default {
meta: {
title: "语培客户分配规则"
},
components: {
choiceapproval
},
data() { data() {
return { return {
chosenUser: [], chosenUser: [],
...@@ -86,7 +72,9 @@ export default { ...@@ -86,7 +72,9 @@ export default {
this.outerVisible = false; this.outerVisible = false;
}, },
init() { init() {
getDictValueList({ Key: "PUSH_STU_UNION_EMP" }).then(res => { getDictValueList({
Key: "PUSH_STU_UNION_EMP"
}).then(res => {
if (res.Code == 1) { if (res.Code == 1) {
this.dictObjEmp = res.Data[0]; this.dictObjEmp = res.Data[0];
if (res.Data[0].Content != "" && res.Data[0].Content != null) { if (res.Data[0].Content != "" && res.Data[0].Content != null) {
...@@ -100,7 +88,9 @@ export default { ...@@ -100,7 +88,9 @@ export default {
this.chosenUser.push(temp); this.chosenUser.push(temp);
}); });
} }
getDictValueList({ Key: "PUSH_STU_RULETYPE" }).then(r => { getDictValueList({
Key: "PUSH_STU_RULETYPE"
}).then(r => {
this.dictObjRule = r.Data[0]; this.dictObjRule = r.Data[0];
if (r.Code == 1) { if (r.Code == 1) {
if (r.Data[0].Content != "" && res.Data[0].Content != null) { if (r.Data[0].Content != "" && res.Data[0].Content != null) {
...@@ -156,7 +146,7 @@ export default { ...@@ -156,7 +146,7 @@ export default {
} }
} }
} }
}; };
</script> </script>
<style></style> <style></style>
\ No newline at end of file
...@@ -35,7 +35,6 @@ ...@@ -35,7 +35,6 @@
</flow-form> </flow-form>
</div> </div>
</template> </template>
<script> <script>
import { import {
GetStudentAdvisorConfigPage, GetStudentAdvisorConfigPage,
...@@ -44,7 +43,7 @@ ...@@ -44,7 +43,7 @@
import flowForm from '../../components/system/flow-form' import flowForm from '../../components/system/flow-form'
export default { export default {
meta: { meta: {
title: "客户阶段管理" title: "跟进状态管理"
}, },
components: { components: {
flowForm flowForm
...@@ -83,7 +82,8 @@ ...@@ -83,7 +82,8 @@
name: 'Id', name: 'Id',
label: '操作', label: '操作',
field: 'Id' field: 'Id'
}], }
],
dataList: [], dataList: [],
loading: true, loading: true,
isShowFlowForm: false, isShowFlowForm: false,
......
<template> <template>
<div class="page-body"> <div class="page-body">
<q-tabs <q-tabs v-model="tabCheck" narrow-indicator dense align="left" class="text-primary q-mb-sm">
v-model="tabCheck"
narrow-indicator
dense
align="left"
class="text-primary q-mb-sm"
>
<q-tab :ripple="false" :name="1" label="客户阶段" /> <q-tab :ripple="false" :name="1" label="客户阶段" />
<q-tab :ripple="false" :name="2" label="客户类型" /> <q-tab :ripple="false" :name="2" label="客户类型" />
<q-tab :ripple="false" :name="3" label="学习目的" /> <q-tab :ripple="false" :name="3" label="学习目的" />
...@@ -29,16 +23,19 @@ ...@@ -29,16 +23,19 @@
</div> </div>
</template> </template>
<script> <script>
import stage from "./stage"; import stage from "./stage";
import cusType from "./customType"; import cusType from "./customType";
import aim from "./studyAim"; import aim from "./studyAim";
import channel from "./stuReceiveChannel"; import channel from "./stuReceiveChannel";
import customneed from "./customneed"; import customneed from "./customneed";
import stuDistributionRule from "./stuDistributionRule"; import stuDistributionRule from "./stuDistributionRule";
import stuTarget from "./stuTarget"; import stuTarget from "./stuTarget";
import stuFlow from "./stuFlow"; import stuFlow from "./stuFlow";
import stuAbroad from "./stuAbroad"; import stuAbroad from "./stuAbroad";
export default { export default {
meta: {
title: "留学客户分配规则"
},
components: { components: {
stage, stage,
cusType, cusType,
...@@ -55,5 +52,5 @@ export default { ...@@ -55,5 +52,5 @@ export default {
tabCheck: 1 tabCheck: 1
}; };
} }
}; };
</script> </script>
\ No newline at end of file
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
</div> </div>
<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="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">
...@@ -14,7 +14,8 @@ ...@@ -14,7 +14,8 @@
</template> </template>
<template v-slot:body-cell-StaticTypeList="props"> <template v-slot:body-cell-StaticTypeList="props">
<q-td :props="props"> <q-td :props="props">
<q-chip v-for="(item,index) in props.row.StaticTypeList" color="primary" text-color="white" size="sm" :key="index"> <q-chip v-for="(item,index) in props.row.StaticTypeList" color="primary" text-color="white" size="sm"
:key="index">
<span v-if="item==1">普通员工统计</span> <span v-if="item==1">普通员工统计</span>
<span v-if="item==2">主管统计</span> <span v-if="item==2">主管统计</span>
</q-chip> </q-chip>
...@@ -46,6 +47,9 @@ ...@@ -46,6 +47,9 @@
} from "../../api/system/index"; } from "../../api/system/index";
import stuReceiveChannelForm from "../../components/system/stuReceiveChannel-form"; import stuReceiveChannelForm from "../../components/system/stuReceiveChannel-form";
export default { export default {
meta: {
title: "收客渠道管理"
},
components: { components: {
stuReceiveChannelForm stuReceiveChannelForm
}, },
...@@ -156,5 +160,4 @@ ...@@ -156,5 +160,4 @@
this.getList(); this.getList();
} }
}; };
</script> </script>
\ No newline at end of file
<template> <template>
<div> <div>
<div class="row q-my-sm"> <div class="row q-my-sm">
<q-input filled v-model="msg.Name" dense label="学习目的" class="col-3" @input="refreshPage"/> <q-input filled v-model="msg.Name" dense label="学习目的" class="col-3" @input="refreshPage" />
</div> </div>
<q-table <q-table :pagination="msg" :loading="loading" no-data-label="暂无相关数据" flat class="sticky-column-table"
:pagination="msg" separator="none" :data="dataList" :columns="columns" row-key="name">
:loading="loading" <template v-slot:top>
no-data-label="暂无相关数据"
flat
class="sticky-column-table"
separator="none"
:data="dataList"
:columns="columns"
row-key="name"
>
<template v-slot:top="props">
<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">
<q-btn <q-btn color="accent" size="sm" class="q-mr-md" icon="add" label="新增" @click="showForm(null)" />
color="accent"
size="sm"
class="q-mr-md"
icon="add"
label="新增"
@click="showForm(null)"
/>
</div> </div>
</template> </template>
<template v-slot:body-cell-Group_Id="props"> <template v-slot:body-cell-Group_Id="props">
<q-td :props="props"> <q-td :props="props">
<div> <div>
<q-btn <q-btn flat size="xs" icon="edit" color="accent" style="font-weight:400" label="编辑"
flat @click="showForm(props.row)" />
size="xs" <q-btn flat size="xs" icon="delete" color="negative" class="q-mr-xs" label="删除"
icon="edit" @click="del(props.row.Id)" />
color="accent"
style="font-weight:400"
label="编辑"
@click="showForm(props.row)"
/>
<q-btn
flat
size="xs"
icon="delete"
color="negative"
class="q-mr-xs"
label="删除"
@click="del(props.row.Id)"
/>
</div> </div>
</q-td> </q-td>
</template> </template>
<template v-slot:bottom> <template v-slot:bottom>
<q-pagination <q-pagination class="full-width justify-end" v-model="msg.pageIndex" :max="pageCount" input color="primary"
class="full-width justify-end" @input="changePage" />
v-model="msg.pageIndex"
:max="pageCount"
input
color="primary"
@input="changePage"
/>
</template> </template>
</q-table> </q-table>
<studyAimForm <studyAimForm v-if="showStudyAimForm" @success="refreshPage" @close="closeForm" :row="row"></studyAimForm>
v-if="showStudyAimForm"
@success="refreshPage"
@close="closeForm"
:row="row"
></studyAimForm>
</div> </div>
</template> </template>
<script> <script>
import { import {
GetLearningGoalsPage, GetLearningGoalsPage,
RemoveLearningGoals RemoveLearningGoals
} from "../../api/system/index"; } from "../../api/system/index";
import studyAimForm from "../../components/system/studyAim-form"; import studyAimForm from "../../components/system/studyAim-form";
export default { export default {
meta: {
title: "学习目的管理"
},
components: { components: {
studyAimForm studyAimForm
}, },
data() { data() {
return { return {
showStudyAimForm: false, showStudyAimForm: false,
columns: [ columns: [{
{
name: "Id", name: "Id",
label: "Id", label: "Id",
field: "Id", field: "Id",
...@@ -183,5 +144,5 @@ export default { ...@@ -183,5 +144,5 @@ export default {
created() { created() {
this.getList(); this.getList();
} }
}; };
</script> </script>
\ No newline at end of file
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