Browse Source

访视表单修改

zhangyanfang 5 years ago
parent
commit
0a5f8c2f0d
1 changed files with 15 additions and 16 deletions
  1. 15 16
      app/followup/v1/html/fangshi-detail-7.html

+ 15 - 16
app/followup/v1/html/fangshi-detail-7.html

@ -875,7 +875,7 @@
                    if (vm.death_reason_type_check) {
                        vmS.physical_disease_type = vm.death_reason_type_check.join(",")
                    }
                    vm.symptom_check.map(function(i) {
                    vm.symptom_check?vm.symptom_check.map(function(i) {
                        if (i == '1') {
                            vmS.illusion = '1'
                        } if (i == '2') {
@ -901,21 +901,20 @@
                        } if (i == '12') {
                            vmS.other_symptom = '1'
                        }
                        vm.rehabilitation_check.map(function(i) {
                            if (i == '1') {
                                vmS.rehabilitation_work_ability = '1'
                            } if (i == '2') {
                                vmS.rehabilitation_training = '1'
                            } if (i == '3') {
                                vmS.rehabilitation_learning_ability = '1'
                            } if (i == '4') {
                                vmS.rehabilitation_sociability = '1'
                            } if (i == '5') {
                                vmS.rehabilitation_other = '1'
                            }
                        })
                    })
                    }):[]
                    vm.rehabilitation_check ? vm.rehabilitation_check.map(function (i) {
                        if (i == '1') {
                            vmS.rehabilitation_work_ability = '1'
                        } if (i == '2') {
                            vmS.rehabilitation_training = '1'
                        } if (i == '3') {
                            vmS.rehabilitation_learning_ability = '1'
                        } if (i == '4') {
                            vmS.rehabilitation_sociability = '1'
                        } if (i == '5') {
                            vmS.rehabilitation_other = '1'
                        }
                    }) : []
                    this.severeMentalDisorderData.create_time = null
                    this.severeMentalDisorderData.version = this.version
                    fangshiAPI.saveFollowupSevereMentalDisorder({ followupId: this.followupId || '1', severeMentalDisorderData: JSON.stringify(this.severeMentalDisorderData) }).then(function (res) {