diff --git a/littleApp_child/app.json b/littleApp_child/app.json
index 04f13a8..79e4025 100644
--- a/littleApp_child/app.json
+++ b/littleApp_child/app.json
@@ -1,6 +1,8 @@
{
"pages": [
"pages/home/home",
+ "pages/quickArchives/quickArchives",
+ "pages/checkupAskInput/checkupAskInput",
"pages/Setting/Setting",
"pages/PersonalInfo/PersonalInfo",
"pages/checkTabList/checkTabList",
diff --git a/littleApp_child/pages/checkupAskInput/checkupAskInput.js b/littleApp_child/pages/checkupAskInput/checkupAskInput.js
new file mode 100644
index 0000000..5c66239
--- /dev/null
+++ b/littleApp_child/pages/checkupAskInput/checkupAskInput.js
@@ -0,0 +1,153 @@
+// pages/checkupAskInput/checkupAskInput.js
+Page({
+
+ /**
+ * 页面的初始数据
+ */
+ data: {
+ postObj: {},
+ "fyType": [
+ {
+ "name": "父亲",
+ "id": "0"
+ },
+ {
+ "name": "母亲",
+ "id": "1"
+ },
+ {
+ "name": "祖父",
+ "id": "2"
+ },
+ {
+ "name": "祖母",
+ "id": "3"
+ },
+ {
+ "name": "外祖父",
+ "id": "4"
+ },
+ {
+ "name": "外祖母",
+ "id": "5"
+ },
+ {
+ "name": "其它",
+ "id": "6"
+ }
+ ],
+ "cnqk": [
+ {
+ "name": "好",
+ "id": "1"
+ },
+ {
+ "name": "不好",
+ "id": "2"
+ }
+ ],
+ "wyType": [
+ {
+ "name": "母乳喂养",
+ "id": "0"
+ },
+ {
+ "name": "混合喂养",
+ "id": "1"
+ },
+ {
+ "name": "人工喂养",
+ "id": "2"
+ }
+ ]
+ },
+
+ /**
+ * 生命周期函数--监听页面加载
+ */
+ onLoad: function (options) {
+
+ },
+
+ bindKeyInput(e) {
+ // console.log(e)
+ let key = e.currentTarget.id;
+ let value = e.detail.value;
+ this.setData({
+ ['postObj.' + key]: value
+ })
+ },
+
+ bindPickerChange(e) {
+ console.log(e)
+ },
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ /**
+ * 生命周期函数--监听页面初次渲染完成
+ */
+ onReady: function () {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面显示
+ */
+ onShow: function () {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面隐藏
+ */
+ onHide: function () {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面卸载
+ */
+ onUnload: function () {
+
+ },
+
+ /**
+ * 页面相关事件处理函数--监听用户下拉动作
+ */
+ onPullDownRefresh: function () {
+
+ },
+
+ /**
+ * 页面上拉触底事件的处理函数
+ */
+ onReachBottom: function () {
+
+ },
+
+ /**
+ * 用户点击右上角分享
+ */
+ onShareAppMessage: function () {
+
+ }
+})
\ No newline at end of file
diff --git a/littleApp_child/pages/checkupAskInput/checkupAskInput.json b/littleApp_child/pages/checkupAskInput/checkupAskInput.json
new file mode 100644
index 0000000..3ec9e82
--- /dev/null
+++ b/littleApp_child/pages/checkupAskInput/checkupAskInput.json
@@ -0,0 +1,7 @@
+{
+ "navigationBarBackgroundColor": "#48C17B",
+ "navigationBarTitleText": "问诊录入",
+ "navigationBarTextStyle": "white",
+ "backgroundColor": "#F4F4F4",
+ "enablePullDownRefresh": true
+}
\ No newline at end of file
diff --git a/littleApp_child/pages/checkupAskInput/checkupAskInput.wxml b/littleApp_child/pages/checkupAskInput/checkupAskInput.wxml
new file mode 100644
index 0000000..7209f49
--- /dev/null
+++ b/littleApp_child/pages/checkupAskInput/checkupAskInput.wxml
@@ -0,0 +1,211 @@
+
+ 问诊{{postObj.sadada}}
+
+
+
+ 联系电话
+
+
+
+
+
+
+
+ 主要抚养人
+
+
+
+
+ 请选择
+ {{array[index]}}
+
+
+
+ 〉
+
+
+
+ 喂养方式
+
+
+
+
+ 请选择
+ {{array[index]}}
+
+
+
+ 〉
+
+
+
+ 吃奶情况
+
+
+
+
+ 请选择
+ {{array[index]}}
+
+
+
+ 〉
+
+
+
+ 每天吃奶次数
+
+
+
+
+ 次
+
+
+
+ 小便
+
+
+
+
+
+
+
+ 小便次数
+
+
+
+
+ 次
+
+
+
+ 大便
+
+
+
+
+
+
+
+
+ 大便次数
+
+
+
+
+ 次/
+
+
+
+ 天
+
+
+
+ 睡眠
+
+
+
+
+
+
+
+
+ 户外活动
+
+
+
+
+ 时/日
+
+
+
+ 维生素D
+
+
+
+
+ IU/日
+
+
+
+ 维生素AD
+
+
+
+
+ IU/日
+
+
+
+ 辅食添加
+
+
+
+ 未添加
+ 添加
+
+
+
+
+
+
+ 家庭措施
+
+
+
+
+
+
+
+ 两次随访间
+ 患病情况
+
+
+
+ 未患病
+ 患病
+
+
+
+
+
+
+ 药物过敏史
+
+
+
+ 无
+ 有
+
+
+
+
+
+
+ 脐带脱落时间
+
+
+
+
+ 天
+
+
+
+ 黄染消退时间
+
+
+
+
+ 天
+
+
+
+ 其他说明
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/littleApp_child/pages/checkupAskInput/checkupAskInput.wxss b/littleApp_child/pages/checkupAskInput/checkupAskInput.wxss
new file mode 100644
index 0000000..0570b23
--- /dev/null
+++ b/littleApp_child/pages/checkupAskInput/checkupAskInput.wxss
@@ -0,0 +1,59 @@
+/* pages/checkupAskInput/checkupAskInput.wxss */
+.weui-cells{
+ padding-right:15px;
+}
+.weui-cell{
+ padding: 10px 0 10px 10px;
+}
+.page-tt{
+ font-size: 18px;
+}
+.weui-cells{
+ margin-top:0;
+}
+.weui-cell__ft{
+ font-size: 14px;
+ color: #333;
+}
+.weui-label{
+ display: block;
+ width: 95px;
+}
+.line-tt{
+ padding-left: 5px;
+ font-size: 14px;
+}
+.select-placeholder{
+ color: #c0c0c0;
+ font-size: 14px;
+}
+.select-btn{
+ text-align: center;
+ min-width: 45px;
+ padding: 0px 4px;
+ height: 24px;
+ line-height: 24px;
+ border:1px solid #797979;
+ color: #797979;
+ font-size: 14px;
+ display: inline-block;
+ margin:1px 3px;
+}
+.select-btn.choose{
+ border:1px solid #48C07B;
+ background: #48C07B;
+ color: #fff;
+}
+.unit-span{
+ font-size: 14px;
+ vertical-align: middle;
+ line-height: 1.5;
+}
+.flex-box{
+ display: flex;
+}
+.unit-input{
+ flex: 1;
+ display:inline-block;
+ vertical-align: middle;
+}
\ No newline at end of file
diff --git a/littleApp_child/pages/checkupAskInput/ss.js b/littleApp_child/pages/checkupAskInput/ss.js
new file mode 100644
index 0000000..f061f55
--- /dev/null
+++ b/littleApp_child/pages/checkupAskInput/ss.js
@@ -0,0 +1,144 @@
+// POST /interrogation/upload
+// {
+// private String mphone;
+
+// /**
+// * 抚养人
+// */
+// private String mainFoster;
+
+// /**
+// * 喂养方式
+// */
+// private String cnqk;
+
+// /**
+// * 吃奶情况
+// */
+// private String milkingSituation;
+
+// /**
+// * 每天吃奶次数
+// */
+// private String mtcnNum;
+
+// /**
+// * 小便
+// */
+// private String pee;
+
+// /**
+// * 小便次数
+// */
+// private String xbNum;
+
+// /**
+// * 大便
+// */
+// private String excrement;
+
+// /**
+// * 大便次数
+// */
+// private String dbNum;
+
+// /**
+// * 大便天数
+// */
+// private String dbDayNum;
+
+// /**
+// * 睡眠
+// */
+// private String sleep;
+
+// /**
+// * 户外活动(小时)
+// */
+// private String activity;
+
+// /**
+// * 维生素D
+// */
+// private String vitaminD;
+
+// /**
+// * 维生素AD
+// */
+// private String wssAd;
+
+// /**
+// * 辅食添加
+// */
+// private String assistFood;
+
+// /**
+// * 家庭措施
+// */
+// private String homeMeasure;
+
+// /**
+// * 两次随访问患病情况
+// */
+// private Map douhbqk = new HashedMap();
+
+// /**
+// * 药物过敏史
+// */
+// private String drugGllergic;
+
+// /**
+// * 脐带脱落时间
+// */
+// private String qdtlTime;
+
+// /**
+// * 皮肤黄染消退时间
+// */
+// private String pfhrTime;
+
+// /**
+// * 问诊其他说明
+// */
+// private String askOther;
+// }
+
+
+// /**
+// * 母亲名称
+// */
+// private String mommyName;
+
+// /**
+// * 证件号号
+// */
+// @NotEmpty
+// private String mommyCertificateNum;
+
+// /**
+// * 母亲联系方式
+// */
+// @NotEmpty
+// private String mommyPhone;
+
+// /**
+// * 儿童名称
+// */
+// @NotEmpty
+// private String babyName;
+
+// /**
+// * 儿童性别
+// */
+// private Integer babyGender;
+
+// /**
+// * 儿童生日
+// */
+// private String babyBirthday;
+
+// /**
+// * 就诊卡号
+// */
+// @NotEmpty
+// private String vcCardNo;
diff --git a/littleApp_child/pages/checkupInput/checkupInput.js b/littleApp_child/pages/checkupInput/checkupInput.js
index 01a53e0..01fbb7e 100644
--- a/littleApp_child/pages/checkupInput/checkupInput.js
+++ b/littleApp_child/pages/checkupInput/checkupInput.js
@@ -21,6 +21,7 @@ Page({
bust: "",
feedArray:["母乳喂养","混合喂养","人工喂养"],
feed: "0",
+ canWork:true,
},
// 下拉刷新回调接口
onPullDownRefresh() {},
@@ -31,8 +32,14 @@ Page({
toDay: toDay,
})
this.setData({
- hospitalId:app.globalData.userInfo.hospitalId,
+ hospitalId: app.globalData.userInfo.hospitalId,
+ pid:app.globalData.userInfo.pid,
})
+ if(this.data.pid == ""||this.data.pid== undefined){
+ this.setData({
+ canWork:false
+ });
+ }
this.getList();
networkUtil._get(api.checkList,
{ patientId: getApp().globalData.currentId},
@@ -42,30 +49,30 @@ Page({
},
getList() {
networkUtil._post(api.getCheckUpHistory, {
- pid: this.data.pid,
- hospitalId: this.data.hospitalId,
+ keyword: this.data.pid,
+ sort: this.data.hospitalId,
}, res => {
console.log(res)
if (res.statusCode == 200 && res.data.errorcode == 0) {
var data = res.data.data;
- for (let o of data) {
- o.fhr = JSON.parse(o.fhr);
- }
this.setData({
- array: res.data.data
+ array: res.data.data[0].babyInfos
})
}
}, err => {
- })
+ }, 'application/json')
},
inputtemperature(e) {
var temperature = this.data.temperature;
var data = e.detail.value;
+ if (data.indexOf('.') > -1 && data.indexOf('.')= 0) {
this.setData({
- temperature: e.detail.value
+ temperature: data
})
}else{
this.setData({
@@ -76,9 +83,12 @@ Page({
inputheight(e) {
var height = this.data.height;
var data = e.detail.value;
+ if (data.indexOf('.') > -1 && data.indexOf('.') < data.length - 2) {
+ data = data.slice(0,-1)
+ }
if (data <= 200 && data >= 0) {
this.setData({
- height: e.detail.value
+ height: data
})
}else{
this.setData({
@@ -89,9 +99,12 @@ Page({
inputweight(e) {
var weight = this.data.weight;
var data = e.detail.value;
+ if (data.indexOf('.') > -1 && data.indexOf('.') < data.length - 2) {
+ data = data.slice(0, -1)
+ }
if (data <= 50 && data >= 0) {
this.setData({
- weight: e.detail.value
+ weight: data
})
}else{
this.setData({
@@ -102,9 +115,12 @@ Page({
inputheadWidth(e) {
var headWidth = this.data.headWidth;
var data = e.detail.value;
+ if (data.indexOf('.') > -1 && data.indexOf('.') < data.length - 2) {
+ data = data.slice(0, -1)
+ }
if (data <= 100 && data >= 0) {
this.setData({
- headWidth: e.detail.value
+ headWidth: data
})
}else{
this.setData({
@@ -115,9 +131,12 @@ Page({
inputbust(e) {
var bust = this.data.bust;
var data = e.detail.value;
+ if (data.indexOf('.') > -1 && data.indexOf('.') < data.length - 2) {
+ data = data.slice(0, -1)
+ }
if (data <= 100 && data >= 0) {
this.setData({
- bust: e.detail.value
+ bust: data
})
}else{
this.setData({
@@ -131,6 +150,14 @@ Page({
})
},
toMyApport() {
+ if (!this.data.canWork) {
+ wx.showModal({
+ title: '提示',
+ content: "游客用户不能录入产检信息!",
+ showCancel: false,
+ });
+ return;
+ };
if (isRefresh) {
return;
}
@@ -151,10 +178,10 @@ Page({
}, (res) => {
isRefresh = false
this.getList();
- wx.showToast({
- title: '产检信息已成功提交',
- icon: 'success',
- duration: 1000
+ wx.showModal({
+ title: '成功提交',
+ content: '检查信息已提交!',
+ showCancel: false
});
}, (err) => {
isRefresh = false
diff --git a/littleApp_child/pages/checkupInput/checkupInput.wxml b/littleApp_child/pages/checkupInput/checkupInput.wxml
index a93ce1a..028550d 100644
--- a/littleApp_child/pages/checkupInput/checkupInput.wxml
+++ b/littleApp_child/pages/checkupInput/checkupInput.wxml
@@ -6,35 +6,35 @@
体温
-
+
°C
身高
-
+
cm
体重
-
+
kg
头围
-
+
cm
胸围
-
+
cm
@@ -78,7 +78,11 @@
喂养方式:
- {{item.feed}}
+ {{
+ item.feed==0?"母乳喂养":
+ item.feed==1?"混合喂养":
+ item.feed==2?"人工喂养":""
+ }}
diff --git a/littleApp_child/pages/home/css/AboutPage.wxss b/littleApp_child/pages/home/css/AboutPage.wxss
index 7156f77..4b26132 100644
--- a/littleApp_child/pages/home/css/AboutPage.wxss
+++ b/littleApp_child/pages/home/css/AboutPage.wxss
@@ -41,24 +41,31 @@
font: medium;
font-size: 16px;
color: white;
- width: 60%;
+ width: 40%;
height: 38px;
line-height: 38px;
border-radius: 19px;
background-color: #48C17B;
-
+ display: inline-block;
text-align: center;
/* position: fixed; */
}
.register {
- margin-left: 20%;
+ margin-left: 5%;
margin-top: 20px;
- /* bottom: 20px; */
}
-
.login {
- margin-left: 20%;
+ margin-left: 7.5%;
margin-top: 20px;
- /* bottom: 78px; */
+}
+.checkinput{
+ margin-left: 7.5%;
+ margin-top: 10px;
+ margin-bottom: 20px;
+}
+.archives{
+ margin-left: 5%;
+ margin-top: 10px;
+ margin-bottom: 20px;
}
\ No newline at end of file
diff --git a/littleApp_child/pages/home/home.js b/littleApp_child/pages/home/home.js
index 545a01c..ec880c3 100644
--- a/littleApp_child/pages/home/home.js
+++ b/littleApp_child/pages/home/home.js
@@ -388,6 +388,32 @@ Page({
}
})
},
+ connectWebIM() {
+ console.log('开始连接')
+ WebIM.conn.close()
+ var that = this
+ var options = {
+ apiUrl: WebIM.config.apiURL,
+ user: wx.getStorageSync('hxName'),
+ pwd: wx.getStorageSync('hxPassWord'),
+ accessToken: wx.getStorageSync('access_token'),
+ // grant_type: "password",
+
+ success: function (res) {
+ console.log("conn success:", res);
+
+ that.getRoster()
+ },
+ fail: function (e) {
+ console.log("fail:" + e);
+ },
+ autoReconnectNumMax: 30,
+ autoReconnectInterval: 1,
+ appKey: WebIM.config.appkey
+ }
+
+ WebIM.conn.open(options)
+ },
requestHomeInfo() {
// 需要先请求用户信息
this.getUserInfo()
@@ -505,6 +531,16 @@ Page({
url: '../Register/Register',
})
},
+ toCheckInput() {
+ wx.navigateTo({
+ url: '../checkupAskInput/checkupAskInput',
+ })
+ },
+ toQuickArchives(){
+ wx.navigateTo({
+ url: '../quickArchives/quickArchives',
+ })
+ },
// 获取验证码
getVerifyCode: function(e) {
console.log("name:" + name)
diff --git a/littleApp_child/pages/home/home.wxml b/littleApp_child/pages/home/home.wxml
index 83e135f..b7842ae 100644
--- a/littleApp_child/pages/home/home.wxml
+++ b/littleApp_child/pages/home/home.wxml
@@ -172,7 +172,9 @@
-->
- 注册
+
+
+
diff --git a/littleApp_child/pages/quickArchives/quickArchives.js b/littleApp_child/pages/quickArchives/quickArchives.js
new file mode 100644
index 0000000..4e89b0c
--- /dev/null
+++ b/littleApp_child/pages/quickArchives/quickArchives.js
@@ -0,0 +1,187 @@
+// pages/quickArchives /quickArchives .js
+var networkUtil = require('../../utils/network_util.js')
+var numberUtil = require('../../utils/numberUtil.js')
+var api = require('../../utils/apiFile.js')
+Page({
+
+ /**
+ * 页面的初始数据
+ */
+ data: {
+ postObj: {},
+ sex:[
+ {
+ name:"男",
+ value:1,
+ checked:true
+ },
+ {
+ name:"女",
+ value:0,
+ checked:false
+ },
+ ]
+ },
+
+ /**
+ * 生命周期函数--监听页面加载
+ */
+ onLoad: function (options) {
+
+ },
+ bindKeyInput(e) {
+ // console.log(e)
+ let key = e.currentTarget.id;
+ let value = e.detail.value;
+ this.setData({
+ ['postObj.' + key]: value
+ })
+ },
+ bindDateChange(e){
+ let value = e.detail.value;
+ this.setData({
+ ['postObj.babyBirthday']: value
+ })
+ },
+
+ checkForm(){
+ // 513901199410060022
+ // 513901199410060049
+ // 513901199410060065
+ // 513901199410060081
+ // 513901199410060006
+ // 513901199410060102
+ // 513901199410060209
+ // 513901199410060305
+ let flag = true;
+ var data = this.data.postObj;
+ var value = "";
+ if(!(data.mommyCertificateNum&&numberUtil.checkIdCard(data.mommyCertificateNum,'woman'))){
+ flag = false;
+ value += "身份证号 "
+ }
+ if(!(data.mommyPhone&&numberUtil.IsTelPhoneNumber(data.mommyPhone))){
+ flag = false;
+ value += "手机号 "
+ }
+ if(!data.babyBirthday){
+ flag = false;
+ value += "儿童生日 "
+ }
+ if(!data.babyName){
+ flag = false;
+ value += "儿童姓名 "
+ }
+ return {
+ flag:flag,
+ value:value
+ };
+ },
+ submitData(){
+ var key = this.checkForm();
+ var data = this.data.postObj;
+ for(let o of this.data.sex){
+ if(o.checked){
+ data.babyGender = o.value;
+ break;
+ }
+ }
+ if(key.flag){
+ networkUtil._post(api.interrogation, data , (res)=> {
+ console.log(res);
+ wx.showModal({
+ title: '成功提交',
+ content: "您已成功建档,可以到体重秤测量并打印相关报告!",
+ showCancel: false,
+ success: function (res) {
+ wx.navigateTo({
+ url: '../home/home',
+ })
+ }
+ })
+ }, function (res) {
+ console.log(res)
+ },'application/json')
+ }else{
+ wx.showModal({
+ title: '表单填写不规范',
+ content: "这些项目未正确填写:"+key.value,
+ showCancel: false,
+ success: function (res) {
+ }
+ })
+ }
+ },
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ /**
+ * 生命周期函数--监听页面初次渲染完成
+ */
+ onReady: function () {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面显示
+ */
+ onShow: function () {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面隐藏
+ */
+ onHide: function () {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面卸载
+ */
+ onUnload: function () {
+
+ },
+
+ /**
+ * 页面相关事件处理函数--监听用户下拉动作
+ */
+ onPullDownRefresh: function () {
+
+ },
+
+ /**
+ * 页面上拉触底事件的处理函数
+ */
+ onReachBottom: function () {
+
+ },
+
+ /**
+ * 用户点击右上角分享
+ */
+ onShareAppMessage: function () {
+
+ }
+})
\ No newline at end of file
diff --git a/littleApp_child/pages/quickArchives/quickArchives.json b/littleApp_child/pages/quickArchives/quickArchives.json
new file mode 100644
index 0000000..39d4f4e
--- /dev/null
+++ b/littleApp_child/pages/quickArchives/quickArchives.json
@@ -0,0 +1,7 @@
+{
+ "navigationBarBackgroundColor": "#48C17B",
+ "navigationBarTitleText": "快速建档",
+ "navigationBarTextStyle": "white",
+ "backgroundColor": "#F4F4F4",
+ "enablePullDownRefresh": true
+ }
\ No newline at end of file
diff --git a/littleApp_child/pages/quickArchives/quickArchives.wxml b/littleApp_child/pages/quickArchives/quickArchives.wxml
new file mode 100644
index 0000000..a2288d0
--- /dev/null
+++ b/littleApp_child/pages/quickArchives/quickArchives.wxml
@@ -0,0 +1,89 @@
+
+ 快速建档
+
+
+
+
+ *
+ 母亲身份证号
+
+
+
+
+
+
+
+
+
+ *
+ 母亲手机号
+
+
+
+
+
+
+
+
+
+ *
+ 儿童姓名
+
+
+
+
+
+
+
+
+
+ *
+ 儿童性别
+
+
+
+
+
+
+
+
+
+
+
+ *
+ 儿童出生日期
+
+
+
+
+
+ 请选择出生日期
+ {{postObj.babyBirthday}}
+
+
+
+
+
+
+ 母亲姓名
+
+
+
+
+
+
+
+ 儿童就诊卡号
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/littleApp_child/pages/quickArchives/quickArchives.wxss b/littleApp_child/pages/quickArchives/quickArchives.wxss
new file mode 100644
index 0000000..3782670
--- /dev/null
+++ b/littleApp_child/pages/quickArchives/quickArchives.wxss
@@ -0,0 +1,57 @@
+/* pages/quickArchives /quickArchives .wxss *//* pages/checkupAskInput/checkupAskInput.wxss */
+.weui-cells{
+ padding-right:15px;
+}
+.weui-cell{
+ padding: 10px 0 10px 10px;
+}
+.page-tt{
+ font-size: 18px;
+}
+.weui-cells{
+ margin-top:0;
+}
+.weui-cell__ft{
+ font-size: 14px;
+ color: #333;
+}
+.weui-label{
+ display: block;
+}
+.line-tt{
+ padding-left: 5px;
+ color: #505050;
+ font-size: 14px;
+}
+.select-placeholder{
+ color: #c0c0c0;
+ font-size: 14px;
+}
+.we_button {
+ margin-top:20px;
+ font: medium;
+ font-size: 16px;
+ color: white;
+ width: 60%;
+ margin-left:20%;
+ height: 38px;
+ line-height: 38px;
+ border-radius: 19px;
+ background-color: #48C17B;
+ display: inline-block;
+ text-align: center;
+ /* position: fixed; */
+}
+.picker-view{
+ font-size: 14px;
+}
+.radio-group{
+ font-size: 14px;
+}
+.radio{
+ width: 90px;
+ display: inline-block;
+}
+radio{
+ transform:scale(0.8);
+}
\ No newline at end of file
diff --git a/littleApp_child/utils/apiFile.js b/littleApp_child/utils/apiFile.js
index bee4bde..c2af659 100644
--- a/littleApp_child/utils/apiFile.js
+++ b/littleApp_child/utils/apiFile.js
@@ -1,7 +1,8 @@
module.exports = {
getOpenId: 'wx/getOpenId',
/*------建档------*/
-
+ // 快捷建档
+ interrogation:"/interrogation/build/upload",
// 校验验证码并且绑定建档
verifyCode: 'baby/vercode',
// 获取验证码
@@ -63,7 +64,7 @@ module.exports = {
//高危指导
babyPrecise:'/baby/precise',
// 填写检查字段
- setCheckUp:"babyMeasureInfo/saveOrUpdate",
+ setCheckUp:"baby/wx/babyMeasureInfo/saveOrUpdate",
// get检查字段list
- getCheckUpHistory:"babyMeasureInfo/list"
+ getCheckUpHistory:"baby/wx/babyMeasureInfo/list"
}
\ No newline at end of file
diff --git a/littleApp_child/utils/network_util.js b/littleApp_child/utils/network_util.js
index 2e7625a..5ee2cb4 100644
--- a/littleApp_child/utils/network_util.js
+++ b/littleApp_child/utils/network_util.js
@@ -78,7 +78,7 @@ function _post(port, params, success, fail, contentType) {
},
complete: function () {
// complete
- // wx.hideToast()
+ wx.hideToast()
// 小程序提供的api,通知页面停止下拉刷新效果
wx.stopPullDownRefresh;
}
diff --git a/littleApp_child/utils/numberUtil.js b/littleApp_child/utils/numberUtil.js
index b87f6db..ac94fb8 100644
--- a/littleApp_child/utils/numberUtil.js
+++ b/littleApp_child/utils/numberUtil.js
@@ -234,7 +234,7 @@ function getLatestMonth() {
/**
* 检查身份证合法
- * @param str_idCard sex为human man
+ * @param str_idCard sex为wuman man
* @returns {boolean}
*/
function checkIdCard(str_idCard, sex) {
@@ -329,7 +329,7 @@ function checkIdCard(str_idCard, sex) {
/**
* 检查身份证合法
- * @param str_idCard sex为human man
+ * @param str_idCard sex为wuman man
* @returns {boolean}
*/
function checkIdCard(str_idCard, sex) {