yxk-20260618-把把脉反馈信息新增展开和收起功能

This commit is contained in:
ye1023
2026-06-18 15:06:42 +08:00
parent 7b928c66fd
commit 7ed14bac2a
@@ -158,12 +158,24 @@
<div class="feedback-header section-toolbar"> <div class="feedback-header section-toolbar">
<div class="section-title">执行情况反馈</div> <div class="section-title">执行情况反馈</div>
<a-button v-if="showAddFeedback" class="section-action-button feedback-add-button" type="primary" @click="openFeedbackModal"> <a-space class="section-actions">
<Icon icon="ant-design:plus-outlined" /> <a-button v-if="showAddFeedback" class="section-action-button feedback-add-button" type="primary" @click="openFeedbackModal">
新增反馈 <Icon icon="ant-design:plus-outlined" />
</a-button> 新增反馈
</a-button>
<a-button
class="section-action-button"
:type="showFeedbackDetail ? 'default' : 'link'"
size="small"
@click="showFeedbackDetail = !showFeedbackDetail"
>
<Icon :icon="showFeedbackDetail ? 'ant-design:up-outlined' : 'ant-design:down-outlined'" />
{{ showFeedbackDetail ? '收起执行情况反馈' : '展开执行情况反馈' }}
</a-button>
</a-space>
</div> </div>
<a-table <a-table
v-if="showFeedbackDetail"
rowKey="id" rowKey="id"
size="small" size="small"
bordered bordered
@@ -279,6 +291,7 @@
const savingMain = ref(false); const savingMain = ref(false);
const savingSubApproveUser = ref(false); const savingSubApproveUser = ref(false);
const showBaseInfoDetail = ref(false); const showBaseInfoDetail = ref(false);
const showFeedbackDetail = ref(true);
const feedbackList = ref<any[]>([]); const feedbackList = ref<any[]>([]);
const feedbackAttachmentRefreshKey = ref(0); const feedbackAttachmentRefreshKey = ref(0);
const deptNameText = reactive<Record<string, string>>({ const deptNameText = reactive<Record<string, string>>({