隐藏数据

This commit is contained in:
2023-05-12 17:46:51 +08:00
parent 2f63b6ed8c
commit f2835b5fb7
2 changed files with 44 additions and 44 deletions

View File

@@ -1,6 +1,6 @@
<template> <template>
<view class="zd_container"> <view class="zd_container">
<nav-bar title="任务管理"></nav-bar> <nav-bar title="呼叫管理"></nav-bar>
<view class="zd_content"> <view class="zd_content">
<view class="zd_wrapper grid-wraper"> <view class="zd_wrapper grid-wraper">
<view class="locate_block" v-for="e in areaArr" :key="e.region_code"> <view class="locate_block" v-for="e in areaArr" :key="e.region_code">

View File

@@ -37,50 +37,50 @@ export const authority = () => {
* 站点管理 * 站点管理
*/ */
// 1.1查询所有区域信息 // 1.1查询所有区域信息
// export const queryArea = () => request({ export const queryArea = () => request({
// url:'api/hand/queryArea', url:'api/hand/queryArea',
// data: {} data: {}
// }) })
export const queryArea = () => { // export const queryArea = () => {
let res = { // let res = {
result: [{region_code: '1', region_name: 'A1'}, {region_code: '2', region_name: 'A2'}, {region_code: '3', region_name: 'A2'}, {region_code: '4', region_name: 'A10'}] // result: [{region_code: '1', region_name: 'A1'}, {region_code: '2', region_name: 'A2'}, {region_code: '3', region_name: 'A2'}, {region_code: '4', region_name: 'A10'}]
}
return res
}
// 1.2根据区域查询设备编号及状态
// export const queryPointByArea = (code) => request({
// url:'api/hand/queryPointByArea',
// data: {
// areaCode: code
// } // }
// }) // return res
export const queryPointByArea = () => { // }
let res = { // 1.2根据区域查询设备编号及状态
result: [{ export const queryPointByArea = (code) => request({
device_code: '1', url:'api/hand/queryPointByArea',
device_name: 'JLDFJLLJ' data: {
}, { areaCode: code
device_code: '12',
device_name: 'JLDFJLLJ'
}, {
device_code: '13',
device_name: 'JLDFJLLJ'
}, {
device_code: '14',
device_name: 'JLDFJLLJ'
}, {
device_code: '15',
device_name: 'JLDFJLLJ'
}, {
device_code: '16',
device_name: 'JLDFJLLJ'
}, {
device_code: '17',
device_name: 'JLDFJLLJ'
}]
} }
return res })
} // export const queryPointByArea = () => {
// let res = {
// result: [{
// device_code: '1',
// device_name: 'JLDFJLLJ'
// }, {
// device_code: '12',
// device_name: 'JLDFJLLJ'
// }, {
// device_code: '13',
// device_name: 'JLDFJLLJ'
// }, {
// device_code: '14',
// device_name: 'JLDFJLLJ'
// }, {
// device_code: '15',
// device_name: 'JLDFJLLJ'
// }, {
// device_code: '16',
// device_name: 'JLDFJLLJ'
// }, {
// device_code: '17',
// device_name: 'JLDFJLLJ'
// }]
// }
// return res
// }
/** /**
* 呼叫管理 * 呼叫管理