This commit is contained in:
2025-09-05 10:53:30 +08:00
2 changed files with 7 additions and 3 deletions

View File

@ -161,7 +161,7 @@
:total="detailTotalWork"
v-model:page="detailQueryParamsWork.pageNum"
v-model:limit="detailQueryParamsWork.pageSize"
@pagination="getPvModuleList"
@pagination="getDailyBookList"
layout="total, sizes, prev, pager, next"
:isSmall="5"
/>
@ -436,10 +436,10 @@ const handleView = (row: any, obj: any) => {
// 获取已填日报
const getDailyBookList = (doneTime: string) => {
detialWordList.value = [];
// detialWordList.value = [];
getDailyBook({
id: formDetail.value.id,
...detailQueryParams.value
...detailQueryParamsWork.value
}).then((res: any) => {
if (res.code === 200) {
detialWordList.value = res.rows || [];

View File

@ -219,6 +219,10 @@ const removeProject = (projectId: number | string) => {
// 提交表单
const submitForm = async () => {
// 整理项目角色数据
if (form.value.projectRoles.length == 0) {
proxy?.$modal.msgWarning('请选择项目角色');
return;
}
form.value.projectRoles = selectedProjects.value.map((project) => ({
projectId: project.id,
roleIds: [...new Set(project.webRoles), ...new Set(project.appRoles)]