Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
XAMJW-Hospita
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wechatminiprogram
XAMJW-Hospita
Commits
80cc93bc
Commit
80cc93bc
authored
Jun 09, 2021
by
liuquan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加身份证
parent
c0307c8b
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
37 additions
and
21 deletions
+37
-21
pages/info/info.js
+9
-2
pages/info/info.wxml
+8
-7
project.config.json
+20
-12
No files found.
pages/info/info.js
View file @
80cc93bc
...
...
@@ -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
,
...
...
pages/info/info.wxml
View file @
80cc93bc
...
...
@@ -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">
...
...
project.config.json
View file @
80cc93bc
...
...
@@ -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"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment