Browse Source

签约消息处理成功后延时操作

linehang 6 years ago
parent
commit
07b596030b
2 changed files with 15 additions and 6 deletions
  1. 1 1
      app/sign/html/sign_manage.html
  2. 14 5
      app/sign/js/sign_handle.js

+ 1 - 1
app/sign/html/sign_manage.html

@ -256,7 +256,7 @@
							closeBtn: 1,
							shift: 5,
							shadeClose: false, //点击遮罩关闭层
							content: "sign_handle.html?patientCode="+list.patientCode+'&signCode='+list.code + '&status=' + status
							content: "sign_handle.html?patientCode="+list.patientCode+'&signCode='+list.code + '&status=' + status + '&msgid=' + list.msgid
						});
			        },
			        looking: function(list) {

+ 14 - 5
app/sign/js/sign_handle.js

@ -89,7 +89,11 @@ top.handleVue=new Vue({
    mounted: function() {
    	this.getSigndict();
    	this.getDictByDictName();
    	this.findMsgId()
    	if(!httpData.msgid || httpData.msgid == "undefined" || httpData.msgid == "null") {
    		this.findMsgId()
    	} else {
    		this.signInfo.msgid = httpData.msgid
    	}
    	this.teamLimit();
    	this.findPatientSignServerBySignCode();
    },
@ -529,8 +533,11 @@ top.handleVue=new Vue({
					layer.close(loadding)
					if(res.status == 200) {
//						top.layer.closeAll();
						var url = window.location.href + "?statusCode=1"
						window.location.href = url
						showSuccessMessage(res.msg || "操作成功")
						setTimeout(function() {
							var url = window.location.href.split("?")[0] + "?statusCode=1"
							window.location.href = url
						}, 1000)
					} else {
						showErrorMessage(res.msg);
					}
@ -541,8 +548,10 @@ top.handleVue=new Vue({
					if(res.status == 200) {
						showSuccessMessage(res.msg || "操作成功")
//						top.layer.closeAll();
						var url = window.location.href + "?statusCode=1"
						window.location.href = url
						setTimeout(function() {
							var url = window.location.href.split("?")[0] + "?statusCode=1"
							window.location.href = url
						}, 1000)
					} else {
						showErrorMessage(res.msg);
					}