yxk-20260509-党委会反馈表单

新增时,可上传附件
This commit is contained in:
ye1023
2026-05-11 14:38:29 +08:00
parent 070748685a
commit 4a068c737e
2 changed files with 41 additions and 3 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
VITE_PORT = 3100 VITE_PORT = 3100
# 网站标题 # 网站标题
VITE_GLOB_APP_TITLE = JeecgBoot 企业级低代码平台 VITE_GLOB_APP_TITLE = 事项督办系统
# 简称,此变量只能是字符/下划线 # 简称,此变量只能是字符/下划线
VITE_GLOB_APP_SHORT_NAME = JeecgBoot_Pro VITE_GLOB_APP_SHORT_NAME = JeecgBoot_Pro
@@ -100,8 +100,21 @@
:columns="feedbackColumns" :columns="feedbackColumns"
:data-source="feedbackList" :data-source="feedbackList"
:pagination="false" :pagination="false"
:scroll="{ x: 900 }" :scroll="{ x: 1220 }"
/> >
<template #bodyCell="{ column, record }">
<template v-if="column.key === 'attachments'">
<SUploadFile
v-if="record.id"
class="feedback-attachment-list"
:bussiness-id="record.id"
:disabled="true"
:multiple="true"
/>
<span v-else>-</span>
</template>
</template>
</a-table>
<BgPartymatterBPMFeedbackModal ref="feedbackModalRef" @success="loadFeedbackList" /> <BgPartymatterBPMFeedbackModal ref="feedbackModalRef" @success="loadFeedbackList" />
@@ -149,6 +162,7 @@
import TaskHandleInnerContent from '/@/views/super/bpm/process/personalOffice/myHandleTask/content/TaskHandleInnerContent.vue'; import TaskHandleInnerContent from '/@/views/super/bpm/process/personalOffice/myHandleTask/content/TaskHandleInnerContent.vue';
import JDictSelectTag from "../../../../components/Form/src/jeecg/components/JDictSelectTag.vue"; import JDictSelectTag from "../../../../components/Form/src/jeecg/components/JDictSelectTag.vue";
import BgPartymatterBPMFeedbackModal from './BgPartymatterBPMFeedbackModal.vue'; import BgPartymatterBPMFeedbackModal from './BgPartymatterBPMFeedbackModal.vue';
import SUploadFile from '/@/components/semri/fileComponent/SUploadFile.vue';
const { isDisabledAuth, hasPermission, initBpmFormData} = usePermission(); const { isDisabledAuth, hasPermission, initBpmFormData} = usePermission();
const props = defineProps({ const props = defineProps({
@@ -210,6 +224,7 @@
{ title: '实际执行情况', dataIndex: 'actualExect', align: 'left', width: 280 }, { title: '实际执行情况', dataIndex: 'actualExect', align: 'left', width: 280 },
{ title: '实际完成时间', dataIndex: 'actualTime', align: 'center', width: 180 }, { title: '实际完成时间', dataIndex: 'actualTime', align: 'center', width: 180 },
{ title: '完成状态', dataIndex: 'bpmStatus', align: 'center', width: 120 }, { title: '完成状态', dataIndex: 'bpmStatus', align: 'center', width: 120 },
{ title: '附件', dataIndex: 'id', key: 'attachments', align: 'left', width: 340 },
]; ];
const mainDisabled = computed(() => props.formDisabled); const mainDisabled = computed(() => props.formDisabled);
@@ -425,4 +440,27 @@
gap: 12px; gap: 12px;
margin-top: 1px; margin-top: 1px;
} }
.feedback-attachment-list {
min-width: 300px;
:deep(.file-list-wrapper) {
min-height: auto;
padding: 8px;
}
:deep(.file-list-header) {
margin-bottom: 6px;
padding-bottom: 6px;
}
:deep(.file-list .file-item) {
padding: 8px;
margin-bottom: 6px;
}
:deep(.ant-empty) {
margin: 0;
}
}
</style> </style>