修改测试问题
This commit is contained in:
@@ -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');
|
||||
},
|
||||
});
|
||||
|
Reference in New Issue
Block a user