Browse Source

团队id传值

linehang 6 years ago
parent
commit
7b24bc0138
1 changed files with 6 additions and 0 deletions
  1. 6 0
      app/sign/js/sign_handle.js

+ 6 - 0
app/sign/js/sign_handle.js

@ -71,6 +71,7 @@ top.handleVue=new Vue({
            disease: null,
            patientIDcard: null, // 必填
            adminTeamCode: null,
            teamCode: null,
            mesId: null, // 消息id(必填)
            msgid: null, // 消息id(必填)
            patient: httpData.patientCode,
@ -256,7 +257,9 @@ top.handleVue=new Vue({
				layer.close(loadding)
				if(res.status == 200) {
					vm.patientInfo = res.data
					if()
					vm.signInfo.adminTeamCode = vm.patientInfo.jtSign.adminTeamId
					vm.signInfo.teamCode = vm.patientInfo.jtSign.adminTeamId
					if(vm.doctorType == 2) {
						vm.signInfo.doctorName = doctorInfo.name
						vm.signInfo.doctor = doctorInfo.uid
@ -282,6 +285,7 @@ top.handleVue=new Vue({
    		}
    		if(!judge) {
    			this.signInfo.adminTeamCode = null
    			this.signInfo.teamCode = null
    			this.warnMsg = "您已不在原签约团队,请选择新的签约团队"
    			if(this.doctorType == 2) {
    				this.justHDoc = this.signInfo.healthDoctorName
@ -445,6 +449,7 @@ top.handleVue=new Vue({
        	if(num == 1) { // 选择签约团队
        		this.isShowList1 = false;
	            this.signInfo.adminTeamCode = data.id;
	            this.signInfo.teamCode = data.id;
	            if(this.doctorType == 2) {
	            	this.signInfo.healthDoctor = null
	            	this.signInfo.healthDoctorName = null
@ -542,6 +547,7 @@ top.handleVue=new Vue({
						}
					}
					vm.signInfo.adminTeamCode = 0;
					vm.signInfo.teamCode = 0;
					vm.signInfo.type = 2;
					vm.signInfo.state = 0;
					vm.sign();