|
|
@ -1,6 +1,6 @@ |
|
|
|
<view class="complete-info" > |
|
|
|
<block > |
|
|
|
<view class="content"> |
|
|
|
<view class="content {{isDisabled ? 'disabled' : ''}}"> |
|
|
|
<view class="personal-info"> |
|
|
|
<view class="basic-info"> |
|
|
|
|
|
|
@ -170,7 +170,7 @@ |
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
<view class="item" wx:if="{{(tabVal === '2' && ruTabVal=== 'yes') || fmData.demandType==='chengguan'}}"> |
|
|
|
<view class="item" wx:if="{{tabVal === '2' && ruTabVal=== 'yes' && fmData.demandType==='chengguan'}}"> |
|
|
|
<view class="field"> |
|
|
|
<text class="must">*</text> |
|
|
|
<view class="field-text">责任人</view> |
|
|
@ -180,7 +180,7 @@ |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
<view class="item" wx:if="{{(tabVal === '2' && ruTabVal=== 'yes') || fmData.demandType==='chengguan'}}"> |
|
|
|
<view class="item" wx:if="{{tabVal === '2' && ruTabVal=== 'yes' && fmData.demandType==='chengguan'}}"> |
|
|
|
<view class="field"> |
|
|
|
<text class="must">*</text> |
|
|
|
<view class="field-text">责任人电话</view> |
|
|
@ -224,7 +224,7 @@ |
|
|
|
{{ item.publicReply }} |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="card_content"> |
|
|
|
<view class="card_content" wx:if="{{item.timeLimit && item.timeLimit!='null'}}"> |
|
|
|
<view class="label1">办结时限:</view> |
|
|
|
<view class="value1"> |
|
|
|
{{ item.limitTime }} |
|
|
@ -233,21 +233,16 @@ |
|
|
|
<view class="card_content" wx:if="{{item.internalFile.length > 0}}"> |
|
|
|
<view class="label1">附件:</view> |
|
|
|
<view class="value1"> |
|
|
|
<view class="image-row"> |
|
|
|
<block wx:for="{{item.internalFile}}" wx:key="*this"> |
|
|
|
<view wx:if="{{item.attachmentType === 'image'}}"> |
|
|
|
<view class="image-row"> |
|
|
|
<image src="{{item.attachmentUrl}}" mode="aspectFill" bindtap="previewImage" data-url="{{item.attachmentUrl}}" /> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<!-- <view wx:else> |
|
|
|
<navigator url="{{item.attachmentUrl}}" open-type="navigateTo" class="download-link"> |
|
|
|
下载附件 |
|
|
|
</navigator> |
|
|
|
</view> --> |
|
|
|
</block> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view wx:else> |
|
|
|
<view class="card_content"> |
|
|
|
<view class="label1">回复人:</view> |
|
|
@ -261,7 +256,7 @@ |
|
|
|
{{ item.publicReply }} |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="card_content" wx:if="{{item.timeLimit}}"> |
|
|
|
<view class="card_content" wx:if="{{item.timeLimit && item.timeLimit!='null'}}"> |
|
|
|
<view class="label1">办结时限:</view> |
|
|
|
<view class="value1"> |
|
|
|
{{ item.limitTime }} |
|
|
@ -271,12 +266,11 @@ |
|
|
|
<view class="card_content" wx:if="{{item.internalFile.length > 0}}"> |
|
|
|
<view class="label1">附件:</view> |
|
|
|
<view class="value1"> |
|
|
|
<view class="image-row"> |
|
|
|
<block wx:for="{{item.internalFile}}" wx:key="*this"> |
|
|
|
<view wx:if="{{item.attachmentType === 'image'}}"> |
|
|
|
<view class="image-row"> |
|
|
|
<image src="{{item.attachmentUrl}}" mode="aspectFill" bindtap="previewImage" data-url="{{item.attachmentUrl}}" /> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view wx:else> |
|
|
|
<navigator url="{{item.attachmentUrl}}" data-url="{{item.attachmentUrl}}" bindtap="downloadFile" open-type="navigateTo" class="download-link"> |
|
|
|
下载附件 |
|
|
@ -288,6 +282,7 @@ |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
</wux-step> |
|
|
|
</wux-steps> |
|
|
@ -297,11 +292,14 @@ |
|
|
|
<view class="submit-button" wx:if="{{!optionsId}}"> |
|
|
|
<button disabled="{{ submitDisabled }}" bindtap="submitPersonalInfo" hover-class="hover-submit" >提交</button> |
|
|
|
</view> |
|
|
|
<view class="bto_btn" wx:else> |
|
|
|
<button hover-class="btn-hover" bind:tap="update" class="btn_blue" >修改</button> |
|
|
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
<view class="bto_btn" wx:if="{{optionsId}}"> |
|
|
|
<button hover-class="btn-hover" bind:tap="update" class="btn_blue" >{{isDisabled ? '修改' : '提交'}}</button> |
|
|
|
<button bind:tap="delete" class="btn_yellow">删除</button> |
|
|
|
<button bind:tap="process" class="btn_red" wx:if="{{tabVal === '0' || tabVal === '2'}}">处理</button> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</block> |
|
|
|
</view> |
|
|
|