|
@@ -15,7 +15,8 @@ const {
|
|
|
config,
|
|
|
getUrlArgObject,
|
|
|
openNewWin,
|
|
|
- Toast
|
|
|
+ Toast,
|
|
|
+ Toasts
|
|
|
} = require('./promise.js');
|
|
|
const $ = require("jquery");
|
|
|
require("./jquery-migrate");
|
|
@@ -24,7 +25,7 @@ let printing = require('./../images/printing.png');
|
|
|
let printing2 = require('./../images/printing2.png');
|
|
|
let recommend = require('./../images/recommend.png');
|
|
|
let hel = require('./../images/icon-hel.png');
|
|
|
-let warn = require('./../images/icon-warns.png')
|
|
|
+
|
|
|
let showName, noticeName, clinicalPathwayName, isclick
|
|
|
function getInfomation() {
|
|
|
var param = {
|
|
@@ -317,16 +318,7 @@ function getchecks() {
|
|
|
}
|
|
|
});
|
|
|
}
|
|
|
-function Toasts(mess) {
|
|
|
- var str = `<div id="mess"><img class="warn" style="margin-right:14px" src=${warn}/><span></span></div>`;
|
|
|
- $("body").append(str);
|
|
|
- $("#mess").fadeIn().find("span").html(mess);
|
|
|
- document.getElementById("mess").style.cssText = "display:flex;align-items:center;max-width:60%;min-width: 150px;padding:0 14px;height: 30px;color: #FFB609;line-height: 30px;text-align: center;border-radius: 4px;position: fixed;top: 75px;left: 50%;transform: translate(-50%, -50%);z-index: 999999;background: #FDF6EA;font-size: 16px;";
|
|
|
- setTimeout(function () {
|
|
|
- $("#mess").fadeOut();
|
|
|
- }, 1000)
|
|
|
|
|
|
-}
|
|
|
function getResult(pushInfo, textType) {
|
|
|
$(".but").click(function () {
|
|
|
let arr = [];
|