Files
kelfy-mini/pages/studentMsgDel/studentMsgDel.wxml

203 lines
6.7 KiB
Plaintext
Raw Permalink Normal View History

2025-11-13 13:38:59 +08:00
<!--pages/userMsgDel/userMsgDel.wxml-->
<view class="main">
<view class="content">
<view class="title">请认真填写体检人信息</view>
<!-- 选择学校 -->
<view>
<view class="item">
<view class="left">学校</view>
<view class="inputf">
<van-field
input-class="my-input-class"
model:value="{{ schoolname }}"
right-icon="arrow-down"
readonly="true"
placeholder="请选择学校名称"
bind:click-input="schoolOn"
bind:click-icon="schoolOn"
/>
</view>
</view>
</view>
<van-popup
show="{{ schoolSwitch }}"
position="bottom"
custom-style="height: 50%"
bind:close="schoolShutdown"
>
<view class="popsearch">
<van-search
value="{{ schoolIndexes }}"
placeholder="请输入学校名称"
use-action-slot
bind:change="setschoolIndexes"
bind:search="schoolGo"
>
<view slot="action" bind:tap="schoolGo" style="color:#1296db;margin-right: 10rpx;margin-left: 10rpx;"> 搜索</view>
</van-search>
</view>
<view class = "pickempty" wx:if = "{{ schoolxpList.length == 0 }}">无数据</view>
<view wx:if = "{{ schoolxpList != 0 }}">
<van-picker
show-toolbar
title="请选择"
columns="{{ schoolxpList }}"
value-key="name"
bind:cancel="schoolShutdown"
bind:confirm="schoolIdentification"
/>
</view>
</van-popup>
<!-- 选择班级 -->
<view>
<view class="item">
<view class="left">班级</view>
<view class="inputf">
<van-field
model:value="{{ classname }}"
right-icon="arrow-down"
readonly="true"
placeholder="请选择班级名称"
input-class="my-input-class"
bind:click-input="classOn"
bind:click-icon="classOn"
/>
</view>
</view>
</view>
<van-popup
show="{{ classSwitch }}"
position="bottom"
custom-style="height: 50%"
bind:close="classShutdown"
>
<view class="popsearch">
<van-search
value="{{ classIndexes }}"
placeholder="请输入班级名称"
use-action-slot
bind:change="setclassIndexes"
bind:search="classGo"
>
<view slot="action" bind:tap="classGo" style="color:#1296db;margin-right: 10rpx;margin-left: 10rpx;"> 搜索</view>
</van-search>
</view>
<view class = "pickempty" wx:if = "{{ classxpList.length == 0 }}">无数据</view>
<view wx:if = "{{ classxpList != 0 }}">
<van-picker
show-toolbar
title="请选择"
columns="{{ classxpList }}"
value-key="name"
bind:cancel="classShutdown"
bind:confirm="classIdentification"
/>
</view>
</van-popup>
<view class="form">
<view class="item" >
<view class="left">姓名</view>
<view class="input">
<input class="sr" bindinput='trueName' bindchange='change_trueName' disabled="{{disabled}}" value="{{ trueName }}"
placeholder-class="placeholder" placeholder="请输入真实姓名"></input>
<!-- <view class="add">添加.</view> -->
</view>
</view>
<!-- <view class="item">
<view class="left">性别</view>
<view class="input">
<input class="sr" bindtap="showPopSex" value="{{ sexdisp }}" placeholder-class="placeholder" placeholder="请选择性别" ></input>
</view>
</view>
<view class="item">
<view class="left">年龄</view>
<view class="inputf">
<van-field
model:value="{{ age }}"
placeholder="请输入真实年龄"
maxlength = "3"
type = "number"
/>
</view>
</view> -->
<view class="item">
<view class="left">身份证号</view>
<view class="inputf">
<van-field
input-class="my-input-class"
model:value="{{ idCard }}"
placeholder="请输入身份证号码"
readonly="{{ disabled }}"
type = "idcard"
/>
</view>
</view>
<view class="item">
<view class="left1">设为默认体检人 </view>
<view class="switch">
<van-switch class="sw" checked="{{ checked }}" bind:change="onChange" size="25px" />
</view>
</view>
<view class="msgDes">添加体检人请使用儿童的身份证号。</view>
<view class="btn" bindtap="save">保存</view>
<view class="btn2" wx:if="{{state == 1}}" bindtap="del">删除体检人</view>
</view>
</view>
<!-- <van-popup
show="{{ showsex }}"
round
closeable
position="bottom"
bind:close="onCloseSex">
<view class="popWrap">
<view class="title1">选择性别</view>
<view class="msgItem" wx:for="{{relateSex}}" wx:key="item" data-item="{{item}}" bindtap="confirmSex">{{item.name}}</view>
</view>
</van-popup> -->
<!-- <van-popup
show="{{ show }}"
round
closeable
position="bottom"
bind:close="onClose">
<view class="popWrap">
<view class="title1">选择与本人关系</view>
<view class="msgItem" wx:for="{{relate}}" wx:key="item" data-item="{{item}}" bindtap="confirm">{{item.name}}</view>
</view>
</van-popup> -->
<!-- <van-popup
show="{{ show2 }}"
round
closeable
position="bottom"
bind:close="onClose2">
<view class="popWrap">
<view class="title1">选择卡类型</view>
<view class="msgItem" wx:for="{{cardType}}" wx:key="item" data-item="{{item}}" bindtap="confirm2">{{item.name}}</view>
</view>
</van-popup> -->
<!-- <van-popup
show="{{ show3 }}"
round
closeable
position="bottom"
bind:close="onClose3">
<view class="popWrap">
<view class="title1">选择绑定卡号</view>
<view class="msgItem1" wx:for="{{sfzList}}" wx:key="item" data-item="{{item}}" bindtap="confirm3">
<view class="kUp">
<view class="k1">{{item.hzxm}}</view>
<view class="k2">(¥{{item.zhye}})</view>
</view>
<view class="KDown" wx:if="{{item.cardtype == 3}}">{{item.cardno}}(电子健康卡)</view>
<view class="KDown" wx:else>{{item.cardno}}</view>
</view>
</view>
</van-popup> -->
</view>