Commit 3ccb19702f5850c0ae066a206b8b27c797fc00f2

Authored by Lacue
1 parent 33a275c161

眼保健

Showing 21 changed files with 886 additions and 155 deletions

littleApp_child/app.json View file @ 3ccb197
... ... @@ -41,7 +41,9 @@
41 41 "pages/consulting/consulting",
42 42 "pages/consultationRecord/consultationRecord",
43 43 "pages/chatHis/chatHis",
44   - "pages/eyeReoort/eyeReoort"
  44 + "pages/eyeReoort/eyeReoort",
  45 + "pages/weightReport/weightReport",
  46 + "pages/weightReportList/weightReportList"
45 47 ],
46 48 "window": {
47 49 "backgroundTextStyle": "light",
littleApp_child/pages/diet/measuret.js View file @ 3ccb197
... ... @@ -276,6 +276,12 @@
276 276  
277 277 }, 'application/json')
278 278 },
  279 + // 获取膳食检查列表
  280 + getBabyNutritionList:function(){
  281 + wx.navigateTo({
  282 + url: '../weightReportList/weightReportList',
  283 + })
  284 + },
279 285 /**
280 286 * 生命周期函数--监听页面加载
281 287 */
littleApp_child/pages/diet/measuret.wxml View file @ 3ccb197
... ... @@ -28,7 +28,9 @@
28 28 </view>
29 29 <view style="clear:both"></view>
30 30 </view>
31   -
  31 +<view class="my_apport" bindtap="getBabyNutritionList" style="margin: 5px auto;position: relative;width: 120px;">
  32 + 查看历史报告
  33 +</view>
32 34 <scroll-view scroll-y="true" style="pointer-events:none">
33 35 <view class="card" wx:for="{{array}}" wx:for-item="item">
34 36 <view class="title">
littleApp_child/pages/eyeReoort/eyeReoort.js View file @ 3ccb197
... ... @@ -17,6 +17,7 @@
17 17 currentShowFormId:'',
18 18 eyesReports:[],
19 19 selectId:'',
  20 + uerInfo:{},
20 21 mouths : [
21 22 { id: "0", name: "0月龄", showFormId: "1", isShow: true },
22 23 { id: "1", name: "30天", showFormId: 1, isShow: true },
23 24  
24 25  
... ... @@ -100,19 +101,56 @@
100 101 })
101 102 }
102 103 },
  104 + // 获取用户信息
  105 + getUserInfo(userId) {
  106 + networkUtil.showLoading()
  107 + var self = this
  108 + var param = {
  109 + 'token': app.globalData.token
  110 + }
  111 + if (getApp().globalData.tourist == true) {
  112 + param.type = 2
  113 + }
  114 + networkUtil._get(api.userInfo + app.globalData.currentId, param, function(res) {
  115 +
  116 + self.setData({ uerInfo : res.data.data });
  117 + console.log('获取用户信息', self.uerInfo)
  118 + }, function(res) {
  119 +
  120 + if (res.errorcode == 4002) {
  121 + wx.showModal({
  122 + title: '提示',
  123 + content: res.errormsg,
  124 + showCancel: false,
  125 + success: function(res) {
  126 + wx.setStorageSync('userToken', '')
  127 + wx.setStorageSync('userId', '')
  128 + getApp().globalData.token = ''
  129 + getApp().globalData.userId = ''
  130 + self.toLogin()
  131 + }
  132 + })
  133 + } else {
  134 + networkUtil.showErrorToast(res.errormsg)
  135 + }
  136 + })
  137 + },
