This commit is contained in:
duanxiaohai 2024-11-26 13:01:02 +08:00
parent c10d13611d
commit f9db340e08
3 changed files with 13 additions and 3 deletions

BIN
dist.zip

Binary file not shown.

View File

@ -169,6 +169,7 @@ const login = () => {
// AESBase64 // AESBase64
const ENCODED_KEY = "+ymZzKfc/bxs3wfarNUR2g7V+0s6kKZUYrMD0YZ0Lls="; const ENCODED_KEY = "+ymZzKfc/bxs3wfarNUR2g7V+0s6kKZUYrMD0YZ0Lls=";
// token
function decrypt(encryptedText, encodedKey) { function decrypt(encryptedText, encodedKey) {
// Base64 // Base64
const key = CryptoJS.enc.Base64.parse(encodedKey); const key = CryptoJS.enc.Base64.parse(encodedKey);

View File

@ -174,6 +174,7 @@
plain plain
style="margin-left: 24px" style="margin-left: 24px"
@click="downloadTips()" @click="downloadTips()"
v-if="exportShow"
>导出Excel</el-button >导出Excel</el-button
> >
</template> </template>
@ -1082,6 +1083,10 @@ const downloadTips = () => {
store.setDownloadStatus(null); // store.setDownloadStatus(null); //
}); });
}; };
const exportShow = ref(false);
const toExcel = () => { const toExcel = () => {
// loading.value = true; // loading.value = true;
let url = `/api/ggfwyth/pg/downloadWxsbmRyxx?bm=${data.bm}&xh=${data.xh}`; let url = `/api/ggfwyth/pg/downloadWxsbmRyxx?bm=${data.bm}&xh=${data.xh}`;
@ -1116,6 +1121,10 @@ onMounted(() => {
? columnsList["最低生活保障"].titleList ? columnsList["最低生活保障"].titleList
: [defaultTitle] : [defaultTitle]
)); ));
if (data.xh === "59") {
exportShow.value = true;
}
personDetails(); personDetails();
}); });
</script> </script>