From 86b0bfa27d4ff8972d32496beda768f297be84b1 Mon Sep 17 00:00:00 2001
From: caill <815519168@qq.com>
Date: Thu, 11 May 2023 11:03:45 +0800
Subject: [PATCH] =?UTF-8?q?=E5=91=BC=E5=8F=AB=E7=AE=A1=E7=90=86?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages/modules/callmanage.vue | 224 ++++++++++++++++++++++++++++++++++-
utils/getData2.js | 68 +++++++----
2 files changed, 263 insertions(+), 29 deletions(-)
diff --git a/pages/modules/callmanage.vue b/pages/modules/callmanage.vue
index 239d03a..0b0c096 100644
--- a/pages/modules/callmanage.vue
+++ b/pages/modules/callmanage.vue
@@ -1,19 +1,235 @@
-
-
+
+
+
+
+
+
+ {{e.region_name}}
+
+
+
+
+
+ 站点
+
+ {{el.device_name}}
+
+
+
+
+
+
+
+
+
+ 起始点
+ 设备号:{{sObj.device_name}}
+
+
+ 目标点
+ 设备号:{{nObj.device_name}}
+
+
+
+
+
+
diff --git a/utils/getData2.js b/utils/getData2.js
index 0943755..ce1da34 100644
--- a/utils/getData2.js
+++ b/utils/getData2.js
@@ -37,32 +37,50 @@ export const authority = () => {
* 站点管理
*/
// 1.1查询所有区域信息
-export const queryArea = () => request({
- url:'api/hand/queryArea',
- data: {}
-})
-// export const queryArea = () => {
-// 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'}]
-// }
-// return res
-// }
+// export const queryArea = () => request({
+// url:'api/hand/queryArea',
+// data: {}
+// })
+export const queryArea = () => {
+ 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'}]
+ }
+ return res
+}
// 1.2根据区域查询设备编号及状态
-export const queryPointByArea = (code) => request({
- url:'api/hand/queryPointByArea',
- data: {
- areaCode: code
- }
-})
-// export const queryPointByArea = () => {
-// let res = {
-// result: [{
-// device_code: '1',
-// device_name: 'JLDFJLLJ'
-// }]
-// }
-// return res
-// }
+// export const queryPointByArea = (code) => request({
+// url:'api/hand/queryPointByArea',
+// data: {
+// areaCode: code
+// }
+// })
+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
+}
/**
* 呼叫管理