|
@@ -118,7 +118,7 @@ let needScdName = ref(""); //需要的scd名称
|
|
let needFlashName = ref(""); //需要的变电站名称
|
|
let needFlashName = ref(""); //需要的变电站名称
|
|
let tableList = ref([]); //crc效验结果表格数据
|
|
let tableList = ref([]); //crc效验结果表格数据
|
|
const getData = async () => {
|
|
const getData = async () => {
|
|
- tableList.value = null;
|
|
|
|
|
|
+ tableList.value = [];
|
|
let loading = ElLoading.service({
|
|
let loading = ElLoading.service({
|
|
lock: true,
|
|
lock: true,
|
|
text: "正在查询数据",
|
|
text: "正在查询数据",
|
|
@@ -130,7 +130,9 @@ const getData = async () => {
|
|
ied_name: queryParams.value.ied_name,
|
|
ied_name: queryParams.value.ied_name,
|
|
});
|
|
});
|
|
if (!data) return;
|
|
if (!data) return;
|
|
- tableList.value = data.data;
|
|
|
|
|
|
+ data.data.forEach(item=>{
|
|
|
|
+ if(item.doi_addr) tableList.value.push(item);
|
|
|
|
+ })
|
|
loading.close();
|
|
loading.close();
|
|
};
|
|
};
|
|
const chooseInterval = ref(null); //间隔下拉框选中的数据
|
|
const chooseInterval = ref(null); //间隔下拉框选中的数据
|