소스 검색

bug

undefined
时佳豪 2 년 전
부모
커밋
02ea27ebc7
5개의 변경된 파일15개의 추가작업 그리고 15개의 파일을 삭제
  1. +2
    -2
      pages/index/customer.vue
  2. +2
    -2
      pages/index/index.vue
  3. +1
    -1
      pages/index/personal.vue
  4. +3
    -3
      pages/mine/Changehepassword.vue
  5. +7
    -7
      pages/mine/Myprofile.vue

+ 2
- 2
pages/index/customer.vue 파일 보기

@@ -29,8 +29,8 @@
<view class="Workcard" v-if="item.status==1&&item.zkEquipmentState.onLine==0">设备状态:<text class="shizai" style="color: red;">离线</text></view>
<view class="Workcard" v-if="item.status==1&&item.zkEquipmentState.onLine!=0">工牌电量:<text class="shizai" style="color: #333333;">{{item.zkEquipmentState.electricity}}%</text></view>
<view class="Workcard" v-if="item.status==1&&item.zkEquipmentState.onLine==1">录音状态:
<text v-if="item.zkEquipmentState.audioStatus=='true'" class="shizai" style="color: #333333;">使用中</text>
<text v-if="item.zkEquipmentState.audioStatus=='false'" class="shizai" style="color: #333333;">未使用</text>
<text v-if="item.zkEquipmentState.simAudioStatus=='true'" class="shizai" style="color: #333333;">使用中</text>
<text v-if="item.zkEquipmentState.simAudioStatus=='false'" class="shizai" style="color: #333333;">未使用</text>
</view>
</view>


+ 2
- 2
pages/index/index.vue 파일 보기

@@ -407,7 +407,7 @@
receivingCustomer: data.data.data.receivingCustomer,
activeCustomer: data.data.data.activeCustomer,
prohibitedCustomer: data.data.data.prohibitedCustomer,
avgDuration: Math.floor(data.data.data.avgDuration/60) ||0,
avgDuration: data.data.data.avgDuration ||0,
tagCustomer: data.data.data.tagCustomer,
fraction: data.data.data.fraction,
receptionCount:data.data.data.receptionCount
@@ -437,7 +437,7 @@
receivingCustomer: data.data.data.receivingCustomer,
activeCustomer: data.data.data.activeCustomer,
prohibitedCustomer: data.data.data.prohibitedCustomer,
avgDuration: Math.floor(data.data.data.avgDuration/60) ||0,
avgDuration: data.data.data.avgDuration ||0,
tagCustomer: data.data.data.tagCustomer,
fraction: data.data.data.fraction,
receptionCount:data.data.data.receptionCount


+ 1
- 1
pages/index/personal.vue 파일 보기

@@ -72,7 +72,7 @@
onShow: function() {
var userInfos = uni.getStorageSync('weapp_session_userInfo_data');
this.name = userInfos.name,
this.photo = userInfos.picUrl,
this.photo = userInfos.avatar,
this.mobile = userInfos.loginName
},
methods: {


+ 3
- 3
pages/mine/Changehepassword.vue 파일 보기

@@ -64,9 +64,9 @@

} else if (this.newPassword == this.queryPassword) {
var params = {
oldPassword: this.password,
newPassword: this.newPassword,
qPassword: this.queryPassword
password: this.password,
newpassword: this.newPassword,
newpassword1: this.queryPassword
};
util.getRequestPromise(config.service.updatePassword, params).then(data => {
uni.clearStorage();


+ 7
- 7
pages/mine/Myprofile.vue 파일 보기

@@ -6,7 +6,7 @@
<image src="/static/images/arrow.png" class="more">
</image>
<image
:src="picUrl||'https://qufang.oss-cn-beijing.aliyuncs.com/upload/icon/xcx/zkgj/headPicture.png'"
:src="avatar||'https://qufang.oss-cn-beijing.aliyuncs.com/upload/icon/xcx/zkgj/headPicture.png'"
class="headPicture"></image>
</view>
<view>
@@ -17,11 +17,11 @@
<text class="userName">{{name||"暂无昵称"}}</text>
</navigator>
<navigator class="setList" url="/pages/mine/signature">
<!-- <navigator class="setList" url="/pages/mine/signature">
<text style="font-size: 30rpx;color: #333333;">签名</text>
<image src="/static/images/arrow.png" class="more"></image>
<text class="userName">{{personalProfile||"暂无签名"}}</text>
</navigator>
</navigator> -->
</view>
</view>
</view>
@@ -36,7 +36,7 @@
data() {
return {
userInfo: {},
picUrl: "",
avatar: "",
name: "",
personalProfile: ""
};
@@ -44,7 +44,7 @@
onShow: function() {
const userInfo = uni.getStorageSync("weapp_session_userInfo_data");
this.userInfo = userInfo;
this.picUrl = userInfo.picUrl;
this.avatar = userInfo.avatar;
this.name = userInfo.name;
this.personalProfile = userInfo.personalProfile;
},
@@ -94,8 +94,8 @@
const result = JSON.parse(res.data);
if (result.code == 10000) {
console.log(result.data);
that.picUrl = result.data;
that.userInfo.picUrl = result.data;
that.avatar = result.data;
that.userInfo.avatar = result.data;
uni.setStorageSync("weapp_session_userInfo_data", that.userInfo);
util.showSuccess('修改成功');
} else {


불러오는 중...
취소
저장