1 line
10 KiB
Plaintext
1 line
10 KiB
Plaintext
<view class="{{['page', 'padding', 'data-v-8906d8be', virtualHostClass]}}" style="{{virtualHostStyle}}" hidden="{{virtualHostHidden || false}}" id="{{ak}}"><scroll-view class="status-tabs data-v-8906d8be" scroll-x show-scrollbar="{{false}}"><view class="status-tabs-inner data-v-8906d8be"><view wx:for="{{a}}" wx:for-item="tab" wx:key="c" class="{{['status-tab-item', 'data-v-8906d8be', tab.d && 'status-tab-active']}}" bindtap="{{tab.e}}"><text class="status-tab-text data-v-8906d8be">{{tab.a}}</text><view wx:if="{{tab.b}}" class="status-tab-bar data-v-8906d8be"></view></view></view></scroll-view><view wx:if="{{b}}" class="empty-tip text-gray text-center padding data-v-8906d8be">暂无数据</view><view wx:for="{{c}}" wx:for-item="item" wx:key="t" class="padding radius bg-white list-list margin-bottom data-v-8906d8be"><view class="flex justify-between margin-bottom data-v-8906d8be"><view class="text-bold text-black data-v-8906d8be" style="word-break:break-all;flex:1">{{item.a}}</view><view class="text-blue data-v-8906d8be" style="white-space:nowrap;flex-shrink:0;margin-left:16rpx">{{item.b}}</view></view><view class="flex margin-bottom data-v-8906d8be"><view class="text-gray data-v-8906d8be">隐患等级:</view><view class="{{['level-tag', 'data-v-8906d8be', item.d && 'level-minor', item.e && 'level-normal', item.f && 'level-major']}}">{{item.c}}</view></view><view class="flex margin-bottom data-v-8906d8be"><view class="text-gray data-v-8906d8be" style="white-space:nowrap">隐患位置:</view><view class="text-black data-v-8906d8be">{{item.g}}</view></view><view class="flex margin-bottom data-v-8906d8be"><view class="text-gray data-v-8906d8be">创建时间:</view><view class="text-black data-v-8906d8be">{{item.h}}</view></view><view class="flex justify-end card-actions data-v-8906d8be" style="gap:10rpx"><button class="round cu-btn light bg-blue data-v-8906d8be" bindtap="{{item.i}}">查看详情</button><button wx:if="{{item.j}}" class="round cu-btn light bg-blue data-v-8906d8be" bindtap="{{item.k}}">隐患交办</button><button wx:if="{{item.l}}" class="round cu-btn bg-blue data-v-8906d8be" bindtap="{{item.m}}">立即整改</button><button wx:if="{{item.n}}" class="round cu-btn light bg-blue data-v-8906d8be" bindtap="{{item.o}}">编辑整改信息</button><button wx:if="{{item.p}}" class="round cu-btn bg-blue data-v-8906d8be" bindtap="{{item.q}}">立即验收</button><button wx:if="{{item.r}}" class="round cu-btn bg-blue data-v-8906d8be" bindtap="{{item.s}}">隐患交办</button></view></view><view class="fixed-add-btn data-v-8906d8be" bindtap="{{d}}"><text class="cuIcon-add data-v-8906d8be"></text><text class="data-v-8906d8be">新增</text></view><u-popup wx:if="{{P}}" class="data-v-8906d8be" virtualHostClass="data-v-8906d8be" u-s="{{['d']}}" bindclose="{{O}}" u-i="8906d8be-0" bind:__l="__l" u-p="{{P}}"><view class="popup-content data-v-8906d8be"><view class="popup-header data-v-8906d8be"><view class="popup-title text-bold data-v-8906d8be">新增隐患排查</view><view class="popup-close data-v-8906d8be" bindtap="{{e}}">×</view></view><scroll-view class="popup-body data-v-8906d8be" scroll-y><view class="flex margin-bottom data-v-8906d8be"><view class="text-gray data-v-8906d8be">检查形式</view><view class="text-red data-v-8906d8be">*</view></view><view class="source-choose-scroll data-v-8906d8be"><up-choose wx:if="{{g}}" class="data-v-8906d8be" virtualHostClass="data-v-8906d8be" u-i="8906d8be-1,8906d8be-0" bind:__l="__l" bindupdateModelValue="{{f}}" u-p="{{g}}"></up-choose></view><view class="flex margin-bottom margin-top data-v-8906d8be"><view class="text-gray data-v-8906d8be">隐患图片</view><view class="text-red data-v-8906d8be">*</view></view><up-upload wx:if="{{j}}" class="data-v-8906d8be" virtualHostClass="data-v-8906d8be" bindafterRead="{{h}}" binddelete="{{i}}" u-i="8906d8be-2,8906d8be-0" bind:__l="__l" u-p="{{j}}"></up-upload><canvas class="data-v-8906d8be" canvas-id="watermarkCanvas" width="{{k}}" height="{{l}}" style="{{'width:' + m + ';' + ('height:' + n) + ';' + ('position:' + 'fixed') + ';' + ('left:' + '-9999px') + ';' + ('top:' + '-9999px')}}"></canvas><view class="text-gray text-sm data-v-8906d8be">必填:请上传现场照片作为隐患证据</view><view class="ai-btn-wrapper margin-top data-v-8906d8be"><button class="ai-analyze-btn data-v-8906d8be" loading="{{q}}" disabled="{{r}}" bindtap="{{s}}"><text wx:if="{{o}}" class="cuIcon-magic ai-btn-icon data-v-8906d8be"></text> {{p}}</button></view><view class="flex margin-bottom margin-top data-v-8906d8be"><view class="text-gray data-v-8906d8be">隐患标题</view><view class="text-red data-v-8906d8be">*</view></view><up-input wx:if="{{v}}" class="data-v-8906d8be" virtualHostClass="data-v-8906d8be" u-i="8906d8be-3,8906d8be-0" bind:__l="__l" bindupdateModelValue="{{t}}" u-p="{{v}}"></up-input><view class="text-sm text-gray margin-top-xs data-v-8906d8be">请用简洁的语言概括隐患要点</view><view class="flex margin-bottom margin-top data-v-8906d8be"><view class="text-gray data-v-8906d8be">隐患等级</view><view class="text-red data-v-8906d8be">*</view></view><up-choose wx:if="{{y}}" class="r data-v-8906d8be" virtualHostClass="r data-v-8906d8be" u-r="levelChooseRef" u-i="8906d8be-4,8906d8be-0" bind:__l="__l" bindupdateModelValue="{{x}}" u-p="{{y}}"></up-choose><view class="flex margin-bottom margin-top data-v-8906d8be"><view class="text-gray data-v-8906d8be">隐患位置</view><view class="text-red data-v-8906d8be">*</view></view><view class="address-box data-v-8906d8be"><up-input wx:if="{{A}}" class="address-input-wrapper data-v-8906d8be" virtualHostClass="address-input-wrapper data-v-8906d8be" u-i="8906d8be-5,8906d8be-0" bind:__l="__l" bindupdateModelValue="{{z}}" u-p="{{A}}"></up-input><button class="btn-address bg-blue data-v-8906d8be" catchtap="{{B}}">选择地址</button></view><view class="text-gray text-sm margin-top-xs data-v-8906d8be">如:办公楼3层东侧消防通道、生产车间A区设备旁等,或点击"选择地址"按钮在地图上选择</view><view class="flex margin-bottom margin-top data-v-8906d8be"><view class="text-gray data-v-8906d8be">法律依据</view></view><view class="select-trigger data-v-8906d8be" bindtap="{{E}}"><view class="{{['select-value', 'data-v-8906d8be', D && 'placeholder']}}">{{C}}</view><text class="cuIcon-unfold data-v-8906d8be"></text></view><view class="flex margin-bottom margin-top data-v-8906d8be"><view class="text-gray data-v-8906d8be">隐患区域</view></view><view class="select-trigger data-v-8906d8be" bindtap="{{H}}"><view class="{{['select-value', 'data-v-8906d8be', G && 'placeholder']}}">{{F}}</view><text class="cuIcon-unfold data-v-8906d8be"></text></view><view class="flex margin-bottom margin-top data-v-8906d8be"><view class="text-gray data-v-8906d8be">隐患描述</view><view class="text-red data-v-8906d8be">*</view></view><up-textarea wx:if="{{J}}" class="data-v-8906d8be" virtualHostClass="data-v-8906d8be" u-i="8906d8be-6,8906d8be-0" bind:__l="__l" bindupdateModelValue="{{I}}" u-p="{{J}}"></up-textarea><view class="text-gray text-sm margin-top-xs data-v-8906d8be">请详细说明隐患现状、潜在风险及影响范围</view><view class="text-gray margin-bottom margin-top data-v-8906d8be">隐患标签</view><up-choose wx:if="{{L}}" class="data-v-8906d8be" virtualHostClass="data-v-8906d8be" u-i="8906d8be-7,8906d8be-0" bind:__l="__l" bindupdateModelValue="{{K}}" u-p="{{L}}"></up-choose></scroll-view><view class="popup-footer data-v-8906d8be"><button class="btn-cancel data-v-8906d8be" bindtap="{{M}}">取消</button><button class="btn-confirm bg-blue data-v-8906d8be" bindtap="{{N}}">确定</button></view></view></u-popup><u-popup wx:if="{{ad}}" class="data-v-8906d8be" virtualHostClass="data-v-8906d8be" u-s="{{['d']}}" bindclose="{{ac}}" u-i="8906d8be-8" bind:__l="__l" u-p="{{ad}}"><view class="law-popup data-v-8906d8be"><view class="popup-header data-v-8906d8be"><view class="popup-title data-v-8906d8be">选择法律依据</view><view class="popup-close data-v-8906d8be" bindtap="{{Q}}">×</view></view><view class="search-box data-v-8906d8be"><text class="cuIcon-search search-icon data-v-8906d8be"></text><input class="search-input data-v-8906d8be" placeholder="请输入关键词搜索" bindconfirm="{{R}}" value="{{S}}" bindinput="{{T}}"/><text class="search-btn data-v-8906d8be" bindtap="{{U}}">搜索</text></view><scroll-view class="law-list data-v-8906d8be" scroll-y bindscrolltolower="{{Z}}"><view wx:if="{{V}}" class="loading-tip data-v-8906d8be">加载中...</view><view wx:elif="{{W}}" class="empty-tip data-v-8906d8be">暂无数据</view><block wx:else><view wx:for="{{X}}" wx:for-item="item" wx:key="d" class="{{['law-item', 'data-v-8906d8be', item.c && 'law-item-active']}}" bindtap="{{item.e}}"><view class="law-title data-v-8906d8be">{{item.a}}</view><view class="law-basis text-gray data-v-8906d8be">{{item.b}}</view></view><view wx:if="{{Y}}" class="loading-tip data-v-8906d8be">加载中...</view></block></scroll-view><view class="popup-footer data-v-8906d8be"><button class="btn-cancel data-v-8906d8be" bindtap="{{aa}}">取消</button><button class="btn-confirm data-v-8906d8be" bindtap="{{ab}}">确定</button></view></view></u-popup><u-popup wx:if="{{aj}}" class="data-v-8906d8be" virtualHostClass="data-v-8906d8be" u-s="{{['d']}}" bindclose="{{ai}}" u-i="8906d8be-9" bind:__l="__l" u-p="{{aj}}"><view class="picker-popup data-v-8906d8be"><view class="picker-header data-v-8906d8be"><view class="picker-cancel data-v-8906d8be" bindtap="{{ae}}">取消</view><view class="picker-title data-v-8906d8be">选择隐患区域</view><view class="picker-confirm data-v-8906d8be" bindtap="{{af}}">确定</view></view><scroll-view class="picker-body data-v-8906d8be" scroll-y><view wx:for="{{ag}}" wx:for-item="item" wx:key="d" class="{{['picker-item', 'data-v-8906d8be', item.e && 'picker-item-active']}}" bindtap="{{item.f}}"><view class="flex align-center data-v-8906d8be"><view class="area-color-dot data-v-8906d8be" style="{{'background-color:' + item.a}}"></view><text class="data-v-8906d8be">{{item.b}}</text></view><text wx:if="{{item.c}}" class="cuIcon-check text-blue data-v-8906d8be"></text></view><view wx:if="{{ah}}" class="text-gray text-center padding data-v-8906d8be"> 暂无区域数据 </view></scroll-view></view></u-popup></view> |