AA
This commit is contained in:
@@ -13,20 +13,40 @@ Page({
|
||||
itemView: [
|
||||
{
|
||||
icon: "诊前约号",
|
||||
title: "诊前约号"
|
||||
title: "全程陪诊",
|
||||
price:"200",
|
||||
describe:"服务内容:排队 预约 挂号 缴费 取药 记录医嘱"
|
||||
},
|
||||
{
|
||||
icon: "代办买药",
|
||||
title: "代办买药"
|
||||
icon: "诊前约号",
|
||||
title: "诊前约号",
|
||||
price:"20",
|
||||
describe:"服务内容:协助办理完成挂号"
|
||||
},
|
||||
// {
|
||||
// icon: "代办买药",
|
||||
// title: "代办买药",
|
||||
// price:"30",
|
||||
// describe:"服务内容:协助代理买药"
|
||||
// },
|
||||
{
|
||||
icon: "取送结果",
|
||||
title: "代办问诊",
|
||||
price:"50",
|
||||
describe:"服务内容:使用病人或者家属取检查报告化验单向医生问明情况"
|
||||
},
|
||||
{
|
||||
icon: "取送结果",
|
||||
title: "取送结果"
|
||||
title: "取送结果",
|
||||
price:"50",
|
||||
describe:"服务内容:包括给病人或者家属取检查报告化验单等"
|
||||
},
|
||||
{
|
||||
icon: "出入院办理",
|
||||
title: "出入院办理"
|
||||
}
|
||||
// {
|
||||
// icon: "出入院办理",
|
||||
// title: "出入院办理",
|
||||
// price:"100",
|
||||
// describe:"协助办理出入院手续"
|
||||
// }
|
||||
],
|
||||
hospitalData: [
|
||||
{
|
||||
@@ -69,7 +89,16 @@ Page({
|
||||
* 诊前约号、代办买药、取送结果、出入院办理、就医陪诊、园内护理
|
||||
*/
|
||||
itemClick (options) {
|
||||
console.log(options.currentTarget.dataset.id)
|
||||
// console.log(options.currentTarget.dataset.id)
|
||||
|
||||
let item = JSON.stringify(options.currentTarget.dataset.item);
|
||||
// console.log("传递的item" + item);
|
||||
console.log("传递的item" + item);
|
||||
wx.navigateTo({
|
||||
// url: "/pages/peizhen/peizhendetail?servername=" + options.currentTarget.dataset.id,
|
||||
url: "/pages/peizhen/peizhendetail?item=" + item,
|
||||
|
||||
});
|
||||
},
|
||||
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
</view>
|
||||
<view class="item-view">
|
||||
<block wx:for="{{itemView}}" wx:key="id">
|
||||
<view class="item-list" bindtap="itemClick" data-id="{{item.title}}">
|
||||
<view class="item-list" bindtap="itemClick" data-id="{{item.title}}" data-item="{{item}}">
|
||||
<view class="item-image">
|
||||
<image src="../image/home/{{item.icon}}.png" mode="aspectFit"></image>
|
||||
</view>
|
||||
|
||||
@@ -23,28 +23,44 @@ Page({
|
||||
version_number: '1.0',
|
||||
height: '',
|
||||
url: app.globalData.url,
|
||||
ceshi: [{
|
||||
"hospitalId": null,
|
||||
"userName": "admin",
|
||||
"userId": 1,
|
||||
"age": 24,
|
||||
"address": "清华科技园一单元",
|
||||
"city": "陕西省 咸阳市",
|
||||
"experience": "18年",
|
||||
"introduce": "刘德华 (Andy Lau),1961年9月27日出生于中国香港新界大埔镇泰亨村[325],毕业于第十期无线艺员训练班,中国香港男演员、歌手、制片人、作词人、中国残疾人福利基金会副理事长。",
|
||||
"isMarry": "1",
|
||||
"nickName": "蒲仁飞",
|
||||
"sex": "汉",
|
||||
"userType": "B",
|
||||
"avatar": "http://118.25.179.82:8080/rlztest/2023-04-07/ebe08486-b96e-4a9e-bd17-11b868aeee00.jpg",
|
||||
"phonenumber": "18792702166",
|
||||
"name": "蒲仁飞",
|
||||
"facePic": "http://118.25.179.82:8080/rlztest/2023-04-07/ebe08486-b96e-4a9e-bd17-11b868aeee00.jpg",
|
||||
"frontIdentity": "http://118.25.179.82:8080/rlztest/2023-04-07/ddc4a4ac-4a8d-41c2-8177-9e53c9a2843e.jpg",
|
||||
"backIdentity": "http://118.25.179.82:8080/rlztest/2023-04-07/7a6960e2-05fd-4899-a534-21fbc5032c4d.jpg",
|
||||
"state": "1",
|
||||
"identityNo": "612324169855241822"
|
||||
}]
|
||||
itemView: [
|
||||
{
|
||||
icon: "诊前约号",
|
||||
title: "全程陪诊",
|
||||
price:"200",
|
||||
describe:"服务内容:排队 预约 挂号 缴费 取药 记录医嘱"
|
||||
},
|
||||
{
|
||||
icon: "诊前约号",
|
||||
title: "诊前约号",
|
||||
price:"20",
|
||||
describe:"服务内容:协助办理完成挂号"
|
||||
},
|
||||
// {
|
||||
// icon: "代办买药",
|
||||
// title: "代办买药",
|
||||
// price:"30",
|
||||
// describe:"服务内容:协助代理买药"
|
||||
// },
|
||||
{
|
||||
icon: "取送结果",
|
||||
title: "代办问诊",
|
||||
price:"50",
|
||||
describe:"服务内容:使用病人或者家属取检查报告化验单向医生问明情况"
|
||||
},
|
||||
{
|
||||
icon: "取送结果",
|
||||
title: "取送结果",
|
||||
price:"50",
|
||||
describe:"服务内容:包括给病人或者家属取检查报告化验单等"
|
||||
},
|
||||
// {
|
||||
// icon: "出入院办理",
|
||||
// title: "出入院办理",
|
||||
// price:"100",
|
||||
// describe:"协助办理出入院手续"
|
||||
// }
|
||||
],
|
||||
},
|
||||
onChange(e) {
|
||||
this.setData({
|
||||
|
||||
@@ -20,9 +20,9 @@
|
||||
<!--index.wxml-->
|
||||
<view class="contar">
|
||||
<view class="tejiashangpin">
|
||||
<view class="Discount" wx:if="{{ceshi.length}}">
|
||||
<view class="Discount" wx:if="{{itemView.length}}">
|
||||
|
||||
<view wx:for="{{ceshi}}" wx:key="{{index}}" wx:for-item="item" class="flex-item bc_green" style='display:flex;background-color: white;margin-right: 10rpx;margin-bottom: 24rpx;'>
|
||||
<view wx:for="{{itemView}}" wx:key="{{index}}" wx:for-item="item" class="flex-item bc_green" style='display:flex;background-color: white;margin-right: 10rpx;margin-bottom: 24rpx;'>
|
||||
<view class="Group" bindtap="details" data-item="{{item}}">
|
||||
<view class="Group-image">
|
||||
<image src="../image/abc.png"></image>
|
||||
@@ -30,14 +30,14 @@
|
||||
<view class="content">
|
||||
|
||||
<view style="display: flex; flex-direction:row;align-items : flex-end;">
|
||||
<view class="title1">{{"全程陪诊"}}</view>
|
||||
<view class="title2">({{"陪护员"}})</view>
|
||||
<view class="title1">{{item.title}}</view>
|
||||
<view class="title2"></view>
|
||||
<view wx:if="{{item.sex==1}}" class="title3">{{"男"}}</view>
|
||||
<view wx:if="{{item.sex==0}}" class="title3">{{"女"}}</view>
|
||||
<view class="title4">{{200}}元</view>
|
||||
<view class="title4">{{item.price}}元</view>
|
||||
</view>
|
||||
<view class="tejia">
|
||||
<view class="Price2">{{"排队 预约 挂号 缴费 取药 记录医嘱等"}}</view>
|
||||
<view class="Price2">{{item.describe}}</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -45,52 +45,6 @@
|
||||
|
||||
|
||||
|
||||
<view wx:for="{{ceshi}}" wx:key="{{index}}" wx:for-item="item" class="flex-item bc_green" style='display:flex;background-color: white;margin-right: 10rpx;margin-bottom: 24rpx;'>
|
||||
<view class="Group" bindtap="details" data-item="{{item}}">
|
||||
<view class="Group-image">
|
||||
<image src="../image/abc.png"></image>
|
||||
</view>
|
||||
<view class="content">
|
||||
|
||||
<view style="display: flex; flex-direction:row;align-items : flex-end;">
|
||||
<view class="title1">{{"诊前预约"}}</view>
|
||||
<view class="title2">({{"陪护员"}})</view>
|
||||
<view wx:if="{{item.sex==1}}" class="title3">{{"男"}}</view>
|
||||
<view wx:if="{{item.sex==0}}" class="title3">{{"女"}}</view>
|
||||
<view class="title4">{{20}}元</view>
|
||||
</view>
|
||||
<view class="tejia">
|
||||
<view class="Price2">{{"协助办理完成挂号"}}</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
|
||||
|
||||
|
||||
<view wx:for="{{ceshi}}" wx:key="{{index}}" wx:for-item="item" class="flex-item bc_green" style='display:flex;background-color: white;margin-right: 10rpx;margin-bottom: 24rpx;'>
|
||||
<view class="Group" bindtap="details" data-item="{{item}}">
|
||||
<view class="Group-image">
|
||||
<image src="../image/abc.png"></image>
|
||||
</view>
|
||||
<view class="content">
|
||||
|
||||
<view style="display: flex; flex-direction:row;align-items : flex-end;">
|
||||
<view class="title1">{{"送取结果"}}</view>
|
||||
<view class="title2">({{"陪护员"}})</view>
|
||||
<view wx:if="{{item.sex==1}}" class="title3">{{"男"}}</view>
|
||||
<view wx:if="{{item.sex==0}}" class="title3">{{"女"}}</view>
|
||||
<view class="title4">{{50}}元</view>
|
||||
</view>
|
||||
<view class="tejia">
|
||||
<view class="Price2">{{"包括给病人或者家属取检查报告化验单等"}}</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
@@ -45,7 +45,7 @@ Page({
|
||||
clock: '',
|
||||
address: '',
|
||||
danjia: 0.01,//单位为元
|
||||
beizhu: '',
|
||||
beizhu: ''
|
||||
},
|
||||
|
||||
|
||||
@@ -127,14 +127,17 @@ Page({
|
||||
wx.request({
|
||||
url: app.globalData.url + '/system/order/insertOrderPz',
|
||||
data: {
|
||||
startTime: this.data.seckill_start,
|
||||
bId: this.data.item.userId,
|
||||
yuguMoney: this.data.paymoney,
|
||||
price: this.data.danjia,//
|
||||
priceType: "1",//1是按天
|
||||
bId: "",//陪护人员id
|
||||
cId: wx.getStorageSync('uid'),//患者id
|
||||
yuguMoney: "1",//金额
|
||||
yuliu9: "2",//订单大类1-陪护 2-陪诊
|
||||
yuliu10: "1",//订单类型1-全程陪诊,2-诊前约号3-送取报告4-待办问诊
|
||||
hospitalId: this.data.item.hospitalId,
|
||||
cId: wx.getStorageSync('uid'),
|
||||
remark: this.data.beizhu,
|
||||
startTime: this.data.seckill_start,
|
||||
yuliu11:"18691577328",//患者电话
|
||||
yuliu12:"无",//特殊要求
|
||||
yuliu13:"东泰城市之光",//送达地址
|
||||
yuliu14:"610526198701180018"//患者身份证号
|
||||
},
|
||||
method: 'POST',
|
||||
header: {
|
||||
@@ -221,11 +224,21 @@ Page({
|
||||
statusBarHeight: statusBarHeight,
|
||||
height: 46 + statusBarHeight,
|
||||
});
|
||||
// var that = this;
|
||||
// this.setData({
|
||||
// servername: e.servername
|
||||
// })
|
||||
// console.log('servername==' + this.data.servername)
|
||||
|
||||
|
||||
var that = this;
|
||||
let item = JSON.parse(e.item);
|
||||
that.setData({
|
||||
item: item
|
||||
});
|
||||
console.log("进入订单详情的title==" + that.data.item.title)
|
||||
|
||||
|
||||
},
|
||||
/**
|
||||
* 拨打电话
|
||||
|
||||
@@ -10,14 +10,14 @@
|
||||
</view>
|
||||
<view class="content">
|
||||
<view style="display: flex; flex-direction:row;align-items : flex-end;">
|
||||
<view class="title1">{{"全程陪诊"}}</view>
|
||||
<view class="title1">{{item.title}}</view>
|
||||
<view class="title2"></view>
|
||||
<view wx:if="{{item.sex==1}}" class="title3">{{"男"}}</view>
|
||||
<view wx:if="{{item.sex==0}}" class="title3">{{"女"}}</view>
|
||||
<view class="title4">{{"200"}}元</view>
|
||||
<view class="title4">{{item.price}}元</view>
|
||||
</view>
|
||||
<view class="tejia">
|
||||
<view class="Price2">{{"排队 预约 挂号 缴费 取药 记录医嘱等"}}</view>
|
||||
<view class="Price2">{{item.describe}}</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
Reference in New Issue
Block a user