fix:查询节点参数修改为使用uuid

This commit is contained in:
2025-11-26 09:33:13 +08:00
parent cb4c239304
commit 51d0b00a23
2 changed files with 4 additions and 4 deletions

View File

@@ -454,7 +454,7 @@ const getProjectOptionsFun = () => {
projectOptions.value = res.data.data.map((item: any) => {
return {
label: item.nodeName,
value: item.id,
value: item.uuid,
uuid: item.uuid,
};
});
@@ -471,7 +471,7 @@ const getPhaseOptionsFun = () => {
phaseOptions.value = res.data?.map((item: any) => {
return {
label: item.nodeName,
value: item.id,
value: item.uuid,
uuid: item.uuid,
};
});
@@ -487,7 +487,7 @@ const getDisciplineOptionsFun = () => {
disciplineOptions.value = res.data.data.map((item: any) => {
return {
label: item.nodeName,
value: item.id,
value: item.uuid,
uuid: item.uuid,
};
});

View File

@@ -14,7 +14,7 @@
</el-form-item>
<el-form-item label="项目:">
<el-select v-model="filterFormData.projectName" filterable @change="projectInfoChangeFn('projectName')">
<el-option v-for="item in projectList" :key="item.id" :label="item.nodeName" :value="item.id"></el-option>
<el-option v-for="item in projectList" :key="item.id" :label="item.nodeName" :value="item.uuid"></el-option>
</el-select>
</el-form-item>