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

1

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