yxk-20260618-把把脉反馈信息新增展开和收起功能
This commit is contained in:
@@ -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-space class="section-actions">
|
||||||
<a-button v-if="showAddFeedback" class="section-action-button feedback-add-button" type="primary" @click="openFeedbackModal">
|
<a-button v-if="showAddFeedback" class="section-action-button feedback-add-button" type="primary" @click="openFeedbackModal">
|
||||||
<Icon icon="ant-design:plus-outlined" />
|
<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>>({
|
||||||
|
|||||||
Reference in New Issue
Block a user