2024-06-04 14:45:44 +08:00
|
|
|
<title-bar title="上报诉求"></title-bar>
|
|
|
|
|
<scroll-view scroll-y refresher-enabled style="height: calc(100vh - {{topBarH}}px);">
|
|
|
|
|
<view class="item">
|
|
|
|
|
<!-- 内容 -->
|
|
|
|
|
<view class="h-div v-center header">
|
|
|
|
|
<text class="single"></text>
|
|
|
|
|
<text class="title">困难诉求</text>
|
|
|
|
|
</view>
|
|
|
|
|
<textarea bindinput="inputContent" data-name="content" value="{{postData.content}}" style="color: #333333;" class="put v-div" placeholder="请输入困难诉求"></textarea>
|
2024-06-04 16:44:39 +08:00
|
|
|
|
|
|
|
|
<view class="h-div v-center header">
|
|
|
|
|
<text class="single"></text>
|
|
|
|
|
<text class="title">状态</text>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="content">
|
|
|
|
|
<view class="btn">
|
|
|
|
|
<button class="rectified {{postData.dangerState==2?'checkedButton':''}}" data-htstate="{{2}}" bindtap="changeHtstate" style="padding: 0;">已取消</button>
|
|
|
|
|
<button class="not_rectified {{postData.dangerState==3?'checkedButton':''}}" data-htstate="{{3}}" bindtap="changeHtstate" style="padding: 0;">已处理</button>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
<!-- 附件 -->
|
|
|
|
|
<view class="h-div v-center header">
|
|
|
|
|
<text class="single"></text>
|
|
|
|
|
<text class="title flex">附件</text>
|
|
|
|
|
<text catchtap="chooseFile" class="title cuIcon-roundadd" style="font-weight: normal;color: #5DA6F4;">添加图片</text>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="grid">
|
|
|
|
|
<view class="img" wx:for="{{files}}" style="position: relative;">
|
|
|
|
|
<text wx:if="{{!postData.dynamicsId}}" catchtap="deleteFile" data-id="{{item.sysdocumentid}}" class="cuIcon-delete del" style="color:red;"></text>
|
|
|
|
|
<image class="img" src="{{baseUrl+item.filepath}}" catchtap="filePre" data-url="{{item.filepath}}" />
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
|
2024-06-04 14:45:44 +08:00
|
|
|
</view>
|
|
|
|
|
<view class="space"></view>
|
|
|
|
|
</scroll-view>
|
|
|
|
|
<view class="option" wx:if="{{!postData.difficultyState}}">
|
|
|
|
|
<view catchtap="push" class="btn">上报</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="option" wx:else="">
|
|
|
|
|
<view class="option_div">
|
|
|
|
|
<view catchtap="cancellation" class="btn" wx:if="{{postData.difficultyState == 1}}">取消上报</view>
|
|
|
|
|
<view catchtap="delete" class="btn">删除</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|