Commit ecbf1b2a authored by 罗超's avatar 罗超

1

parent a7d5fc52
...@@ -6,13 +6,18 @@ import request from '../../utils/request' ...@@ -6,13 +6,18 @@ import request from '../../utils/request'
*/ */
export function GetCustomerPage(data) { export function GetCustomerPage(data) {
return request({ return request({
// url: '/B2BCustomer/GetCustomerPage', url: '/B2BCustomer/GetCustomerPage',
method: 'post',
data
})
}
export function GetCustomerPage_v2(data) {
return request({
url: '/B2BCustomer/GetCustomerPageList_V2', url: '/B2BCustomer/GetCustomerPageList_V2',
method: 'post', method: 'post',
data data
}) })
} }
/** /**
* 新增修改同业客户资料 * 新增修改同业客户资料
* *
......
...@@ -510,10 +510,57 @@ export function RemodeStudentType(data) { ...@@ -510,10 +510,57 @@ export function RemodeStudentType(data) {
}); });
} }
/**
* 获取学习目的分页列表
*/
export function GetLearningGoalsPage(data) {
return request({
url: '/CustomerStudent/GetLearningGoalsPage',
method: 'post',
data
});
}
/**
* 获取学习目的下拉列表
*/
export function GetLearningGoalsDropDown(data) {
return request({
url: '/CustomerStudent/GetLearningGoalsList',
method: 'post',
data
});
}
/**
* 新增修改学习目的
*/
export function SetLearningGoals(data) {
return request({
url: '/CustomerStudent/SetLearningGoals',
method: 'post',
data
});
}
/**
* 根据编号获取学习目的详情
*/
export function GetLearningGoals(data) {
return request({
url: '/CustomerStudent/GetLearningGoals',
method: 'post',
data
});
}
/**
* 根据编号删除学习目的
*/
export function RemoveLearningGoals(data) {
return request({
url: '/CustomerStudent/RemoveLearningGoals',
method: 'post',
data
});
}
...@@ -96,7 +96,7 @@ ...@@ -96,7 +96,7 @@
</div> </div>
</template> </template>
<script> <script>
import { GetCustomerPage, RemoveCustomer } from "../../api/sale/peemanagement"; import { GetCustomerPage_v2, RemoveCustomer } from "../../api/sale/peemanagement";
import b2bcustomlist from "../../components/sale/b2bcustomlist"; import b2bcustomlist from "../../components/sale/b2bcustomlist";
export default { export default {
meta: { meta: {
...@@ -169,7 +169,7 @@ export default { ...@@ -169,7 +169,7 @@ export default {
//获取分页数据 //获取分页数据
getList() { getList() {
this.msg.QCustomerState = this.tabCheck; this.msg.QCustomerState = this.tabCheck;
GetCustomerPage(this.msg) GetCustomerPage_v2(this.msg)
.then(res => { .then(res => {
this.dataList = res.Data.PageData; this.dataList = res.Data.PageData;
this.loading = false; 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