Commit 02ba8713 authored by 罗超's avatar 罗超

1

parent d4f8e508
......@@ -234,18 +234,30 @@ export function getCustomerCommissionPassbook(data) {
*/
export function setCustomerCareOf(data) {
return request({
url: 'B2BCustomer/SetCustomerCareOf',
url: '/B2BCustomer/SetCustomerCareOf',
method: 'post',
data
})
}
/**
* 我的客户批量转
* 我的客户批量转订单
*
*/
export function setMyStudentToGuest(data) {
return request({
url: 'order/SetMyStudentToGuest',
url: '/order/SetMyStudentToGuest',
method: 'post',
data
})
}
/**
* 获取所有同行
*
*/
export function getAllCustomer(data) {
return request({
url: '/b2bcustomer/GetAllCustomerPageList',
method: 'post',
data
})
......
......@@ -200,7 +200,6 @@ export default {
EndTime: "", //结束时间
CustomerId: 0,
BelongType: 2, //归属类型
QCustomerType :0,
},
dateArray: [], //日期数组
pageCount: 0,
......@@ -319,7 +318,7 @@ export default {
if (this.$route.query && this.$route.query.CustomerId) {
this.msg.CustomerId = this.$route.query.CustomerId;
}else{
this.msg.QCustomerType=1
this.msg.QStudentType=1
}
this.getSchool();
this.getStuStageList();
......
......@@ -96,7 +96,7 @@
</div>
</template>
<script>
import { GetCustomerPage, RemoveCustomer } from "../../api/sale/peemanagement";
import { getAllCustomer } from "../../api/sale/peemanagement";
import b2bcustomlist from "../../components/sale/b2bcustomlist";
export default {
meta: {
......@@ -114,7 +114,7 @@ export default {
rowsPerPage: 12,
CustomerName: "", //客户名称
ContactNumber: "", //联系电话
ApproveState: "", //审核状态
ApproveState: 0, //审核状态
QCustomerState: "" //账号状态
},
loading: false,
......@@ -133,6 +133,10 @@ export default {
tabCheck: 1,
//审核状态列表
ApproveStateList: [
{
label: "不限",
value: "0"
},
{
label: "通过",
value: "1"
......@@ -171,7 +175,7 @@ export default {
//获取分页数据
getList() {
this.msg.QCustomerState = this.tabCheck;
GetCustomerPage(this.msg)
getAllCustomer(this.msg)
.then(res => {
this.dataList = res.Data.PageData;
this.loading = false;
......
......@@ -87,7 +87,7 @@
size="sm"
v-if="isShowBtn"
icon="add"
label="批量录入"
label="我的学员导入"
@click="showBetchTransfer = true"
class="q-mr-md"
/>
......
......@@ -887,7 +887,7 @@ const routes = [{
{
path: "/sale/b2bAllCustomer", //销售 同行管理
component: () =>
import("pages/sale/b2bcustomer.vue")
import("pages/sale/b2bAllCustomer.vue")
},
{
path: "/sale/b2bcustomerapprove", //销售 同行审批
......
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