空载具出入库接口
This commit is contained in:
@@ -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'
|
||||
})
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user