12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879 |
- <view>
- <image class="top-img" src="/static/images/bk.png" mode="widthFix"></image>
- <view class="title">2024年春节返乡报备</view>
- <view class="form-wrapper">
- <view class="form-item">
- <view class="item-left">春节是否返乡</view>
- <view class="item-radio">
- <radio-group bindchange="radioChangeGoHome">
- <radio class="color-2c" value="0" checked="true">不返乡</radio>
- <radio class="color-2c" value="1">返乡</radio>
- </radio-group>
- </view>
- </view>
- <view class="form-item" wx:if="{{servant.gohome=='0'}}">
- <view class="item-left">假期是否接单</view>
- <view class="item-radio">
- <radio-group bindchange="radioChangeWalk">
- <radio class="color-2c" value="1" checked="true">接单</radio>
- <radio class="color-2c" value="0">不接单</radio>
- </radio-group>
- </view>
- </view>
- <view class="form-item" wx:if="{{servant.gohome=='1'}}">
- <view class="item-left">【返乡】时间</view>
- <view class="item-right">
- <picker mode="date" value="2024-01-01" start="2024-01-01" end="2024-03-31" bindchange="bindGoHomeChange">
- <input class="weui-input name-input" type="text" disabled="true" placeholder="请选择春节返乡时间"
- value="{{servant.goHomeDate}}"/>
- </picker>
- </view>
- </view>
- <view class="form-item" wx:if="{{servant.gohome=='1'}}">
- <view class="item-left">春节居住地</view>
- <view class="item-right">
- <input class="weui-input name-input" type="text" placeholder="请输入省-市-区详细地址"
- value="{{servant.address}}" bindinput="bindAddress" />
- </view>
- </view>
- <view class="form-item" wx:if="{{servant.gohome=='1'}}">
- <view class="item-left">【返城】时间</view>
- <view class="item-right">
- <picker mode="date" value="2024-01-01" start="2024-01-01" end="2024-03-31" bindchange="bindGoBackChange">
- <input class="weui-input name-input" type="text" disabled="true" placeholder="请选择节后返城时间"
- value="{{servant.goBackDate}}"/>
- </picker>
- </view>
- </view>
- <view class="form-item" wx:if="{{servant.gohome=='1'}}">
- <view class="item-left">节后接单时间</view>
- <view class="item-right">
- <picker mode="date" value="2024-01-01" start="2024-01-01" end="2024-03-31" bindchange="bindWalkDateChange">
- <input class="weui-input name-input" type="text" disabled="true" placeholder="请选择节后可接单时间"
- value="{{servant.walkDate}}"/>
- </picker>
- </view>
- </view>
- <view class="holiday-content" wx:if="{{servant.gohome=='0'&&servant.walk=='1'}}">
- <view class="holiday" wx:for="{{servant.date}}" wx:key="date">
- <view class="solar">{{item.date}}</view>
- <view style="color:{{item.lunar=='春节'?'red':'#999'}}" class="lunar">{{item.lunar}}</view>
- <radio-group class='radio-group' data-id='{{item.date}}' bindchange="radioDateChange">
- <radio value="{{type.title}}" wx:key="type" checked="{{type.checked}}" wx:for="{{item.type}}" wx:for-item="type">{{type.title}}
- </radio>
- </radio-group>
- </view>
- </view>
- <view class="register-btn" ontap="saveNewYearReport">
- 确认报备
- </view>
- </view>
- </view>
|