|
@@ -14,7 +14,7 @@
|
|
<image class="header-img" src="https://zhengda.oss-cn-chengdu.aliyuncs.com/baoma/static/toolimg/myedit.png"></image>
|
|
<image class="header-img" src="https://zhengda.oss-cn-chengdu.aliyuncs.com/baoma/static/toolimg/myedit.png"></image>
|
|
</navigator>
|
|
</navigator>
|
|
<view class="pr tr m-flex">
|
|
<view class="pr tr m-flex">
|
|
- <view class="tip msg" v-if="true"></view>
|
|
|
|
|
|
+ <!-- <view class="tip msg" v-if="true"></view> -->
|
|
<navigator hoverClass="none" url="message">
|
|
<navigator hoverClass="none" url="message">
|
|
<image class="header-img" src="https://zhengda.oss-cn-chengdu.aliyuncs.com/baoma/static/toolimg/myinfo.png"></image>
|
|
<image class="header-img" src="https://zhengda.oss-cn-chengdu.aliyuncs.com/baoma/static/toolimg/myinfo.png"></image>
|
|
</navigator>
|
|
</navigator>
|
|
@@ -65,28 +65,29 @@
|
|
<view class="pr m-gray-small">档案列表</view>
|
|
<view class="pr m-gray-small">档案列表</view>
|
|
<label class="m-gray-letter iconfont icon-arrow-right f18 dpb"></label>
|
|
<label class="m-gray-letter iconfont icon-arrow-right f18 dpb"></label>
|
|
</navigator>
|
|
</navigator>
|
|
- <view class="mt20 pr pb40" style="margin-left: 20rpx;margin-right: 20rpx;box-shadow: 0 0 50rpx 0 rgba(0, 0, 0, 0.1);">
|
|
|
|
- <swiper duration="500" @change="swiperChange" :current="itemcurrent" interval="5000" style="height:380rpx;" class="swiper-box">
|
|
|
|
- <swiper-item class="" style="box-sizing: border-box;" v-for="(item,index) in 4" :key="index">
|
|
|
|
|
|
+ <view class="mt20 pr pb40" style="margin-left: 20rpx;margin-right: 20rpx;box-shadow: 0 0 50rpx 0 rgba(0, 0, 0, 0.1);height:380rpx;">
|
|
|
|
+ <navigator class="m-ycenter pt40" hoverClass="none" url="../archives/add_archives" v-if="!istrue">
|
|
|
|
+ <view class="bdr30 m-theme br-theme tc plr20 pt8 pb8 f14 width40">新增健康档案</view>
|
|
|
|
+ <!-- <view class="pt20 f12 m-gray-letter">点击添加新的健康档案</view> -->
|
|
|
|
+ </navigator>
|
|
|
|
+ <swiper duration="500" @change="swiperChange" v-if="istrue" :current="itemcurrent" interval="5000" style="height:380rpx;"
|
|
|
|
+ class="swiper-box">
|
|
|
|
+ <swiper-item class="" style="box-sizing: border-box;" v-for="(ite,index) in patientList" :key="index">
|
|
<view class="bg-white" style="border-radius: 16rpx;height: 100%;">
|
|
<view class="bg-white" style="border-radius: 16rpx;height: 100%;">
|
|
- <navigator class="m-ycenter pt40" hoverClass="none" url="" v-if="false">
|
|
|
|
- <view class="bdr30 m-theme br-theme tc plr20 pt8 pb8 f14 width40">新增健康档案</view>
|
|
|
|
- <view class="pt20 f12 m-gray-letter">点击添加新的健康档案</view>
|
|
|
|
- </navigator>
|
|
|
|
- <view @click="_goInfo" v-if="true" style="height: 100%;" v-else>
|
|
|
|
- <view class="fb f18 pt20 margin-left">落雨桐</view>
|
|
|
|
- <view class="f14 m-gray-letter pt10 margin-left">年龄:<text class="text-black">{{18}}岁</text></view>
|
|
|
|
|
|
+ <view @click="gotoinfo(ite)" style="height: 100%;">
|
|
|
|
+ <view class="fb f18 pt20 margin-left">{{ite.name}}</view>
|
|
|
|
+ <view class="f14 m-gray-letter pt10 margin-left">年龄:<text class="text-black">{{ite.age}}岁</text></view>
|
|
<view class="plr10 m-dpflex m-justify-start m-align-center overflow pb30 pt30" style="margin-top:60rpx;border-top: 2rpx solid rgb(248,248,248);">
|
|
<view class="plr10 m-dpflex m-justify-start m-align-center overflow pb30 pt30" style="margin-top:60rpx;border-top: 2rpx solid rgb(248,248,248);">
|
|
<view class="width33 m-ycenter overflow pr">
|
|
<view class="width33 m-ycenter overflow pr">
|
|
- <view class="fb f18">{{1}}</view>
|
|
|
|
|
|
+ <view class="fb f18">{{ite.order_num}}</view>
|
|
<view class="f12 m-gray-small mt6 line1">病例信息</view>
|
|
<view class="f12 m-gray-small mt6 line1">病例信息</view>
|
|
</view>
|
|
</view>
|
|
<view class="width33 m-ycenter overflow pr">
|
|
<view class="width33 m-ycenter overflow pr">
|
|
- <view class="fb f18">{{3}}</view>
|
|
|
|
|
|
+ <view class="fb f18">{{ite.pack_docter_num}}</view>
|
|
<view class="f12 m-gray-small mt6 line1">就诊记录</view>
|
|
<view class="f12 m-gray-small mt6 line1">就诊记录</view>
|
|
</view>
|
|
</view>
|
|
<view class="width33 m-ycenter overflow pr">
|
|
<view class="width33 m-ycenter overflow pr">
|
|
- <view class="fb f18">{{2}}</view>
|
|
|
|
|
|
+ <view class="fb f18">{{ite.perfectd_degree}}</view>
|
|
<view class="f12 m-gray-small mt6 line1">个人资料</view>
|
|
<view class="f12 m-gray-small mt6 line1">个人资料</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
@@ -95,7 +96,7 @@
|
|
</swiper-item>
|
|
</swiper-item>
|
|
</swiper>
|
|
</swiper>
|
|
<view class="dots">
|
|
<view class="dots">
|
|
- <view :class="index==itemcurrent?'dot active':'dot'" v-for="(item,index) in 4" :key="index"></view>
|
|
|
|
|
|
+ <view :class="index==itemcurrent?'dot active':'dot'" v-for="(item,index) in patientList.length" :key="index"></view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="fb f18 plr20 pt40">常用工具</view>
|
|
<view class="fb f18 plr20 pt40">常用工具</view>
|
|
@@ -128,7 +129,7 @@
|
|
<image style="width: 42rpx;height: 42rpx;" src="https://zhengda.oss-cn-chengdu.aliyuncs.com/baoma/static/toolimg/myhple.png"></image>
|
|
<image style="width: 42rpx;height: 42rpx;" src="https://zhengda.oss-cn-chengdu.aliyuncs.com/baoma/static/toolimg/myhple.png"></image>
|
|
<view class="f14 m-gray-small mt10 line1">帮助反馈</view>
|
|
<view class="f14 m-gray-small mt10 line1">帮助反馈</view>
|
|
</navigator>
|
|
</navigator>
|
|
- <view @click="gotohuihua" class="width25 m-ycenter overflow pr">
|
|
|
|
|
|
+ <view class="width25 m-ycenter overflow pr">
|
|
<image style="width: 42rpx;height: 42rpx;" src="https://zhengda.oss-cn-chengdu.aliyuncs.com/baoma/static/toolimg/kefu.png"></image>
|
|
<image style="width: 42rpx;height: 42rpx;" src="https://zhengda.oss-cn-chengdu.aliyuncs.com/baoma/static/toolimg/kefu.png"></image>
|
|
<view class="f14 m-gray-small mt10 line1">客服咨询</view>
|
|
<view class="f14 m-gray-small mt10 line1">客服咨询</view>
|
|
</view>
|
|
</view>
|
|
@@ -149,11 +150,14 @@
|
|
},
|
|
},
|
|
onShow() {
|
|
onShow() {
|
|
this.getUserInfo()
|
|
this.getUserInfo()
|
|
|
|
+ this.getarchives()
|
|
},
|
|
},
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
itemcurrent: 0,
|
|
itemcurrent: 0,
|
|
- info: {}
|
|
|
|
|
|
+ info: {},
|
|
|
|
+ istrue: false,
|
|
|
|
+ patientList: []
|
|
}
|
|
}
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
@@ -174,11 +178,17 @@
|
|
// }
|
|
// }
|
|
}
|
|
}
|
|
},
|
|
},
|
|
|
|
+ gotoinfo(ite) {
|
|
|
|
+ uni.navigateTo({
|
|
|
|
+ url: "../archives/archives_info?id=" + ite.id
|
|
|
|
+ })
|
|
|
|
+ },
|
|
getarchives: async function() {
|
|
getarchives: async function() {
|
|
let res = await this.$request.post("/api/v1/patient/patientList")
|
|
let res = await this.$request.post("/api/v1/patient/patientList")
|
|
if (res.status == 0) {
|
|
if (res.status == 0) {
|
|
this.patientList = res.data.data
|
|
this.patientList = res.data.data
|
|
- if (this.patientList.length == 0) {
|
|
|
|
|
|
+ console.log(this.patientList)
|
|
|
|
+ if (this.patientList.length != 0) {
|
|
this.istrue = true
|
|
this.istrue = true
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -187,11 +197,6 @@
|
|
uni.navigateTo({
|
|
uni.navigateTo({
|
|
url: "../personal/coupon/coupon"
|
|
url: "../personal/coupon/coupon"
|
|
})
|
|
})
|
|
- },
|
|
|
|
- gotohuihua() {
|
|
|
|
- uni.navigateTo({
|
|
|
|
- url: "../common_tools/my_consulting/conversation"
|
|
|
|
- })
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|
|
};
|
|
};
|