| | |
| | | stagingHead,
|
| | | wxAuthorize,
|
| | | refreshToken,
|
| | | app_url, |
| | | app_url,
|
| | | delHkUserOpenid
|
| | | } from '@/api'
|
| | | export default {
|
| | |
| | | } else if (yw == 7) {
|
| | | this.jump('/pages/staff/task/driver?id=' + ywinfo.ywid)
|
| | | } else if (yw == 5) {
|
| | | this.jump('/pages/staff/vehicle/sendACarDetail')
|
| | | this.jump('/pages/staff/vehicle/sendACarDetail?id=' + ywinfo.ywid)
|
| | | }
|
| | | }, 100)
|
| | | }
|
| | |
| | | loginOut() {
|
| | | logoutPost({
|
| | | isH5: 1
|
| | | }).then(res => { |
| | | const userInfo = uni.getStorageSync('userInfo') |
| | | const openId = uni.getStorageSync('openId') |
| | | this.$store.commit('empty') |
| | | if(openId){ |
| | | delHkUserOpenid({ |
| | | userName: userInfo.username, |
| | | openId |
| | | }).then(ress => { |
| | | setTimeout(() => { |
| | | window.location.href = app_url |
| | | }, 300) |
| | | }) |
| | | }else{ |
| | | setTimeout(() => { |
| | | window.location.href = app_url |
| | | }, 300) |
| | | } |
| | | |
| | | }).then(res => {
|
| | | const userInfo = uni.getStorageSync('userInfo')
|
| | | const openId = uni.getStorageSync('openId')
|
| | | this.$store.commit('empty')
|
| | | if(openId){
|
| | | delHkUserOpenid({
|
| | | userName: userInfo.username,
|
| | | openId
|
| | | }).then(ress => {
|
| | | setTimeout(() => {
|
| | | window.location.href = app_url
|
| | | }, 300)
|
| | | })
|
| | | }else{
|
| | | setTimeout(() => {
|
| | | window.location.href = app_url
|
| | | }, 300)
|
| | | }
|
| | |
|
| | | })
|
| | | },
|
| | | getTaskInfo() {
|
| | |
| | | height: 40rpx;
|
| | | }
|
| | | }
|
| | | </style> |
| | | </style>
|