fnSubscribeDocument.wxml 15.2 KB
   1
   2
   3
   4
   5
   6
   7
   8
   9
  10
  11
  12
  13
  14
  15
  16
  17
  18
  19
  20
  21
  22
  23
  24
  25
  26
  27
  28
  29
  30
  31
  32
  33
  34
  35
  36
  37
  38
  39
  40
  41
  42
  43
  44
  45
  46
  47
  48
  49
  50
  51
  52
  53
  54
  55
  56
  57
  58
  59
  60
  61
  62
  63
  64
  65
  66
  67
  68
  69
  70
  71
  72
  73
  74
  75
  76
  77
  78
  79
  80
  81
  82
  83
  84
  85
  86
  87
  88
  89
  90
  91
  92
  93
  94
  95
  96
  97
  98
  99
 100
 101
 102
 103
 104
 105
 106
 107
 108
 109
 110
 111
 112
 113
 114
 115
 116
 117
 118
 119
 120
 121
 122
 123
 124
 125
 126
 127
 128
 129
 130
 131
 132
 133
 134
 135
 136
 137
 138
 139
 140
 141
 142
 143
 144
 145
 146
 147
 148
 149
 150
 151
 152
 153
 154
 155
 156
 157
 158
 159
 160
 161
 162
 163
 164
 165
 166
 167
 168
 169
 170
 171
 172
 173
 174
 175
 176
 177
 178
 179
 180
 181
 182
 183
 184
 185
 186
 187
 188
 189
 190
 191
 192
 193
 194
 195
 196
 197
 198
 199
 200
 201
 202
 203
 204
 205
 206
 207
 208
 209
 210
 211
 212
 213
 214
 215
 216
 217
 218
 219
 220
 221
 222
 223
 224
 225
 226
 227
 228
 229
 230
 231
 232
 233
 234
 235
 236
 237
 238
 239
 240
 241
 242
 243
 244
 245
 246
 247
 248
 249
 250
 251
 252
 253
 254
 255
 256
 257
 258
 259
 260
 261
 262
 263
 264
 265
 266
 267
 268
 269
 270
 271
 272
 273
 274
 275
<!--pages/fnSubscribeDocument/fnSubscribeDocument.wxml 妇女婚检建档-->
<form catchsubmit="formSubmit">
<view class="subscribeDocument">
<view class="tip">为了医院给您更好的婚检,请按照实际信息填写资料</view>
<!--<view class="topBar">
<view class="topBar-left lightHight"></view>
<view class="topBar-right"></view>
<view class="topBar-right"></view>
</view>
<view class="title">
<image src="../../source/imageSource/page17_icon_woman_n@3x.png"></image>
<text>孕妇基本信息</text>
</view>-->
<!-- <ocr-navigator bind:onSuccess="getCard" certificateType="idCard" opposite="{{false}}">
<view style="width: 140px;text-align: center;background:#ee7289;color: white;line-height: 35px;font-size: 14px;border-radius: 5px;margin-left: 4%;margin-top: 15px;">身份证正面识别</view>
<text style="font-size: 14px;margin-left: 4%;color: #ee7289;">识别身份证信息,自动将身份信息填入下面表单。</text>
</ocr-navigator> -->

