Commit 59b12821de2f11650c1f93014aaf7cc3b034b625
1 parent
307aafd79c
Exists in
master
测试数据
Showing 3 changed files with 22 additions and 11 deletions
woman/app.json
View file @
59b1282
| ... | ... | @@ -8,13 +8,12 @@ |
| 8 | 8 | "pages/articleDetail/articleDetail", |
| 9 | 9 | "pages/hospitalDetail/hospitalDetail", |
| 10 | 10 | "pages/login/login", |
| 11 | - "pages/logs/logs", | |
| 12 | 11 | "pages/folicAcid/folicAcid", |
| 13 | 12 | "pages/cancerCheck/cancerCheck", |
| 14 | 13 | "pages/report_first/report_first", |
| 15 | 14 | "pages/premaritalCheckup/premaritalCheckup", |
| 16 | - "pages/premaritalReport/premaritalReport", | |
| 17 | - "pages/eugenics/eugenics" | |
| 15 | + "pages/premaritalReport/premaritalReport", | |
| 16 | + "pages/eugenics/eugenics" | |
| 18 | 17 | |
| 19 | 18 | |
| 20 | 19 |
woman/pages/doctor/doctor.js
View file @
59b1282
| ... | ... | @@ -32,22 +32,27 @@ |
| 32 | 32 | "provinceId": "1", |
| 33 | 33 | "pwd": "E10ADC3949BA59ABBE56E057F20F883E", |
| 34 | 34 | "status": 0, |
| 35 | - "type": 1 | |
| 35 | + "type": 1, | |
| 36 | + "username": "张春芳", | |
| 37 | + "goodAt": "医生技能医生技能医生技能医生技能医生技能医生技能医生技能医生技能医生技能医生技能", | |
| 38 | + "expertCase":"医生技能医生技能医生技能医生技能医生技能医生技能医生技能医生技能医生技能医生技能医生技能医生技能医生技能医生技能医生技能医生技能医生技能" | |
| 36 | 39 | }, |
| 37 | 40 | hospitalName: '', |
| 38 | 41 | doctorLevel: '', |
| 39 | 42 | deptName: '', |
| 40 | 43 | hxName: '', |
| 41 | - member: [] | |
| 44 | + member: [], | |
| 45 | + hospitalLevel:"三甲医院" | |
| 42 | 46 | }, |
| 43 | 47 | /*---------生命周期--------*/ |
| 44 | 48 | onLoad: function (options) { |
| 45 | 49 | console.log(options) |
| 50 | + console.log("医生详情") | |
| 46 | 51 | // networkUtil.showLoading() |
| 47 | 52 | // 测试数据 |
| 48 | - options.hospitalId = 177 | |
| 49 | - options.doctorId = 473 | |
| 50 | - this.requestData(options.hospitalId, options.doctorId) | |
| 53 | + //options.hospitalId = 177 | |
| 54 | + //options.doctorId = 473 | |
| 55 | + // this.requestData(options.hospitalId, options.doctorId) | |
| 51 | 56 | }, |
| 52 | 57 | chatWithDoctor() { |
| 53 | 58 | var self = this |
woman/pages/home/home.js
View file @
59b1282
| ... | ... | @@ -61,7 +61,14 @@ |
| 61 | 61 | smallH: wx.getSystemInfoSync().windowWidth / 4 - 2, |
| 62 | 62 | yyHospitalId: '', |
| 63 | 63 | Babyimg:[], |
| 64 | - userInfo: "" | |
| 64 | + week:"已分娩", | |
| 65 | + leftCheckDay: "已分娩", | |
| 66 | + intervalDays: "已分娩", | |
| 67 | + userInfo: { | |
| 68 | + username: '李芳芳', | |
| 69 | + newPatientId: "12312341234", | |
| 70 | + | |
| 71 | + } | |
| 65 | 72 | }, |
| 66 | 73 | |
| 67 | 74 | |
| ... | ... | @@ -129,7 +136,7 @@ |
| 129 | 136 | } |
| 130 | 137 | }, |
| 131 | 138 | onShow: function(option) { |
| 132 | - console.log('首页的op__', option) | |
| 139 | + /* console.log('首页的op__', option) | |
| 133 | 140 | wx.setStorageSync('isSocketConnnected', false) |
| 134 | 141 | // 生命周期函数--监听页面显示 |
| 135 | 142 | if (app.globalData.token.length > 0 && this.data.isDocument == 1) { |
| ... | ... | @@ -146,7 +153,7 @@ |
| 146 | 153 | |
| 147 | 154 | this.setData({ |
| 148 | 155 | yyHospitalId: wx.getStorageSync('yyHospitalId') |
| 149 | - }) | |
| 156 | + }) */ | |
| 150 | 157 | }, |
| 151 | 158 | onUnload: function() { |
| 152 | 159 | // 移除监听 |