From d86a3160c30221fc9653b0c287c2ed7ca3af4b79 Mon Sep 17 00:00:00 2001
From: caill <815519168@qq.com>
Date: Thu, 21 Dec 2023 09:34:35 +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
---
common/style/layout.css | 2 +-
pages.json | 8 ++
pages/home/home.vue | 3 +-
pages/modules/callmanage.vue | 270 +++++++++++++++++++++++++++++++++++
utils/getData2.js | 24 ++++
5 files changed, 305 insertions(+), 2 deletions(-)
create mode 100644 pages/modules/callmanage.vue
diff --git a/common/style/layout.css b/common/style/layout.css
index a05c566..0aa1779 100644
--- a/common/style/layout.css
+++ b/common/style/layout.css
@@ -277,7 +277,7 @@ uni-button:after {
margin: 0 40rpx 10rpx 0;
border-radius: 30rpx;
}
-.btn-disabled, .submit-button:disabled {
+.btn-disabled, .submit-button[disabled] {
background-color: #c9c9c9;
border: 1px solid #c9c9c9;
color: #fff;
diff --git a/pages.json b/pages.json
index bf83eb4..c1c5ac2 100644
--- a/pages.json
+++ b/pages.json
@@ -45,6 +45,14 @@
"navigationStyle": "custom"
}
}
+ ,{
+ "path" : "pages/modules/callmanage",
+ "style" :
+ {
+ "navigationStyle": "custom"
+ }
+
+ }
],
"globalStyle": {
// "pageOrientation": "landscape",
diff --git a/pages/home/home.vue b/pages/home/home.vue
index 43b2d91..546ff3f 100644
--- a/pages/home/home.vue
+++ b/pages/home/home.vue
@@ -40,7 +40,8 @@
menuList: [
{menu_id: '1', imgsrc: 'RF05', name: '任务管理', path: '/pages/modules/taskmanage'},
{menu_id: '2', imgsrc: 'RF03', name: '指令管理', path: '/pages/modules/zlmanage'},
- {menu_id: '3', imgsrc: 'RF04', name: '点位管理', path: '/pages/modules/pointmanage'}],
+ {menu_id: '3', imgsrc: 'RF04', name: '点位管理', path: '/pages/modules/pointmanage'},
+ {menu_id: '4', imgsrc: 'RF01', name: '呼叫管理', path: '/pages/modules/callmanage'}],
show: false,
secM: []
};
diff --git a/pages/modules/callmanage.vue b/pages/modules/callmanage.vue
new file mode 100644
index 0000000..b0d8d52
--- /dev/null
+++ b/pages/modules/callmanage.vue
@@ -0,0 +1,270 @@
+
+
+
+
+
+
+
+ {{e.name}}
+
+
+
+
+
+ {{e.label}}
+
+
+
+
+
+ 站点
+
+ {{el.device_name}}
+
+
+
+
+
+
+
+
+
+ 起始点
+ 设备号:{{sObj.device_name}}
+
+
+ 目标点
+ 设备号:{{nObj.device_name}}
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/utils/getData2.js b/utils/getData2.js
index c47c283..0f2d9cd 100644
--- a/utils/getData2.js
+++ b/utils/getData2.js
@@ -71,3 +71,27 @@ export const handPointOpt = (code, type, mtype, qty) => request({
qty: qty
}
})
+
+/**
+ * 呼叫管理
+ */
+// 查询区域
+export const designatedRegion = () => request({
+ url:'api/hand/designatedRegion',
+ data: {}
+})
+// export const designatedRegion = () => {
+// let res = {
+// code: '1',
+// result: [{value: '1', label: 'A1'}, {value: '2', label: 'A2'}]
+// }
+// return res
+// }
+// 创建任务(生成任务号为-开头)
+export const handCallTask = (scode, ncode) => request({
+ url:'api/hand/callTask',
+ data: {
+ start_device_code: scode,
+ next_device_code: ncode
+ }
+})
\ No newline at end of file