diff --git a/src/components/File/index.vue b/src/components/File/index.vue index 097e1ea1..c3371c1d 100644 --- a/src/components/File/index.vue +++ b/src/components/File/index.vue @@ -224,7 +224,6 @@ } async function ChangeUpload() { let FnUp = (id) => { - console.log('FnUp', 1111111111) const postData = new FormData() const list = unref(upFileList) // list.forEach((item) => { diff --git a/src/views/ContainerManagement/BuyCtn/TenantAuditStepModal.vue b/src/views/ContainerManagement/BuyCtn/TenantAuditStepModal.vue index e2847185..02f55067 100644 --- a/src/views/ContainerManagement/BuyCtn/TenantAuditStepModal.vue +++ b/src/views/ContainerManagement/BuyCtn/TenantAuditStepModal.vue @@ -86,12 +86,26 @@ --> + { + if (res.succeeded) { + activeKey.value = '1' + refresh() + notification.success({ message: res.message, duration: 3 }) + } + }) + } async function DealExcel() { if (!rowId.value) { await handleSave(false, false) @@ -374,9 +410,11 @@ fileId: dsFile.value.dsFileList.SelectId, } ApiDealExcel(ApiData).then((res) => { - activeKey.value = '1' - refresh() - notification.success({ message: res.message, duration: 3 }) + if (res.succeeded) { + activeKey.value = '1' + refresh() + notification.success({ message: res.message, duration: 3 }) + } }) } else { notification.warning({ message: '请先在电子文档中勾选一个文件。', duration: 3 }) diff --git a/src/views/ContainerManagement/RentIn/TenantAuditStepModal.vue b/src/views/ContainerManagement/RentIn/TenantAuditStepModal.vue index a5851984..f963e9fa 100644 --- a/src/views/ContainerManagement/RentIn/TenantAuditStepModal.vue +++ b/src/views/ContainerManagement/RentIn/TenantAuditStepModal.vue @@ -91,9 +91,13 @@ { + if (res.succeeded) { + activeKey.value = '1' + refresh(true) + notification.success({ message: res.message, duration: 3 }) + } + }) + } async function DealExcel() { if (!rowId.value) { await handleSave(false, false) @@ -436,9 +462,11 @@ fileId: dsFile.value.dsFileList.SelectId, } ApiDealExcel(ApiData).then((res) => { - activeKey.value = '1' - refresh() - notification.success({ message: res.message, duration: 3 }) + if (res.succeeded) { + activeKey.value = '1' + refresh() + notification.success({ message: res.message, duration: 3 }) + } }) } else { notification.warning({ message: '请先在电子文档中勾选一个文件。', duration: 3 }) diff --git a/src/views/ContainerManagement/RentOneWay/TenantAuditStepModal.vue b/src/views/ContainerManagement/RentOneWay/TenantAuditStepModal.vue index 4bf1d52a..9157571a 100644 --- a/src/views/ContainerManagement/RentOneWay/TenantAuditStepModal.vue +++ b/src/views/ContainerManagement/RentOneWay/TenantAuditStepModal.vue @@ -90,9 +90,13 @@ { + if (res.succeeded) { + activeKey.value = '1' + refresh(true) + notification.success({ message: res.message, duration: 3 }) + } + }) + } async function DealExcel() { if (!rowId.value) { await handleSave(false) @@ -374,9 +400,11 @@ fileId: dsFile.value.dsFileList.SelectId, } ApiDealExcel(ApiData).then((res) => { - activeKey.value = '1' - refresh() - notification.success({ message: res.message, duration: 3 }) + if (res.succeeded) { + activeKey.value = '1' + refresh() + notification.success({ message: res.message, duration: 3 }) + } }) } else { notification.warning({ message: '请先在电子文档中勾选一个文件。', duration: 3 }) diff --git a/src/views/ContainerManagement/RentOneWayIn/TenantAuditStepModal.vue b/src/views/ContainerManagement/RentOneWayIn/TenantAuditStepModal.vue index c14f56f1..07355bbd 100644 --- a/src/views/ContainerManagement/RentOneWayIn/TenantAuditStepModal.vue +++ b/src/views/ContainerManagement/RentOneWayIn/TenantAuditStepModal.vue @@ -55,9 +55,13 @@ { + if (res.succeeded) { + activeKey.value = '1' + refresh(true) + notification.success({ message: res.message, duration: 3 }) + } + }) + } async function DealExcel() { if (!rowId.value) { await handleSave(false) @@ -319,9 +345,11 @@ fileId: dsFile.value.dsFileList.SelectId, } ApiDealExcel(ApiData).then((res) => { - activeKey.value = '1' - refresh() - notification.success({ message: res.message, duration: 3 }) + if (res.succeeded) { + activeKey.value = '1' + refresh() + notification.success({ message: res.message, duration: 3 }) + } }) } else { notification.warning({ message: '请先在电子文档中勾选一个文件。', duration: 3 }) diff --git a/src/views/ContainerManagement/RentOut/TenantAuditStepModal.vue b/src/views/ContainerManagement/RentOut/TenantAuditStepModal.vue index a6ffabd5..30228b66 100644 --- a/src/views/ContainerManagement/RentOut/TenantAuditStepModal.vue +++ b/src/views/ContainerManagement/RentOut/TenantAuditStepModal.vue @@ -92,9 +92,13 @@ { + if (res.succeeded) { + activeKey.value = '1' + refresh() + notification.success({ message: res.message, duration: 3 }) + } + }) + } async function DealExcel() { if (!rowId.value) { await handleSave(false, false) @@ -448,9 +474,11 @@ fileId: dsFile.value.dsFileList.SelectId, } ApiDealExcel(ApiData).then((res) => { - activeKey.value = '1' - refresh() - notification.success({ message: res.message, duration: 3 }) + if (res.succeeded) { + activeKey.value = '1' + refresh() + notification.success({ message: res.message, duration: 3 }) + } }) } else { notification.warning({ message: '请先在电子文档中勾选一个文件。', duration: 3 }) diff --git a/src/views/ContainerManagement/SellCtn/TenantAuditStepModal.vue b/src/views/ContainerManagement/SellCtn/TenantAuditStepModal.vue index c9846b48..098b9480 100644 --- a/src/views/ContainerManagement/SellCtn/TenantAuditStepModal.vue +++ b/src/views/ContainerManagement/SellCtn/TenantAuditStepModal.vue @@ -90,9 +90,13 @@ { + if (res.succeeded) { + activeKey.value = '1' + refresh(true) + notification.success({ message: res.message, duration: 3 }) + } + }) + } async function DealExcel() { if (!rowId.value) { await handleSave(false, false) @@ -424,9 +450,11 @@ fileId: dsFile.value.dsFileList.SelectId, } ApiDealExcel(ApiData).then((res) => { - activeKey.value = '1' - refresh() - notification.success({ message: res.message, duration: 3 }) + if (res.succeeded) { + activeKey.value = '1' + refresh() + notification.success({ message: res.message, duration: 3 }) + } }) } else { notification.warning({ message: '请先在电子文档中勾选一个文件。', duration: 3 })