重构进度填报

This commit is contained in:
Teo
2025-07-08 16:39:42 +08:00
parent 6c7b99ec50
commit 8ef37c5a96
53 changed files with 8882 additions and 350 deletions

View File

@ -70,7 +70,7 @@
<!-- <el-table-column label="变更费用估算" align="center" prop="costEstimation" /> -->
<el-table-column label="变更文件" align="center" prop="fileId">
<template #default="scope">
<span style="color: rgb(41 145 255);cursor: pointer" @click="onOpen(scope.row.file.url)"> {{ scope.row.file.originalName }}</span>
<span style="color: rgb(41 145 255); cursor: pointer" @click="onOpen(scope.row.file.url)"> {{ scope.row.file.originalName }}</span>
</template>
</el-table-column>
<el-table-column label="备注" align="center" prop="remark" />
@ -120,7 +120,7 @@
</el-col>
<el-col :span="12">
<el-form-item label="提出日期" prop="submitDate">
<el-date-picker clearable v-model="form.submitDate" type="date" value-format="YYYY-MM-DD HH:mm:ss" placeholder="请选择提出日期">
<el-date-picker clearable v-model="form.submitDate" type="date" value-format="YYYY-MM-DD HH:mm:ss" placeholder="请选择提出日期">
</el-date-picker> </el-form-item
></el-col>
<el-col :span="12">
@ -332,13 +332,26 @@ const handleDelete = async (row?: DesignChangeVO) => {
};
const handleView = (row) => {
// 查看详情
wordDetialRef.value?.openDialog(row,design_change_reason_type.value);
wordDetialRef.value?.openDialog(row, design_change_reason_type.value);
};
// 预览
const onOpen = (path: string) => {
window.open(path, '_blank');
window.open(path, '_blank');
};
onMounted(() => {
getList();
});
//监听项目id刷新数据
const listeningProject = watch(
() => currentProject.value.id,
(nid, oid) => {
queryParams.value.projectId = nid;
form.value.projectId = nid;
getList();
}
);
onUnmounted(() => {
listeningProject();
});
</script>