Commit 80cc93bc by liuquan

添加身份证

parent c0307c8b
...@@ -73,6 +73,7 @@ Page({ ...@@ -73,6 +73,7 @@ Page({
moccupation: '', //母亲职业 moccupation: '', //母亲职业
mdegree: '', //母亲文化程度 mdegree: '', //母亲文化程度
jobnumber: '', //工号 jobnumber: '', //工号
idCard:'',//身份证号
hidden: true, hidden: true,
nocancel: true, nocancel: true,
ishow: '', ishow: '',
...@@ -168,7 +169,9 @@ Page({ ...@@ -168,7 +169,9 @@ Page({
console.log("login失败") console.log("login失败")
} }
}); });
} else {} } else {
}
// let allData = wx.getStorageSync('data'); // let allData = wx.getStorageSync('data');
}, },
confirm: function () { confirm: function () {
...@@ -176,7 +179,6 @@ Page({ ...@@ -176,7 +179,6 @@ Page({
nocancel: this.data.nocancel, nocancel: this.data.nocancel,
hidden: true, hidden: true,
payInfo: true payInfo: true
// delbtn:-1
}); });
wx.showTabBar({ wx.showTabBar({
aniamtion: true aniamtion: true
...@@ -903,6 +905,11 @@ Page({ ...@@ -903,6 +905,11 @@ Page({
username: e.detail.value, username: e.detail.value,
}) })
}, },
inputIdCard(e){
this.setData({
idCard: e.detail.value,
})
},
inputjobnumber: function (e) { inputjobnumber: function (e) {
this.setData({ this.setData({
jobnumber: e.detail.value, jobnumber: e.detail.value,
......
...@@ -111,15 +111,16 @@ ...@@ -111,15 +111,16 @@
<input type='text' placeholder='请输入您所在的班级' bindinput="inputChange6" value='{{classGrade}}'></input> <input type='text' placeholder='请输入您所在的班级' bindinput="inputChange6" value='{{classGrade}}'></input>
</view> </view>
<view class="partyone" wx:if='{{bid!= 713&&bid!=714}}'> <view class="partyone" wx:if='{{bid!= 713&&bid!=714}}'>
<block wx:if="{{unitid==1285}}">手机号码</block> <block>联系方式</block>
<block wx:else>联系方式</block>
<input type='number' placeholder='请输入联系方式' bindinput="inputChange2" value='{{usernumber}}'></input> <input type='number' placeholder='请输入联系方式' bindinput="inputChange2" value='{{usernumber}}'></input>
</view> </view>
<view class="partyone" wx:if='{{bid!= 713&&bid!=714&&unitid !=1285}}'> <view class="partyone">
<block wx:if="{{unitid==1282||unitid==1311}}">科室</block> <block>单位名称</block>
<block wx:elif="{{unitid==1325||unitid==974}}">学校</block> <input type='text' placeholder='请输入' bindinput="inputChange1" value='{{username1}}'></input>
<block wx:else>单位名称</block> </view>
<input type='text' placeholder='{{(unitid==1282||unitid==1311)?"请输入科室,如消化内科":"请输入"}}' bindinput="inputChange1" value='{{username1}}'></input> <view class="partyone">
身份证号
<input type='text' placeholder='请输入' bindinput="inputIdCard" value='{{idCard}}'></input>
</view> </view>
<view class='partyone' wx:if='{{unitid==1282||unitid==904}}'>人员类别 <view class='partyone' wx:if='{{unitid==1282||unitid==904}}'>人员类别
<view class="section"> <view class="section">
......
...@@ -5,30 +5,38 @@ ...@@ -5,30 +5,38 @@
}, },
"setting": { "setting": {
"urlCheck": true, "urlCheck": true,
"scopeDataCheck": false,
"coverView": true,
"es6": true, "es6": true,
"enhance": false,
"postcss": true, "postcss": true,
"compileHotReLoad": false,
"preloadBackgroundData": false, "preloadBackgroundData": false,
"minified": true, "minified": true,
"autoAudits": false,
"newFeature": false, "newFeature": false,
"coverView": true,
"nodeModules": false,
"autoAudits": false,
"showShadowRootInWxmlPanel": true,
"scopeDataCheck": false,
"uglifyFileName": false, "uglifyFileName": false,
"checkInvalidKey": true,
"checkSiteMap": true,
"uploadWithSourceMap": true, "uploadWithSourceMap": true,
"compileHotReLoad": false,
"useMultiFrameRuntime": true,
"useApiHook": true,
"useApiHostProcess": false,
"babelSetting": {
"ignore": [],
"disablePlugins": [],
"outputPath": ""
},
"enableEngineNative": false,
"useIsolateContext": true, "useIsolateContext": true,
"nodeModules": false,
"enhance": false,
"useCompilerModule": true, "useCompilerModule": true,
"userConfirmedUseCompilerModuleSwitch": false, "userConfirmedUseCompilerModuleSwitch": false,
"useMultiFrameRuntime": true, "userConfirmedBundleSwitch": false,
"useApiHook": true,
"useApiHostProcess": true,
"showShadowRootInWxmlPanel": true,
"packNpmManually": false, "packNpmManually": false,
"packNpmRelationList": [], "packNpmRelationList": [],
"minifyWXSS": true, "minifyWXSS": true
"bundle": false
}, },
"compileType": "miniprogram", "compileType": "miniprogram",
"libVersion": "2.17.0", "libVersion": "2.17.0",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment