Commit 80cc93bc by liuquan

添加身份证

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