修改测试问题

This commit is contained in:
fks-xuxinyue
2024-08-09 15:22:36 +08:00
parent cce83ee700
commit 93cf7ab9fa
8 changed files with 123 additions and 18 deletions

View File

@@ -641,6 +641,9 @@
name: 'carbonEmissionFactorLibraryImport',
extra: {
api: carbonEmissionFactorLibrary.excel, // 导入接口名
params: {
orgId,
},
title: '设备信息', // 弹窗title
templateName: 'whiteListUser', // 所使用的文件名称
indexName: '设备id', // 匹配类型字段
@@ -1035,10 +1038,18 @@
onOk() {
fetch(carbonEmissionFactorLibrary.delDictionary, formState.value).then((res) => {
message.success('操作成功!');
formState.value = {
grp: 'MEASUREMENT_UNIT',
grpDesc: '计量单位',
};
getUnitTree();
});
},
onCancel() {
formState.value = {
grp: 'MEASUREMENT_UNIT',
grpDesc: '计量单位',
};
console.log('Cancel');
},
});