重构进度填报

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

@ -216,7 +216,7 @@ const handleSelectionChange = (selection: DrawingVO[]) => {
const handleAdd = () => {
proxy.$tab.closePage(proxy.$route);
proxy.$router.push({
path: `/workflow/drawing/indexEdit`,
path: `/workflows/drawing/indexEdit`,
query: {
type: 'add'
}
@ -227,7 +227,7 @@ const handleAdd = () => {
const handleUpdate = async (row?: DrawingVO) => {
proxy.$tab.closePage(proxy.$route);
proxy.$router.push({
path: `/workflow/drawing/indexEdit`,
path: `/workflows/drawing/indexEdit`,
query: {
id: row.id,
type: 'update'
@ -283,4 +283,17 @@ const handleClick = (val) => {
onMounted(() => {
getList();
});
</script>
//监听项目id刷新数据
const listeningProject = watch(
() => currentProject.value.id,
(nid, oid) => {
queryParams.value.projectId = nid;
form.value.projectId = nid;
getList();
}
);
onUnmounted(() => {
listeningProject();
});
</script>