|
@@ -87,12 +87,6 @@ const getTestProjectTopList = () => {
|
|
|
getTestProjectList({ engineeringId: route?.params?.engineerId })
|
|
|
.then((result) => {
|
|
|
topProAllList.value = result.data;
|
|
|
-
|
|
|
- topProAllList.value[0].status = 1;
|
|
|
- topProAllList.value[1].status = 2;
|
|
|
- topProAllList.value[2].status = 3;
|
|
|
- topProAllList.value[3].status = 4;
|
|
|
-
|
|
|
topProSelectedList.value = result.data.map((item) => item.id); // 默认选中全部
|
|
|
})
|
|
|
.finally(() => {
|
|
@@ -126,6 +120,9 @@ const getExcutingMachines = () => {
|
|
|
);
|
|
|
};
|
|
|
|
|
|
+// 如果上面选择的项目改变了 要重新调这两个接口
|
|
|
+// todo
|
|
|
+
|
|
|
const testingMachines = ref<any[]>([]); // 所有routeData里面的测试仪器
|
|
|
const getExcutingGlobalMachines = async () => {
|
|
|
let res = await searchExcutingInstrumentConfig(
|