59 lines
2.2 KiB
Plaintext
59 lines
2.2 KiB
Plaintext
<wxs module="format" src="/utils/format.wxs"></wxs>
|
|
|
|
<view class="header_title">
|
|
<view class="header_title_row">
|
|
<van-row>
|
|
<van-col span="4">
|
|
<view class="header_img" bindtap="returnToPage">
|
|
<image src="/images/left.png"></image>
|
|
</view>
|
|
</van-col>
|
|
<van-col span="15">
|
|
<view class="header_name">移动考勤配置详情</view>
|
|
</van-col>
|
|
</van-row>
|
|
</view>
|
|
</view>
|
|
<scroll-view class="max_content_scroll" type="list" scroll-y bindscrolltolower="onScrollToLower">
|
|
<project-select init="{{ initData }}" bindchange="onProjectSelect" id="projectSel"></project-select>
|
|
<view class="content_box">
|
|
<view class="box-row">
|
|
<view class="box-title">考勤标题</view>
|
|
<view class="box-content">{{ cfgData.title }}</view>
|
|
</view>
|
|
<view class="box-row">
|
|
<view class="box-title">开始时间</view>
|
|
<view class="box-content">{{ cfgData.startDate }}</view>
|
|
</view>
|
|
<view class="box-row">
|
|
<view class="box-title">结束时间</view>
|
|
<view class="box-content">{{ cfgData.endDate }}</view>
|
|
</view>
|
|
|
|
<view class="box-row">
|
|
<view class="box-title">指定考勤地点</view>
|
|
<view class="box-content">{{ cfgData.address }}</view>
|
|
</view>
|
|
|
|
<view class="box-row">
|
|
<view class="box-title">考勤范围</view>
|
|
<view class="box-content">{{ cfgData.range }}</view>
|
|
</view>
|
|
|
|
<view class="box-row">
|
|
<view class="box-title">考勤班组</view>
|
|
<view class="box-content" wx:if="{{!cfgData.groupList||cfgData.groupList.length==0}}">全部</view>
|
|
<view class="box-content" wx:else>
|
|
<view class="group-item" wx:for="{{cfgData.groupList}}" wx:key="id">
|
|
{{item.groupName}}
|
|
<text class="dept-name">({{item.deptName}})</text>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="problem_submit_to">
|
|
<view wx:if="{{type=='cfg' }}" class="problem_submit_to_btn problem_submit_to_save" bindtap="doEdit">编辑</view>
|
|
<view wx:if="{{type=='cfg' }}" class="problem_submit_to_btn problem_submit_to_delete" bindtap="doDelete">失效</view>
|
|
<view class="problem_submit_to_btn" bindtap="returnToPage">返回</view>
|
|
</view>
|
|
</view>
|
|
</scroll-view> |