<view class="input {{mustInputData.must_name?'mustFillIn':''}}">
<text>姓名</text>
<input name="username" bindinput='inputText' data-ids='username' maxlength="12" placeholder="请填写您的姓名" placeholder-class="input-placeholder" value='{{defaultInfo.username ? defaultInfo.username : ""}}'/>
</view>
<view class="nationalityNational">
<view class="input nationality {{mustInputData.must_sex?'mustFillIn':''}}">
<text>性别</text>
<picker name="sex" class="picker" bindchange="bindSex" value="{{sexIndex}}" range="{{sexList}}" range-key="name">
<view class="picker__text">
{{sex ? sex.name: '请选择性别'}}
</view>
<image src="../../source/imageSource/page17_icon_triangle_n@3x.png" class="picker__right">
</image>
</picker>
</view>
<view class="input national {{mustInputData.must_marriage?'mustFillIn':''}}" >
<text>婚姻状况</text>
<picker name="marriageId" class="picker" bindchange="bindMarriage" range="{{marriageStatus}}" range-key="name">
<view class="picker__text">
{{marriageId ? marriageId.name: '请选择婚姻状况'}}
</view>
<image src="../../source/imageSource/page17_icon_triangle_n@3x.png" class="picker__right">
</image>
</picker>
</view>
</view>
<view class="nationalityNational">
<view class="input nationality {{mustInputData.must_nationality?'mustFillIn':''}}">
<text>国籍</text>
<picker name="nationality" class="picker" bindchange="bindPickerNationality" value="{{index}}" range="{{nationality}}" range-key="name">
<view class="picker__text">
{{nationalityEntity.name}}
</view>
<image src="../../source/imageSource/page17_icon_triangle_n@3x.png" class="picker__right">
</image>
</picker>
</view>
<view class="input national {{mustInputData.must_national?'mustFillIn':''}}">
<text>民族</text>
<picker name="nation" class="picker" bindchange="bindPickerNational" value="{{nationalIndex}}" range="{{national}}" range-key="name">
<view class="picker__text">
{{nationalEntity.name}}
</view>
<image src="../../source/imageSource/page17_icon_triangle_n@3x.png" class="picker__right">
</image>
</picker>
</view>
</view>
<view class="input {{mustInputData.must_birthday?'mustFillIn':''}}">
<text>出生日期</text>
<picker name="birthday" class="picker" bindchange="bindBirthday" value="{{birthday}}" mode="date">
<view class="picker__text">
{{birthday ? birthday: '请选择出生日期'}}
</view>
<image src="../../source/imageSource/page17_icon_triangle_n@3x.png" class="picker__right">
</image>
</picker>
</view>
<view class="input {{mustInputData.must_type?'mustFillIn':''}}">
<text>检查类型</text>
<picker name="type" class="picker" bindchange="bindType" range="{{typeList}}" range-key="name">
<view class="picker__text">
{{type ? type.name: '请选择检查类型'}}
</view>
<image src="../../source/imageSource/page17_icon_triangle_n@3x.png" class="picker__right">
</image>
</picker>
</view>
<view class="input {{mustInputData.must_idcard?'mustFillIn':''}}">
<text>身份证号</text>
<input name="certificateNum" bindinput='inputText' data-ids='certificateNum' maxlength="18" placeholder="请填写您的身份证号码" placeholder-class="input-placeholder" value='{{defaultInfo.certificateNum ? defaultInfo.certificateNum : ""}}'/>
</view>
<view class="input registeredPermanentResidenceCategory">
<text>户籍类型</text>
<picker name="accountType" class="picker" bindchange="bindAccountType" value="{{accountTypeIndex}}" range="{{accountType}}" range-key="name">
<view class="picker__text">
{{accountTypeEntity ? accountTypeEntity.name : '请选择您的户籍类型'}}
</view>
<image src="../../source/imageSource/page17_icon_triangle_n@3x.png" class="picker__right">
</image>
</picker>
</view>
<view class="input">
<text>居住类别</text>
<picker name="resideType" class="picker" bindchange="bindResideType" value="{{resideTypeIndex}}" range="{{resideType}}" range-key="name">
<view class="picker__text">
{{resideTypeEntity ? resideTypeEntity.name : '请选择您的居住类别'}}
</view>
<image src="../../source/imageSource/page17_icon_triangle_n@3x.png" class="picker__right">
</image>
</picker>
</view>
<view class="input {{mustInputData.must_educationLevel?'mustFillIn':''}}">
<text>文化程度</text>
<picker name="educationLevel" class="picker" bindchange="bindEducationLevel" value="{{educationLevelIndex}}" range="{{educationLevel}}" range-key="name">
<view class="picker__text">
{{educationLevelEntity ? educationLevelEntity.name : '请选择您的文化程度'}}
</view>
<image src="../../source/imageSource/page17_icon_triangle_n@3x.png" class="picker__right">
</image>
</picker>
</view>
<view class="input {{mustInputData.must_job?'mustFillIn':''}}">
<text>职业类别</text>
<picker name="job" class="picker" bindchange="bindJob" value="{{jobIndex}}" range="{{job}}" range-key="name">
<view class="picker__text">
{{jobEntity ? jobEntity.name : '请选择您的职业类别'}}
</view>
<image src="../../source/imageSource/page17_icon_triangle_n@3x.png" class="picker__right">
</image>
</picker>
</view>
<view class="input {{mustInputData.must_phone?'mustFillIn':''}}">
<text>联系方式</text>
<input name="phone" bindinput='inputText' data-ids='phone' maxlength="11" placeholder="请填写您的手机号码" placeholder-class="input-placeholder" />
</view>
<view class="input {{mustInputData.must_workUnit?'mustFillIn':''}}">
<text>工作单位</text>
<input name="workUnit" bindinput='inputText' data-ids='workUnit' maxlength="11" placeholder="请填写您的工作单位" placeholder-class="input-placeholder"/>
</view>
<view class="input address {{mustInputData.must_currentAddress?'mustFillIn':''}}">
<text>居住地址</text>
<view class="add_picker">
<view wx:if="{{!currentAddress.details}}" class="add_picker__text" bindtap="showAreaSelector" id="currentAddress"
data-name="currentAddress">请选择省市区(县)</view>
<view name="provinceCityArea" wx:if="{{currentAddress.details}}" class="add_picker__text" bindtap="showAreaSelector"
data-name="currentAddress">{{currentAddress.details}}</view>
</view>
<image src="../../source/imageSource/page17_icon_triangle_n@3x.png" class="address__picker__right">
</image>
<input name="currentAddress_input" class="address__input"
placeholder="输入街道门牌,无需重复地区" placeholder-class="input-placeholder" bindfocus="getFocus" bindinput='inputAddress' data-ids='jz'
value='{{defaultInfo.currentAddress_input}}' />
</view>
<!--<view class="input address {{mustInputData.must_permanentAddress?'mustFillIn':''}}">
<text>户籍地址</text>
<view class="add_picker">
<view wx:if="{{!permanentAddress.details}}" class="add_picker__text" bindtap="showAreaSelector" data-name="permanentAddress">请选择省市区(县)</view>
<view name="provinceCityArea" wx:if="{{permanentAddress.details}}" class="add_picker__text" bindtap="showAreaSelector" data-name="permanentAddress">{{permanentAddress.details}}</view>
<view class="add_picker__btn" data-ids='hj' bindlongtap='tongshang'>长按引用居住信息</view>
</view>
<image src="../../source/imageSource/page17_icon_triangle_n@3x.png" class="address__picker__right">
</image>
<input name="permanentAddress_input" class="address__input" placeholder="输入街道门牌,无需重复地区" placeholder-class="input-placeholder" bindfocus="getFocus" bindinput='inputAddress' data-ids='hj' value='{{defaultInfo.permanentAddress_input}}' />
</view>
<view class="input">
<text>既往史</text>
<picker name="pastHistory" class="picker" bindchange="bindPastHistory" range="{{yesOrNoList}}" range-key="name">
<view class="picker__text">
{{pastHistory ? pastHistory.name : '请选择'}}
</view>
<image src="../../source/imageSource/page17_icon_triangle_n@3x.png" class="picker__right">
</image>
</picker>
</view>
<view class="checkbox-sty" wx:if="{{pastHistory.id==='2'}}">
<checkbox-group bindchange="checkboxChange">
<checkbox value="{{item.value}}" wx:for="{{items}}" wx:key="id">
{{item.name}}
</checkbox>
</checkbox-group>
</view>
<view class="input" wx:if="{{showJw}}">
<text>其他内容</text>
<input name="jwQtText" bindinput='inputText' data-ids='jwQtText' placeholder="请填写既往史其他内容" placeholder-class="input-placeholder" />
</view>
<view class="input">
<text>家族史</text>
<picker name="familyHistory" class="picker" bindchange="bindFamilyHistory" range="{{yesOrNoList}}" range-key="name">
<view class="picker__text">
{{familyHistory ? familyHistory.name : '请选择'}}
</view>
<image src="../../source/imageSource/page17_icon_triangle_n@3x.png" class="picker__right">
</image>
</picker>
</view>
<view class="checkbox-sty" wx:if="{{familyHistory.id==='2'}}">
<checkbox-group bindchange="checkboxChange1">
<checkbox value="{{item.value}}" wx:for="{{items1}}" wx:key="id">
{{item.name}}
</checkbox>
</checkbox-group>
</view>
<view class="input" wx:if="{{showJz}}">
<text>其他内容</text>
<input name="jzQtText" bindinput='inputText' data-ids='jzQtText' placeholder="请填写家族史其他内容" placeholder-class="input-placeholder" />
</view>
<view class="input">
<text>个人史</text>
<picker name="familyHistory" class="picker" bindchange="bindPersonalHistory" range="{{yesOrNoList}}" range-key="name">
<view class="picker__text">
{{personalHistory ? personalHistory.name : '请选择'}}
</view>
<image src="../../source/imageSource/page17_icon_triangle_n@3x.png" class="picker__right">
</image>
</picker>
</view>
<view class="checkbox-sty" wx:if="{{personalHistory.id==='2'}}">
<checkbox-group bindchange="checkboxChange2">
<checkbox value="{{item.value}}" wx:for="{{items2}}" wx:key="id">
{{item.name}}
</checkbox>
</checkbox-group>
</view>
<view class="input" wx:if="{{showGr}}">
<text>其他内容</text>
<input name="grQtText" bindinput='inputText' data-ids='grQtText' placeholder="请填写个人史其他内容" placeholder-class="input-placeholder" />
</view>
<view class="input">
<text>药物过敏史</text>
<picker name="ywgmHistory" class="picker" bindchange="bindYwgmHistory" range="{{yesOrNoList}}" range-key="name">
<view class="picker__text">
{{ywgmHistory ? ywgmHistory.name : '请选择'}}
</view>
<image src="../../source/imageSource/page17_icon_triangle_n@3x.png" class="picker__right">
</image>
</picker>
</view>
<view class="checkbox-sty" wx:if="{{ywgmHistory.id==='2'}}">
<checkbox-group bindchange="checkboxChange3">
<checkbox value="{{item.value}}" wx:for="{{items3}}" wx:key="id">
{{item.name}}
</checkbox>
</checkbox-group>
</view>
<view class="input" wx:if="{{showGm}}">
<text>其他内容</text>
<input name="gmQtText" bindinput='inputText' data-ids='gmQtText' placeholder="请填写药物过敏史其他内容" placeholder-class="input-placeholder" />
</view>
<view class="input">
<text>现病史</text>
<picker name="presentHistory" class="picker" bindchange="bindPresentHistory" range="{{yesOrNoList}}" range-key="name">
<view class="picker__text">
{{presentHistory ? presentHistory.name : '请选择'}}
</view>
<image src="../../source/imageSource/page17_icon_triangle_n@3x.png" class="picker__right">
</image>
</picker>
</view>
<view class="input" wx:if="{{presentHistory.id==='2'}}">
<text>其他内容</text>
<input name="xbQtText" bindinput='inputText' data-ids='xbQtText' placeholder="请填写现病史其他内容" placeholder-class="input-placeholder" />
</view>-->
<button class="next" formType="submit" style="width: 670rpx;">保存</button>
<view class="blankbottom"></view>
</view>
</form>


<!--引入选择器布局-->
<include src="../../utils/areaSelector/selector.wxml" />