Commit b9b733f4 authored by 黄奎's avatar 黄奎
parents be4ea68b 5c52ff9c
......@@ -6,7 +6,7 @@ import request from '../../utils/request'
*/
export function GetCustomerPage(data) {
return request({
url: '/Customer/GetCustomerPage',
url: '/B2BCustomer/GetCustomerPage',
method: 'post',
data
})
......@@ -18,7 +18,7 @@ export function GetCustomerPage(data) {
*/
export function SetCustomer(data) {
return request({
url: '/Customer/SetCustomer',
url: '/B2BCustomer/SetCustomer',
method: 'post',
data
})
......@@ -31,7 +31,7 @@ export function SetCustomer(data) {
*/
export function RemoveCustomer(data) {
return request({
url: '/Customer/RemoveCustomer',
url: '/B2BCustomer/RemoveCustomer',
method: 'post',
data
})
......@@ -43,7 +43,7 @@ export function RemoveCustomer(data) {
*/
export function GetCustomer(data) {
return request({
url: '/Customer/GetCustomer',
url: '/B2BCustomer/GetCustomer',
method: 'post',
data
})
......@@ -55,7 +55,7 @@ export function GetCustomer(data) {
*/
export function AuditCustomer(data) {
return request({
url: '/Customer/AuditCustomer',
url: '/B2BCustomer/AuditCustomer',
method: 'post',
data
})
......
......@@ -157,7 +157,7 @@
},
created() {},
mounted() {
// this.getList();
this.getList();
},
methods: {
//翻页
......@@ -188,6 +188,17 @@
closeRightForm() {
this.isShowRightForm = false;
},
//获取分页数据
getList(){
GetCustomerPage(this.msg).then(res => {
// this.data = res.Data.PageData;
// this.loading = false;
// this.pageCount = res.Data.PageCount;
console.log(res,'数据');
}).catch(() => {
this.loading = false
})
}
}
}
......
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