This commit is contained in:
parent
c97f59d753
commit
7b36ef018d
|
@ -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
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
],
|
],
|
||||||
|
|
|
@ -28,21 +28,21 @@
|
||||||
<view class="person_itm_sign" @click="goChangeInfo('通讯地址',userInfoObj.mailAddress)">
|
<view class="person_itm_sign" @click="goChangeInfo('通讯地址',userInfoObj.mailAddress)">
|
||||||
<text class="person_itm_sign_tit">通讯地址</text>
|
<text class="person_itm_sign_tit">通讯地址</text>
|
||||||
<view class="person_itm_sign_right">
|
<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>
|
<u-icon name="arrow-right"></u-icon>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="person_itm_sign" @click="goChangeInfo('学历',userInfoObj.education)">
|
<view class="person_itm_sign" @click="goChangeInfo('学历',userInfoObj.education)">
|
||||||
<text class="person_itm_sign_tit">学历</text>
|
<text class="person_itm_sign_tit">学历</text>
|
||||||
<view class="person_itm_sign_right">
|
<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>
|
<u-icon name="arrow-right"></u-icon>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="person_itm_sign" @click="goChangeInfo('政治面貌',userInfoObj.politics)">
|
<view class="person_itm_sign" @click="goChangeInfo('政治面貌',userInfoObj.politics)">
|
||||||
<text class="person_itm_sign_tit">政治面貌</text>
|
<text class="person_itm_sign_tit">政治面貌</text>
|
||||||
<view class="person_itm_sign_right">
|
<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>
|
<u-icon name="arrow-right"></u-icon>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
@ -84,7 +84,7 @@
|
||||||
<view class="person_itm_sign" @click="goChangeInfo('兴趣爱好',userInfoObj.hobby)">
|
<view class="person_itm_sign" @click="goChangeInfo('兴趣爱好',userInfoObj.hobby)">
|
||||||
<text class="person_itm_sign_tit">兴趣爱好</text>
|
<text class="person_itm_sign_tit">兴趣爱好</text>
|
||||||
<view class="person_itm_sign_right">
|
<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>
|
<u-icon name="arrow-right"></u-icon>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
@ -94,14 +94,14 @@
|
||||||
<view class="person_itm_sign" @click="goChangeInfo('单位名称',userInfoObj.unitName)">
|
<view class="person_itm_sign" @click="goChangeInfo('单位名称',userInfoObj.unitName)">
|
||||||
<text class="person_itm_sign_tit">单位名称</text>
|
<text class="person_itm_sign_tit">单位名称</text>
|
||||||
<view class="person_itm_sign_right">
|
<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>
|
<u-icon name="arrow-right"></u-icon>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="person_itm_sign" @click="goChangeInfo('办公室电话',userInfoObj.officeTel)">
|
<view class="person_itm_sign" @click="goChangeInfo('办公室电话',userInfoObj.officeTel)">
|
||||||
<text class="person_itm_sign_tit">办公室电话</text>
|
<text class="person_itm_sign_tit">办公室电话</text>
|
||||||
<view class="person_itm_sign_right">
|
<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>
|
<u-icon name="arrow-right"></u-icon>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
@ -123,7 +123,7 @@
|
||||||
<view class="person_itm_sign" @click="goChangeInfo('会员级别',userInfoObj.member)">
|
<view class="person_itm_sign" @click="goChangeInfo('会员级别',userInfoObj.member)">
|
||||||
<text class="person_itm_sign_tit">会员级别</text>
|
<text class="person_itm_sign_tit">会员级别</text>
|
||||||
<view class="person_itm_sign_right">
|
<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>
|
<u-icon name="arrow-right"></u-icon>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
actionText="搜索" :animation="true" @search="getData" @custom="getData"></u-search>
|
actionText="搜索" :animation="true" @search="getData" @custom="getData"></u-search>
|
||||||
</view>
|
</view>
|
||||||
<u-radio-group v-model="value" placement="column" iconPlacement="right" @change="groupChange" v-if="userList.length > 0">
|
<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>
|
activeColor="#99241B" :customStyle="{marginBottom: '10px'}"></u-radio>
|
||||||
</u-radio-group>
|
</u-radio-group>
|
||||||
<view v-else>
|
<view v-else>
|
||||||
|
@ -100,15 +100,23 @@
|
||||||
this.http.request('/user/userYz/' + this.id, {}, "POST").then(res => {
|
this.http.request('/user/userYz/' + this.id, {}, "POST").then(res => {
|
||||||
if (res.code == 200) {
|
if (res.code == 200) {
|
||||||
this.show = false
|
this.show = false
|
||||||
this.userList.forEach((item) =>{
|
// this.userList.forEach((item) =>{
|
||||||
if(item.id == this.id){
|
// if(item.id == this.id){
|
||||||
item.userName = this.keyword
|
// item.userName = this.keyword
|
||||||
uni.setStorageSync('userInfo', item)
|
// // uni.setStorageSync('userInfo', item)
|
||||||
}
|
// this.init(item)
|
||||||
})
|
// }
|
||||||
|
// })
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: '/pagesC/SelectId/SelectId'
|
url: '/pages/pageHome/pageHome'
|
||||||
})
|
})
|
||||||
|
uni.showToast({
|
||||||
|
title: "绑定成功",
|
||||||
|
icon: "none",
|
||||||
|
});
|
||||||
|
// uni.navigateTo({
|
||||||
|
// url: '/pagesC/SelectId/SelectId'
|
||||||
|
// })
|
||||||
}
|
}
|
||||||
}).catch(e => {
|
}).catch(e => {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
|
|
|
@ -0,0 +1,8 @@
|
||||||
|
<template>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
</style>
|
|
@ -0,0 +1,8 @@
|
||||||
|
<template>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
</style>
|
|
@ -0,0 +1,8 @@
|
||||||
|
<template>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
</style>
|
Loading…
Reference in New Issue