辅导员信息有则无法更换,无有可补充

master
santaner 10 months ago
parent 3147beb761
commit f10100138b
  1. 2
      pages/user/index.vue
  2. 3
      pages/users/user_modify_mes/index.vue

@ -378,7 +378,7 @@
let that = this; let that = this;
getCheck().then(res =>{ getCheck().then(res =>{
that.$set(that, 'realInfo', res.data); that.$set(that, 'realInfo', res.data);
if(that.realInfo.real_name.length == 0 || that.realInfo.card.length == 0 || that.realInfo.age.length == 0 || that.realInfo.spread_phone.length == 0){ if(that.realInfo.real_name.length == 0 || that.realInfo.card.length == 0 || that.realInfo.age.length == 0 || that.realInfo.spread_phone.length == 0 || that.realInfo.spread_phone2.length == 0){
that.$util.Tips({ that.$util.Tips({
title: '请补全身份信息', title: '请补全身份信息',
icon: 'error' icon: 'error'

@ -28,7 +28,8 @@
<view class='item acea-row row-between-wrapper'> <view class='item acea-row row-between-wrapper'>
<view class='name'>辅导员</view> <view class='name'>辅导员</view>
<view class='input'> <view class='input'>
<input placeholder="请输入辅导员电话" placeholder-class='placeholder' name="spread_phone" :value="realInfo.spread_phone"></input> <input placeholder="请输入辅导员电话" placeholder-class='placeholder' name="spread_phone" :value="realInfo.spread_phone" v-if="realInfo.spread_phone" disabled></input>
<input placeholder="请输入辅导员电话" placeholder-class='placeholder' name="spread_phone" :value="realInfo.spread_phone" v-else></input>
</view> </view>
</view> </view>

Loading…
Cancel
Save