yxk-20260618-党委会反馈信息新增展开和收起功能

This commit is contained in:
ye1023
2026-06-18 15:04:45 +08:00
parent 93555fe48b
commit 7b928c66fd
@@ -128,12 +128,24 @@
<div class="feedback-header section-toolbar">
<div class="section-title">反馈信息</div>
<a-space class="section-actions">
<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
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>
<a-table
v-if="showFeedbackDetail"
rowKey="id"
size="small"
bordered
@@ -254,6 +266,7 @@
const savingMain = ref(false);
const savingSubApproveUser = ref(false);
const showBaseInfoDetail = ref(false);
const showFeedbackDetail = ref(true);
const feedbackList = ref<any[]>([]);
const feedbackAttachmentRefreshKey = ref(0);
const deptNameText = reactive<Record<string, string>>({