Commit 5c44a7870c9b7c228a39c6885f4c8a2704dde657

Authored by luoye
1 parent 51a006cdcc

检查报告跳转详情

Showing 2 changed files with 8 additions and 8 deletions

littleApp_child/pages/CheckReport/CheckReport.js View file @ 5c44a78
... ... @@ -111,8 +111,8 @@
111 111 getCheckDetails() {
112 112 var self = this
113 113 var params = {}
114   - // params.patientId = getApp().globalData.userId[0]
115   - params.patientId = 88635
  114 + params.patientId = getApp().globalData.userId[0]
  115 + // params.patientId = 88635
116 116 params.checkTime = this.data.dateList[this.data.dateIndex]
117 117 // 获取当天信息
118 118 networkUtil._get(api.checkDetails, params, function (res) {
... ... @@ -132,8 +132,8 @@
132 132 getWzXinxi() {
133 133 var self = this
134 134 var params = {}
135   - // params.patientId = getApp().globalData.userId[0]
136   - params.patientId = 88635
  135 + params.patientId = getApp().globalData.userId[0]
  136 + // params.patientId = 88635
137 137 params.checkTime = this.data.dateList[this.data.dateIndex]
138 138 params.page = 0
139 139 params.limit = 30
littleApp_child/pages/CheckReport/CheckReport.wxml View file @ 5c44a78
... ... @@ -43,28 +43,28 @@
43 43 <view class="report_list_bg">
44 44 <scroll-view class="report_list_scroll" scroll-x="true">
45 45 <view class="report_list_item_bg">
46   - <navigator class="report_list_item">
  46 + <navigator class="report_list_item" url="../checkTableList/checkTableList?currenIndex=0{{'&checkTime=' + yearText + monthText}}">
47 47 <image src="../../source/wenzhenjiancha.png"></image>
48 48 <!-- <view class="greenColor report_list_item_dot"></view> -->
49 49 <label>问诊检查</label>
50 50 </navigator>
51 51 </view>
52 52 <view class="report_list_item_bg">
53   - <navigator class="report_list_item">
  53 + <navigator class="report_list_item" url="../checkTableList/checkTableList?currenIndex=1{{'&checkTime=' + yearText + monthText}}">
54 54 <image src="../../source/erkejiancha.png"></image>
55 55 <!-- <view class="greenColor report_list_item_dot"></view> -->
56 56 <label>儿科检查</label>
57 57 </navigator>
58 58 </view>
59 59 <view class="report_list_item_bg">
60   - <navigator class="report_list_item">
  60 + <navigator class="report_list_item" url="../checkTableList/checkTableList?currenIndex=2{{'&checkTime=' + yearText + monthText}}">
61 61 <image src="../../source/yibanjiancha.png"></image>
62 62 <!-- <view class="greenColor report_list_item_dot"></view> -->
63 63 <label>一般检查</label>
64 64 </navigator>
65 65 </view>
66 66 <view class="report_list_item_bg">
67   - <navigator class="report_list_item">
  67 + <navigator class="report_list_item" url="../checkTableList/checkTableList?currenIndex=3{{'&checkTime=' + yearText + monthText}}">
68 68 <image src="../../source/fuzhujiancha.png"></image>
69 69 <!-- <view class="greenColor report_list_item_dot"></view> -->
70 70 <label>辅助检查</label>