fix:查询节点参数修改为使用uuid
This commit is contained in:
@@ -454,7 +454,7 @@ const getProjectOptionsFun = () => {
|
|||||||
projectOptions.value = res.data.data.map((item: any) => {
|
projectOptions.value = res.data.data.map((item: any) => {
|
||||||
return {
|
return {
|
||||||
label: item.nodeName,
|
label: item.nodeName,
|
||||||
value: item.id,
|
value: item.uuid,
|
||||||
uuid: item.uuid,
|
uuid: item.uuid,
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
@@ -471,7 +471,7 @@ const getPhaseOptionsFun = () => {
|
|||||||
phaseOptions.value = res.data?.map((item: any) => {
|
phaseOptions.value = res.data?.map((item: any) => {
|
||||||
return {
|
return {
|
||||||
label: item.nodeName,
|
label: item.nodeName,
|
||||||
value: item.id,
|
value: item.uuid,
|
||||||
uuid: item.uuid,
|
uuid: item.uuid,
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
@@ -487,7 +487,7 @@ const getDisciplineOptionsFun = () => {
|
|||||||
disciplineOptions.value = res.data.data.map((item: any) => {
|
disciplineOptions.value = res.data.data.map((item: any) => {
|
||||||
return {
|
return {
|
||||||
label: item.nodeName,
|
label: item.nodeName,
|
||||||
value: item.id,
|
value: item.uuid,
|
||||||
uuid: item.uuid,
|
uuid: item.uuid,
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -14,7 +14,7 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="项目:">
|
<el-form-item label="项目:">
|
||||||
<el-select v-model="filterFormData.projectName" filterable @change="projectInfoChangeFn('projectName')">
|
<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-select>
|
||||||
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|||||||
Reference in New Issue
Block a user