1 line
8.4 KiB
Plaintext
1 line
8.4 KiB
Plaintext
<u-popup wx:if="{{O}}" class="data-v-fd540320" virtualHostClass="data-v-fd540320" u-s="{{['d']}}" bindclose="{{M}}" u-i="fd540320-0" bind:__l="__l" bindupdateShow="{{N}}" u-p="{{O}}"><view class="popup-content data-v-fd540320"><view class="popup-header data-v-fd540320"><view class="popup-title text-bold data-v-fd540320">{{a}}</view><view class="popup-close data-v-fd540320" bindtap="{{b}}">×</view></view><scroll-view class="popup-body data-v-fd540320" scroll-y style="{{I}}"><view wx:if="{{c}}" class="draft-banner data-v-fd540320"><view class="draft-banner-left data-v-fd540320"><text class="cuIcon-info draft-banner-icon data-v-fd540320"></text><text class="data-v-fd540320">已自动恢复您上次未提交的内容</text></view><text class="draft-banner-action data-v-fd540320" bindtap="{{d}}">清空草稿</text></view><view class="flex margin-bottom data-v-fd540320"><view class="text-gray data-v-fd540320">检查形式</view><view class="text-red data-v-fd540320">*</view></view><scroll-view class="hazard-choose-scroll data-v-fd540320" scroll-x show-scrollbar="{{false}}"><view class="hazard-choose-row data-v-fd540320"><view wx:for="{{e}}" wx:for-item="item" wx:key="b" class="{{['hazard-choose-tag', 'hazard-choose-tag--source', 'data-v-fd540320', item.c && 'hazard-choose-tag--active']}}" catchtap="{{item.d}}"><text class="hazard-choose-tag__text data-v-fd540320">{{item.a}}</text></view></view></scroll-view><view class="flex margin-bottom margin-top data-v-fd540320"><view class="text-gray data-v-fd540320">隐患图片</view><view class="text-red data-v-fd540320">*</view></view><up-upload wx:if="{{h}}" class="data-v-fd540320" virtualHostClass="data-v-fd540320" bindafterRead="{{f}}" binddelete="{{g}}" u-i="fd540320-1,fd540320-0" bind:__l="__l" u-p="{{h}}"></up-upload><block wx:if="{{r0}}"><canvas class="data-v-fd540320" canvas-id="{{i}}" width="{{j}}" height="{{k}}" style="{{'width:' + l + ';' + ('height:' + m) + ';' + ('position:' + 'fixed') + ';' + ('left:' + '-9999px') + ';' + ('top:' + '-9999px')}}"></canvas></block><view class="text-gray text-sm data-v-fd540320">必填:请上传现场照片作为隐患证据</view><view class="ai-btn-wrapper margin-top data-v-fd540320"><button class="ai-analyze-btn data-v-fd540320" loading="{{p}}" disabled="{{q}}" bindtap="{{r}}"><text wx:if="{{n}}" class="cuIcon-magic ai-btn-icon data-v-fd540320"></text> {{o}}</button></view><view class="flex margin-bottom margin-top data-v-fd540320"><view class="text-gray data-v-fd540320">隐患标题</view><view class="text-red data-v-fd540320">*</view></view><up-input wx:if="{{t}}" class="data-v-fd540320" virtualHostClass="data-v-fd540320" u-i="fd540320-2,fd540320-0" bind:__l="__l" bindupdateModelValue="{{s}}" u-p="{{t}}"></up-input><view class="text-sm text-gray margin-top-xs data-v-fd540320">请用简洁的语言概括隐患要点</view><view class="flex margin-bottom margin-top data-v-fd540320"><view class="text-gray data-v-fd540320">隐患等级</view><view class="text-red data-v-fd540320">*</view></view><scroll-view class="hazard-choose-scroll data-v-fd540320" scroll-x show-scrollbar="{{false}}"><view class="hazard-choose-row data-v-fd540320"><view wx:for="{{v}}" wx:for-item="item" wx:key="b" class="{{['hazard-choose-tag', 'hazard-choose-tag--level', 'data-v-fd540320', item.c && 'hazard-choose-tag--active']}}" catchtap="{{item.d}}"><text class="hazard-choose-tag__text data-v-fd540320">{{item.a}}</text></view></view></scroll-view><view class="flex margin-bottom margin-top data-v-fd540320"><view class="text-gray data-v-fd540320">隐患位置</view><view class="text-red data-v-fd540320">*</view></view><view class="address-box data-v-fd540320"><up-input wx:if="{{x}}" class="address-input-wrapper data-v-fd540320" virtualHostClass="address-input-wrapper data-v-fd540320" u-i="fd540320-3,fd540320-0" bind:__l="__l" bindupdateModelValue="{{w}}" u-p="{{x}}"></up-input><button class="btn-address bg-blue data-v-fd540320" catchtap="{{y}}">选择地址</button></view><view class="text-gray text-sm margin-top-xs data-v-fd540320">如:办公楼3层东侧消防通道、生产车间A区设备旁等,或点击"选择地址"按钮在地图上选择</view><view class="flex margin-bottom margin-top data-v-fd540320"><view class="text-gray data-v-fd540320">法律依据</view></view><view class="select-trigger data-v-fd540320" bindtap="{{B}}"><view class="{{['select-value', 'data-v-fd540320', A && 'placeholder']}}">{{z}}</view><text class="cuIcon-unfold data-v-fd540320"></text></view><view class="flex margin-bottom margin-top data-v-fd540320"><view class="text-gray data-v-fd540320">隐患区域</view></view><view class="select-trigger data-v-fd540320" bindtap="{{E}}"><view class="{{['select-value', 'data-v-fd540320', D && 'placeholder']}}">{{C}}</view><text class="cuIcon-unfold data-v-fd540320"></text></view><view class="flex margin-bottom margin-top data-v-fd540320"><view class="text-gray data-v-fd540320">隐患描述</view><view class="text-red data-v-fd540320">*</view></view><up-textarea wx:if="{{G}}" class="data-v-fd540320" virtualHostClass="data-v-fd540320" u-i="fd540320-4,fd540320-0" bind:__l="__l" bindupdateModelValue="{{F}}" u-p="{{G}}"></up-textarea><view class="text-gray text-sm margin-top-xs data-v-fd540320">请详细说明隐患现状、潜在风险及影响范围</view><view class="text-gray margin-bottom margin-top data-v-fd540320">隐患标签</view><view class="hazard-choose-wrap data-v-fd540320"><view wx:for="{{H}}" wx:for-item="item" wx:key="b" class="{{['hazard-choose-tag', 'hazard-choose-tag--tag', 'data-v-fd540320', item.c && 'hazard-choose-tag--active']}}" catchtap="{{item.d}}"><text class="hazard-choose-tag__text data-v-fd540320">{{item.a}}</text></view></view></scroll-view><view class="popup-footer data-v-fd540320"><button class="btn-cancel data-v-fd540320" bindtap="{{J}}">取消</button><button class="btn-confirm bg-blue data-v-fd540320" loading="{{K}}" bindtap="{{L}}">确定</button></view></view></u-popup><u-popup wx:if="{{ac}}" class="data-v-fd540320" virtualHostClass="data-v-fd540320" u-s="{{['d']}}" bindclose="{{ab}}" u-i="fd540320-5" bind:__l="__l" u-p="{{ac}}"><view class="law-popup data-v-fd540320"><view class="popup-header data-v-fd540320"><view class="popup-title data-v-fd540320">选择法律依据</view><view class="popup-close data-v-fd540320" bindtap="{{P}}">×</view></view><view class="search-box data-v-fd540320"><text class="cuIcon-search search-icon data-v-fd540320"></text><input class="search-input data-v-fd540320" placeholder="请输入关键词搜索" bindconfirm="{{Q}}" value="{{R}}" bindinput="{{S}}"/><text class="search-btn data-v-fd540320" bindtap="{{T}}">搜索</text></view><scroll-view class="law-list data-v-fd540320" scroll-y bindscrolltolower="{{Y}}"><view wx:if="{{U}}" class="loading-tip data-v-fd540320">加载中...</view><view wx:elif="{{V}}" class="empty-tip data-v-fd540320">暂无数据</view><block wx:else><view wx:for="{{W}}" wx:for-item="item" wx:key="d" class="{{['law-item', 'data-v-fd540320', item.c && 'law-item-active']}}" bindtap="{{item.e}}"><view class="law-title data-v-fd540320">{{item.a}}</view><view class="law-basis text-gray data-v-fd540320">{{item.b}}</view></view><view wx:if="{{X}}" class="loading-tip data-v-fd540320">加载中...</view></block></scroll-view><view class="law-popup-footer data-v-fd540320"><button class="btn-cancel data-v-fd540320" bindtap="{{Z}}">取消</button><button class="btn-confirm bg-blue data-v-fd540320" bindtap="{{aa}}">确定</button></view></view></u-popup><u-popup wx:if="{{ai}}" class="data-v-fd540320" virtualHostClass="data-v-fd540320" u-s="{{['d']}}" bindclose="{{ah}}" u-i="fd540320-6" bind:__l="__l" u-p="{{ai}}"><view class="picker-popup data-v-fd540320"><view class="picker-header data-v-fd540320"><view class="picker-cancel data-v-fd540320" bindtap="{{ad}}">取消</view><view class="picker-title data-v-fd540320">选择隐患区域</view><view class="picker-confirm data-v-fd540320" bindtap="{{ae}}">确定</view></view><scroll-view class="picker-body data-v-fd540320" scroll-y><view wx:for="{{af}}" wx:for-item="item" wx:key="d" class="{{['picker-item', 'data-v-fd540320', item.e && 'picker-item-active']}}" bindtap="{{item.f}}"><view class="flex align-center data-v-fd540320"><view class="area-color-dot data-v-fd540320" style="{{'background-color:' + item.a}}"></view><text class="data-v-fd540320">{{item.b}}</text></view><text wx:if="{{item.c}}" class="cuIcon-check text-blue data-v-fd540320"></text></view><view wx:if="{{ag}}" class="text-gray text-center padding data-v-fd540320">暂无区域数据</view></scroll-view></view></u-popup> |