From 9d07a202adaffc970506a9fb2a3bec9589ff51c4 Mon Sep 17 00:00:00 2001
From: 819527061@qq.com <123456>
Date: 星期四, 04 一月 2024 16:35:29 +0800
Subject: [PATCH] 送达回证docx修改
---
src/assets/js/ByUtils.js | 14 ++++++++++++--
1 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/src/assets/js/ByUtils.js b/src/assets/js/ByUtils.js
index b885c52..c296143 100644
--- a/src/assets/js/ByUtils.js
+++ b/src/assets/js/ByUtils.js
@@ -111,8 +111,17 @@
vm.$router.push({'path': '/login'});
vm.$alert('浼氳瘽缁撴潫锛岃閲嶆柊鐧诲綍', {'title': '鎻愮ず', 'type': 'warning', 'center': true, 'showClose': false});
}else{
- vm.$alert('鎿嶄綔澶辫触锛�' + data.message, {'title': '鎻愮ず', 'type': 'warning', 'center': true, 'showClose': false});
- }
+ let a = '';
+ if(response.data){
+ if(response.data.msg){
+ a=response.data.msg
+ }else {
+ a='鏈嶅姟鍣ㄦ晠闅�'
+ }
+ }else {
+ a="鏁版嵁閿欒"
+ }
+ vm.$alert(a , {'title': '鎻愮ず', 'type': 'warning', 'center': true, 'showClose': false}); }
}
}).catch((e) => {
vm.$loading().close();
@@ -265,6 +274,7 @@
}).then((response) => {
//vm.$loading().close();
let data = response.data;
+ console.log(response)
if (data && data.code==0) {
callBackFunction(data);
} else {
--
Gitblit v1.9.1