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 @@ + + + + + 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