Browse Source

拒签理由多选合并

linehang 6 years ago
parent
commit
601abfcdc7
2 changed files with 12 additions and 2 deletions
  1. 1 1
      app/sign/html/sign_handle.html
  2. 11 1
      app/sign/js/sign_handle.js

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

@ -17,7 +17,7 @@
				</dt>
				<dd class="fl ml10 c-999">
					<p class="m0"><span class="c-333 c-f16">{{patientInfo.name}}</span><span class="ml10 c-f14">({{patientInfo.sex == 1 ? "男" : "女"}}&emsp;{{patientInfo.age && patientInfo.age > 0 ? patientInfo.age : "未知"}}岁)</span></p>
					<p class="c-f12 m0">申请时间: {{patientInfo.jtSign.applyDate || patientInfo.applyDate}}</p>
					<p class="c-f12 m0">申请时间: {{handleStr(patientInfo.jtSign.applyDate) || handleStr(patientInfo.applyDate)}}</p>
				</dd>
			</dl>
			<h3>居民信息</h3>

+ 11 - 1
app/sign/js/sign_handle.js

@ -213,6 +213,12 @@ top.handleVue=new Vue({
	        	});
    		}
    	},
    	handleStr: function(str) {
            if (!str || str === '') {
                return ''
            }
            return str.substr(0, 19)
       },
    	acceptanceRes:function(res){
    		var vm = this
    		this.serverName = "";
@ -509,7 +515,11 @@ top.handleVue=new Vue({
						}
						vm.signInfo.refuseReason = $("#reason").val()
					} else {
						vm.signInfo.refuseReason = refuseReason
						if($("#reason").val()) {
							vm.signInfo.refuseReason = refuseReason + "。" + $("#reason").val()
						} else {
							vm.signInfo.refuseReason = refuseReason
						}
					}
					vm.signInfo.adminTeamCode = 0
					vm.signInfo.type = 2