This commit is contained in:
lnn19986213 2023-07-17 11:47:46 +08:00
parent c97f59d753
commit 7b36ef018d
6 changed files with 76 additions and 15 deletions

View File

@ -589,6 +589,35 @@
}
]
},
{
"root": "pagesD/",
"pages": [
//
{
"path": "jgsz/index",
"style": {
"navigationBarTitleText": "机构设置",
"enablePullDownRefresh": false
}
},
//
{
"path": "wyxx/index",
"style": {
"navigationBarTitleText": "文艺下乡",
"enablePullDownRefresh": false
}
},
// 线
{
"path": "xskz/index",
"style": {
"navigationBarTitleText": "线上看展",
"enablePullDownRefresh": false
}
}
]
}
],

View File

@ -28,21 +28,21 @@
<view class="person_itm_sign" @click="goChangeInfo('通讯地址',userInfoObj.mailAddress)">
<text class="person_itm_sign_tit">通讯地址</text>
<view class="person_itm_sign_right">
<text> {{userInfoObj.mailAddress}}</text>
<text v-if="userInfoObj.mailAddress"> {{userInfoObj.mailAddress}}</text>
<u-icon name="arrow-right"></u-icon>
</view>
</view>
<view class="person_itm_sign" @click="goChangeInfo('学历',userInfoObj.education)">
<text class="person_itm_sign_tit">学历</text>
<view class="person_itm_sign_right">
<text> {{userInfoObj.education}}</text>
<text v-if="userInfoObj.education"> {{userInfoObj.education}}</text>
<u-icon name="arrow-right"></u-icon>
</view>
</view>
<view class="person_itm_sign" @click="goChangeInfo('政治面貌',userInfoObj.politics)">
<text class="person_itm_sign_tit">政治面貌</text>
<view class="person_itm_sign_right">
<text> {{userInfoObj.politics}}</text>
<text v-if="userInfoObj.politics"> {{userInfoObj.politics}}</text>
<u-icon name="arrow-right"></u-icon>
</view>
</view>
@ -84,7 +84,7 @@
<view class="person_itm_sign" @click="goChangeInfo('兴趣爱好',userInfoObj.hobby)">
<text class="person_itm_sign_tit">兴趣爱好</text>
<view class="person_itm_sign_right">
<text> {{userInfoObj.hobby}}</text>
<text v-if="userInfoObj.hobby"> {{userInfoObj.hobby}}</text>
<u-icon name="arrow-right"></u-icon>
</view>
</view>
@ -94,14 +94,14 @@
<view class="person_itm_sign" @click="goChangeInfo('单位名称',userInfoObj.unitName)">
<text class="person_itm_sign_tit">单位名称</text>
<view class="person_itm_sign_right">
<text> {{userInfoObj.unitName}}</text>
<text v-if="userInfoObj.unitName"> {{userInfoObj.unitName}}</text>
<u-icon name="arrow-right"></u-icon>
</view>
</view>
<view class="person_itm_sign" @click="goChangeInfo('办公室电话',userInfoObj.officeTel)">
<text class="person_itm_sign_tit">办公室电话</text>
<view class="person_itm_sign_right">
<text> {{userInfoObj.officeTel}}</text>
<text v-if="userInfoObj.officeTel"> {{userInfoObj.officeTel}}</text>
<u-icon name="arrow-right"></u-icon>
</view>
</view>
@ -123,7 +123,7 @@
<view class="person_itm_sign" @click="goChangeInfo('会员级别',userInfoObj.member)">
<text class="person_itm_sign_tit">会员级别</text>
<view class="person_itm_sign_right">
<text> {{userInfoObj.member}}</text>
<text v-if="userInfoObj.member"> {{userInfoObj.member}}</text>
<u-icon name="arrow-right"></u-icon>
</view>
</view>

View File

@ -7,7 +7,7 @@
actionText="搜索" :animation="true" @search="getData" @custom="getData"></u-search>
</view>
<u-radio-group v-model="value" placement="column" iconPlacement="right" @change="groupChange" v-if="userList.length > 0">
<u-radio v-for="(v,i) in userList" :key="i" :label="v.userName+ ' ' + v.sex+ ' ' + v.birthDay" :name="v.id"
<u-radio v-for="(v,i) in userList" :key="i" :label="'姓名:' + v.userName+ ' ' + '性别:' + v.sex+ ' ' + '出生年月:' +v.dateBirth" :name="v.id"
activeColor="#99241B" :customStyle="{marginBottom: '10px'}"></u-radio>
</u-radio-group>
<view v-else>
@ -100,15 +100,23 @@
this.http.request('/user/userYz/' + this.id, {}, "POST").then(res => {
if (res.code == 200) {
this.show = false
this.userList.forEach((item) =>{
if(item.id == this.id){
item.userName = this.keyword
uni.setStorageSync('userInfo', item)
}
})
// this.userList.forEach((item) =>{
// if(item.id == this.id){
// item.userName = this.keyword
// // uni.setStorageSync('userInfo', item)
// this.init(item)
// }
// })
uni.navigateTo({
url: '/pagesC/SelectId/SelectId'
url: '/pages/pageHome/pageHome'
})
uni.showToast({
title: "绑定成功",
icon: "none",
});
// uni.navigateTo({
// url: '/pagesC/SelectId/SelectId'
// })
}
}).catch(e => {
uni.showToast({

View File

@ -0,0 +1,8 @@
<template>
</template>
<script>
</script>
<style>
</style>

View File

@ -0,0 +1,8 @@
<template>
</template>
<script>
</script>
<style>
</style>

View File

@ -0,0 +1,8 @@
<template>
</template>
<script>
</script>
<style>
</style>