酸雨上传
This commit is contained in:
Binary file not shown.
Binary file not shown.
BIN
public/template/酸雨-市.xlsx
Normal file
BIN
public/template/酸雨-市.xlsx
Normal file
Binary file not shown.
@@ -37,7 +37,7 @@ export default {
|
||||
},
|
||||
async toObjData(excelData,monitorYear) {
|
||||
const res = await axios.get(listAllUrl,{params:{year:monitorYear}})
|
||||
if(res.data.code !=0){
|
||||
if(res.data.code !=0 && res.data.data.length === 0){
|
||||
return Promise.reject(monitorYear +"点位字典未设置");
|
||||
}
|
||||
const dict = res.data.data;
|
||||
|
||||
Reference in New Issue
Block a user