fix:查询节点参数修改为使用uuid
This commit is contained in:
@@ -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,
|
||||
};
|
||||
});
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user