This commit is contained in:
曹辉 2023-03-03 14:24:09 +08:00
parent 87c7f1b694
commit 6abec24b9e
4 changed files with 12 additions and 17 deletions

View File

@ -155,14 +155,14 @@
} }
.nickname { .nickname {
position: absolute; position: absolute;
top: 275rpx; top: 300rpx;
left: 35%; left: 35%;
font-size: 30rpx; font-size: 30rpx;
} }
.phone { .phone {
position: absolute; position: absolute;
top: 200rpx; top: 180rpx;
left: 35%; left: 35%;
} }
.bjimg{ .bjimg{

View File

@ -7,10 +7,12 @@
<image class="bjimg" src="../../static/userbeijing.png" mode=""></image> <image class="bjimg" src="../../static/userbeijing.png" mode=""></image>
<view class="phone" v-if="appPersonallist.patientName"> <view class="phone" v-if="appPersonallist.patientName">
{{appPersonallist.patientName}} {{appPersonallist.patientName}}
<span style='font-size: 32rpx;padding-left: 20rpx;'> </view>
{{appPersonallist.age}} <view class="nickname" style="top:250rpx">
</span> <span style='padding-right: 10rpx;'>
<span style='font-size: 32rpx;padding-left: 20rpx;'> {{appPersonallist.age}}
</span>
<span style='padding-left: 30rpx;'>
{{appPersonallist.sex=='MALE'?'男':''}} {{appPersonallist.sex=='MALE'?'男':''}}
{{appPersonallist.sex=='FEMALE'?'女':''}} {{appPersonallist.sex=='FEMALE'?'女':''}}
</span> </span>

View File

@ -18,7 +18,7 @@
padding-bottom: 10rpx; padding-bottom: 10rpx;
.item { .item {
width: 90%; width: 94%;
height: 101rpx; height: 101rpx;
font-size: 36rpx; font-size: 36rpx;
color: #000000; color: #000000;

View File

@ -240,7 +240,6 @@
uni.navigateBack({ uni.navigateBack({
delta: 2 delta: 2
}) })
}, 1500) }, 1500)
} }
} catch (e) {} } catch (e) {}
@ -253,14 +252,12 @@
if (that.addresslength.length > 2) { if (that.addresslength.length > 2) {
addnursingStation(that.infolist).then(res => { addnursingStation(that.infolist).then(res => {
if (res.code == 200) { if (res.code == 200) {
that.goodsList()
that.$refs.uToast.show({ that.$refs.uToast.show({
title: '新增成功', title: '新增成功',
type: 'success' type: 'success'
}) })
that.cencel(); that.cencel();
setTimeout(e => {
that.goodsList()
}, 1000)
} else { } else {
that.$refs.uToast.show({ that.$refs.uToast.show({
title: res.msg, title: res.msg,
@ -296,14 +293,12 @@
var that = this var that = this
updatenursingStation(that.infolist).then(res => { updatenursingStation(that.infolist).then(res => {
if (res.code == 200) { if (res.code == 200) {
that.goodsList()
that.$refs.uToast.show({ that.$refs.uToast.show({
title: '修改成功', title: '修改成功',
type: 'success' type: 'success'
}) })
that.cencel(); that.cencel();
setTimeout(e => {
that.goodsList()
}, 1000)
} else { } else {
that.$refs.uToast.show({ that.$refs.uToast.show({
title: res.msg, title: res.msg,
@ -374,13 +369,11 @@
}) })
} else { } else {
delnursingStation(item.id).then(res => { delnursingStation(item.id).then(res => {
that.goodsList()
that.$refs.uToast.show({ that.$refs.uToast.show({
title: '删除成功', title: '删除成功',
type: 'success' type: 'success'
}) })
setTimeout(e => {
that.goodsList()
}, 1000)
that.delshow = false; that.delshow = false;
}) })
} }