空载具出入库接口

This commit is contained in:
2025-08-13 09:35:04 +08:00
parent 6bdb111230
commit 24604bd356
4 changed files with 16 additions and 11 deletions

View File

@@ -96,7 +96,7 @@
this.$store.dispatch('delLoginName', '')
}
this.$store.dispatch('saveUserInfo', JSON.stringify(res.data.user))
this.$store.dispatch('saveToken', res.token)
this.$store.dispatch('saveToken', res.data.token)
uni.redirectTo({
url: '/pages/home/home'
})

View File

@@ -34,7 +34,7 @@
<script>
import NavBar from '@/components/NavBar.vue'
import SearchBox from '@/components/SearchBox.vue'
import {getSect, vehicleInConfirm} from '@/utils/getData4.js'
import {getPdaSect, vehicleInConfirm} from '@/utils/getData4.js'
export default {
components: {
NavBar,
@@ -53,12 +53,12 @@
this.title = options.title
},
created () {
this._getSect()
this._getPdaSect()
},
methods: {
async _getSect () {
async _getPdaSect () {
try {
let res = await getSect()
let res = await getPdaSect()
if (res) {
this.options = res.data
} else {

View File

@@ -34,7 +34,7 @@
<script>
import NavBar from '@/components/NavBar.vue'
import SearchBox from '@/components/SearchBox.vue'
import {getSect, iosOutvehicleOutConfirm} from '@/utils/getData4.js'
import {getPdaSect, iosOutvehicleOutConfirm} from '@/utils/getData4.js'
export default {
components: {
NavBar,
@@ -53,12 +53,12 @@
this.title = options.title
},
created () {
this._getSect()
this._getPdaSect()
},
methods: {
async _getSect () {
async _getPdaSect () {
try {
let res = await getSect()
let res = await getPdaSect()
if (res) {
this.options = res.data
} else {