Browse Source

修改测试问题

temp
fks-xuxinyue 3 months ago
parent
commit
6362c00860
  1. BIN
      hx-ai-intelligent/public/asset/file/carbonAssets.xlsx
  2. 31
      hx-ai-intelligent/src/view/carbonEmissionManage/carbonEmissionStatistics/energyConsumption/index.vue

BIN
hx-ai-intelligent/public/asset/file/carbonAssets.xlsx

Binary file not shown.

31
hx-ai-intelligent/src/view/carbonEmissionManage/carbonEmissionStatistics/energyConsumption/index.vue

@ -360,7 +360,11 @@
label: '凭证下载', label: '凭证下载',
type: 'primary', type: 'primary',
handle: () => { handle: () => {
fetch(energyConsumption.voucherDownloadList, { bizType: 3 }).then((res) => { fetch(energyConsumption.voucherDownloadList, {
bizType: 3,
orgId: orgId.value,
year: tableConfig.value.params.year,
}).then((res) => {
downLoadData.value = res.data; downLoadData.value = res.data;
}); });
downLoadVisible.value = true; downLoadVisible.value = true;
@ -406,7 +410,7 @@
break; break;
case 0: case 0:
text = value.record.jan ? value.record.jan : ''; text = value.record.jan ? value.record.jan : '';
color = 'rgba(57, 215, 287, 1)'; color = 'rgba(57, 215, 187, 1)';
break; break;
} }
// 使 // 使
@ -427,7 +431,7 @@
break; break;
case 0: case 0:
text = value.record.feb ? value.record.feb : ''; text = value.record.feb ? value.record.feb : '';
color = 'rgba(57, 215, 287, 1)'; color = 'rgba(57, 215, 187, 1)';
break; break;
} }
// 使 // 使
@ -448,7 +452,7 @@
break; break;
case 0: case 0:
text = value.record.mar ? value.record.mar : ''; text = value.record.mar ? value.record.mar : '';
color = 'rgba(57, 215, 287, 1)'; color = 'rgba(57, 215, 187, 1)';
break; break;
} }
// 使 // 使
@ -469,7 +473,7 @@
break; break;
case 0: case 0:
text = value.record.apr ? value.record.apr : ''; text = value.record.apr ? value.record.apr : '';
color = 'rgba(57, 215, 287, 1)'; color = 'rgba(57, 215, 187, 1)';
break; break;
} }
// 使 // 使
@ -490,7 +494,7 @@
break; break;
case 0: case 0:
text = value.record.may ? value.record.may : ''; text = value.record.may ? value.record.may : '';
color = 'rgba(57, 215, 287, 1)'; color = 'rgba(57, 215, 187, 1)';
break; break;
} }
// 使 // 使
@ -511,7 +515,7 @@
break; break;
case 0: case 0:
text = value.record.jun ? value.record.jun : ''; text = value.record.jun ? value.record.jun : '';
color = 'rgba(57, 215, 287, 1)'; color = 'rgba(57, 215, 187, 1)';
break; break;
} }
// 使 // 使
@ -532,7 +536,7 @@
break; break;
case 0: case 0:
text = value.record.jul ? value.record.jul : ''; text = value.record.jul ? value.record.jul : '';
color = 'rgba(57, 215, 287, 1)'; color = 'rgba(57, 215, 187, 1)';
break; break;
} }
// 使 // 使
@ -553,7 +557,7 @@
break; break;
case 0: case 0:
text = value.record.aug ? value.record.aug : ''; text = value.record.aug ? value.record.aug : '';
color = 'rgba(57, 215, 287, 1)'; color = 'rgba(57, 215, 187, 1)';
break; break;
} }
// 使 // 使
@ -574,7 +578,7 @@
break; break;
case 0: case 0:
text = value.record.sep ? value.record.sep : ''; text = value.record.sep ? value.record.sep : '';
color = 'rgba(57, 215, 287, 1)'; color = 'rgba(57, 215, 187, 1)';
break; break;
} }
// 使 // 使
@ -595,7 +599,7 @@
break; break;
case 0: case 0:
text = value.record.oct ? value.record.oct : ''; text = value.record.oct ? value.record.oct : '';
color = 'rgba(57, 215, 287, 1)'; color = 'rgba(57, 215, 187, 1)';
break; break;
} }
// 使 // 使
@ -616,7 +620,7 @@
break; break;
case 0: case 0:
text = value.record.nov ? value.record.nov : ''; text = value.record.nov ? value.record.nov : '';
color = 'rgba(57, 215, 287, 1)'; color = 'rgba(57, 215, 187, 1)';
break; break;
} }
// 使 // 使
@ -637,7 +641,7 @@
break; break;
case 0: case 0:
text = value.record.dece ? value.record.dece : ''; text = value.record.dece ? value.record.dece : '';
color = 'rgba(57, 215, 287, 1)'; color = 'rgba(57, 215, 187, 1)';
break; break;
} }
// 使 // 使
@ -774,7 +778,6 @@
mainRef.value?.nsTableRef.reload(); mainRef.value?.nsTableRef.reload();
}; };
const changeEnergyType = (value) => { const changeEnergyType = (value) => {
debugger;
formState.value.collectionNode = ''; formState.value.collectionNode = '';
// //
fetch(group.queryDeviceGroupTree, { energyType: value, orgId: orgId.value }).then((res) => { fetch(group.queryDeviceGroupTree, { energyType: value, orgId: orgId.value }).then((res) => {

Loading…
Cancel
Save