|  | @ -263,7 +263,6 @@ layui.use('element', function () {
 | 
	
		
			
				|  |  |         }
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |         healthAPI.getSpecialList(params).then(function (res) {
 | 
	
		
			
				|  |  |           console.log(res)
 | 
	
		
			
				|  |  |           if (res.status == 200) {
 | 
	
		
			
				|  |  |             vm.wujilu = false
 | 
	
		
			
				|  |  |             vm.total = res.data.totalCount
 | 
	
	
		
			
				|  | @ -334,7 +333,6 @@ layui.use('element', function () {
 | 
	
		
			
				|  |  |         })
 | 
	
		
			
				|  |  |         healthAPI.getSpecialDisease().then(function (res) {
 | 
	
		
			
				|  |  |           if (res.status == 200) {
 | 
	
		
			
				|  |  |             console.log(res)
 | 
	
		
			
				|  |  |             var data = {}
 | 
	
		
			
				|  |  |             data.value = _.map(res.data, function (v) {
 | 
	
		
			
				|  |  |               return {
 | 
	
	
		
			
				|  | @ -375,7 +373,6 @@ layui.use('element', function () {
 | 
	
		
			
				|  |  |         vm.isTotayTodo = $('#c').prop('checked') ? 1 : 2
 | 
	
		
			
				|  |  |         $('.icon-chkbox').toggleClass('icon-bgchkbox')
 | 
	
		
			
				|  |  |         vm.currentPage = page
 | 
	
		
			
				|  |  |         console.log(vm.currentPage)
 | 
	
		
			
				|  |  |         vm.getDatas()
 | 
	
		
			
				|  |  |       },
 | 
	
		
			
				|  |  |       morePlan: function (data) {
 | 
	
	
		
			
				|  | @ -392,10 +389,23 @@ layui.use('element', function () {
 | 
	
		
			
				|  |  |       },
 | 
	
		
			
				|  |  |       checkPlan: function (data) {
 | 
	
		
			
				|  |  |         var vm = this
 | 
	
		
			
				|  |  |         console.log('../../rehabilitation/html/rehabilitation_management.html?planId=' + data.id + '&patientCode=' + data.patientCode)
 | 
	
		
			
				|  |  |         // return
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |         location.href = '../../rehabilitation/html/rehabilitation_management.html?planId=' + data.id + '&patientCode=' + data.patientCode
 | 
	
		
			
				|  |  |         if (this.doctorType == 1 || data.turnDownState == 2) {
 | 
	
		
			
				|  |  |           location.href = '../../rehabilitation/html/rehabilitation_management.html?planId=' + data.id + '&patientCode=' + data.patientCode
 | 
	
		
			
				|  |  |         } else {
 | 
	
		
			
				|  |  |           this.$confirm('是否确认管理', '提示', {
 | 
	
		
			
				|  |  |             confirmButtonText: '确定',
 | 
	
		
			
				|  |  |             cancelButtonText: '取消',
 | 
	
		
			
				|  |  |             type: 'warning'
 | 
	
		
			
				|  |  |           })
 | 
	
		
			
				|  |  |             .then(function () {
 | 
	
		
			
				|  |  |               httpRequest.post('doctor/specialist/rehabilitation/manageAllPlanByPatient', { data: { patient: data.patientCode } }).then(function (res) {
 | 
	
		
			
				|  |  |                 if (res.status == 200) {
 | 
	
		
			
				|  |  |                   location.href = '../../rehabilitation/html/rehabilitation_management.html?planId=' + data.id + '&patientCode=' + data.patientCode
 | 
	
		
			
				|  |  |                 }
 | 
	
		
			
				|  |  |               })
 | 
	
		
			
				|  |  |             })
 | 
	
		
			
				|  |  |             .catch(function () {})
 | 
	
		
			
				|  |  |         }
 | 
	
		
			
				|  |  |       },
 | 
	
		
			
				|  |  |       modelControl: function () {
 | 
	
		
			
				|  |  |         location.href = '../../rehabilitation/html/management.html'
 | 
	
	
		
			
				|  | @ -419,6 +429,14 @@ layui.use('element', function () {
 | 
	
		
			
				|  |  |       },
 | 
	
		
			
				|  |  |       recoveryPlan: function (data) {
 | 
	
		
			
				|  |  |         location.href = '../../recover/html/personal-manage.html?patientCode=' + data.patientCode + '&planId=' + data.id
 | 
	
		
			
				|  |  |       },
 | 
	
		
			
				|  |  |       getTurnDownName(turnDown) {
 | 
	
		
			
				|  |  |         var obj = {
 | 
	
		
			
				|  |  |           1: '已下转',
 | 
	
		
			
				|  |  |           2: '已接收',
 | 
	
		
			
				|  |  |           3: '未下转'
 | 
	
		
			
				|  |  |         }
 | 
	
		
			
				|  |  |         return obj[turnDown]
 | 
	
		
			
				|  |  |       }
 | 
	
		
			
				|  |  |     }
 | 
	
		
			
				|  |  |   })
 |