提交 a091e99e 作者: wk

岗位切换问题处理

父级 08d41c5c
......@@ -240,7 +240,7 @@
},
clearIcon: {
type: [Boolean],
default: true
default: false
},
hideSecond: {
type: [Boolean],
......
......@@ -128,8 +128,21 @@
let result = res.data
if (result.code == 0) {
// this.getUserInfo()
uni.setStorageSync("token", result.data.access_token)
uni.setStorageSync("short_token", result.data.short_token)
uni.setStorageSync("user_info", result.data)
uni.setStorageSync("company_id", result.data.comp_id)
uni.setStorageSync("org_no", result.data.org_no)
uni.setStorageSync("org_id", result.data.org_id)
if (this.currentJob.job_id != result.data.job_id) {
this.switchJob()
} else {
getApp().globalData.isInit = true
uni.switchTab({
url: "/pages/index/index"
})
}
} else {
this.$toast.showToast(result.msg)
}
})
......
......@@ -106,7 +106,7 @@
content: '确定切换到该组织?',
showCancel: true,
confirmText: "切换",
confirmColor: '#1890FF',
confirmColor: '#3B73FE',
success: res => {
if (res.confirm) {
that.switchOrg(node[0])
......
......@@ -69,6 +69,7 @@
uni.showModal({
title: '提示',
content: '是否取消兑换',
confirmColor: '#3B73FE',
success: (res) => {
if (res.confirm) {
Api.cancelExchange({
......@@ -94,6 +95,7 @@
uni.showModal({
title: '提示',
content: '是否确认领取',
confirmColor: '#3B73FE',
success: (res) => {
if (res.confirm) {
Api.confirmReceive({
......
......@@ -27,7 +27,7 @@
<view class="score-item" @click="toExcahngeDetail">
<view class="s-left">
<text class="name">已兑换积分</text>
<text class="score">{{scoreDetail.his_integral || 0}}</text>
<text class="score">{{scoreDetail.ex_integral || 0}}</text>
</view>
<image src="../../../static/s-arrow-left-ic.png" class="image"></image>
</view>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
Please register or to comment