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