Commit 59839142 by huyue

更换待选列表接口

1 parent 4e735006
...@@ -375,7 +375,8 @@ export function exportSummary(data) { ...@@ -375,7 +375,8 @@ export function exportSummary(data) {
// 所有督导 // 所有督导
export function getAllStaff(data) { export function getAllStaff(data) {
data.method = 'dj.api.smartcarlife.staff.specificBusinessRolePerson.areaSupervision.pageConfigured' // data.method = 'dj.api.smartcarlife.staff.specificBusinessRolePerson.areaSupervision.pageConfigured'
data.method = 'dj.api.smartcarlife.staff.specificBusinessRolePerson.areaSupervision.listConfigured'
return request(data, 'post') return request(data, 'post')
} }
......
...@@ -235,7 +235,7 @@ export default { ...@@ -235,7 +235,7 @@ export default {
this.actionSetDownloadList({ list, type: 'dowloadList' }) this.actionSetDownloadList({ list, type: 'dowloadList' })
}, },
async getStaff() { async getStaff() {
const allStaff = (await getAllStaff({currentPage: 1, pageSize: 9999})).list const allStaff = (await getAllStaff({}))
console.log(allStaff); console.log(allStaff);
allStaff.forEach((item, index) => { allStaff.forEach((item, index) => {
item.key = index item.key = index
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!