crm_second_opening_mini/pagesA/punchclock/clockrules/addRules.wxml

1 line
3.3 KiB
Plaintext

<view class="data-v-dbeebb92"><view class="rule_tip data-v-dbeebb92">修改打卡规则后第二天生效</view><view class="fllow_form data-v-dbeebb92"><view class="data-v-dbeebb92"><text class="data-v-dbeebb92">*</text>打卡人员</view><view data-event-opts="{{[['tap',[['selectStaff',['$event']]]]]}}" class="form_right data-v-dbeebb92" bindtap="__e"><block wx:if="{{$root.g0!=0}}"><view class="{{['data-v-dbeebb92',$root.g1!=0?'valueActive':'']}}"><block wx:for="{{staffArr}}" wx:for-item="item" wx:for-index="index" wx:key="index"><label class="_span data-v-dbeebb92">{{item.name+","}}</label></block></view></block><block wx:else><view class="data-v-dbeebb92">打卡人员</view></block><view class="iconfont icon-arrows_right data-v-dbeebb92"></view></view></view><view class="fllow_form data-v-dbeebb92"><view class="data-v-dbeebb92"><text class="data-v-dbeebb92">*</text>规则名称</view><view class="form_right data-v-dbeebb92"><input class="{{['data-v-dbeebb92',name?'valueActive':'']}}" type="text" placeholder="规则名称" placeholder-style="color:#999;font-size:32rpx;" data-event-opts="{{[['input',[['__set_model',['','name','$event',[]]]]]]}}" value="{{name}}" bindinput="__e"/></view></view><view class="fllow_form data-v-dbeebb92"><view class="data-v-dbeebb92"><text class="data-v-dbeebb92">*</text>规则类型</view><view data-event-opts="{{[['tap',[['changeRulesType',['$event']]]]]}}" class="form_right data-v-dbeebb92" bindtap="__e"><view class="{{['data-v-dbeebb92',typeObj.title?'valueActive':'']}}">{{typeObj.title?typeObj.title:'规则类型'}}</view><view class="iconfont icon-arrows_right data-v-dbeebb92"></view></view></view><view data-event-opts="{{[['tap',[['toSetTime',['$event']]]]]}}" class="fllow_form data-v-dbeebb92" bindtap="__e"><view class="data-v-dbeebb92"><text class="data-v-dbeebb92">*</text>打卡时间</view><view class="form_right data-v-dbeebb92"><view class="{{['data-v-dbeebb92',$root.g2!=0?'valueActive':'']}}"><block wx:if="{{$root.g3!=0}}"><view class="timebox data-v-dbeebb92">{{''+timeArr[0].week+";"}}<block wx:if="{{$root.g4>1}}"><label class="_span data-v-dbeebb92">{{"等"+$root.g5+"组"}}</label></block></view></block><block wx:else><view class="data-v-dbeebb92">打卡时间</view></block></view><view class="iconfont icon-arrows_right data-v-dbeebb92"></view></view></view><view data-event-opts="{{[['tap',[['selectPosition',['$event']]]]]}}" class="fllow_form data-v-dbeebb92" bindtap="__e"><view class="data-v-dbeebb92"><text class="data-v-dbeebb92">*</text>打卡位置</view><view class="form_right data-v-dbeebb92"><view class="{{['data-v-dbeebb92',$root.g6!=0?'valueActive':'']}}"><block wx:if="{{$root.g7!=0}}"><view class="timebox data-v-dbeebb92">{{''+positionArr[0].address+";"}}<block wx:if="{{$root.g8>1}}"><view class="data-v-dbeebb92">{{"等"+$root.g9+"个"}}</view></block></view></block><block wx:else><view class="data-v-dbeebb92">打卡时间</view></block></view><view class="iconfont icon-arrows_right data-v-dbeebb92"></view></view></view><view class="btn_g bg-blue button-hover round data-v-dbeebb92" id="btn" data-event-opts="{{[['tap',[['$noMultipleClicks',['$0'],['toSave']]]]]}}" bindtap="__e">保存</view><select-rule-type bind:selectType="__e" vue-id="1aaa1865-1" data-ref="ruleTypeChild" data-event-opts="{{[['^selectType',[['selectType']]]]}}" class="data-v-dbeebb92 vue-ref" bind:__l="__l"></select-rule-type></view>