Browse Source

文书样式修改

1178232204@qq.com 3 years ago
parent
commit
f897ecbf6e
2 changed files with 8 additions and 1 deletions
  1. 5 0
      src/css/mentCenter.less
  2. 3 1
      src/js/other.js

+ 5 - 0
src/css/mentCenter.less

@@ -1,4 +1,9 @@
 .mentCenter{
+    height: 100%;
     padding: 24px;
     background: #fff;
+    overflow-y: auto;
+}
+font>div:last-child{
+    padding-bottom: 30px;
 }

+ 3 - 1
src/js/other.js

@@ -396,7 +396,9 @@ function getMedRecordContentOther(id) {
             let data = res.data.data.htmlText
             window["filter"] = data;
             window.open("mentCenter.html"); 
-        } else { }
+        } else {
+            $.alerModal({ "message": res.data.msg || "接口出错~", type: "tip", time: '1000', isFather: true, fatherWrapper: $("#mainBox", parent.document) });
+         }
     }).catch((e) => {
 
     })