Merge remote-tracking branch 'origin/dev'
# Conflicts: # pages/Healthitem/Healthitem.vue # pages/Personal/Personal.vue # pages/homepage/homepage.vue
This commit is contained in:
commit
cccf65dfab
@ -342,7 +342,13 @@
|
|||||||
"enablePullDownRefresh": false,
|
"enablePullDownRefresh": false,
|
||||||
"navigationBarBackgroundColor": "#ffffff"
|
"navigationBarBackgroundColor": "#ffffff"
|
||||||
}
|
}
|
||||||
|
}, {
|
||||||
|
"path": "pages/geriatricdisease/geriatricdisease",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": "国家老年病中心",
|
||||||
|
"enablePullDownRefresh": false,
|
||||||
|
"navigationBarBackgroundColor": "#ffffff"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"globalStyle": {
|
"globalStyle": {
|
||||||
|
|||||||
@ -12,7 +12,7 @@
|
|||||||
¥{{goodsPrice}}
|
¥{{goodsPrice}}
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="choice common" @tap="buyshow=true">
|
<view class="choice common" @tap="buyshowtrue">
|
||||||
<view class="selected">
|
<view class="selected">
|
||||||
已选
|
已选
|
||||||
</view>
|
</view>
|
||||||
@ -51,7 +51,7 @@
|
|||||||
<!-- <image v-for="(item,index) in info" :src="item.image" mode=""></image> -->
|
<!-- <image v-for="(item,index) in info" :src="item.image" mode=""></image> -->
|
||||||
</view>
|
</view>
|
||||||
<view class="Purchasecolumn">
|
<view class="Purchasecolumn">
|
||||||
<view class="buy" @tap="buyshow=true">
|
<view class="buy" @tap="buyshowtrue">
|
||||||
立即购买
|
立即购买
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@ -237,6 +237,27 @@
|
|||||||
url: '/pages/information/information'
|
url: '/pages/information/information'
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
buyshowtrue() {
|
||||||
|
var that = this
|
||||||
|
const value = uni.getStorageSync('openid');
|
||||||
|
const value2 = uni.getStorageSync('patientId');
|
||||||
|
if (value && value2) {
|
||||||
|
that.buyshow = true
|
||||||
|
} else {
|
||||||
|
that.$refs.uToast.show({
|
||||||
|
title: '未登录,请先登录',
|
||||||
|
type: 'error'
|
||||||
|
})
|
||||||
|
if (that.timer) {
|
||||||
|
clearTimeout(that.timer)
|
||||||
|
}
|
||||||
|
that.timer = setTimeout(e => {
|
||||||
|
uni.navigateTo({
|
||||||
|
url: '/pages/login/login'
|
||||||
|
})
|
||||||
|
}, 1000)
|
||||||
|
}
|
||||||
|
},
|
||||||
//立即购买跳转确认订单页面
|
//立即购买跳转确认订单页面
|
||||||
tapbuy() {
|
tapbuy() {
|
||||||
var that = this
|
var that = this
|
||||||
@ -529,7 +550,10 @@
|
|||||||
this.baseurl = baseurl
|
this.baseurl = baseurl
|
||||||
this.usershow = false
|
this.usershow = false
|
||||||
this.goodsDetailsinfo(this.goodsInfoId)
|
this.goodsDetailsinfo(this.goodsInfoId)
|
||||||
goodPatientInfo(this.updata.patientId).then(res => {
|
const value = uni.getStorageSync('patientId');
|
||||||
|
if (value) {
|
||||||
|
goodPatientInfo(value).then(res => {
|
||||||
|
if (res.code == 200) {
|
||||||
var user = res.data.filter(e => e.id == this.userid)
|
var user = res.data.filter(e => e.id == this.userid)
|
||||||
if (user.length >= 1) {
|
if (user.length >= 1) {
|
||||||
// user[0].address = user[0].provinceName + user[0].cityName + user[0].regionName + user[0]
|
// user[0].address = user[0].provinceName + user[0].cityName + user[0].regionName + user[0]
|
||||||
@ -549,7 +573,9 @@
|
|||||||
this.updata.phone = res.data[0].receivePhone
|
this.updata.phone = res.data[0].receivePhone
|
||||||
this.userid = res.data[0].id
|
this.userid = res.data[0].id
|
||||||
}
|
}
|
||||||
|
}
|
||||||
})
|
})
|
||||||
|
} else {}
|
||||||
let useritem = null
|
let useritem = null
|
||||||
uni.$on('updata', function(data) {
|
uni.$on('updata', function(data) {
|
||||||
that.updata = JSON.parse(data.updata)
|
that.updata = JSON.parse(data.updata)
|
||||||
|
|||||||
@ -26,6 +26,24 @@
|
|||||||
// console.log(this.item.informationContent)
|
// console.log(this.item.informationContent)
|
||||||
},
|
},
|
||||||
onReady() {}, //更改导航栏文字
|
onReady() {}, //更改导航栏文字
|
||||||
|
//1.分享给朋友
|
||||||
|
onShareAppMessage(res) {
|
||||||
|
let pages = getCurrentPages();
|
||||||
|
let url = pages[pages.length - 1].$page.fullPath
|
||||||
|
return {
|
||||||
|
title: '泉医到家',
|
||||||
|
path: url,
|
||||||
|
}
|
||||||
|
},
|
||||||
|
//2.分享到朋友圈
|
||||||
|
onShareTimeline(res) {
|
||||||
|
let pages = getCurrentPages();
|
||||||
|
let url = pages[pages.length - 1].$page.fullPath
|
||||||
|
return {
|
||||||
|
title: '泉医到家',
|
||||||
|
path: url,
|
||||||
|
}
|
||||||
|
},
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|||||||
@ -91,6 +91,24 @@
|
|||||||
uni.stopPullDownRefresh();
|
uni.stopPullDownRefresh();
|
||||||
}, 1000);
|
}, 1000);
|
||||||
},
|
},
|
||||||
|
//1.分享给朋友
|
||||||
|
onShareAppMessage(res) {
|
||||||
|
let pages = getCurrentPages();
|
||||||
|
let url = pages[pages.length - 1].$page.fullPath
|
||||||
|
return {
|
||||||
|
title: '泉医到家',
|
||||||
|
path: url,
|
||||||
|
}
|
||||||
|
},
|
||||||
|
//2.分享到朋友圈
|
||||||
|
onShareTimeline(res) {
|
||||||
|
let pages = getCurrentPages();
|
||||||
|
let url = pages[pages.length - 1].$page.fullPath
|
||||||
|
return {
|
||||||
|
title: '泉医到家',
|
||||||
|
path: url,
|
||||||
|
}
|
||||||
|
},
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|||||||
@ -1,261 +1,143 @@
|
|||||||
<template>
|
<template>
|
||||||
<view class="app">
|
<view class="app">
|
||||||
<view class="user">
|
<view class="item" @tap='gouser'>
|
||||||
<image v-if="appPersonallist.headPictureUrl" class="img" :src="baseurl+appPersonallist.headPictureUrl"
|
<image src="../../static/user.png" mode=""></image>
|
||||||
mode=""></image>
|
|
||||||
<image class="img" v-else src="../../static/user.png" mode=""></image>
|
|
||||||
<image class="bjimg" src="../../static/userbeijing.png" mode=""></image>
|
|
||||||
<view class="phone" v-if="appPersonallist.patientName">
|
|
||||||
{{appPersonallist.patientName}}
|
|
||||||
</view>
|
|
||||||
<view class="nickname">
|
|
||||||
{{appPersonallist.phone}}
|
|
||||||
</view>
|
|
||||||
<view class="modify" @tap='updatainfo()'>
|
|
||||||
修改信息
|
|
||||||
<image src="../../static/xg.png" mode=""></image>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
<view class="userinfo">
|
|
||||||
<view class="item">
|
|
||||||
<image src="../../static/jkda.png" mode=""></image>
|
|
||||||
<view class="text">
|
|
||||||
健康档案
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
<view class="item">
|
|
||||||
<image src="../../static/jifen.png" mode=""></image>
|
|
||||||
<view class="text">
|
|
||||||
积分
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
<view class="item">
|
|
||||||
<image src="../../static/yhj.png" mode=""></image>
|
|
||||||
<view class="text">
|
|
||||||
优惠卷
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
<view class="content">
|
|
||||||
<view class="CommodityOrder" @tap="goorder">
|
|
||||||
<view class="title">
|
<view class="title">
|
||||||
商品订单
|
个人信息
|
||||||
</view>
|
|
||||||
<view class="text">
|
|
||||||
查看全部
|
|
||||||
<image src="../../static/huijiantou.png" mode=""></image>
|
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="center">
|
<view class=" item" @tap='goorder'>
|
||||||
<view class="OrderStatus" @tap="gopaid('WAIT_PAY')">
|
<image src="../../static/dingdan.png" mode=""></image>
|
||||||
<image src="/static/Tobepaid.png" mode=""></image>
|
<view class="title">
|
||||||
<view class="title">待付款</view>
|
我的订单
|
||||||
<view class="orderCount" v-if="list.waitPayCount>0&&list.waitPayCount<100">
|
|
||||||
{{list.waitPayCount}}
|
|
||||||
</view>
|
|
||||||
<view class="orderCount" style="font-size :14rpx;" v-if="list.waitPayCount>=100">
|
|
||||||
99+
|
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="OrderStatus" @tap="goreceive('WAIT_RECEIVED_GOODS')">
|
|
||||||
<image src="/static/received.png" mode=""></image>
|
|
||||||
<view class="title">待收货</view>
|
|
||||||
<view class="orderCount" v-if="list.waitReceivedGoodsCount>0&&list.waitReceivedGoodsCount<100">
|
|
||||||
{{list.waitReceivedGoodsCount}}
|
|
||||||
</view>
|
|
||||||
<view class="orderCount" style="font-size :14rpx;" v-if="list.waitReceivedGoodsCount>=100">
|
|
||||||
99+
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
<view class="OrderStatus" @tap="gocompleted('RECEIVED_GOODS')">
|
|
||||||
<image src="/static/evaluated.png" mode=""></image>
|
|
||||||
<view class="title">待评价</view>
|
|
||||||
<view class="orderCount" v-if="list.receivedGoodsCount>0&&list.receivedGoodsCount<100">
|
|
||||||
{{list.receivedGoodsCount}}
|
|
||||||
</view>
|
|
||||||
<view class="orderCount" style="font-size :14rpx;" v-if="list.receivedGoodsCount>=100">
|
|
||||||
99+
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
<view class="OrderStatus" @tap="goEVALUATED('EVALUATED')">
|
|
||||||
<image src="/static/finished.png" mode=""></image>
|
|
||||||
<view class="title">已完成</view>
|
|
||||||
<!-- <view class="orderCount" v-if="list.evaluatedCount>0&&list.evaluatedCount<100">
|
|
||||||
{{list.evaluatedCount}}
|
|
||||||
</view>
|
|
||||||
<view class="orderCount" v-if="list.evaluatedCount>=100">
|
|
||||||
99+
|
|
||||||
</view> -->
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
<view class="service" @tap="gonursestation">
|
|
||||||
<view class="serviceorder">护理站服务订单</view>
|
|
||||||
<image src="../../static/huijiantou.png" mode=""></image>
|
|
||||||
</view>
|
|
||||||
<view class="service" style="top:1100rpx">
|
|
||||||
<view class="serviceorder">设置</view>
|
|
||||||
<image src="../../static/huijiantou.png" mode=""></image>
|
|
||||||
</view>
|
|
||||||
<u-toast ref="uToast" />
|
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import {
|
|
||||||
appPersonal,
|
|
||||||
} from '@/api/user/user.js';
|
|
||||||
import {
|
import {
|
||||||
existPatientInfo
|
existPatientInfo
|
||||||
} from '@/api/startup/index.js'
|
} from '@/api/startup/index.js'
|
||||||
import {
|
|
||||||
orderCount
|
|
||||||
} from '@/api/order/index.js'
|
|
||||||
import baseurl from '@/api/baseurl.js'
|
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {};
|
||||||
baseurl: '',
|
|
||||||
appPersonallist: [], //获取个人信息
|
|
||||||
timer: null,
|
|
||||||
list: {},
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
onShow() {
|
onLoad() {},
|
||||||
let that = this
|
|
||||||
this.baseurl = baseurl
|
|
||||||
this.myInfo()
|
|
||||||
const value = uni.getStorageSync('patientId');
|
|
||||||
if (value) {
|
|
||||||
orderCount(value).then(res => {
|
|
||||||
this.list = res.data
|
|
||||||
})
|
|
||||||
} else {
|
|
||||||
that.$refs.uToast.show({
|
|
||||||
title: '请登录',
|
|
||||||
type: 'error',
|
|
||||||
duration: '1000',
|
|
||||||
url: '/pages/login/login'
|
|
||||||
})
|
|
||||||
}
|
|
||||||
},
|
|
||||||
onLoad(options) {},
|
|
||||||
methods: {
|
methods: {
|
||||||
remove() {
|
goorder() {
|
||||||
let that = this
|
|
||||||
uni.showModal({
|
|
||||||
title: '提示',
|
|
||||||
content: '确认要退出此账号吗',
|
|
||||||
success: function(res) {
|
|
||||||
if (res.confirm) {
|
|
||||||
uni.removeStorageSync('patientId');
|
|
||||||
uni.removeStorageSync('openid');
|
|
||||||
uni.removeStorageSync('phone');
|
|
||||||
uni.removeStorageSync('token');
|
|
||||||
that.$refs.uToast.show({
|
|
||||||
title: '退出账号成功',
|
|
||||||
type: 'success',
|
|
||||||
duration: '1000'
|
|
||||||
})
|
|
||||||
if (that.timer) {
|
|
||||||
clearTimeout(that.timer)
|
|
||||||
}
|
|
||||||
that.timer = setTimeout(e => {
|
|
||||||
uni.navigateBack({
|
|
||||||
delta: 1
|
|
||||||
})
|
|
||||||
}, 1000)
|
|
||||||
} else if (res.cancel) {
|
|
||||||
that.$refs.uToast.show({
|
|
||||||
title: '退出账号失败',
|
|
||||||
type: 'error',
|
|
||||||
duration: '1000'
|
|
||||||
})
|
|
||||||
}
|
|
||||||
}
|
|
||||||
});
|
|
||||||
},
|
|
||||||
removes() {
|
|
||||||
uni.removeStorageSync('patientId');
|
|
||||||
uni.removeStorageSync('openid');
|
|
||||||
uni.removeStorageSync('phone');
|
|
||||||
uni.removeStorageSync('Refresh');
|
|
||||||
uni.removeStorageSync('token');
|
|
||||||
uni.navigateBack({
|
|
||||||
delta: 1
|
|
||||||
})
|
|
||||||
},
|
|
||||||
//获取个人信息
|
|
||||||
myInfo() {
|
|
||||||
var that = this
|
var that = this
|
||||||
|
try {
|
||||||
const value = uni.getStorageSync('openid');
|
const value = uni.getStorageSync('openid');
|
||||||
const value2 = uni.getStorageSync('patientId');
|
const value3 = uni.getStorageSync('token');
|
||||||
if (value && value2) {
|
var that = this
|
||||||
|
if (value && value3) {
|
||||||
existPatientInfo(value).then(res => {
|
existPatientInfo(value).then(res => {
|
||||||
if (res.code == 200 && res.msg == 'LOGIN') {
|
if (res.code == 200 && res.msg == 'LOGIN') {
|
||||||
appPersonal(value2).then(Response => {
|
const value2 = uni.getStorageSync('patientId');
|
||||||
if (Response.code == 200) {
|
if (value2) {
|
||||||
that.appPersonallist = Response.data
|
uni.navigateTo({
|
||||||
that.appPersonallist.homeLatitude = Number(that.appPersonallist
|
url: '/pages/order/order'
|
||||||
.homeLatitude)
|
})
|
||||||
that.appPersonallist.homeLongitude = Number(that.appPersonallist
|
} else {
|
||||||
.homeLongitude)
|
that.remove()
|
||||||
} else if (Response.code == 9999) {} else {
|
}
|
||||||
that.removes();
|
} else {
|
||||||
|
that.remove()
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
that.removes();
|
that.remove()
|
||||||
|
}
|
||||||
|
} catch {
|
||||||
|
that.remove()
|
||||||
|
}
|
||||||
|
},
|
||||||
|
//跳转个人信息页面
|
||||||
|
gouser() {
|
||||||
|
try {
|
||||||
|
const value = uni.getStorageSync('openid');
|
||||||
|
const value3 = uni.getStorageSync('token');
|
||||||
|
var that = this
|
||||||
|
if (value && value3) {
|
||||||
|
existPatientInfo(value).then(res => {
|
||||||
|
if (res.code == 200 && res.msg == 'LOGIN') {
|
||||||
|
const value2 = uni.getStorageSync('patientId');
|
||||||
|
if (value2) {
|
||||||
|
uni.navigateTo({
|
||||||
|
url: '/pages/user/user'
|
||||||
|
})
|
||||||
|
} else {
|
||||||
|
that.remove()
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
that.remove()
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
that.removes();
|
that.remove()
|
||||||
|
}
|
||||||
|
} catch {
|
||||||
|
that.remove()
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
updatainfo() {
|
remove() {
|
||||||
|
uni.removeStorageSync('patientId');
|
||||||
|
uni.removeStorageSync('openid');
|
||||||
|
uni.removeStorageSync('phone');
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: `/pages/modify/modify`
|
url: '/pages/login/login'
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
//护理站服务订单
|
|
||||||
gonursestation() {
|
|
||||||
uni.navigateTo({
|
|
||||||
url: '/pages/Nursingstationserviceorder/Nursingstationserviceorder'
|
|
||||||
})
|
|
||||||
},
|
},
|
||||||
//待收货
|
//1.分享给朋友
|
||||||
goreceive(item) {
|
onShareAppMessage(res) {
|
||||||
uni.navigateTo({
|
let pages = getCurrentPages();
|
||||||
url: `/pages/CommodityOrder/CommodityOrder?orderStatus=${item}`
|
let url = pages[pages.length - 1].$page.fullPath
|
||||||
})
|
return {
|
||||||
},
|
title: '泉医到家',
|
||||||
//全部订单
|
path: url,
|
||||||
goorder() {
|
}
|
||||||
uni.navigateTo({
|
|
||||||
url: '/pages/CommodityOrder/CommodityOrder'
|
|
||||||
})
|
|
||||||
},
|
|
||||||
//已完成
|
|
||||||
goEVALUATED(item) {
|
|
||||||
uni.navigateTo({
|
|
||||||
url: `/pages/CommodityOrder/CommodityOrder?orderStatus=${item}`
|
|
||||||
})
|
|
||||||
},
|
|
||||||
//待评价
|
|
||||||
gocompleted(item) {
|
|
||||||
uni.navigateTo({
|
|
||||||
url: `/pages/CommodityOrder/CommodityOrder?orderStatus=${item}`
|
|
||||||
})
|
|
||||||
},
|
|
||||||
//待付款
|
|
||||||
gopaid(item) {
|
|
||||||
uni.navigateTo({
|
|
||||||
url: `/pages/CommodityOrder/CommodityOrder?orderStatus=${item}`
|
|
||||||
})
|
|
||||||
},
|
},
|
||||||
|
//2.分享到朋友圈
|
||||||
|
onShareTimeline(res) {
|
||||||
|
let pages = getCurrentPages();
|
||||||
|
let url = pages[pages.length - 1].$page.fullPath
|
||||||
|
return {
|
||||||
|
title: '泉医到家',
|
||||||
|
path: url,
|
||||||
|
}
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
@import "./Personal.scss";
|
.app {
|
||||||
|
padding: 0;
|
||||||
|
|
||||||
|
.item {
|
||||||
|
width: 94%;
|
||||||
|
margin: 20rpx auto 0;
|
||||||
|
background-color: #fff;
|
||||||
|
position: relative;
|
||||||
|
height: 100rpx;
|
||||||
|
border-radius: 5rpx;
|
||||||
|
|
||||||
|
.title {
|
||||||
|
position: absolute;
|
||||||
|
left: 150rpx;
|
||||||
|
top: 50%;
|
||||||
|
transform: translateY(-50%);
|
||||||
|
font-size: 44rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
image {
|
||||||
|
position: absolute;
|
||||||
|
left: 40rpx;
|
||||||
|
top: 50%;
|
||||||
|
transform: translateY(-50%);
|
||||||
|
width: 55rpx;
|
||||||
|
height: 55rpx;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@ -74,18 +74,10 @@
|
|||||||
},
|
},
|
||||||
onShow() {
|
onShow() {
|
||||||
var that = this
|
var that = this
|
||||||
try {
|
|
||||||
const value = uni.getStorageSync('openid');
|
|
||||||
const value3 = uni.getStorageSync('Refresh');
|
const value3 = uni.getStorageSync('Refresh');
|
||||||
if (value) {} else {
|
|
||||||
uni.navigateTo({
|
|
||||||
url: '/pages/login/login'
|
|
||||||
})
|
|
||||||
}
|
|
||||||
if (value3) {
|
if (value3) {
|
||||||
that.goodsListinfo();
|
that.goodsListinfo();
|
||||||
}
|
}
|
||||||
} catch (e) {}
|
|
||||||
},
|
},
|
||||||
onLoad(options) { //获取传值
|
onLoad(options) { //获取传值
|
||||||
if (options.title) {
|
if (options.title) {
|
||||||
|
|||||||
@ -253,6 +253,7 @@
|
|||||||
title: '请阅读用户协议并同意',
|
title: '请阅读用户协议并同意',
|
||||||
type: 'error',
|
type: 'error',
|
||||||
})
|
})
|
||||||
|
this.maskshow = true
|
||||||
} else {
|
} else {
|
||||||
this.orderlist.orderCount = 1;
|
this.orderlist.orderCount = 1;
|
||||||
this.orderlist.orderConsumableList = []
|
this.orderlist.orderConsumableList = []
|
||||||
|
|||||||
@ -1,14 +1,17 @@
|
|||||||
<template>
|
<template>
|
||||||
<view class="app">
|
<view class="app">
|
||||||
<view class="concent">
|
<u-tabs :list="tabList" :current="tabcurrent" @change="change"></u-tabs>
|
||||||
<view class="background">
|
<view class="items">
|
||||||
<image src="/static/logo.png" mode=""></image>
|
<view class="item" @tap='godiseasemanagement'>
|
||||||
<view>
|
<image src="../../static/zbglzbgl.png" mode=""></image>
|
||||||
<view class="detailed">
|
<view class="title">
|
||||||
<view>
|
专病管理云社区
|
||||||
专病管理简介:慢性病已成为我国老年人健康的最大威胁,建立标准化的慢病专病并发症防治中心,建立规范化的导诊流程、建立慢病专病综合电子档案,对于慢病及并发症的早期发现、早期治疗,延缓并发症的发生发展,降低患者、政府经济负担具有重要现实意义。组建“金字塔”式医生服务团队,由省级知名专家全程介入慢病管理、远程会诊、绿色就医通道;基层全科医生、护师落实专家指导意见和上门随访服务;辅以营养师和运动处方师,根据筛查监测数据提供营养膳食和专属运动处方运动建议;打造“一人、一病、一处方”的管理模式。
|
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
<view class="item" @tap='gogeriatricdisease'>
|
||||||
|
<image src="../../static/lnb.png" mode=""></image>
|
||||||
|
<view class="title">
|
||||||
|
国家老年病中心
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@ -19,9 +22,33 @@
|
|||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
tabcurrent: 0,
|
||||||
|
tabList: [{
|
||||||
|
name: '专病管理'
|
||||||
|
}],
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
onShow() {},
|
||||||
|
onLoad() {},
|
||||||
|
methods: {
|
||||||
|
//国家老年病
|
||||||
|
gogeriatricdisease() {
|
||||||
|
uni.navigateTo({
|
||||||
|
url: "/pages/geriatricdisease/geriatricdisease"
|
||||||
|
})
|
||||||
|
},
|
||||||
|
//跳转专病管理小程序
|
||||||
|
godiseasemanagement() {
|
||||||
|
uni.navigateToMiniProgram({
|
||||||
|
appId: 'wxa690d053c34ceebd',
|
||||||
|
path: '/pages/index/index',
|
||||||
|
extraData: {
|
||||||
|
'from': 'qy'
|
||||||
|
},
|
||||||
|
success(res) {}
|
||||||
|
})
|
||||||
|
},
|
||||||
|
},
|
||||||
//1.分享给朋友
|
//1.分享给朋友
|
||||||
onShareAppMessage(res) {
|
onShareAppMessage(res) {
|
||||||
let pages = getCurrentPages();
|
let pages = getCurrentPages();
|
||||||
@ -45,46 +72,37 @@
|
|||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
.app {
|
.app {
|
||||||
padding-top: 10rpx;
|
padding: 0;
|
||||||
|
|
||||||
.concent {
|
.items {
|
||||||
width: 701rpx;
|
background-color: #fff;
|
||||||
height: 900rpx;
|
width: 96%;
|
||||||
background: #4C7BC9;
|
margin: 20rpx auto;
|
||||||
box-shadow: 0px 9rpx 31rpx 9rpx rgba(0, 0, 0, 0.03);
|
padding: 60rpx 0;
|
||||||
border-radius: 20rpx;
|
border-radius: 5rpx;
|
||||||
margin: 5% auto 20px;
|
|
||||||
|
|
||||||
.background {
|
.item {
|
||||||
position: relative;
|
width: 50%;
|
||||||
width: 657rpx;
|
display: inline-block;
|
||||||
height: 850rpx;
|
|
||||||
background: #FFFFFF;
|
|
||||||
border-radius: 25rpx;
|
|
||||||
background-color: white;
|
|
||||||
margin: 0 auto;
|
|
||||||
top: 50%;
|
|
||||||
transform: translateY(-50%);
|
|
||||||
|
|
||||||
image {
|
image {
|
||||||
width: 178rpx;
|
width: 150rpx;
|
||||||
height: 160rpx;
|
height: 150rpx;
|
||||||
background: #FFFFFF;
|
display: block;
|
||||||
border-radius: 25px;
|
margin: 0 auto;
|
||||||
margin-left: 68%;
|
|
||||||
margin-top: 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.title {
|
||||||
|
display: block;
|
||||||
|
margin: 20rpx auto;
|
||||||
|
width: 180rpx;
|
||||||
|
text-align: center;
|
||||||
|
font-size: 40rpx;
|
||||||
|
line-height: 50rpx;
|
||||||
|
font-weight: 600;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.detailed {
|
|
||||||
width: 657rpx;
|
|
||||||
padding: 0 20rpx;
|
|
||||||
line-height: 56rpx;
|
|
||||||
}
|
|
||||||
|
|
||||||
.detailed view {
|
|
||||||
text-indent: 2em;
|
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
95
pages/geriatricdisease/geriatricdisease.vue
Normal file
95
pages/geriatricdisease/geriatricdisease.vue
Normal file
@ -0,0 +1,95 @@
|
|||||||
|
<template>
|
||||||
|
<view class="app">
|
||||||
|
<view class="concent">
|
||||||
|
<view class="background">
|
||||||
|
<image src="/static/logo.png" mode=""></image>
|
||||||
|
<view>
|
||||||
|
<view class="detailed">
|
||||||
|
<view>
|
||||||
|
国家老年病中心山东分中心是依托于首都医科大学宣武医院的国家老年疾病临床医学研究中心(国家科技部、国家卫计委、中央军委后勤保障部、国家食品药品监督管理总局联合批准的国家级临床医学研究中心),老年慢性病全国网络化诊治体系及医疗大数据系统,医疗与健康一体化的新型服务体系和数据体系山东省建设单位。为提升山东省基层医院老年病学科水平,建设区域老年疾病预防、管理体系。利用国家中心在老年疾病临床诊疗的优势:在衰老、老年常见重大疾病(帕金森和老年痴呆等老年神经变性病、心脑及外周血管病、糖尿病)和老年综合征(衰弱、跌倒、便秘等)防治领域,围绕老年高龄外科围手术期管理、老年用药管理、老年共病、老年重症、以及老年常见疾病(帕金森病、痴呆、心脑外周血管病、糖尿病等)早期预警、干预及全程管理的综合评估、干预和管理新技术。
|
||||||
|
主要
|
||||||
|
<view class="">
|
||||||
|
1、开展的科室有:帕金森,两腺科,妇科,心脑血管等精准治疗
|
||||||
|
</view>
|
||||||
|
<view class="">
|
||||||
|
2、开展项目有:慢病管理,血液净化(高血脂症)妇科筛查,老年病筛查、康复治疗等
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
data() {
|
||||||
|
return {};
|
||||||
|
},
|
||||||
|
//1.分享给朋友
|
||||||
|
onShareAppMessage(res) {
|
||||||
|
let pages = getCurrentPages();
|
||||||
|
let url = pages[pages.length - 1].$page.fullPath
|
||||||
|
return {
|
||||||
|
title: '泉医到家',
|
||||||
|
path: url,
|
||||||
|
}
|
||||||
|
},
|
||||||
|
//2.分享到朋友圈
|
||||||
|
onShareTimeline(res) {
|
||||||
|
let pages = getCurrentPages();
|
||||||
|
let url = pages[pages.length - 1].$page.fullPath
|
||||||
|
return {
|
||||||
|
title: '泉医到家',
|
||||||
|
path: url,
|
||||||
|
}
|
||||||
|
},
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="scss">
|
||||||
|
.app {
|
||||||
|
padding-top: 10rpx;
|
||||||
|
|
||||||
|
.concent {
|
||||||
|
width: 701rpx;
|
||||||
|
height: 1450rpx;
|
||||||
|
background: #4C7BC9;
|
||||||
|
box-shadow: 0px 9rpx 31rpx 9rpx rgba(0, 0, 0, 0.03);
|
||||||
|
border-radius: 20rpx;
|
||||||
|
margin: 5% auto 20px;
|
||||||
|
|
||||||
|
.background {
|
||||||
|
position: relative;
|
||||||
|
width: 657rpx;
|
||||||
|
height: 1400rpx;
|
||||||
|
background: #FFFFFF;
|
||||||
|
border-radius: 25rpx;
|
||||||
|
background-color: white;
|
||||||
|
margin: 0 auto;
|
||||||
|
top: 50%;
|
||||||
|
transform: translateY(-50%);
|
||||||
|
|
||||||
|
image {
|
||||||
|
width: 178rpx;
|
||||||
|
height: 200rpx;
|
||||||
|
background: #FFFFFF;
|
||||||
|
border-radius: 25px;
|
||||||
|
margin-left: 68%;
|
||||||
|
margin-top: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.detailed {
|
||||||
|
width: 657rpx;
|
||||||
|
padding: 0 20rpx;
|
||||||
|
line-height: 56rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.detailed view {
|
||||||
|
text-indent: 2em;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
@ -184,6 +184,14 @@
|
|||||||
},
|
},
|
||||||
//专病管理
|
//专病管理
|
||||||
godiseasemanagement() {
|
godiseasemanagement() {
|
||||||
|
// uni.navigateToMiniProgram({
|
||||||
|
// appId: 'wxa690d053c34ceebd',
|
||||||
|
// path: '/pages/index/index',
|
||||||
|
// extraData: {
|
||||||
|
// from: 'qy'
|
||||||
|
// },
|
||||||
|
// success(res) {}
|
||||||
|
// })
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: '/pages/diseasemanagement/diseasemanagement'
|
url: '/pages/diseasemanagement/diseasemanagement'
|
||||||
})
|
})
|
||||||
@ -265,7 +273,7 @@
|
|||||||
-webkit-overflow-scrolling: touch;
|
-webkit-overflow-scrolling: touch;
|
||||||
|
|
||||||
.container {
|
.container {
|
||||||
padding-top: 100rpx;
|
padding-top: 70rpx;
|
||||||
background-color: #fff
|
background-color: #fff
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -29,7 +29,6 @@
|
|||||||
onShow() {
|
onShow() {
|
||||||
uni.removeStorageSync('openid');
|
uni.removeStorageSync('openid');
|
||||||
uni.removeStorageSync('patientId');
|
uni.removeStorageSync('patientId');
|
||||||
uni.removeStorageSync('token');
|
|
||||||
uni.removeStorageSync('phone');
|
uni.removeStorageSync('phone');
|
||||||
},
|
},
|
||||||
//1.分享给朋友
|
//1.分享给朋友
|
||||||
@ -63,7 +62,6 @@
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
login() {
|
login() {
|
||||||
getWeChatUser(this.logincode, this.phonecode).then(res => {
|
getWeChatUser(this.logincode, this.phonecode).then(res => {
|
||||||
@ -96,6 +94,7 @@
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
pwdlogin() {
|
pwdlogin() {
|
||||||
|
uni.removeStorageSync('token');
|
||||||
var that = this
|
var that = this
|
||||||
createMobileToken().then(res => {
|
createMobileToken().then(res => {
|
||||||
uni.setStorageSync("token", res.data.token)
|
uni.setStorageSync("token", res.data.token)
|
||||||
|
|||||||
@ -329,7 +329,7 @@
|
|||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: '/pages/login/login'
|
url: '/pages/login/login'
|
||||||
})
|
})
|
||||||
}, 1500)
|
}, 1000)
|
||||||
}
|
}
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
|
|||||||
@ -9,8 +9,8 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import {
|
import {
|
||||||
existPatientInfo
|
createMobileToken
|
||||||
} from '@/api/startup/index.js'
|
} from '@/api/login/index.js'
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {};
|
return {};
|
||||||
@ -34,6 +34,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
onShow() {
|
onShow() {
|
||||||
|
createMobileToken().then(res => {
|
||||||
|
uni.setStorageSync("token", res.data.token)
|
||||||
|
})
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
uni.reLaunch({
|
uni.reLaunch({
|
||||||
url: '/pages/homepage/homepage'
|
url: '/pages/homepage/homepage'
|
||||||
|
|||||||
@ -138,7 +138,6 @@
|
|||||||
uni.removeStorageSync('patientId');
|
uni.removeStorageSync('patientId');
|
||||||
uni.removeStorageSync('openid');
|
uni.removeStorageSync('openid');
|
||||||
uni.removeStorageSync('phone');
|
uni.removeStorageSync('phone');
|
||||||
uni.removeStorageSync('token');
|
|
||||||
that.$refs.uToast.show({
|
that.$refs.uToast.show({
|
||||||
title: '退出账号成功',
|
title: '退出账号成功',
|
||||||
type: 'success',
|
type: 'success',
|
||||||
@ -167,7 +166,6 @@
|
|||||||
uni.removeStorageSync('openid');
|
uni.removeStorageSync('openid');
|
||||||
uni.removeStorageSync('phone');
|
uni.removeStorageSync('phone');
|
||||||
uni.removeStorageSync('Refresh');
|
uni.removeStorageSync('Refresh');
|
||||||
uni.removeStorageSync('token');
|
|
||||||
uni.navigateBack({
|
uni.navigateBack({
|
||||||
delta: 1
|
delta: 1
|
||||||
})
|
})
|
||||||
|
|||||||
BIN
static/lnb.png
Normal file
BIN
static/lnb.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.9 KiB |
BIN
static/zbglzbgl.png
Normal file
BIN
static/zbglzbgl.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.8 KiB |
Loading…
Reference in New Issue
Block a user