修改
This commit is contained in:
parent
a5aac710d8
commit
dd3cb07fc3
@ -48,15 +48,14 @@
|
||||
transform: translateY(-50%);
|
||||
line-height: 100rpx;
|
||||
display: inline-block;
|
||||
width: 80%;
|
||||
width: 75%;
|
||||
font-size: 30rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.nursetype {
|
||||
padding-bottom: 20rpx;
|
||||
line-height: 50rpx;
|
||||
margin: 20rpx 20rpx;
|
||||
margin-left: 20rpx;
|
||||
line-height: 100rpx;
|
||||
border-bottom: 1rpx solid #D8D4D4;
|
||||
.rate {
|
||||
margin: 30rpx auto;
|
||||
|
||||
@ -25,19 +25,12 @@
|
||||
<span class="">
|
||||
账号:
|
||||
</span>
|
||||
<input type="text" disabled maxlength="10" placeholder="请填写" v-model="appPersonallist.userName" />
|
||||
</view> -->
|
||||
<view class="name">
|
||||
<span>手机号:</span>
|
||||
<input disabled type="text" maxlength="11" placeholder="请输入" v-model="appPersonallist.phonenumber"
|
||||
disabled />
|
||||
</view>
|
||||
<view class="nursetype">
|
||||
<span>职称级别:</span>
|
||||
<text v-if="appPersonallist.positionalTitleLevel">
|
||||
{{appPersonallist.positionalTitleLevel}}
|
||||
</text>
|
||||
</view>
|
||||
<view class="nursetype" style="">
|
||||
<span>家庭住址:</span>
|
||||
<text v-if="appPersonallist.address"> {{appPersonallist.address}}
|
||||
@ -50,11 +43,19 @@
|
||||
</text>
|
||||
<!-- {{getNurseStationName(appPersonallist)}} -->
|
||||
</view>
|
||||
<view class="nursetype " style="">
|
||||
擅长项目:
|
||||
<text v-if="appPersonallist.geniusItem"> {{appPersonallist.geniusItem}}
|
||||
<view class="nursetype" @tap='positionalTitleLevelshow=true'>
|
||||
<span>职称级别:</span>
|
||||
<text v-if="appPersonallist.positionalTitleLevelvalue">
|
||||
{{appPersonallist.positionalTitleLevelvalue}}
|
||||
</text>
|
||||
</view>
|
||||
<view class="name" style="">
|
||||
擅长项目:
|
||||
<input type="text" placeholder=" " v-model="appPersonallist.geniusItem" />
|
||||
<!-- <input type="text" v-model="appPersonallist.geniusItem" /> -->
|
||||
<!-- <text v-if="appPersonallist.geniusItem"> {{}}
|
||||
</text> -->
|
||||
</view>
|
||||
<view class="nursetype " style="border: none;">
|
||||
证书上传:
|
||||
<view class="upload" @tap='uploadcertificateimg' v-if="certificateimg.length==0">
|
||||
@ -79,7 +80,9 @@
|
||||
</view>
|
||||
</view>
|
||||
<view class="finish" @tap="uploadcertificateimgs">保存</view>
|
||||
<u-select v-model="sexshow" :list="sexlist" mode="single-column" @confirm="sexconfirm"></u-select>
|
||||
<!-- <u-select v-model="sexshow" :list="sexlist" mode="single-column" @confirm="sexconfirm"></u-select> -->
|
||||
<u-select v-model="positionalTitleLevelshow" :list="positionalTitleLevellist" mode="single-column"
|
||||
@confirm="positionalTitleLevelconfirm"></u-select>
|
||||
<u-toast ref="uToast" />
|
||||
</view>
|
||||
</template>
|
||||
@ -95,19 +98,30 @@
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
baseurl: '', //url
|
||||
timer: null, //timer
|
||||
nursePersonId: null, //护理员id
|
||||
sexshow: false, //性别选择
|
||||
baseurl: '', //url
|
||||
sexlist: [{
|
||||
value: 'MALE',
|
||||
label: '男'
|
||||
},
|
||||
{
|
||||
value: 'FEMALE',
|
||||
label: '女'
|
||||
}
|
||||
],
|
||||
// sexshow: false, //性别选择
|
||||
// sexlist: [{
|
||||
// value: 'MALE',
|
||||
// label: '男'
|
||||
// },
|
||||
// {
|
||||
// value: 'FEMALE',
|
||||
// label: '女'
|
||||
// }
|
||||
// ],
|
||||
positionalTitleLevelshow: false,
|
||||
positionalTitleLevellist: [{
|
||||
label: "初级",
|
||||
value: "PRIMARY_LEVEL",
|
||||
}, {
|
||||
label: "中级",
|
||||
value: "MIDDLE_LEVEL",
|
||||
}, {
|
||||
label: "高级",
|
||||
value: "HIGH_LEVEL",
|
||||
}],
|
||||
appPersonallist: {
|
||||
nurseStationPersonCheckList: []
|
||||
}, //用户信息
|
||||
@ -167,9 +181,11 @@
|
||||
res.data.sex == 'MALE' ? res.data.sex = '男' : ''
|
||||
res.data.sex == 'FEMALE' ? res.data.sex = '女' : ''
|
||||
this.myimg = baseurl + res.data.avatar
|
||||
res.data.positionalTitleLevel == 'PRIMARY_LEVEL' ? res.data.positionalTitleLevel = '初级' : ''
|
||||
res.data.positionalTitleLevel == 'MIDDLE_LEVEL' ? res.data.positionalTitleLevel = '中级' : ''
|
||||
res.data.positionalTitleLevel == 'HIGH_LEVEL' ? res.data.positionalTitleLevel = '高级' : ''
|
||||
res.data.positionalTitleLevelvalue == 'PRIMARY_LEVEL' ? res.data.positionalTitleLevel = '初级' :
|
||||
''
|
||||
res.data.positionalTitleLevelvalue == 'MIDDLE_LEVEL' ? res.data.positionalTitleLevel = '中级' :
|
||||
''
|
||||
res.data.positionalTitleLevelvalue == 'HIGH_LEVEL' ? res.data.positionalTitleLevel = '高级' : ''
|
||||
res.data.nurseStationPersonCertificateList.forEach(e => {
|
||||
if (e.certificateUrl) {
|
||||
e.certificateUrl = baseurl + e.certificateUrl
|
||||
@ -266,7 +282,6 @@
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
confirm(e) {
|
||||
this.appPersonallist.nurseStationSysUserVOList[0].nurseStationId = e[0].value
|
||||
this.appPersonallist.nurseStationSysUserVOList[0].nurseStationName = e[0]['label']
|
||||
@ -275,6 +290,11 @@
|
||||
sexshowtrue() {
|
||||
this.sexshow = true
|
||||
},
|
||||
//职称级别
|
||||
positionalTitleLevelconfirm(e) {
|
||||
this.appPersonallist.positionalTitleLevelvalue = e[0].label
|
||||
this.appPersonallist.positionalTitleLevel = e[0].value
|
||||
},
|
||||
//选择性别
|
||||
sexconfirm(e) {
|
||||
this.appPersonallist.sex = e[0].label
|
||||
|
||||
Loading…
Reference in New Issue
Block a user