qa-education-exam-weapp/pages/mine/information/filling.wxml

246 lines
7.8 KiB
Plaintext

<view class="container">
<van-cell-group inset>
<van-cell title="头像" required>
<van-uploader file-list="{{ fileList }}" max-count="1" bind:after-read="afterRead" bind:delete="deleteFile" />
</van-cell>
<van-dialog id="van-dialog" />
<van-field
value="{{ form.NAME }}"
label="姓名"
placeholder="请输入姓名"
required
bind:input="bindInput"
data-key="NAME"
/>
<van-field
value="{{ form.SEX }}"
label="性别"
placeholder="请选择性别"
required
disabled
bind:input="bindInput"
data-key="SEX"
/>
<van-field
value="{{ form.USERNAME }}"
label="身份证号"
placeholder="请输入身份证号"
required
disabled
bind:input="bindInput"
data-key="USERNAME"
/>
<van-field
value="{{ form.DATE_OF_BIRTH }}"
label="出生年月"
placeholder="请输入出生年月"
required
disabled
bind:input="bindInput"
data-key="DATE_OF_BIRTH"
/>
<!-- <van-field
value="{{ form.PHONE }}"
label="手机号"
placeholder="请输入手机号"
required
bind:input="bindInput"
data-key="PHONE"
/> -->
<van-field
value="{{ nationName }}"
label="民族"
placeholder="请选择民族"
required
readonly
bind:click-input="showNationFn"
/>
<van-field
value="{{ politicaName }}"
label="政治面貌"
placeholder="请选择政治面貌"
required
readonly
bind:click-input="showPoliticalFn"
/>
<van-field
value="{{ degreeName }}"
label="文化程度"
placeholder="请选择文化程度"
required
readonly
bind:click-input="showDegreeFn"
/>
<van-field
value="{{ form.HEALTH_CONDITION }}"
label="健康状况"
placeholder="请输入健康状况"
required
bind:input="bindInput"
data-key="HEALTH_CONDITION"
/>
<van-field
value="{{ form.GRADUATION_INSTITUTION }}"
label="毕业院校"
placeholder="请输入毕业院校"
required
bind:input="bindInput"
data-key="GRADUATION_INSTITUTION"
/>
<!-- <van-field
value="{{ form.DUTIES }}"
label="专业"
placeholder="请输入专业"
required
bind:input="bindInput"
data-key="DUTIES"
/> -->
<van-field
value="{{ form.TITLE }}"
label="职务/职称"
placeholder="请输入职务/职称"
required
bind:input="bindInput"
data-key="TITLE"
/>
<van-field
value="{{ form.DOMICILE }}"
label="户籍所在地"
placeholder="请输入职户籍所在地"
required
bind:input="bindInput"
data-key="DOMICILE"
/>
<van-field
value="{{ form.WORKING_DATE }}"
label="参加工作日期"
placeholder="请输入参加工作日期"
bind:click-input="showPopFn"
bind:input="bindInput"
data-key="WORKING_DATE"
required
readonly
/>
<van-field
value="{{ form.STUDENT_DEPARTMENT }}"
label="部门"
disabled
placeholder="请输入部门"
required
bind:input="bindInput"
data-key="STUDENT_DEPARTMENT"
required
/>
<van-field
value="{{ form.TYPE_OF_WORK }}"
label="工种"
disabled
placeholder="请输入工种"
bind:input="bindInput"
data-key="TYPE_OF_WORK"
required
/>
<van-field
value="{{ form.ENTRY_DATE }}"
label="进入本单位时间"
placeholder="请输入进入本单位时间"
bind:click-input="showEntryFn"
bind:input="bindInput"
data-key="ENTRY_DATE"
required
readonly
/>
<van-field
value="{{ form.WORK_HOURS }}"
label="之前从事本岗位时间"
placeholder="请选择从事时间"
bind:input="bindInput"
data-key="WORK_HOURS"
required
/>
<van-field
value="{{ form.WORK_EXPERIENCE }}"
label="主要工作经历"
type="textarea"
placeholder="请输入主要工作经历"
autosize
bind:input="bindInput"
data-key="WORK_EXPERIENCE"
required
/>
<van-field
value="{{ form.CERTIFICATES }}"
label="入职前接受安全培训和考核以及取得安全培训有关的岗位证书等情况"
type="textarea"
placeholder="请输入..."
autosize
bind:input="bindInput"
data-key="CERTIFICATES"
required
/>
<van-field
value="{{ form.PUNISH }}"
label="入职前受过何种有关安全生产的处罚以及是否受到刑事处罚"
type="textarea"
placeholder="请输入..."
autosize
bind:input="bindInput"
data-key="PUNISH"
required
/>
</van-cell-group>
<view class="button">
<van-button color="linear-gradient(to right, #00ccff, #3676f2)" round size="small" custom-style="margin-top:50rpx; width:100%; height:70rpx" bind:click="submitUpdate">确定
</van-button>
</view>
</view>
<van-popup show="{{ show }}" position="bottom" bind:close="onClose" custom-style="height: 50%;">
<van-datetime-picker title="参加工作日期" formatter="{{ formatter }}" bind:cancel="onClose" value="{{ currentDate }}" type="date" bind:input="onInput" bind:confirm="confirmFn" min-date="{{minDate}}" />
</van-popup>
<van-popup show="{{ showEntry }}" position="bottom" bind:close="onCloseEntry" custom-style="height: 50%;">
<van-datetime-picker title="进入本单位时间" formatter="{{ formatter }}" bind:cancel="onCloseEntry" value="{{ entryDate }}" type="date" bind:input="onEntryInput" bind:confirm="conEntryFn" min-date="{{minDate}}" />
</van-popup>
<van-popup show="{{ showDegree }}" position="bottom" bind:close="onCloseDegree" custom-style="height: 40%;">
<van-picker
show-toolbar
title="文化程度"
columns="{{ degreeOfEducationList }}"
bind:cancel="onCloseDegree"
bind:confirm="onConfirmDegree"
value-key="NAME" />
</van-popup>
<van-popup show="{{ showPolitica }}" position="bottom" bind:close="onClosePolitica" custom-style="height: 40%;">
<van-picker
show-toolbar
title="政治面貌"
columns="{{ politicalList }}"
bind:cancel="onClosePolitica"
bind:confirm="onConfirmPolitica"
value-key="NAME" />
</van-popup>
<van-popup show="{{ showNation }}" position="bottom" bind:close="onCloseNation" custom-style="height: 40%;">
<van-picker
show-toolbar
title="民族"
columns="{{ nationList }}"
bind:cancel="onCloseNation"
bind:confirm="onConfirmNation"
value-key="NAME" />
</van-popup>
<!-- <van-popup show="{{ showDuties }}" position="bottom" bind:close="onCloseDuties" custom-style="height: 40%;">
<van-picker
show-toolbar
title="专业"
columns="{{ dutiesList }}"
bind:cancel="onCloseDuties"
bind:confirm="onConfirmDuties"
value-key="NAME" />
</van-popup> -->