呼叫管理

This commit is contained in:
2024-04-22 14:22:40 +08:00
parent 915e468d26
commit 9bd7af8eb4
4 changed files with 36 additions and 6 deletions

View File

@@ -67,9 +67,9 @@
})
},
async toLogin() {
uni.redirectTo({
url: '/pages/home/home'
})
// uni.redirectTo({
// url: '/pages/home/home'
// })
this.disabled = true
if (this.user === '') {
uni.showToast({

View File

@@ -88,8 +88,8 @@
<script>
import NavBar from '@/components/NavBar.vue'
import {agvqueryArea, queryPointByArea} from '@/utils/mork2.js'
import {agvcallTask} from '@/utils/getData2.js'
// import {agvqueryArea, queryPointByArea} from '@/utils/mork2.js'
import {agvqueryArea, queryPointByArea, agvcallTask} from '@/utils/getData2.js'
export default {
components: {
NavBar

View File

@@ -68,7 +68,7 @@
<script>
import NavBar from '@/components/NavBar.vue'
import {queryArea, queryPointByArea, callTask} from '@/utils/mork2.js'
import {queryArea, queryPointByArea, callTask} from '@/utils/getData2.js'
export default {
components: {
NavBar

View File

@@ -111,6 +111,36 @@ export const queryPointByArea = () => {
}, {
device_code: 'B2_ED_1_7_K',
device_name: 'JLDFJLLJ7'
}, {
device_code: 'B3_ED_1_3_K',
device_name: 'JLDFJLLJ3'
}, {
device_code: 'B3_ED_1_4_K',
device_name: 'JLDFJLLJ4'
}, {
device_code: 'B3_ED_1_5_K',
device_name: 'JLDFJLLJ5'
}, {
device_code: 'B3_ED_1_6_K',
device_name: 'JLDFJLLJ6'
}, {
device_code: 'B3_ED_1_7_K',
device_name: 'JLDFJLLJ7'
}, {
device_code: 'B4_ED_1_3_K',
device_name: 'JLDFJLLJ3'
}, {
device_code: 'B4_ED_1_4_K',
device_name: 'JLDFJLLJ4'
}, {
device_code: 'B4_ED_1_5_K',
device_name: 'JLDFJLLJ5'
}, {
device_code: 'B4_ED_1_6_K',
device_name: 'JLDFJLLJ6'
}, {
device_code: 'B4_ED_1_7_K',
device_name: 'JLDFJLLJ7'
}]
}
return res