Browse Source

续签去年签约的暂存

linehang 6 years ago
parent
commit
2e6ca6c8cd
1 changed files with 8 additions and 2 deletions
  1. 8 2
      app/sign/js/sign_handle.js

+ 8 - 2
app/sign/js/sign_handle.js

@ -43,6 +43,8 @@ top.changeTypeIndex=null;//修改居民标签的窗体
top.handleVue=new Vue({
    el: "#app",
    data: {
    	justDoc: null,
    	justHDoc: null,
    	doctorType: doctorInfo.doctorType,
    	isShowList1: false,
    	isShowList2: false,
@ -274,9 +276,11 @@ top.handleVue=new Vue({
    			this.signInfo.adminTeamCode = null
    			this.warnMsg = "您已不在原签约团队,请选择新的签约团队"
    			if(this.doctorType == 2) {
    				this.justHDoc = this.signInfo.healthDoctorName
					this.signInfo.healthDoctorName = null
					this.signInfo.healthDoctor = null
				} else {
					this.justDoc = this.signInfo.doctorName
					this.signInfo.doctor = null
					this.signInfo.doctorName = null
				}
@ -377,12 +381,14 @@ top.handleVue=new Vue({
		            });
		            if(!judge && httpData.status == 1) {
		            	if(vm.doctorType == 3) {
		            		vm.warnMsg = "去年居民续签的全科医生" + vm.signInfo.doctorName + "已不在您的团队,请重新选择一位全科医生"
		            		vm.warnMsg = "去年居民续签的全科医生" + vm.justDoc + "已不在您的团队,请重新选择一位全科医生"
							vm.justDoc = null
							vm.signInfo.doctor = null
		            		vm.signInfo.doctorName = null
		            	}
						if(vm.doctorType == 2) {
		            		vm.warnMsg = "去年居民续签的健管师" + vm.signInfo.healthDoctorName + "已不在您的团队,请重新选择一位健管师"
		            		vm.warnMsg = "去年居民续签的健管师" + vm.justHDoc + "已不在您的团队,请重新选择一位健管师"
		            		vm.justHDoc = null
		            		vm.signInfo.healthDoctor = null
		            		vm.signInfo.healthDoctorName = null
						}