103 138 /**
104 139 * 生命周期函数--监听页面加载
105 140 */
106 141 onLoad: function (options) {
107 142 var me = this;
  143 + this.getUserInfo();
108 144 networkUtil._get(api.getBabyEyeCheck,{},function(res){
109 145 if(0 == res.data.errorcode){
110 146 now = res.data.now;
111   - me.setData({
112   - eyesReports : res.data.data,
113   - selectId:res.data.data[0].id
114   - })
115   - me.calcMouths(res.data.data[0])
  147 + if(res.data.data.length>0){
  148 + me.setData({
  149 + eyesReports : res.data.data,
  150 + selectId:res.data.data[0].id
  151 + })
  152 + me.calcMouths(res.data.data[0])
  153 + }
116 154 }
117 155 },function(res){
118 156  
littleApp_child/pages/eyeReoort/eyeReoort.wxml View file @ 3ccb197
... ... @@ -4,44 +4,26 @@
4 4 <view class="baseInfo">
5 5 <view class="title">
6 6 <text style="color: #8500ff;font-size:18px;" class="icon icon-qiapian"></text>
7   - <text class="text">患者信息</text>
  7 + <text class="text">儿童记录</text>
8 8 </view>
9 9 <view class="rowsFlex fontColor">
10 10 <view class="textItem">
11 11 <text>姓名:</text>
12   - <text class="padding-left-16">{{viewData.username}}</text>
  12 + <text class="padding-left-16">{{uerInfo.username}}</text>
13 13 </view>
  14 + </view>
  15 + <view class="rowsFlex fontColor">
14 16 <view class="textItem">
15   - <text>性别:</text>
16   - <text class="padding-left-16">{{viewData.sex}}</text>
17   - </view>
18   - <view class="textItem">
19 17 <text>年龄:</text>
20   - <text class="padding-left-16">{{viewData.age}}</text>
  18 + <text class="padding-left-16">{{uerInfo.monthage}}</text>
21 19 </view>
22   - <view class="textItem">
23   - <text>婚姻状态:</text>
24   - <text class="padding-left-16">{{viewData.marriage}}</text>
25   - </view>
26 20 </view>
27 21 <view class="rowsFlex fontColor">
28 22 <view class="textItem">
29 23 <text>联系方式:</text>
30   - <text class="padding-left-16">{{viewData.phone}}</text>
  24 + <text class="padding-left-16">{{uerInfo.phone}}</text>
31 25 </view>
32 26 </view>
33   - <view class="rowsFlex fontColor">
34   - <view class="textItem">
35   - <text>证件号:</text>
36   - <text class="padding-left-16">{{viewData.certificateNum}}</text>
37   - </view>
38   - </view>
39   - <view class="rowsFlex fontColor">
40   - <view class="textItem">
41   - <text>居住地:</text>
42   - <text class="padding-left-16">{{viewData.addressRegister}}</text>
43   - </view>
44   - </view>
45 27 </view>
46 28 </view>
47 29 <scroll-view scroll-x="true" style="padding-top:10rpx" scroll-with-animation="true">
... ... @@ -974,6 +956,26 @@
974 956 </view>
975 957 </view>
976 958 </view>
  959 + </view>
  960 + <!-- 处理意见 -->
  961 + <view wx:if="{{viewData.handleOpinionsId}}">
  962 + <view class="medicalHis">
  963 + <view class="title">
  964 + <text style="color: #8500ff;font-size:14px;" class="icon icon-yuanquan"></text>
  965 + <text class="text">处理意见</text>
  966 + </view>
  967 + <view class="panelBox">{{viewData.handleOpinionsId}}<text wx:for="handleOpinionsIdLis">{{item.content}}</text></view>
  968 + </view>
  969 + </view>
  970 + <!-- 指导意见 -->
  971 + <view wx:if="{{viewData.guidanceOpinions}}">
  972 + <view class="medicalHis">
  973 + <view class="title">
  974 + <text style="color: #8500ff;font-size:14px;" class="icon icon-yuanquan"></text>
  975 + <text class="text">指导意见</text>
  976 + </view>
  977 + <view class="panelBox">{{viewData.guidanceOpinions}}</view>
  978 + </view>
977 979 </view>
978 980 </scroll-view>
littleApp_child/pages/eyeReoort/eyeReoort.wxss View file @ 3ccb197
... ... @@ -23,6 +23,9 @@
23 23 font-weight: 700;
24 24 padding-left: 9px;
25 25 }
  26 +.baseInfo .textItem {
  27 + padding-right: 8px;
  28 +}
26 29 .rowsFlex{
27 30 display: flex;
28 31 }
... ... @@ -48,7 +51,7 @@
48 51 .medicalHis .panelBox{
49 52 width: calc(100% - 20px);
50 53 background-color: rgb(231, 243, 255);
51   - margin-top: 10rpx;
  54 + margin: 10rpx 0;
52 55 border-radius: 10rpx;
53 56 padding: 10px;
54 57 line-height: 23px;
littleApp_child/pages/home/home.js View file @ 3ccb197
... ... @@ -655,23 +655,24 @@
655 655 that.setData({
656 656 time: '0s'
657 657 })
658   - if (res.errorcode == 4003) {
659   - wx.showModal({
660   - title: '提示',
661   - content: '暂未查询到您宝宝的建档信息,是否立即使用游客身份注册?',
662   - success: function(res) {
663   - if (res.confirm) {
664   - wx.navigateTo({
665   - url: '../Register/Register?name=' + name + '&phone=' + phone,
666   - })
667   - } else if (res.cancel) {
668   - console.log('用户点击取消')
669   - }
670   - }
671   - })
672   - } else {
673   - networkUtil.showErrorToast(res.errormsg)
674   - }
  658 + // if (res.errorcode == 4003) {
  659 + // wx.showModal({
  660 + // title: '提示',
  661 + // content: '暂未查询到您宝宝的建档信息,是否立即使用游客身份注册?',
  662 + // success: function(res) {
  663 + // if (res.confirm) {
  664 + // wx.navigateTo({
  665 + // url: '../Register/Register?name=' + name + '&phone=' + phone,
  666 + // })
  667 + // } else if (res.cancel) {
  668 + // console.log('用户点击取消')
  669 + // }
  670 + // }
  671 + // })
  672 + // } else {
  673 + // networkUtil.showErrorToast(res.errormsg)
  674 + // }
  675 + networkUtil.showErrorToast(res.errormsg)
675 676 })
676 677 if (timeCount == 60) {
677 678 this.keepTime()
littleApp_child/pages/home/home.wxml View file @ 3ccb197
... ... @@ -63,10 +63,10 @@
63 63 <image src="../../source/xiaoxitongzhi.png" style="{{item_small}}" class="foundation_item_small_image"></image>
64 64 <view class="foundation_item_small_text">消息通知</view>
65 65 </navigator>
66   - <navigator class="foundation_item_small" bindtap="expertConsultation">
  66 + <!-- <navigator class="foundation_item_small" bindtap="expertConsultation">
67 67 <image src="../../source/yuyueyiyuan.png" style="{{item_small}}" class="foundation_item_small_image"></image>
68 68 <view class="foundation_item_small_text">疾病护理咨询</view>
69   - </navigator>
  69 + </navigator> -->
70 70 <navigator class="foundation_item_small" url="../consultationRecord/consultationRecord">
71 71 <image src="../../source/except.png" style="{{item_small}}" class="foundation_item_small_image"></image>
72 72 <view class="foundation_item_small_text">历史咨询记录</view>
73 73  
74 74  
75 75  
... ... @@ -89,15 +89,16 @@
89 89 </navigator>
90 90 <navigator class="foundation_item_small" url="../diet/measuret" >
91 91 <image src="../../source/chakanjilv.png" style="{{item_small}}" class="foundation_item_small_image"></image>
92   - <view class="foundation_item_small_text">膳食录入</view>
  92 + <view class="foundation_item_small_text">膳食管理</view>
93 93 </navigator>
94   - <navigator class="foundation_item_small" bindtap="toDiseaseGuide" >
  94 + <!-- <navigator class="foundation_item_small" bindtap="toDiseaseGuide" >
95 95 <image src="../../source/home_page_icon_risk.png" style="{{item_small}}" class="foundation_item_small_image"></image>
96 96 <view class="foundation_item_small_text">疾病指导</view>
97   - </navigator>
  97 + </navigator> -->
  98 + <!-- 儿童检查报告 --- 未完成 -->
98 99 <navigator class="foundation_item_small" url="../eyeReoort/eyeReoort">
99 100 <image src="../../source/jianchajilu.png" style="{{item_small}}" class="foundation_item_small_image"></image>
100   - <view class="foundation_item_small_text">检查报告</view>
  101 + <view class="foundation_item_small_text">眼保健记录</view>
101 102 </navigator>
102 103 </view>
103 104  
littleApp_child/pages/illnessArchives/illnessArchives.js View file @ 3ccb197
... ... @@ -395,6 +395,16 @@
395 395 }, function(res) {
396 396 networkUtil.showErrorToast(res.errormsg)
397 397 })
  398 + networkUtil._get(api.getBabyDeptInfo,{'hospitalId':hospital.hospitalId}, function(res) {
  399 + if(0 == res.data.errorcode){
  400 + that.setData({
  401 + isOpen:res.data.data.isOpen,
  402 + doctors:res.data.data.doctors
  403 + })
  404 + }
  405 + },function(res){
  406 + networkUtil.showErrorToast(res.errormsg)
  407 + })
