1 |
- <view><image class="background" src="https://cczdsz.cn/app/images//background-from.png" mode></image><view class="project-content"><u-form class="vue-ref" vue-id="50539e87-1" labelPosition="left" model="{{form}}" rules="{{rules}}" data-ref="form" bind:__l="__l" vue-slots="{{['default']}}"><u-form-item class="vue-ref" vue-id="{{('50539e87-2')+','+('50539e87-1')}}" label="工程名称" labelWidth="150" borderBottom="{{true}}" data-ref="item1" bind:__l="__l" vue-slots="{{['default']}}"><u-input bind:input="__e" vue-id="{{('50539e87-3')+','+('50539e87-2')}}" borderBottom="{{true}}" placeholder="请输入工程名称" value="{{form.enginName}}" data-event-opts="{{[['^input',[['__set_model',['$0','enginName','$event',[]],['form']]]]]}}" bind:__l="__l"></u-input></u-form-item><u-form-item class="vue-ref" vue-id="{{('50539e87-4')+','+('50539e87-1')}}" label="涉及户数" labelWidth="150" borderBottom="{{true}}" data-ref="item1" bind:__l="__l" vue-slots="{{['default']}}"><u-input bind:input="__e" vue-id="{{('50539e87-5')+','+('50539e87-4')}}" borderBottom="{{true}}" placeholder="请输入涉及户数" value="{{form.houseHolds}}" data-event-opts="{{[['^input',[['__set_model',['$0','houseHolds','$event',[]],['form']]]]]}}" bind:__l="__l"></u-input></u-form-item><u-form-item class="vue-ref" vue-id="{{('50539e87-6')+','+('50539e87-1')}}" label="接警时间" borderBottom="{{true}}" labelWidth="150" data-ref="item1" bind:__l="__l" vue-slots="{{['default']}}"><u-input vue-id="{{('50539e87-7')+','+('50539e87-6')}}" borderBottom="{{true}}" placeholder="请选择接警时间" disabled="{{true}}" value="{{form.repairTime}}" data-event-opts="{{[['^click',[['e0']]],['^input',[['__set_model',['$0','repairTime','$event',[]],['form']]]]]}}" bind:click="__e" bind:input="__e" bind:__l="__l"></u-input><u-picker vue-id="{{('50539e87-8')+','+('50539e87-6')}}" mode="time" params="{{params}}" value="{{showtime}}" data-event-opts="{{[['^confirm',[['time']]],['^input',[['__set_model',['','showtime','$event',[]]]]]]}}" bind:confirm="__e" bind:input="__e" bind:__l="__l"></u-picker></u-form-item><u-form-item class="vue-ref" vue-id="{{('50539e87-9')+','+('50539e87-1')}}" label="报修人名称" labelWidth="150" borderBottom="{{true}}" data-ref="item1" bind:__l="__l" vue-slots="{{['default']}}"><u-input bind:input="__e" vue-id="{{('50539e87-10')+','+('50539e87-9')}}" borderBottom="{{true}}" placeholder="请输入报修人名称" value="{{form.repairName}}" data-event-opts="{{[['^input',[['__set_model',['$0','repairName','$event',[]],['form']]]]]}}" bind:__l="__l"></u-input></u-form-item><u-form-item class="vue-ref" vue-id="{{('50539e87-11')+','+('50539e87-1')}}" label="联系电话" labelWidth="150" borderBottom="{{true}}" data-ref="item1" bind:__l="__l" vue-slots="{{['default']}}"><u-input bind:input="__e" vue-id="{{('50539e87-12')+','+('50539e87-11')}}" borderBottom="{{true}}" placeholder="请输入联系电话" value="{{form.repairPhone}}" data-event-opts="{{[['^input',[['__set_model',['$0','repairPhone','$event',[]],['form']]]]]}}" bind:__l="__l"></u-input></u-form-item><u-form-item class="vue-ref" vue-id="{{('50539e87-13')+','+('50539e87-1')}}" label="报修类型" labelWidth="150" borderBottom="{{true}}" data-ref="item1" bind:__l="__l" vue-slots="{{['default','right']}}"><u-input vue-id="{{('50539e87-14')+','+('50539e87-13')}}" disabled="{{true}}" borderBottom="{{true}}" disabledColor="#ffffff" placeholder="请选择报修类型" value="{{repairTypeLabel}}" data-event-opts="{{[['^click',[['e1']]],['^input',[['__set_model',['','repairTypeLabel','$event',[]]]]]]}}" bind:click="__e" bind:input="__e" bind:__l="__l"></u-input><block wx:if="{{type==1}}"><u-input bind:input="__e" vue-id="{{('50539e87-15')+','+('50539e87-13')}}" disabled="{{true}}" borderBottom="{{true}}" disabledColor="#ffffff" placeholder="请选择报修类型" value="{{labelList.repair_type}}" data-event-opts="{{[['^input',[['__set_model',['$0','repair_type','$event',[]],['labelList']]]]]}}" bind:__l="__l"></u-input></block><u-select vue-id="{{('50539e87-16')+','+('50539e87-13')}}" list="{{typelist.repair_type}}" label-name="dictLabel" value-name="dictValue" value="{{showrepairType}}" data-event-opts="{{[['^confirm',[['repairType']]],['^input',[['__set_model',['','showrepairType','$event',[]]]]]]}}" bind:confirm="__e" bind:input="__e" bind:__l="__l"></u-select><u-icon vue-id="{{('50539e87-17')+','+('50539e87-13')}}" slot="right" name="arrow-right" bind:__l="__l"></u-icon></u-form-item><u-form-item class="vue-ref" vue-id="{{('50539e87-18')+','+('50539e87-1')}}" borderBottom="{{true}}" data-ref="item1" bind:__l="__l" vue-slots="{{['default']}}"><view>报修内容</view><u-input bind:input="__e" vue-id="{{('50539e87-19')+','+('50539e87-18')}}" type="textarea" showWordLimit="255" borderBottom="{{true}}" placeholder="请输入报修内容" value="{{form.repairContent}}" data-event-opts="{{[['^input',[['__set_model',['$0','repairContent','$event',[]],['form']]]]]}}" bind:__l="__l"></u-input></u-form-item><u-form-item class="vue-ref" vue-id="{{('50539e87-20')+','+('50539e87-1')}}" label="到达时间" labelWidth="150" borderBottom="{{true}}" data-ref="item1" bind:__l="__l" vue-slots="{{['default']}}"><u-input vue-id="{{('50539e87-21')+','+('50539e87-20')}}" borderBottom="{{true}}" disabled="{{true}}" value="{{form.arrivalTime}}" data-event-opts="{{[['^click',[['e2']]],['^input',[['__set_model',['$0','arrivalTime','$event',[]],['form']]]]]}}" bind:click="__e" bind:input="__e" bind:__l="__l"></u-input><u-picker vue-id="{{('50539e87-22')+','+('50539e87-20')}}" mode="time" params="{{params}}" value="{{showtime4}}" data-event-opts="{{[['^confirm',[['time4']]],['^input',[['__set_model',['','showtime4','$event',[]]]]]]}}" bind:confirm="__e" bind:input="__e" bind:__l="__l"></u-picker></u-form-item><u-form-item class="vue-ref" vue-id="{{('50539e87-23')+','+('50539e87-1')}}" label="损坏原因" labelWidth="150" borderBottom="{{true}}" data-ref="item1" bind:__l="__l" vue-slots="{{['default','right']}}"><u-input vue-id="{{('50539e87-24')+','+('50539e87-23')}}" disabled="{{true}}" borderBottom="{{true}}" placeholder="请选择损坏原因" value="{{causesOfFamageLabel}}" data-event-opts="{{[['^click',[['e3']]],['^input',[['__set_model',['','causesOfFamageLabel','$event',[]]]]]]}}" bind:click="__e" bind:input="__e" bind:__l="__l"></u-input><block wx:if="{{type==1}}"><u-input bind:input="__e" vue-id="{{('50539e87-25')+','+('50539e87-23')}}" disabled="{{true}}" borderBottom="{{true}}" placeholder="请选择损坏原因" value="{{labelList.causes_of_damage}}" data-event-opts="{{[['^input',[['__set_model',['$0','causes_of_damage','$event',[]],['labelList']]]]]}}" bind:__l="__l"></u-input></block><u-select vue-id="{{('50539e87-26')+','+('50539e87-23')}}" list="{{typelist.causes_of_damage}}" label-name="dictLabel" value-name="dictValue" value="{{causesOfFamageType}}" data-event-opts="{{[['^confirm',[['causesOfFamage']]],['^input',[['__set_model',['','causesOfFamageType','$event',[]]]]]]}}" bind:confirm="__e" bind:input="__e" bind:__l="__l"></u-select><u-icon vue-id="{{('50539e87-27')+','+('50539e87-23')}}" slot="right" name="arrow-right" bind:__l="__l"></u-icon></u-form-item><u-form-item class="vue-ref" vue-id="{{('50539e87-28')+','+('50539e87-1')}}" label="施工管径" labelWidth="150" borderBottom="{{true}}" data-ref="item1" bind:__l="__l" vue-slots="{{['default']}}"><u-input bind:input="__e" vue-id="{{('50539e87-29')+','+('50539e87-28')}}" borderBottom="{{true}}" placeholder="请输入施工管径" value="{{form.constructionPipeDiameter}}" data-event-opts="{{[['^input',[['__set_model',['$0','constructionPipeDiameter','$event',[]],['form']]]]]}}" bind:__l="__l"></u-input></u-form-item><u-form-item class="vue-ref" vue-id="{{('50539e87-30')+','+('50539e87-1')}}" label="管线压力" labelWidth="150" borderBottom="{{true}}" data-ref="item1" bind:__l="__l" vue-slots="{{['default','right']}}"><u-input vue-id="{{('50539e87-31')+','+('50539e87-30')}}" disabled="{{true}}" placeholder="请输入管线压力" borderBottom="{{true}}" value="{{pipelinePressureLabel}}" data-event-opts="{{[['^click',[['e4']]],['^input',[['__set_model',['','pipelinePressureLabel','$event',[]]]]]]}}" bind:click="__e" bind:input="__e" bind:__l="__l"></u-input><block wx:if="{{type==1}}"><u-input bind:input="__e" vue-id="{{('50539e87-32')+','+('50539e87-30')}}" disabled="{{true}}" borderBottom="{{true}}" value="{{labelList.pipeline_pressure}}" data-event-opts="{{[['^input',[['__set_model',['$0','pipeline_pressure','$event',[]],['labelList']]]]]}}" bind:__l="__l"></u-input></block><u-select vue-id="{{('50539e87-33')+','+('50539e87-30')}}" list="{{typelist.pipeline_pressure}}" label-name="dictLabel" value-name="dictValue" value="{{pipelinePressureType}}" data-event-opts="{{[['^confirm',[['pipelinePressure']]],['^input',[['__set_model',['','pipelinePressureType','$event',[]]]]]]}}" bind:confirm="__e" bind:input="__e" bind:__l="__l"></u-select><u-icon vue-id="{{('50539e87-34')+','+('50539e87-30')}}" slot="right" name="arrow-right" bind:__l="__l"></u-icon></u-form-item><u-form-item class="vue-ref" vue-id="{{('50539e87-35')+','+('50539e87-1')}}" label="停气方式" labelWidth="150" borderBottom="{{true}}" data-ref="item1" bind:__l="__l" vue-slots="{{['default']}}"><u-input bind:input="__e" vue-id="{{('50539e87-36')+','+('50539e87-35')}}" borderBottom="{{true}}" placeholder="请输入停气方式" value="{{form.stopGasMethod}}" data-event-opts="{{[['^input',[['__set_model',['$0','stopGasMethod','$event',[]],['form']]]]]}}" bind:__l="__l"></u-input></u-form-item><u-form-item class="vue-ref" vue-id="{{('50539e87-37')+','+('50539e87-1')}}" label="使用材料" labelWidth="150" borderBottom="{{true}}" data-ref="item1" bind:__l="__l" vue-slots="{{['default']}}"><u-input bind:input="__e" vue-id="{{('50539e87-38')+','+('50539e87-37')}}" borderBottom="{{true}}" placeholder="请输入使用材料" value="{{form.usingMaterials}}" data-event-opts="{{[['^input',[['__set_model',['$0','usingMaterials','$event',[]],['form']]]]]}}" bind:__l="__l"></u-input></u-form-item><u-form-item class="vue-ref" vue-id="{{('50539e87-39')+','+('50539e87-1')}}" label="维修人" labelWidth="150" borderBottom="{{true}}" data-ref="item1" bind:__l="__l" vue-slots="{{['default','right']}}"><u-input vue-id="{{('50539e87-40')+','+('50539e87-39')}}" borderBottom="{{true}}" disabled="{{true}}" placeholder="请输入维修人" value="{{form.maintenanceName}}" data-event-opts="{{[['^click',[['e5']]],['^input',[['__set_model',['$0','maintenanceName','$event',[]],['form']]]]]}}" bind:click="__e" bind:input="__e" bind:__l="__l"></u-input><u-popup bind:input="__e" style="height:200px;padding:40rpx 36rpx;" vue-id="{{('50539e87-41')+','+('50539e87-39')}}" mode="bottom" value="{{workerModel}}" data-event-opts="{{[['^input',[['__set_model',['','workerModel','$event',[]]]]]]}}" bind:__l="__l" vue-slots="{{['default']}}"><view style="color:#00aaff;margin-left:10px;">维修人</view><u-search vue-id="{{('50539e87-42')+','+('50539e87-41')}}" placeholder="请输入维修人名称" action-style="{{$root.a0}}" show-action="{{false}}" value="{{namevalue}}" data-event-opts="{{[['^search',[['getWorker']]],['^input',[['__set_model',['','namevalue','$event',[]]]]]]}}" bind:search="__e" bind:input="__e" bind:__l="__l"></u-search><scroll-view class="scroll-view" style="padding:20rpx 36rpx;height:200px;overflow-y:scroll;" scroll-y="true" scroll-top="{{scrollTop}}"><u-checkbox-group style="margin:0 0 40rpx 0;" vue-id="{{('50539e87-43')+','+('50539e87-41')}}" width="200px" data-event-opts="{{[['^change',[['checkboxGroupChange']]]]}}" bind:change="__e" bind:__l="__l" vue-slots="{{['default']}}"><block wx:for="{{workerList}}" wx:for-item="item" wx:for-index="index" wx:key="id"><u-checkbox vue-id="{{('50539e87-44-'+index)+','+('50539e87-43')}}" customStyle="{{({marginBottom:'20px'})}}" name="{{item.name}}" label="{{item.name}}" value="{{item.checked}}" data-event-opts="{{[['^change',[['checkboxChange']]],['^input',[['__set_model',['$0','checked','$event',[]],[[['workerList','id',item.id]]]]]]]}}" bind:change="__e" bind:input="__e" bind:__l="__l" vue-slots="{{['default']}}">{{item.name+''}}</u-checkbox></block></u-checkbox-group></scroll-view><view style="overflow:hidden;margin:40rpx 0 0 0;padding:40rpx 36rpx;"><u-button style="width:46%;float:left;background:#eae9e9;" bind:click="__e" vue-id="{{('50539e87-45')+','+('50539e87-41')}}" data-event-opts="{{[['^click',[['workerCancel']]]]}}" bind:__l="__l" vue-slots="{{['default']}}">取消</u-button><u-button style="width:46%;float:right;background:#0f59ca !important;color:#fff;" vue-id="{{('50539e87-46')+','+('50539e87-41')}}" type="primary" data-event-opts="{{[['^click',[['workerButton']]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}">确认</u-button></view></u-popup><u-icon vue-id="{{('50539e87-47')+','+('50539e87-39')}}" slot="right" name="arrow-right" bind:__l="__l"></u-icon></u-form-item><u-form-item class="vue-ref" vue-id="{{('50539e87-48')+','+('50539e87-1')}}" label="施工时间" labelWidth="150" borderBottom="{{true}}" data-ref="item1" bind:__l="__l" vue-slots="{{['default']}}"><u-input vue-id="{{('50539e87-49')+','+('50539e87-48')}}" borderBottom="{{true}}" disabled="{{true}}" value="{{form.constructionTime}}" data-event-opts="{{[['^click',[['e6']]],['^input',[['__set_model',['$0','constructionTime','$event',[]],['form']]]]]}}" bind:click="__e" bind:input="__e" bind:__l="__l"></u-input><u-picker vue-id="{{('50539e87-50')+','+('50539e87-48')}}" mode="time" params="{{params}}" value="{{showtime3}}" data-event-opts="{{[['^confirm',[['time3']]],['^input',[['__set_model',['','showtime3','$event',[]]]]]]}}" bind:confirm="__e" bind:input="__e" bind:__l="__l"></u-picker></u-form-item><u-form-item class="vue-ref" vue-id="{{('50539e87-51')+','+('50539e87-1')}}" label="现场领导" labelWidth="150" borderBottom="{{true}}" data-ref="item1" bind:__l="__l" vue-slots="{{['default']}}"><u-input bind:input="__e" vue-id="{{('50539e87-52')+','+('50539e87-51')}}" borderBottom="{{true}}" placeholder="请输入现场领导" value="{{form.onSiteLeadership}}" data-event-opts="{{[['^input',[['__set_model',['$0','onSiteLeadership','$event',[]],['form']]]]]}}" bind:__l="__l"></u-input></u-form-item><u-form-item class="vue-ref" vue-id="{{('50539e87-53')+','+('50539e87-1')}}" label="完成时间" labelWidth="150" borderBottom="{{true}}" data-ref="item1" bind:__l="__l" vue-slots="{{['default']}}"><u-input vue-id="{{('50539e87-54')+','+('50539e87-53')}}" borderBottom="{{true}}" disabled="{{true}}" value="{{form.maintenanceTime}}" data-event-opts="{{[['^click',[['e7']]],['^input',[['__set_model',['$0','maintenanceTime','$event',[]],['form']]]]]}}" bind:click="__e" bind:input="__e" bind:__l="__l"></u-input><u-picker vue-id="{{('50539e87-55')+','+('50539e87-53')}}" mode="time" params="{{params}}" value="{{showtime2}}" data-event-opts="{{[['^confirm',[['time2']]],['^input',[['__set_model',['','showtime2','$event',[]]]]]]}}" bind:confirm="__e" bind:input="__e" bind:__l="__l"></u-picker></u-form-item><u-form-item class="vue-ref" vue-id="{{('50539e87-56')+','+('50539e87-1')}}" label="维修照片" labelWidth="150" borderBottom="{{true}}" data-ref="item1" bind:__l="__l" vue-slots="{{['default']}}"><view style="display:flex;flex-wrap:wrap;margin:0 55rpx;"><image style="width:190rpx;height:190rpx;margin:0 12rpx;" src="https://cczdsz.cn/app/images//chooseimg.png" mode data-event-opts="{{[['tap',[['choose']]]]}}" bindtap="__e"></image><block wx:for="{{imgymxs}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view style="position:relative;"><block wx:if="{{item.type=='image'}}"><view><image style="width:190rpx;height:190rpx;margin:0 20rpx;" src="{{item.url}}" mode data-event-opts="{{[['tap',[['showPhoto',[index]]]]]}}" bindtap="__e"></image></view></block><block wx:else><view><video style="width:190rpx;height:190rpx;margin:0 20rpx;" src="{{item}}"></video></view></block><view data-event-opts="{{[['tap',[['remove',[index]]]]]}}" style="position:absolute;top:0;right:14rpx;border-radius:50%;background-color:#FF0000;" bindtap="__e"><u-icon vue-id="{{('50539e87-57-'+index)+','+('50539e87-56')}}" name="close" color="#FFFFFF" size="25" bind:__l="__l"></u-icon></view></view></block></view></u-form-item><u-form-item class="vue-ref" vue-id="{{('50539e87-58')+','+('50539e87-1')}}" borderBottom="{{true}}" data-ref="item1" bind:__l="__l" vue-slots="{{['default']}}"><view>备注</view><u-input bind:input="__e" vue-id="{{('50539e87-59')+','+('50539e87-58')}}" borderBottom="{{true}}" type="textarea" value="{{form.remarks}}" data-event-opts="{{[['^input',[['__set_model',['$0','remarks','$event',[]],['form']]]]]}}" bind:__l="__l"></u-input></u-form-item></u-form><block wx:if="{{type!=1}}"><u-button vue-id="50539e87-60" type="primary" data-event-opts="{{[['^click',[['save']]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}">确认上传</u-button></block><block wx:else><u-button vue-id="50539e87-61" type="primary" data-event-opts="{{[['^click',[['update']]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}">确认修改</u-button></block></view></view>
|