接口修改

This commit is contained in:
2024-01-19 08:50:18 +08:00
parent 739c0d234b
commit 965b869d09
2 changed files with 5 additions and 2 deletions

View File

@@ -174,6 +174,9 @@ export const createTask = (scode, ecode) => post('api/pda/createTask', {
* 点位管理
*/
export const getAllPointList = () => post('api/pda/getAllPointList', {})
export const getRegionPointList = (code) => post('api/pda/getRegionPointList', {
region_code: code
})
/**
* 呼叫搬运

View File

@@ -37,7 +37,7 @@
<script>
import NavBar from '@components/NavBar.vue'
import {getPointListByRegion} from '@config/getData2'
import {getRegionPointList} from '@config/getData2'
export default {
name: 'PointManage',
components: {
@@ -54,7 +54,7 @@ export default {
methods: {
async _getAllPointList () {
try {
let res = await getPointListByRegion(this.$route.query.id)
let res = await getRegionPointList(this.$route.query.id)
if (res.code === '1') {
this.dataList = [...res.result]
} else {