398 408 },
399 409 cancel(e){
400 410 this.setData({
littleApp_child/pages/illnessArchives/illnessArchives.wxml View file @ 3ccb197
... ... @@ -140,96 +140,6 @@
140 140 <input bindinput="bindKeyInput" value="{{postObj.sINCard}}" id="sINCard" type="text" placeholder="输入儿童社保卡号" />
141 141 </view>
142 142 </view>
143   -
144   -
145   -
146   -
147   - <view class="weui-cell">
148   - <view class="weui-cell__hd">
149   - <view class="weui-label line-tt">儿童社保卡号</view>
150   - </view>
151   - <view class="weui-cell__bd">
152   - <input bindinput="bindKeyInput" value="{{postObj.sINCard}}" id="sINCard" type="text" placeholder="输入儿童社保卡号" />
153   - </view>
154   - </view>
155   - <view class="weui-cell">
156   - <view class="weui-cell__hd">
157   - <view class="weui-label line-tt">儿童社保卡号</view>
158   - </view>
159   - <view class="weui-cell__bd">
160   - <input bindinput="bindKeyInput" value="{{postObj.sINCard}}" id="sINCard" type="text" placeholder="输入儿童社保卡号" />
161   - </view>
162   - </view>
163   - <view class="weui-cell">
164   - <view class="weui-cell__hd">
165   - <view class="weui-label line-tt">儿童社保卡号</view>
166   - </view>
167   - <view class="weui-cell__bd">
168   - <input bindinput="bindKeyInput" value="{{postObj.sINCard}}" id="sINCard" type="text" placeholder="输入儿童社保卡号" />
169   - </view>
170   - </view>
171   - <view class="weui-cell">
172   - <view class="weui-cell__hd">
173   - <view class="weui-label line-tt">儿童社保卡号</view>
174   - </view>
175   - <view class="weui-cell__bd">
176   - <input bindinput="bindKeyInput" value="{{postObj.sINCard}}" id="sINCard" type="text" placeholder="输入儿童社保卡号" />
177   - </view>
178   - </view>
179   - <view class="weui-cell">
180   - <view class="weui-cell__hd">
181   - <view class="weui-label line-tt">儿童社保卡号</view>
182   - </view>
183   - <view class="weui-cell__bd">
184   - <input bindinput="bindKeyInput" value="{{postObj.sINCard}}" id="sINCard" type="text" placeholder="输入儿童社保卡号" />
185   - </view>
186   - </view>
187   - <view class="weui-cell">
188   - <view class="weui-cell__hd">
189   - <view class="weui-label line-tt">儿童社保卡号</view>
190   - </view>
191   - <view class="weui-cell__bd">
192   - <input bindinput="bindKeyInput" value="{{postObj.sINCard}}" id="sINCard" type="text" placeholder="输入儿童社保卡号" />
193   - </view>
194   - </view>
195   - <view class="weui-cell">
196   - <view class="weui-cell__hd">
197   - <view class="weui-label line-tt">儿童社保卡号</view>
198   - </view>
199   - <view class="weui-cell__bd">
200   - <input bindinput="bindKeyInput" value="{{postObj.sINCard}}" id="sINCard" type="text" placeholder="输入儿童社保卡号" />
201   - </view>
202   - </view><view class="weui-cell">
203   - <view class="weui-cell__hd">
204   - <view class="weui-label line-tt">儿童社保卡号</view>
205   - </view>
206   - <view class="weui-cell__bd">
207   - <input bindinput="bindKeyInput" value="{{postObj.sINCard}}" id="sINCard" type="text" placeholder="输入儿童社保卡号" />
208   - </view>
209   - </view>
210   - <view class="weui-cell">
211   - <view class="weui-cell__hd">
212   - <view class="weui-label line-tt">儿童社保卡号</view>
213   - </view>
214   - <view class="weui-cell__bd">
215   - <input bindinput="bindKeyInput" value="{{postObj.sINCard}}" id="sINCard" type="text" placeholder="输入儿童社保卡号" />
216   - </view>
217   - </view>
218   - <view class="weui-cell">
219   - <view class="weui-cell__hd">
220   - <view class="weui-label line-tt">儿童社保卡号</view>
221   - </view>
222   - <view class="weui-cell__bd">
223   - <input bindinput="bindKeyInput" value="{{postObj.sINCard}}" id="sINCard" type="text" placeholder="输入儿童社保卡号" />
224   - </view>
225   - </view><view class="weui-cell">
226   - <view class="weui-cell__hd">
227   - <view class="weui-label line-tt">儿童社保卡号</view>
228   - </view>
229   - <view class="weui-cell__bd">
230   - <input bindinput="bindKeyInput" value="{{postObj.sINCard}}" id="sINCard" type="text" placeholder="输入儿童社保卡号" />
231   - </view>
232   - </view>
233 143 </view>
234 144 <view>
235 145 <button class="we_button archives" disabled="{{submiting}}" bindtap="submitData">提交建档</button>
littleApp_child/pages/weightReport/weightReport.js View file @ 3ccb197
  1 +// pages/weightReport/weightReport.js
  2 +// 网络请求工具类
  3 +var networkUtil = require('../../utils/network_util.js')
  4 +var api = require('../../utils/apiFile.js')
  5 +Page({
  6 + /**
  7 + * 页面的初始数据
  8 + */
  9 + data: {
  10 + recordTime:'',
  11 + recordWeight:'',
  12 + info:'',
  13 + printDataS:{},
  14 + isShow:0,
  15 + hospitalId:0,
  16 + id:0
  17 + },
  18 +
  19 + onLoad: function (options) {
  20 + networkUtil.showLoading()
  21 + this.setData({
  22 + hospitalId:options.hospitalId,
  23 + id:options.id
  24 + })
  25 + this.requestData()
  26 + },
  27 + requestData() {
  28 + var self = this
  29 + networkUtil._get(api.querybabyAppDiet+'/'+self.data.id, { hospitalId:self.data.hospitalId}, function (res) {
  30 + if (!res.data.data || res.data.data == 0){
  31 + networkUtil.showErrorToast('暂时没有体重报告!')
  32 + return
  33 + }
  34 + self.setData({
  35 + info: res.data.data.userInfo.reportMonthAge,
  36 + printDataS:res.data.data,
  37 + date: res.data.now
  38 + })
  39 + if (self.data.printDataS.oneDayRecipes && self.data.printDataS.oneDayRecipes.length == 1) {
  40 + var d = [], f = [];
  41 + d = self.data.printDataS.oneDayRecipes[0].split(";");
  42 + for (var i = 0; i < d.length; i++) {
  43 + f[i] = d[i].split('-')
  44 + }
  45 + self.data.printDataS.oneDayRecipes = f;
  46 + }
  47 + if (self.data.printDataS.feedingWeek && self.data.printDataS.feedingWeek.length == 7) {
  48 + var sevends = ['mondays', 'tuesdays', 'wednesdays', 'thursdays', 'fridays', 'saturdays', 'sundays']
  49 + for (var j = 0; j < 7; j++) {
  50 + var p = [];
  51 + var t = self.data.printDataS.feedingWeek[j].split(";");
  52 + for (var k = 0; k < t.length; k++) {
  53 + p[k] = t[k].split("$");
  54 + }
  55 + self.data.printDataS[sevends[j]] = p;
  56 + }
  57 + }
  58 + }, function (res) {
  59 + self.setData({
  60 + printDataS:{}
  61 + })
  62 + })
  63 + },
  64 + godetails(e){
  65 + var id = e.currentTarget.dataset.id;
  66 + wx.pageScrollTo({
  67 + scrollTop: 0
  68 + })
  69 + this.setData({
  70 + isShow:Number(id)
  71 + })
  72 + },
  73 + goBack(){
  74 + wx.pageScrollTo({
  75 + scrollTop: 0
  76 + })
  77 + this.setData({
  78 + isShow:0
  79 + })
  80 + }
  81 +})
littleApp_child/pages/weightReport/weightReport.json View file @ 3ccb197
  1 +{
  2 + "navigationBarBackgroundColor": "#48C17B",
  3 + "navigationBarTitleText": "膳食报告详情",
  4 + "navigationBarTextStyle": "white"
  5 +}
littleApp_child/pages/weightReport/weightReport.wxml View file @ 3ccb197
  1 +<!--pages/weightReport/weightReport.wxml-->
  2 +<view wx:if="{{info&&0 === isShow}}">
  3 + <view class='top_bar'>
  4 + <view>膳食营养报告<text style="float:right;margin-right:15px;font-size:15px;font-weight:500;margin-top:10px;">{{recordTime}}</text></view>
  5 +
  6 + <view class='top_bar_text'>
  7 + <text>{{info}}</text>
  8 + </view>
  9 + </view>
  10 + <view class='collectionView'>
  11 + <view bindtap="godetails" data-id="1" class='cell'>
  12 + <view class='cell_img'><view>“</view></view>
  13 + <view class='cell_title'>儿童基本信息</view>
  14 + <view class='cell_checkDetail'>查看详情</view>
  15 + </view>
  16 + <view bindtap="godetails" data-id="2" class='cell'>
  17 + <view class='cell_img'><view>“</view></view>
  18 + <view class='cell_title'>喂养指南</view>
  19 + <view class='cell_checkDetail'>查看详情</view>
  20 + </view>
  21 + <view bindtap="godetails" data-id="3" class='cell'>
  22 + <view class='cell_img'><view>“</view></view>
  23 + <view class='cell_title'>膳食结构</view>
  24 + <view class='cell_checkDetail'>查看详情</view>
  25 + </view>
  26 + <view bindtap="godetails" data-id="4" class='cell'>
  27 + <view class='cell_img'><view>“</view></view>
  28 + <view class='cell_title'>一日喂养参考</view>
  29 + <view class='cell_checkDetail'>查看详情</view>
  30 + </view>
  31 + <view bindtap="godetails" data-id="5" class='cell'>
  32 + <view class='cell_img'><view>“</view></view>
  33 + <view class='cell_title'>一周喂养参考</view>
  34 + <view class='cell_checkDetail'>查看详情</view>
  35 + </view>
  36 + <view bindtap="godetails" data-id="6" class='cell'>
  37 + <view class='cell_img'><view>“</view></view>
  38 + <view class='cell_title' wx:if="{{hospitalId=='216'}}">菜谱推荐</view>
  39 + <view class='cell_title' wx:if="{{hospitalId!='216'}}">食谱推荐</view>
  40 + <view class='cell_checkDetail'>查看详情</view>
  41 + </view>
  42 + <view bindtap="godetails" data-id="7" class='cell'>
  43 + <view class='cell_img'><view>“</view></view>
  44 + <view class='cell_title'>辅食添加建议</view>
  45 + <view class='cell_checkDetail'>查看详情</view>
  46 + </view>
  47 + <view bindtap="godetails" data-id="8" class='cell'>
  48 + <view class='cell_img'><view>“</view></view>
  49 + <view class='cell_title'>挑食建议</view>
  50 + <view class='cell_checkDetail'>查看详情</view>
  51 + </view>
  52 + <view bindtap="godetails" data-id="9" class='cell'>
  53 + <view class='cell_img'><view>“</view></view>
  54 + <view class='cell_title'>进食行为建议</view>
  55 + <view class='cell_checkDetail'>查看详情</view>
  56 + </view>
  57 + <view bindtap="godetails" data-id="10" class='cell'>
  58 + <view class='cell_img'><view>“</view></view>
  59 + <view class='cell_title'>喂养常见问题及处理</view>
  60 + <view class='cell_checkDetail'>查看详情</view>
  61 + </view>
  62 + </view>
  63 +</view>
  64 +<view class="white-block" wx:if="{{1 === isShow}}">
  65 + <view class='top_title'>
  66 + <image></image>
  67 + <text>儿童基本信息</text>
  68 + </view>
  69 +
  70 + <view class='info_card'>
  71 + <view class='info_card_title'>姓名</view>
  72 + <view class='info_card_content'>{{printDataS.userInfo.babyName}}</view>
  73 + <view class='info_card_title'>就诊卡</view>
  74 + <view class='info_card_content'>{{printDataS.userInfo.vcCardNo}}</view>
  75 + <view class='info_card_title'>性别</view>
  76 + <view class='info_card_content'>{{printDataS.userInfo.babySex}}</view>
  77 + <view class='info_card_title'>月龄</view>
  78 + <view class='info_card_content'>{{printDataS.userInfo.monthAge}}</view>
  79 + <view class='info_card_title'>所需热量</view>
  80 + <view class='info_card_content'>{{printDataS.userInfo.kaul}}</view>
  81 + </view>
  82 +
  83 + <view class='weightInfo_card'>
  84 + <view class='weightInfo_item'>
  85 + <view class='weightInfo_item_text'>{{printDataS.userInfo.height}}</view>
  86 + <view class='weightInfo_item_unit'>测量身长(高)</view>
  87 + </view>
  88 + <view class='weightInfo_item'>
  89 + <view class='weightInfo_item_text'>{{printDataS.userInfo.weight}}</view>
  90 + <view class='weightInfo_item_unit'>测量体重</view>
  91 + </view>
  92 + <view class='weightInfo_item'>
  93 + <view class='weightInfo_item_text'>{{printDataS.userInfo.bmi}}</view>
  94 + <view class='weightInfo_item_unit'>BMI</view>
  95 + </view>
  96 + </view>
  97 +
  98 + <!-- <view style='margin-right:20px;margin-left:20px;' wx:if="{{info.risk}}">
  99 + <view style='font-weight=555;font-size: 15px;color: #261F0C;margin-top:40px;'>高危因素</view>
  100 + <view class='risk_view' style='margin-top:25px'>
  101 + <text class='risk_view_item' wx:for="{{info.riskArr}}" style='margin-right:10px;margin-top:5px'>{{item}}</text>
  102 + </view>
  103 + </view> -->
  104 + <view class="my_apport" bindtap="goBack" > 返回 </view>
  105 +
  106 +</view>
  107 +<view class="white-block" wx:if="{{2 === isShow}}">
  108 + <view class='top_title'>
  109 + <image></image>
  110 + <text>喂养指南</text>
  111 + </view>
  112 + <view wx:if="{{printDataS.feedingGuide}}">
  113 + <view>{{printDataS.userInfo.totalSuggest}}</view>
  114 + <view wx:for="{{printDataS.feedingGuide}}" wx:for-index="key" wx:for-item="val">
  115 + <text style="font-weight: bold"></text>{{val}}
  116 + </view>
  117 + </view>
  118 + <view class="my_apport" bindtap="goBack" > 返回 </view>
  119 +</view>
  120 +<view class="white-block" wx:if="{{3 === isShow}}">
  121 + <view class='top_title'>
  122 + <image></image>
  123 + <text>膳食结构</text>
  124 + </view>
  125 + <view wx:if="{{printDataS.dietStructure}}" >
  126 + <view wx:for="{{printDataS.dietStructure}}" wx:for-item="fstjItem">
  127 + <text style="font-weight: bold"></text>{{fstjItem}}
  128 + </view>
  129 + </view>
  130 + <view class="my_apport" bindtap="goBack" > 返回 </view>
  131 +</view>
  132 +<view class="white-block" wx:if="{{4 === isShow}}">
  133 + <view class='top_title'>
  134 + <image></image>
  135 + <text>一日喂养参考</text>
  136 + </view>
  137 + <view>
  138 + <view wx:if="{{printDataS.oneDayRecipes}}" wx:for="{{printDataS.oneDayRecipes}}" wx:for-item="item">
  139 + <view>{{item}}</view>
  140 + </view>
  141 + <table wx:if="{{printDataS.breakfast}}" class="caca-table" style="width: 100%;">
  142 + <tr>
  143 + <th>早餐</th>
  144 + <td style="height: 16mm;padding:0">
  145 + <table style=" width:100%;border-collapse: collapse;">
  146 + <tr style="padding-left: 2mm" wx:for="{{printDataS.breakfast}}">
  147 + <td style="width:30mm;border:1px solid #fff; padding:0.5mm 2mm; height:10mm">{{item.split(':')[0]}}</td>
  148 + <td style="border:1px solid #fff; padding:0.5mm 2mm; height:10mm">{{item.split(':')[1]}}</td>
  149 + </tr>
  150 + </table>
  151 + <view style="padding-left: 2mm" wx:for="{{printDataS.breakfast}}">
  152 +
  153 + </view>
  154 + </td>
  155 + </tr>
  156 + <tr>
  157 + <th>早加餐</th>
  158 + <td style="height: 16mm;padding:0">
  159 + <table style=" width:100%;border-collapse: collapse;">
  160 + <tr style="padding-left: 2mm" wx:for="{{printDataS.breakfastAdd}}">
  161 + <td style="width:30mm;border:1px solid #fff; padding:0.5mm 2mm; height:10mm">{{item.split(':')[0]}}</td>
  162 + <td style="border:1px solid #fff; padding:0.5mm 2mm; height:10mm">{{item.split(':')[1]}}</td>
  163 + </tr>
  164 + </table>
  165 + <view style="padding-left: 2mm" wx:for="{{printDataS.breakfastAdd}}">
  166 +
  167 + </view>
  168 + </td>
  169 + </tr>
  170 + <tr>
  171 + <th>午餐</th>
  172 + <td style="height: 16mm;padding:0">
  173 + <table style=" width:100%;border-collapse: collapse;">
  174 + <tr style="padding-left: 2mm" wx:for="{{printDataS.lunch}}">
  175 + <td style="width:30mm;border:1px solid #fff; padding:0.5mm 2mm; height:10mm">{{item.split(':')[0]}}</td>
  176 + <td style="border:1px solid #fff; padding:0.5mm 2mm; height:10mm">{{item.split(':')[1]}}</td>
  177 + </tr>
  178 + </table>
  179 + <view style="padding-left: 2mm" wx:for="{{printDataS.lunch}}">
  180 +
  181 + </view>
  182 + </td>
  183 + </tr>
  184 +
  185 + <tr>
  186 + <th>午加餐</th>
  187 + <td style="height: 16mm;padding:0">
  188 + <table style=" width:100%;border-collapse: collapse;">
  189 + <tr style="padding-left: 2mm" wx:for="{{printDataS.lunchAdd}}">
  190 + <td style="width:30mm;border:1px solid #fff; padding:0.5mm 2mm; height:10mm">{{item.split(':')[0]}}</td>
  191 + <td style="border:1px solid #fff; padding:0.5mm 2mm; height:10mm">{{item.split(':')[1]}}</td>
  192 + </tr>
  193 + </table>
  194 + <view style="padding-left: 2mm" wx:for="{{printDataS.lunchAdd}}">
  195 +
  196 + </view>
  197 + </td>
  198 + </tr>
  199 +
  200 + <tr>
  201 + <th>晚餐</th>
  202 + <td style="height: 16mm;padding:0">
  203 + <table style=" width:100%;border-collapse: collapse;">
  204 + <tr style="padding-left: 2mm" wx:for="{{printDataS.dinner}}">
  205 + <td style="width:30mm;border:1px solid #fff; padding:0.5mm 2mm; height:10mm">{{item.split(':')[0]}}</td>
  206 + <td style="border:1px solid #fff; padding:0.5mm 2mm; height:10mm">{{item.split(':')[1]}}</td>
  207 + </tr>
  208 + </table>
  209 + <view style="padding-left: 2mm" wx:for="{{printDataS.dinner}}">
  210 +
  211 + </view>
  212 + </td>
  213 + </tr>
  214 + <tr>
  215 + <th>晚加餐</th>
  216 + <td style="height: 16mm;padding:0">
  217 + <table style=" width:100%;border-collapse: collapse;">
  218 + <tr style="padding-left: 2mm" wx:for="{{printDataS.dinnerAdd}}">
  219 + <td style="width:30mm;border:1px solid #fff; padding:0.5mm 2mm; height:10mm">{{item.split(':')[0]}}</td>
  220 + <td style="border:1px solid #fff; padding:0.5mm 2mm; height:10mm">{{item.split(':')[1]}}</td>
  221 + </tr>
  222 + </table>
  223 + <view style="padding-left: 2mm" wx:for="{{printDataS.dinnerAdd}}">
  224 +
  225 + </view>
  226 + </td>
  227 + </tr>
  228 + </table>
  229 + </view>
  230 + <view class="my_apport" bindtap="goBack" > 返回 </view>
  231 +</view>
  232 +<view class="white-block" wx:if="{{5 === isShow}}">
  233 + <view class='top_title'>
  234 + <image></image>
  235 + <text>一周喂养参考</text>
  236 + </view>
  237 + <view>
  238 + <table class="caca-table" wx:if="{{printDataS.mondays}}" style="margin:0 auto;box-shadow: none;">
  239 + <tr>
  240 + <th>时间</th>
  241 + <th>周一</th>
  242 + <th>周二</th>
  243 + <th>周三</th>
  244 + <th>周四</th>
  245 + <th>周五</th>
  246 + <th>周六</th>
  247 + <th>周日</th>
  248 + </tr>
  249 + <tr wx:for="{{printDataS.mondays}}">
  250 + <td>{{item[0]}}</td>
  251 + <td>{{printDataS.mondays[$index][1]}}</td>
  252 + <td>{{printDataS.tuesdays[$index][1]}}</td>
  253 + <td>{{printDataS.wednesdays[$index][1]}}</td>
  254 + <td>{{printDataS.thursdays[$index][1]}}</td>
  255 + <td>{{printDataS.fridays[$index][1]}}</td>
  256 + <td>{{printDataS.saturdays[$index][1]}}</td>
  257 + <td>{{printDataS.sundays[$index][1]}}</td>
  258 + </tr>
  259 + </table>
  260 + <table class="caca-table" wx:if="{{printDataS.monday}}" style="margin:0 auto;box-shadow: none;">
  261 + <tr>
  262 + <th>时间</th>
  263 + <th>周一</th>
  264 + <th>周二</th>
  265 + <th>周三</th>
  266 + <th>周四</th>
  267 + <th>周五</th>
  268 + <th>周六</th>
  269 + <th>周日</th>
  270 + </tr>
  271 + <tr wx:for="{{printDataS.monday}}">
  272 + <td>{{item.split(':')[0]}}</td>
  273 + <td>{{printDataS.monday[$index].split(':')[1]}}</td>
  274 + <td>{{printDataS.tuesday[$index].split(':')[1]}}</td>
  275 + <td>{{printDataS.wednesday[$index].split(':')[1]}}</td>
  276 + <td>{{printDataS.thursday[$index].split(':')[1]}}</td>
  277 + <td>{{printDataS.friday[$index].split(':')[1]}}</td>
  278 + <td>{{printDataS.saturday[$index].split(':')[1]}}</td>
  279 + <td>{{printDataS.sunday[$index].split(':')[1]}}</td>
  280 + </tr>
  281 + </table>
  282 + </view>
  283 + <view class="my_apport" bindtap="goBack" > 返回 </view>
  284 +</view>
  285 +<view class="white-block" wx:if="{{6 === isShow}}">
  286 + <view class='top_title'>
  287 + <image></image>
  288 + <text wx:if="{{hospitalId=='216'}}">菜谱推荐</text>
  289 + <text wx:if="{{hospitalId!='216'}}">食谱推荐</text>
  290 + </view>
  291 + <view wx:if="{{printDataS.recommendRecipes}}" >
  292 + <view wx:for="{{printDataS.recommendRecipes}}" wx:for-item="yszlItem">
  293 + <text style="font-weight: bold"></text>{{yszlItem}}
  294 + </view>
  295 + </view>
  296 + <view class="my_apport" bindtap="goBack" > 返回 </view>
  297 +</view>
  298 +<view class="white-block" wx:if="{{7 === isShow}}">
  299 + <view class='top_title'>
  300 + <image></image>
  301 + <text>辅食添加建议</text>
  302 + </view>
  303 + <view wx:if="{{printDataS.doctorSuggests}}">
  304 + <view wx:for="{{printDataS.doctorSuggests}}" wx:for-item="fstjItem">
  305 + <view wx:for="{{fstjItem}}" wx:for-item="ojbk">
  306 + <text style="font-weight: bold"></text>{{ojbk}}
  307 + </view>
  308 + </view>
  309 + </view>
  310 + <view class="my_apport" bindtap="goBack" > 返回 </view>
  311 +</view>
  312 +<view class="white-block" wx:if="{{8 === isShow}}">
  313 + <view class='top_title'>
  314 + <image></image>
  315 + <text>挑食建议</text>
  316 + </view>
  317 + <view wx:if="{{printDataS.suggests}}" >
  318 + <view wx:for="{{printDataS.suggests}}" wx:for-item="tsItem">
  319 + <text style="font-weight: bold"></text>{{tsItem}}
  320 + </view>
  321 + </view>
  322 + <view class="my_apport" bindtap="goBack" > 返回 </view>
  323 +</view>
  324 +<view class="white-block" wx:if="{{9 === isShow}}">
  325 + <view class='top_title'>
  326 + <image></image>
  327 + <text>进食行为建议</text>
  328 + </view>
  329 + <view wx:if="{{printDataS.feedSuggest}}" >
  330 + <view wx:for="{{printDataS.feedSuggest}}" wx:for-index="key" wx:for-item="val">
  331 + <text style="font-weight: bold"></text>{{val}}
  332 + </view>
  333 + </view>
  334 + <view class="my_apport" bindtap="goBack" > 返回 </view>
  335 +</view>
  336 +<view class="white-block" wx:if="{{10 === isShow}}">
  337 + <view class='top_title'>
  338 + <image></image>
  339 + <text>喂养常见问题及处理</text>
  340 + </view>
  341 + <view wx:if="{{printDataS.feedHandle}}">
  342 + <view wx:for="{{printDataS.feedHandle}}" wx:for-index="key" wx:for-item="val">
  343 + <text style="font-weight: bold"></text>{{val}}
  344 + </view>
  345 + </view>
  346 + <view class="my_apport" bindtap="goBack" > 返回 </view>
  347 +</view>
littleApp_child/pages/weightReport/weightReport.wxss View file @ 3ccb197
  1 +/* pages/weightReport/weightReport.wxss */
  2 +
  3 +.top_bar {
  4 + height: 102px;
  5 + background-image: linear-gradient(-180deg, #88ddab 1%, #48C17B 100%);
  6 + width: calc(100% - 15px);
  7 + color: white;
  8 + font-size: 20px;
  9 + padding-top: 20px;
  10 + padding-left: 15px;
  11 +}
  12 +
  13 +.top_bar_text text:first-child {
  14 + font-size: 42px;
  15 + font-weight: 200;
  16 +}
  17 +
  18 +.top_bar_text text:last-child {
  19 + font-size: 14px;
  20 + font-weight: 200;
  21 + margin-left: 10px;
  22 +}
  23 +.collectionView {
  24 + display: flex;
  25 + flex-wrap: wrap;
  26 + justify-content: space-between;
  27 + margin-left: 20px;
  28 + margin-right: 20px;
  29 +}
  30 +
  31 +.cell {
  32 + background: white;
  33 + width: calc(50% - 5px);
  34 + margin-top: 10px;
  35 + box-shadow: 0 1px 19px 4px #F3F2EE;
  36 + border-radius: 4px;
  37 +}
  38 +
  39 +.cell_img {
  40 + width: 42px;
  41 + height: 42px;
  42 + background: #b3eecc;
  43 + margin-left: 20px;
  44 + font-size: 50px;
  45 + text-align: center;
  46 + color: #48C17B;
  47 +}
  48 +
  49 +.cell_img view {
  50 +
  51 + transform: translateY(-7px);
  52 +}
  53 +
  54 +.cell_title {
  55 + margin-left: 20px;
  56 + margin-top: 12px;
  57 + font-weight: 600;
  58 + font-size: 16px;
  59 + color: #261F0C;
  60 +}
  61 +
  62 +.cell_checkDetail {
  63 + margin-left: 20px;
  64 + margin-top: 32px;
  65 + font-size: 12px;
  66 + color: #b3eecc;
  67 + font-weight: 600;
  68 + margin-bottom: 24px;
  69 +}
  70 +
  71 +/* 个人信息 */
  72 +.top_title {
  73 + font-size: 20px;
  74 + color: #261f0c;
  75 + font-weight: 600;
  76 + height: 54px;
  77 + background: white;
  78 +}
  79 +
  80 +.top_title image {
  81 + width: 8px;
  82 + height: 20px;
  83 + background: #48C17B;
  84 + margin-right: 10px;
  85 +}
  86 +
  87 +.info_card {
  88 + background: #fff;
  89 + box-shadow: 0 1px 19px 4px #f3f2ee;
  90 + border-radius: 4px;
  91 + display: flex;
  92 + flex-wrap: wrap;
  93 + margin: 10px 20px 20px 20px;
  94 +}
  95 +
  96 +.info_card_title {
  97 + font-size: 15px;
  98 + color: #261f0c;
  99 + font-weight: 600;
  100 + width: 100px;
  101 + text-align: center;
  102 + height: 44px;
  103 + line-height: 44px;
  104 +}
  105 +
  106 +.info_card_content {
  107 + width: calc(100% - 120px);
  108 + font-size: 15px;
  109 + color: #89857b;
  110 + height: 44px;
  111 + line-height: 44px;
  112 +}
  113 +
  114 +.weightInfo_card {
  115 + margin: 20px;
  116 + background: #fff;
  117 + box-shadow: 0 1px 19px 4px #f3f2ee;
  118 + border-radius: 4px;
  119 + display: flex;
  120 +}
  121 +
  122 +.weightInfo_item {
  123 + flex: 1;
  124 + height: 84px;
  125 + text-align: center;
  126 +}
  127 +
  128 +.weightInfo_item_text {
  129 + font-size: 28px;
  130 + color: #333;
  131 + font-weight: 555;
  132 + margin-top: 10px;
  133 +}
  134 +
  135 +.weightInfo_item_unit {
  136 + font-size: 13px;
  137 + color: #a6a091;
  138 +}
  139 +
  140 +.risk_view_item {
  141 + min-height: 24px;
  142 + padding-top: 5px;
  143 + padding-bottom: 5px;
  144 + background: #f4879b;
  145 + border-radius: 17px;
  146 + color: white;
  147 +
  148 + font-size: 15px;
  149 + display: inline-block;
  150 + padding-left: 15px;
  151 + padding-right: 15px;
  152 +}
  153 +.white-block{
  154 + background: #fff;
  155 + padding: .5rem;
  156 +}
  157 +.caca-table{
  158 + border-top-left-radius: 4mm;
  159 + overflow: hidden;
  160 +}
  161 +.caca-table tr th{
  162 + background-color: #51D8DA;
  163 + color: #fff;
  164 + border-right:2px solid #fff;
  165 + height: 10mm;
  166 + font-weight: normal;
  167 +}
  168 +.caca-table tr:nth-child(2n+2){
  169 + background-color: #CCF7F8;
  170 +}
  171 +.caca-table tr:nth-child(2n+1){
  172 + background-color: #ABECED;
  173 +}
  174 +.caca-table td{
  175 + border-right:2px solid #fff;
  176 + padding: 2mm 0.5mm;
  177 + height: 20mm;
  178 +}
  179 +.caca-table td:nth-child(1){
  180 + min-width: 12mm;
  181 +}
  182 +.boxShadow{
  183 + margin-top: .3rem;
  184 + box-shadow: 0 2rpx 20rpx 2rpx #999;
  185 +}
  186 +.my_apport {
  187 + height: 30px;
  188 + text-align: center;
  189 + line-height: 30px;
  190 + font-size: 14px;
  191 + margin-top: 5px;
  192 + right: 10px;
  193 + background: #48c17b;
  194 + border-radius: 50rem;
  195 + color: white;
  196 + margin: 15px auto 5px auto;
  197 + position: relative;
  198 + width: 120px;
  199 +}
littleApp_child/pages/weightReportList/weightReportList.js View file @ 3ccb197
  1 +// pages/weightReportList/weightReportList.js
  2 +var networkUtil = require('../../utils/network_util.js')
  3 +var api = require('../../utils/apiFile.js')
  4 +var exchgeDate = require('../../utils/exchgeDate.js')
  5 +Page({
  6 +
  7 + /**
  8 + * 页面的初始数据
  9 + */
  10 + data: {
  11 + listData:[]
  12 + },
  13 + // 获取膳食检查列表
  14 + getBabyNutritionList:function(){
  15 + let self = this;
  16 + networkUtil._get(api.getBabyNutritionList, {}, res => {
  17 + if (res.statusCode == 200 && res.data.errorcode == 0) {
  18 + var data = res.data.data;
  19 + if (data.length<=0){
  20 + wx.showModal({
  21 + title: '提醒',
  22 + content: '为查询到历史报告信息',
  23 + showCancel: false
  24 + });
  25 + return
  26 + }
  27 + self.setData({
  28 + listData:data
  29 + })
  30 + }
  31 + }, err => {
  32 + })
  33 + },
  34 + /**
  35 + * 生命周期函数--监听页面加载
  36 + */
  37 + onLoad: function (options) {
  38 + this.getBabyNutritionList()
  39 + },
  40 +
  41 + /**
  42 + * 生命周期函数--监听页面初次渲染完成
  43 + */
  44 + onReady: function () {
  45 +
  46 + },
  47 +
  48 + /**
  49 + * 生命周期函数--监听页面显示
  50 + */
  51 + onShow: function () {
  52 +
  53 + },
  54 +
  55 + /**
  56 + * 生命周期函数--监听页面隐藏
  57 + */
  58 + onHide: function () {
  59 +
  60 + },
  61 +
  62 + /**
  63 + * 生命周期函数--监听页面卸载
  64 + */
  65 + onUnload: function () {
  66 +
  67 + },
  68 +
  69 + /**
  70 + * 页面相关事件处理函数--监听用户下拉动作
  71 + */
  72 + onPullDownRefresh: function () {
  73 +
  74 + },
  75 +
  76 + /**
  77 + * 页面上拉触底事件的处理函数
  78 + */
  79 + onReachBottom: function () {
  80 +
  81 + },
  82 +
  83 + /**
  84 + * 用户点击右上角分享
  85 + */
  86 + onShareAppMessage: function () {
  87 +
  88 + }
  89 +})
littleApp_child/pages/weightReportList/weightReportList.json View file @ 3ccb197
  1 +{
  2 + "navigationBarBackgroundColor": "#48C17B",
  3 + "navigationBarTitleText": "查看历史记录",
  4 + "navigationBarTextStyle": "white",
  5 + "usingComponents": {}
  6 +}
littleApp_child/pages/weightReportList/weightReportList.wxml View file @ 3ccb197
  1 +<!--pages/weightReportList/weightReportList.wxml-->
  2 +<view class="list">
  3 + <navigator class="item" wx:for="{{listData}}" url='../weightReport/weightReport?id={{item.id}}&&hospitalId={{item.hospitalId}}' >
  4 + <text>记录时间</text><text>{{item.recordTime}}</text> <text>月龄</text><text>{{item.monthAge}}</text>
  5 + </navigator>
  6 +</view>
littleApp_child/pages/weightReportList/weightReportList.wxss View file @ 3ccb197
  1 +/* pages/weightReportList/weightReportList.wxss */
  2 +.list{
  3 + box-shadow: 0 2rpx 20rpx 2rpx #999;
  4 +}
  5 +.item{
  6 + background: #fff;
  7 + height: 64rpx;
  8 + line-height: 64rpx;
  9 + padding: 1rem;
  10 + border-bottom: 1px solid rgb(218, 218, 218);
  11 +}
  12 +.item text {
  13 + padding: 0 0.2rem 0 0;
  14 +}
littleApp_child/project.config.json View file @ 3ccb197
... ... @@ -6,35 +6,41 @@
6 6 "setting": {
7 7 "urlCheck": true,
8 8 "es6": true,
  9 + "enhance": false,
9 10 "postcss": true,
10 11 "preloadBackgroundData": false,
11 12 "minified": true,
12 13 "newFeature": true,
13 14 "coverView": true,
  15 + "nodeModules": false,
14 16 "autoAudits": false,
15 17 "showShadowRootInWxmlPanel": true,
16 18 "scopeDataCheck": false,
  19 + "uglifyFileName": false,
17 20 "checkInvalidKey": true,
18 21 "checkSiteMap": true,
19 22 "uploadWithSourceMap": true,
20   - "useMultiFrameRuntime": false,
  23 + "compileHotReLoad": false,
  24 + "useMultiFrameRuntime": true,
21 25 "useApiHook": true,
  26 + "useApiHostProcess": false,
22 27 "babelSetting": {
23 28 "ignore": [],
24 29 "disablePlugins": [],
25 30 "outputPath": ""
26 31 },
  32 + "enableEngineNative": false,
  33 + "bundle": false,
27 34 "useIsolateContext": true,
28 35 "useCompilerModule": true,
29 36 "userConfirmedUseCompilerModuleSwitch": false,
30 37 "userConfirmedBundleSwitch": false,
31 38 "packNpmManually": false,
32 39 "packNpmRelationList": [],
33   - "minifyWXSS": true,
34   - "bundle": false
  40 + "minifyWXSS": true
35 41 },
36 42 "compileType": "miniprogram",
37   - "libVersion": "2.2.1",
  43 + "libVersion": "2.15.0",
38 44 "appid": "wx60e0071c56800f71",
39 45 "projectname": "littleApp_child",
40 46 "isGameTourist": false,
... ... @@ -53,10 +59,9 @@
53 59 "miniprogram": {
54 60 "list": [
55 61 {
56   - "id": 0,
57   - "name": "多选",
58   - "pathName": "components/multiple/multiple",
59   - "query": " illnessList:[{id:'1',name:'咳嗽'},{id:'2',name:'发热'},{id:'3',name:'贫血'},{id:'4',name:'腹泻'},{id:'5',name:'肺炎'}, {id:'6',name:'手足口病'},{id:'7',name:'鹅口疮'},{id:'8',name:'湿疹'},{id:'9',name:'肠炎'},{id:'10',name:'便秘'}],",
  62 + "name": "ss",
  63 + "pathName": "pages/weightReportList/weightReportList",
  64 + "query": "recordTime=2019-07-10&weight=10",
60 65 "scene": null
61 66 },
62 67 {
littleApp_child/utils/apiFile.js View file @ 3ccb197
... ... @@ -100,6 +100,10 @@
100 100 //儿童疾病建档获取就诊医生
101 101 getBabyDeptInfo:'baby/getBabyDeptInfo',
102 102 //眼科检查
103   - getBabyEyeCheck:'baby/getBabyEyeCheck'
  103 + getBabyEyeCheck:'baby/getBabyEyeCheck',
  104 + //膳食报告列表
  105 + getBabyNutritionList:'baby/queryBabyNutritionList',
  106 + //膳食报告详情
  107 + querybabyAppDiet:'baby/querybabyAppDiet'
104 108 }
littleApp_child/utils/network_util.js View file @ 3ccb197
... ... @@ -4,7 +4,7 @@
4 4 // 18382670036 多层次
5 5 // 18328537371 陈云 666666
6 6 // 0测试环境 1正式环境 2演示环境 3衡水
7   -var Builing_Release_AppStore = 0
  7 +var Builing_Release_AppStore = 0;
8 8 // 获取服务器地址
9 9 function kServerBaseUrl() {
10 10 switch (Builing_Release_AppStore) {