dev #15
|
|
@ -131,8 +131,9 @@
|
|||
<template #default="scope">
|
||||
<span v-if="!scope.row.reliefApplication">未申请</span>
|
||||
<span v-else
|
||||
>{{ scope.row.reliefSubTime }} {{ scope.row.amountRelief }}
|
||||
{{ scope.row.reliefType }}
|
||||
>{{ scope.row.reliefSubTime }}申请{{ scope.row.amountRelief }}元 <br />{{
|
||||
scope.row.reliefType
|
||||
}}
|
||||
</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
|
@ -693,9 +694,10 @@ const importData = () => {
|
|||
if (res.code !== 200) return ElMessage.error(res.message);
|
||||
else return ElMessage.success("所有数据录入成功");
|
||||
} else if (res.type === "application/json") {
|
||||
let json = await res.text();
|
||||
if (json !== undefined && json.Code !== 200) {
|
||||
return ElMessage.error(json.Message);
|
||||
let json = JSON.parse(await res.text());
|
||||
let code = json.code || json.Code;
|
||||
if (json !== undefined && code !== 200) {
|
||||
return ElMessage.error(json.message);
|
||||
} else {
|
||||
return ElMessage.success("操所有数据录入成功作成功");
|
||||
}
|
||||
|
|
|
|||
|
|
@ -704,8 +704,9 @@ const importData = () => {
|
|||
if (res.code !== 200) return ElMessage.error(res.message);
|
||||
else return ElMessage.success("所有数据录入成功");
|
||||
} else if (res.type === "application/json") {
|
||||
let json = await res.text();
|
||||
if (json !== undefined && json.Code !== 200) {
|
||||
let json = JSON.parse(await res.text());
|
||||
let code = json.code || json.Code;
|
||||
if (json !== undefined && code !== 200) {
|
||||
return ElMessage.error(json.Message);
|
||||
} else {
|
||||
return ElMessage.success("操所有数据录入成功作成功");
|
||||
|
|
|
|||
|
|
@ -452,8 +452,9 @@ function handleImport() {
|
|||
return ElMessage.success("所有数据录入成功");
|
||||
}
|
||||
} else if (res.type === "application/json") {
|
||||
let json = await res.text();
|
||||
if (json !== undefined && json.Code !== 200) {
|
||||
let json = JSON.parse(await res.text());
|
||||
let code = json.code || json.Code;
|
||||
if (json !== undefined && code !== 200) {
|
||||
return ElMessage.error(json.Message);
|
||||
} else {
|
||||
loadList();
|
||||
|
|
|
|||
Loading…
Reference in New Issue