This commit is contained in:
曹辉 2023-04-10 13:31:30 +08:00
parent a5aac710d8
commit dd3cb07fc3
2 changed files with 49 additions and 30 deletions

View File

@ -48,15 +48,14 @@
transform: translateY(-50%); transform: translateY(-50%);
line-height: 100rpx; line-height: 100rpx;
display: inline-block; display: inline-block;
width: 80%; width: 75%;
font-size: 30rpx; font-size: 30rpx;
} }
} }
.nursetype { .nursetype {
padding-bottom: 20rpx; margin-left: 20rpx;
line-height: 50rpx; line-height: 100rpx;
margin: 20rpx 20rpx;
border-bottom: 1rpx solid #D8D4D4; border-bottom: 1rpx solid #D8D4D4;
.rate { .rate {
margin: 30rpx auto; margin: 30rpx auto;

View File

@ -25,19 +25,12 @@
<span class=""> <span class="">
账号 账号
</span> </span>
<input type="text" disabled maxlength="10" placeholder="请填写" v-model="appPersonallist.userName" />
</view> --> </view> -->
<view class="name"> <view class="name">
<span>手机号</span> <span>手机号</span>
<input disabled type="text" maxlength="11" placeholder="请输入" v-model="appPersonallist.phonenumber" <input disabled type="text" maxlength="11" placeholder="请输入" v-model="appPersonallist.phonenumber"
disabled /> disabled />
</view> </view>
<view class="nursetype">
<span>职称级别</span>
<text v-if="appPersonallist.positionalTitleLevel">
{{appPersonallist.positionalTitleLevel}}
</text>
</view>
<view class="nursetype" style=""> <view class="nursetype" style="">
<span>家庭住址</span> <span>家庭住址</span>
<text v-if="appPersonallist.address"> {{appPersonallist.address}} <text v-if="appPersonallist.address"> {{appPersonallist.address}}
@ -50,11 +43,19 @@
</text> </text>
<!-- {{getNurseStationName(appPersonallist)}} --> <!-- {{getNurseStationName(appPersonallist)}} -->
</view> </view>
<view class="nursetype " style=""> <view class="nursetype" @tap='positionalTitleLevelshow=true'>
擅长项目 <span>职称级别</span>
<text v-if="appPersonallist.geniusItem"> {{appPersonallist.geniusItem}} <text v-if="appPersonallist.positionalTitleLevelvalue">
{{appPersonallist.positionalTitleLevelvalue}}
</text> </text>
</view> </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="nursetype " style="border: none;">
证书上传 证书上传
<view class="upload" @tap='uploadcertificateimg' v-if="certificateimg.length==0"> <view class="upload" @tap='uploadcertificateimg' v-if="certificateimg.length==0">
@ -79,7 +80,9 @@
</view> </view>
</view> </view>
<view class="finish" @tap="uploadcertificateimgs">保存</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" /> <u-toast ref="uToast" />
</view> </view>
</template> </template>
@ -95,19 +98,30 @@
export default { export default {
data() { data() {
return { return {
baseurl: '', //url
timer: null, //timer timer: null, //timer
nursePersonId: null, //id nursePersonId: null, //id
sexshow: false, // // sexshow: false, //
baseurl: '', //url // sexlist: [{
sexlist: [{ // value: 'MALE',
value: 'MALE', // label: ''
label: '男' // },
}, // {
{ // value: 'FEMALE',
value: 'FEMALE', // label: ''
label: '女' // }
} // ],
], positionalTitleLevelshow: false,
positionalTitleLevellist: [{
label: "初级",
value: "PRIMARY_LEVEL",
}, {
label: "中级",
value: "MIDDLE_LEVEL",
}, {
label: "高级",
value: "HIGH_LEVEL",
}],
appPersonallist: { appPersonallist: {
nurseStationPersonCheckList: [] nurseStationPersonCheckList: []
}, // }, //
@ -167,9 +181,11 @@
res.data.sex == 'MALE' ? res.data.sex = '男' : '' res.data.sex == 'MALE' ? res.data.sex = '男' : ''
res.data.sex == 'FEMALE' ? res.data.sex = '女' : '' res.data.sex == 'FEMALE' ? res.data.sex = '女' : ''
this.myimg = baseurl + res.data.avatar this.myimg = baseurl + res.data.avatar
res.data.positionalTitleLevel == 'PRIMARY_LEVEL' ? res.data.positionalTitleLevel = '初级' : '' res.data.positionalTitleLevelvalue == 'PRIMARY_LEVEL' ? res.data.positionalTitleLevel = '初级' :
res.data.positionalTitleLevel == 'MIDDLE_LEVEL' ? res.data.positionalTitleLevel = '中级' : '' ''
res.data.positionalTitleLevel == 'HIGH_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 => { res.data.nurseStationPersonCertificateList.forEach(e => {
if (e.certificateUrl) { if (e.certificateUrl) {
e.certificateUrl = baseurl + e.certificateUrl e.certificateUrl = baseurl + e.certificateUrl
@ -266,7 +282,6 @@
} }
}) })
}, },
confirm(e) { confirm(e) {
this.appPersonallist.nurseStationSysUserVOList[0].nurseStationId = e[0].value this.appPersonallist.nurseStationSysUserVOList[0].nurseStationId = e[0].value
this.appPersonallist.nurseStationSysUserVOList[0].nurseStationName = e[0]['label'] this.appPersonallist.nurseStationSysUserVOList[0].nurseStationName = e[0]['label']
@ -275,6 +290,11 @@
sexshowtrue() { sexshowtrue() {
this.sexshow = true this.sexshow = true
}, },
//
positionalTitleLevelconfirm(e) {
this.appPersonallist.positionalTitleLevelvalue = e[0].label
this.appPersonallist.positionalTitleLevel = e[0].value
},
// //
sexconfirm(e) { sexconfirm(e) {
this.appPersonallist.sex = e[0].label this.appPersonallist.sex = e[0].label