<view class="title-primary-1">线索问题</view>
|
<block wx:if="{{questionList.length > 0}}">
|
<block wx:for="{{questionList}}" wx:key="index" wx:for-index="index">
|
<DescriptionsList title="{{item.cqUid}}">
|
<view slot="extra">
|
<t-button
|
wx:if="{{!clue.cuploaded}}"
|
theme="danger"
|
size="extra-small"
|
icon="delete"
|
shape="square"
|
data-index="{{index}}"
|
bind:tap="deleteQuestion"
|
></t-button>
|
<t-button
|
style="margin-left: 4px"
|
theme="primary"
|
size="extra-small"
|
data-index="{{index}}"
|
bind:tap="checkQuestion"
|
>{{ clue.cuploaded ? '问题详情' : '修改问题' }}</t-button
|
>
|
</view>
|
<DescriptionsListItem label="问题名称" content="{{item.cqName}}" />
|
<DescriptionsListItem label="问题描述" content="{{item.cqDescription}}" />
|
<DescriptionsListItem label="详细地址" content="{{item.cqAddress}}" />
|
</DescriptionsList>
|
</block>
|
<view class="btn-wrap">
|
<t-button wx:if="{{!clue.cuploaded}}" size="extra-small" theme="primary" bind:tap="addQuestion"
|
>添加问题</t-button
|
>
|
</view>
|
</block>
|
<view wx:else class="dashed-border">
|
<t-empty-page description="无线索问题">
|
<t-button slot="action" size="small" theme="primary" bind:tap="addQuestion">反馈上报</t-button>
|
</t-empty-page>
|
</view>
|
<t-dialog
|
visible="{{showDelete}}"
|
title="删除确认"
|
content=""
|
confirm-btn="{{ { content: '确定', variant: 'base' } }}"
|
cancel-btn="取消"
|
bind:confirm="onDeleteConfirm"
|
bind:cancel="closeDialog"
|
/>
|