接口修改
This commit is contained in:
@@ -174,6 +174,9 @@ export const createTask = (scode, ecode) => post('api/pda/createTask', {
|
|||||||
* 点位管理
|
* 点位管理
|
||||||
*/
|
*/
|
||||||
export const getAllPointList = () => post('api/pda/getAllPointList', {})
|
export const getAllPointList = () => post('api/pda/getAllPointList', {})
|
||||||
|
export const getRegionPointList = (code) => post('api/pda/getRegionPointList', {
|
||||||
|
region_code: code
|
||||||
|
})
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 呼叫搬运
|
* 呼叫搬运
|
||||||
|
|||||||
@@ -37,7 +37,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import NavBar from '@components/NavBar.vue'
|
import NavBar from '@components/NavBar.vue'
|
||||||
import {getPointListByRegion} from '@config/getData2'
|
import {getRegionPointList} from '@config/getData2'
|
||||||
export default {
|
export default {
|
||||||
name: 'PointManage',
|
name: 'PointManage',
|
||||||
components: {
|
components: {
|
||||||
@@ -54,7 +54,7 @@ export default {
|
|||||||
methods: {
|
methods: {
|
||||||
async _getAllPointList () {
|
async _getAllPointList () {
|
||||||
try {
|
try {
|
||||||
let res = await getPointListByRegion(this.$route.query.id)
|
let res = await getRegionPointList(this.$route.query.id)
|
||||||
if (res.code === '1') {
|
if (res.code === '1') {
|
||||||
this.dataList = [...res.result]
|
this.dataList = [...res.result]
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user