20 lines
325 B
JavaScript
20 lines
325 B
JavaScript
|
import {
|
||
|
getLandList
|
||
|
} from "@/api/system/land"
|
||
|
const land = {
|
||
|
actions: {
|
||
|
// 获取地块列表
|
||
|
getLandList({}, data) {
|
||
|
return new Promise((resolve, reject) => {
|
||
|
getLandList(data)
|
||
|
.then(res => {
|
||
|
resolve(res)
|
||
|
})
|
||
|
.catch(error => {
|
||
|
reject(error)
|
||
|
})
|
||
|
})
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
export default land
|