crm_second_opening_mini/pages/index/newSche/newSche.wxml

1 line
6.6 KiB
Plaintext

<view class="new_sche data-v-2e103666"><view class="top_required data-v-2e103666">只展示<label style="color:#f00;" class="_span data-v-2e103666">必填</label>字段<switch checked="{{isRequired}}" color="#03AA96" data-event-opts="{{[['change',[['changeRequired',['$event']]]]]}}" bindchange="__e" class="data-v-2e103666"></switch></view><view class="fllow_form data-v-2e103666"><view class="data-v-2e103666"><text class="data-v-2e103666">*</text>日程标题</view><view class="form_right data-v-2e103666"><input class="{{['inputtext','data-v-2e103666',title?'valueActive':'']}}" type="text" placeholder-style="font-size:30rpx;color: #999;" placeholder="填写日程标题" data-event-opts="{{[['input',[['__set_model',['','title','$event',[]]]]]]}}" value="{{title}}" bindinput="__e"/></view></view><view class="fllow_form data-v-2e103666"><view class="data-v-2e103666"><text class="data-v-2e103666">*</text>开始时间</view><picker mode="multiSelector" range="{{dateTimeArray}}" value="{{dateTime}}" data-event-opts="{{[['change',[['changeStartTime',['$event']]]]]}}" bindchange="__e" class="data-v-2e103666"><view class="form_right data-v-2e103666"><view class="{{['data-v-2e103666',start_time?'valueActive':'']}}">{{start_time?start_time:'点击选择'}}</view><view class="iconfont icon-arrows_right data-v-2e103666"></view></view></picker></view><view class="fllow_form data-v-2e103666"><view class="data-v-2e103666"><text class="data-v-2e103666">*</text>结束时间</view><picker mode="multiSelector" range="{{dateTimeArray}}" value="{{dateTime}}" data-event-opts="{{[['change',[['changeEndTime',['$event']]]]]}}" bindchange="__e" class="data-v-2e103666"><view class="form_right data-v-2e103666"><view class="{{['data-v-2e103666',end_time?'valueActive':'']}}">{{end_time?end_time:'点击选择'}}</view><view class="iconfont icon-arrows_right data-v-2e103666"></view></view></picker></view><view class="fllow_form data-v-2e103666"><view class="data-v-2e103666"><text class="data-v-2e103666">*</text>自动结束</view><view class="form_right data-v-2e103666"><radio-group data-event-opts="{{[['change',[['changeAuto',['$event']]]]]}}" class="labellist data-v-2e103666" bindchange="__e"><label class="labelbox"><view class="data-v-2e103666"><radio color="#03aa96" value="1" class="data-v-2e103666"></radio></view><view class="data-v-2e103666">是</view></label><label class="labelbox"><view class="data-v-2e103666"><radio color="#03aa96" value="0" class="data-v-2e103666"></radio></view><view class="data-v-2e103666">否</view></label></radio-group></view></view><view class="fllow_form data-v-2e103666"><view class="data-v-2e103666"><text class="data-v-2e103666">*</text>日程状态</view><picker range="{{schedule_list}}" value="{{status}}" data-event-opts="{{[['change',[['changeSchedule',['$event']]]]]}}" bindchange="__e" class="data-v-2e103666"><view class="form_right data-v-2e103666"><view class="{{['data-v-2e103666',schedule_list[status]?'valueActive':'']}}">{{schedule_list[status]?schedule_list[status]:'点击选择'}}</view><view class="iconfont icon-arrows_right data-v-2e103666"></view></view></picker></view><view class="fllow_form data-v-2e103666"><view class="data-v-2e103666"><text class="data-v-2e103666">*</text>紧要程度</view><picker range="{{level_list}}" range-key="name" value="{{levelIndex}}" data-event-opts="{{[['change',[['changeLevel',['$event']]]]]}}" bindchange="__e" class="data-v-2e103666"><view class="form_right data-v-2e103666"><view class="{{['data-v-2e103666',level_list[levelIndex]?'valueActive':'']}}">{{level_list[levelIndex]?level_list[levelIndex].name:'点击选择'}}</view><view class="iconfont icon-arrows_right data-v-2e103666"></view></view></picker></view><view class="fllow_form data-v-2e103666"><view class="data-v-2e103666"><text class="data-v-2e103666">*</text>提醒时间</view><picker range="{{remind_list}}" value="{{remindtype}}" data-event-opts="{{[['change',[['changeRemind',['$event']]]]]}}" bindchange="__e" class="data-v-2e103666"><view class="form_right data-v-2e103666"><view class="{{['data-v-2e103666',remind_list[remindtype]?'valueActive':'']}}">{{remind_list[remindtype]?remind_list[remindtype]:'点击选择'}}</view><view class="iconfont icon-arrows_right data-v-2e103666"></view></view></picker></view><view class="fllow_form data-v-2e103666"><view class="data-v-2e103666"><text class="data-v-2e103666">*</text>关联类型</view><view class="form_right data-v-2e103666"><radio-group data-event-opts="{{[['change',[['changeRelation',['$event']]]]]}}" class="labellist data-v-2e103666" bindchange="__e"><block wx:for="{{relation_List}}" wx:for-item="item" wx:for-index="index" wx:key="index"><label class="labelbox"><view class="data-v-2e103666"><radio color="#03aa96" value="{{item.id}}" checked="{{item.id==relation_type}}" class="data-v-2e103666"></radio></view><view class="data-v-2e103666">{{item.name}}</view></label></block></radio-group></view></view><block wx:if="{{relationName}}"><view class="fllow_form data-v-2e103666"><view class="data-v-2e103666"><text class="data-v-2e103666">*</text>{{relationName}}</view><view data-event-opts="{{[['tap',[['toSelectGuanglian',['$event']]]]]}}" class="form_right data-v-2e103666" bindtap="__e"><view class="{{['data-v-2e103666',guanlianName?'valueActive':'']}}">{{guanlianName?guanlianName:'点击选择'}}</view><view class="iconfont icon-arrows_right data-v-2e103666"></view></view></view></block><block wx:if="{{!isRequired}}"><view class="fllow_area data-v-2e103666"><view class="area_head data-v-2e103666">备注</view><textarea class="{{['data-v-2e103666',remark?'valueActive':'']}}" placeholder="备注" placeholder-style="color:#999" data-event-opts="{{[['input',[['__set_model',['','remark','$event',[]]]]]]}}" value="{{remark}}" bindinput="__e"></textarea></view></block><view data-event-opts="{{[['tap',[['$noMultipleClicks',['$0'],['toAdd']]]]]}}" class="btn_g bg-blue button-hover round data-v-2e103666" bindtap="__e">保存</view><select-customer bind:getCustomerinfo="__e" vue-id="0b6176fe-1" data-ref="customerChild" data-event-opts="{{[['^getCustomerinfo',[['getCustomerinfo']]]]}}" class="data-v-2e103666 vue-ref" bind:__l="__l"></select-customer><select-link bind:linkInfo="__e" vue-id="0b6176fe-2" data-ref="linkChild" data-event-opts="{{[['^linkInfo',[['linkInfo']]]]}}" class="data-v-2e103666 vue-ref" bind:__l="__l"></select-link><select-contract bind:contractInfo="__e" vue-id="0b6176fe-3" data-ref="contractChild" data-event-opts="{{[['^contractInfo',[['contractInfo']]]]}}" class="data-v-2e103666 vue-ref" bind:__l="__l"></select-contract><select-clue bind:clueInfo="__e" vue-id="0b6176fe-4" data-ref="clueChild" data-event-opts="{{[['^clueInfo',[['clueInfo']]]]}}" class="data-v-2e103666 vue-ref" bind:__l="__l"></select-clue></view>