修改
This commit is contained in:
parent
2dfddc7dac
commit
e12aad2fb0
@ -366,7 +366,9 @@
|
|||||||
url: `/pagesB/modify/modify`
|
url: `/pagesB/modify/modify`
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
this.gologin();
|
uni.navigateTo({
|
||||||
|
url: '/pagesB/login/login'
|
||||||
|
})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
//护理站服务订单
|
//护理站服务订单
|
||||||
@ -387,20 +389,6 @@
|
|||||||
url: '/pagesB/Serviceevaluation/Serviceevaluation'
|
url: '/pagesB/Serviceevaluation/Serviceevaluation'
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
// 签约信息
|
|
||||||
// Signing() {
|
|
||||||
// if (uni.getStorageSync('region') == 3) {
|
|
||||||
// this.$refs.uToast.show({
|
|
||||||
// title: '当前地区不支持,请选择其它地区',
|
|
||||||
// type: 'error',
|
|
||||||
// })
|
|
||||||
// } else {
|
|
||||||
// uni.navigateTo({
|
|
||||||
// url: '/pagesB/mysigning/mysigning'
|
|
||||||
// })
|
|
||||||
// }
|
|
||||||
|
|
||||||
// },
|
|
||||||
// 家医功能提示
|
// 家医功能提示
|
||||||
family() {
|
family() {
|
||||||
this.$refs.uToast.show({
|
this.$refs.uToast.show({
|
||||||
@ -443,15 +431,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
//去登陆
|
|
||||||
gologin() {
|
|
||||||
this.$refs.uToast.show({
|
|
||||||
title: '您未登录,请先登录',
|
|
||||||
type: 'error',
|
|
||||||
duration: '1000',
|
|
||||||
url: '/pagesB/login/login'
|
|
||||||
})
|
|
||||||
},
|
|
||||||
//优惠券
|
//优惠券
|
||||||
gocoupon() {
|
gocoupon() {
|
||||||
const value = uni.getStorageSync('userinfo');
|
const value = uni.getStorageSync('userinfo');
|
||||||
@ -485,9 +464,8 @@
|
|||||||
//去登陆
|
//去登陆
|
||||||
gologin() {
|
gologin() {
|
||||||
this.$refs.uToast.show({
|
this.$refs.uToast.show({
|
||||||
title: '您未登录,请先登录',
|
title: '您未登录,请点击上方登录',
|
||||||
type: 'error',
|
type: 'error',
|
||||||
url: '/pagesB/login/login'
|
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
//护理站服务订单
|
//护理站服务订单
|
||||||
|
|||||||
@ -20,10 +20,10 @@
|
|||||||
{{score?score:0}}
|
{{score?score:0}}
|
||||||
</span>
|
</span>
|
||||||
</view>
|
</view>
|
||||||
<view class="paiming" v-if="hkname=='河口'">
|
<view class="paiming" v-if="hkname=='河口'" @click='lookranking'>
|
||||||
<span
|
<span
|
||||||
:style="score>=0&&score<800?'color:#fff':score>=800&&score<1600?'color:#D3BC96':score>=1600&&score<2400?'color:#AD7600':score>=2400&&score<3000?'color:#FAEEDB':score>=3000?'color:#4864ED':''">
|
:style="score>=0&&score<800?'color:#fff':score>=800&&score<1600?'color:#D3BC96':score>=1600&&score<2400?'color:#AD7600':score>=2400&&score<3000?'color:#FAEEDB':score>=3000?'color:#4864ED':''">
|
||||||
积分榜排名:NO.{{scoreranking}}
|
积分榜排名:第{{scoreranking}}名
|
||||||
</span>
|
</span>
|
||||||
</view>
|
</view>
|
||||||
<view class="flex" v-if="region!=2">
|
<view class="flex" v-if="region!=2">
|
||||||
@ -85,6 +85,11 @@
|
|||||||
<u-empty v-else mode="list" icon-size='220' text='暂无积分记录'></u-empty>
|
<u-empty v-else mode="list" icon-size='220' text='暂无积分记录'></u-empty>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
<u-popup v-model="lookrankingshow" mode="center" closeable border-radius="14">
|
||||||
|
<view style="padding: 120rpx 60rpx;">
|
||||||
|
{{patientName}}在{{orgName}}排第{{scoreranking}}名
|
||||||
|
</view>
|
||||||
|
</u-popup>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
@ -114,7 +119,10 @@
|
|||||||
orgNo: '',
|
orgNo: '',
|
||||||
title: '',
|
title: '',
|
||||||
hkname: '',
|
hkname: '',
|
||||||
|
orgName: "",
|
||||||
|
patientName: "",
|
||||||
scoreranking: 0,
|
scoreranking: 0,
|
||||||
|
lookrankingshow: false,
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
onShow() {
|
onShow() {
|
||||||
@ -126,9 +134,11 @@
|
|||||||
onReady() { //更改导航栏文字
|
onReady() { //更改导航栏文字
|
||||||
if (uni.getStorageSync('region') == 2) {
|
if (uni.getStorageSync('region') == 2) {
|
||||||
detail(this.query.identity).then(res => {
|
detail(this.query.identity).then(res => {
|
||||||
|
this.orgName = res.data.orgName
|
||||||
this.hkname = res.data.countyName.split('区')[0].split('县')[0]
|
this.hkname = res.data.countyName.split('区')[0].split('县')[0]
|
||||||
this.orgNo = res.data.orgNo
|
this.orgNo = res.data.orgNo
|
||||||
this.title = this.hkname + '健康信用中心'
|
this.title = this.hkname + '健康信用中心'
|
||||||
|
this.patientName = uni.getStorageSync('userinfo').patientName
|
||||||
uni.setNavigationBarTitle({
|
uni.setNavigationBarTitle({
|
||||||
title: this.hkname + '健康信用中心'
|
title: this.hkname + '健康信用中心'
|
||||||
});
|
});
|
||||||
@ -145,6 +155,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
lookranking() {
|
||||||
|
this.lookrankingshow = true
|
||||||
|
},
|
||||||
scoretotalinfo() {
|
scoretotalinfo() {
|
||||||
scoretotal(this.query.identity).then(res => {
|
scoretotal(this.query.identity).then(res => {
|
||||||
this.score = res.data
|
this.score = res.data
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user