This commit is contained in:
lnn19986213 2023-04-18 13:59:50 +08:00
parent 616b3bedf7
commit cd31703fc7
3 changed files with 12 additions and 6 deletions

View File

@ -133,8 +133,14 @@
<u-switch disabled v-model="userInfoObj.isAssociation" activeColor="#99241B" size=20></u-switch>
</view>
</view>
<view class="person_itm_sign" @click="goChangeInfo('入会时间',userInfoObj.comeTime)"
v-if="userInfoObj.isAssociation">
<view class="person_itm_sign" @click="goChangeInfo('所属协会',userInfoObj.association.name )" v-if="userInfoObj.isAssociation">
<text class="person_itm_sign_tit">所属协会</text>
<view class="person_itm_sign_right">
<text v-if="userInfoObj.association">{{userInfoObj.association.name}}</text>
<u-icon name="arrow-right"></u-icon>
</view>
</view>
<view class="person_itm_sign" @click="goChangeInfo('入会时间',userInfoObj.comeTime)" v-if="userInfoObj.isAssociation">
<text class="person_itm_sign_tit">入会时间</text>
<view class="person_itm_sign_right">
<text> {{userInfoObj.comeTime}}</text>

View File

@ -230,11 +230,11 @@
if (this.Edkey == '所属协会') {
this.http.request('/association/list', {}, "GET").then((res) => {
res.data.records.map((v, i) => {
res.data.map((v, i) => {
return this.xiehuiObj[v.name] = v.id
})
let xieList = res.data.records.map((v, i) => {
let xieList = res.data.map((v, i) => {
return v.name
})
this.xiecolumns.push(xieList)

View File

@ -537,10 +537,10 @@
this.$refs.form1.setRules(this.rules);
this.http.request('/association/list', {}, "GET").then((res) => {
res.data.records.map((v, i) => {
res.data.map((v, i) => {
return this.xiehuiObj[v.name] = v.id
})
var xieList = res.data.records.map((v, i) => {
var xieList = res.data.map((v, i) => {
return v.name
})
this.xiecolumns.push(xieList)