|
@@ -747,6 +747,7 @@
|
|
|
|
|
|
|
|
this.getDomWidth()
|
|
this.getDomWidth()
|
|
|
this.$Request.getT('/app/common/type/255').then(res => {
|
|
this.$Request.getT('/app/common/type/255').then(res => {
|
|
|
|
|
+ uni.hideLoading();
|
|
|
if (res.code === 0) {
|
|
if (res.code === 0) {
|
|
|
if (res.data && res.data.value) {
|
|
if (res.data && res.data.value) {
|
|
|
this.tuiguang = res.data.value;
|
|
this.tuiguang = res.data.value;
|
|
@@ -1595,11 +1596,11 @@
|
|
|
this.$Request.get("/app/user/selectUserById").then(res => {
|
|
this.$Request.get("/app/user/selectUserById").then(res => {
|
|
|
if (res.code == 0) {
|
|
if (res.code == 0) {
|
|
|
console.log(res.data)
|
|
console.log(res.data)
|
|
|
- this.$queue.setData('weChatNum', res.data.weChatNum)
|
|
|
|
|
- if (res.data.companyId) {
|
|
|
|
|
- uni.setStorageSync('companyId', res.data.companyId)
|
|
|
|
|
|
|
+ this.$queue.setData('weChatNum', res.data?.weChatNum)
|
|
|
|
|
+ if (res.data && res.data.companyId) {
|
|
|
|
|
+ uni.setStorageSync('companyId', res.data?.companyId)
|
|
|
}
|
|
}
|
|
|
- if (res.data.userType == 1 || res.data.userType == null) {
|
|
|
|
|
|
|
+ if (res.data?.userType == 1 || res.data?.userType == null) {
|
|
|
this.userType = 1
|
|
this.userType = 1
|
|
|
uni.setStorageSync('userType', 1)
|
|
uni.setStorageSync('userType', 1)
|
|
|
} else {
|
|
} else {
|