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
fb9ccfdf
Commit
fb9ccfdf
authored
Jul 20, 2021
by
chenzhenan
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://git.xiaodongai.com/WechatMiniProgram/XAMJW-Hospita
parents
8b02e0d7
19499647
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
1 deletions
+15
-1
pages/info1/info1.js
+9
-0
pages/info1/info1.wxml
+6
-1
No files found.
pages/info1/info1.js
View file @
fb9ccfdf
...
...
@@ -58,6 +58,7 @@ Page({
mage
:
''
,
// 母亲年龄
moccupation
:
''
,
//母亲职业
mdegree
:
''
,
//母亲文化程度
idCard
:
''
},
onLoad
:
function
(
options
)
{
var
that
=
this
;
...
...
@@ -176,6 +177,7 @@ Page({
that
.
setData
({
username
:
res
.
info
.
name
,
index
:
res
.
info
.
cultural
,
idCard
:
res
.
info
.
idCard
,
date
:
res
.
info
.
birthday
,
sex
:
res
.
info
.
xingbie
,
home
:
res
.
info
.
house
,
// 家庭类型
...
...
@@ -195,6 +197,7 @@ Page({
sex
:
res
.
info
.
xingbie
?
res
.
info
.
xingbie
:
res
.
info
.
sex
,
select
:
res
.
info
.
hunfou
,
username1
:
res
.
info
.
ask_department
,
idCard
:
res
.
info
.
idCard
,
});
}
}
...
...
@@ -205,6 +208,11 @@ Page({
username
:
e
.
detail
.
value
,
})
},
inputIdCard
(
e
){
this
.
setData
({
idCard
:
e
.
detail
.
value
,
})
},
people
:
function
(
e
)
{
this
.
setData
({
multiIndex
:
e
.
detail
.
value
...
...
@@ -251,6 +259,7 @@ Page({
data
.
name
=
this
.
data
.
username
;
data
.
sex
=
this
.
data
.
sex
;
data
.
birthday
=
this
.
data
.
date
;
data
.
idCard
=
this
.
data
.
idCard
,
// 新添加学历功能
data
.
edu
=
this
.
data
.
index
;
if
(
that
.
data
.
hosiptiaFlag
)
{
// 非池州市人民医院
...
...
pages/info1/info1.wxml
View file @
fb9ccfdf
...
...
@@ -42,7 +42,7 @@
<view class="section">
<view class="section__title"></view>
<picker bindchange="bindPickerChange1" value="{{select}}" range="{{array1}}">
<view class="picker" mode =
"selector">
<view class="picker" mode=
"selector">
{{array1[select]}}
</view>
</picker>
...
...
@@ -51,6 +51,11 @@
<view class="partyone">编号
<input type='text' placeholder='请输入编号' bindinput="inputChange2" value='{{usernumber}}'></input>
</view>
<view class="partyone">
身份证号
<input type='text' placeholder='请输入身份证号' bindinput="inputIdCard" maxlength="18" value='{{idCard}}'>
</input>
</view>
<view class="partyone">单位名称
<input type='text' placeholder='请输入您的单位名称' bindinput="inputChange1" value='{{username1}}'></input>
</view>
...
...
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