ソースを参照

Merge branch 'master' of http://192.168.1.220:10080/raolu/PC-application

# Conflicts:
#	app/followup/v1/html/fangshi-detail-9.html
lincl 5 年 前
コミット
e4545a4eca
1 ファイル変更9 行追加7 行削除
  1. 9 7
      app/followup/v1/html/fangshi-detail-9.html

+ 9 - 7
app/followup/v1/html/fangshi-detail-9.html

@ -357,7 +357,7 @@
                        var vm = this
                        fangshiAPI.getPhthisisFirstCheckRecord({ followupId: this.followupId  }).then(function (res) {
                           	if (res.status == 200) {
                                var data = res.data
								var data = res.data
                                var isEmpty = true
                            	for(var k in data){
                            		if(k){
@ -402,15 +402,17 @@
                        })
                    },
                    editData: function () {
                        this.data2.version = this.version	//版本号
                        this.data2.followup_id = this.followupId
                        var data = {};
						data = $.extend(true, data, this.data2)
						data.version = this.version	//版本号
                        data.followup_id = this.followupId
                        if(this.data2.symptom ){
                        	this.data2.symptom = this.data2.symptom.join(",")
                        	data.symptom = this.data2.symptom.join(",")
                        } else {
                        	this.data2.symptom = ""
                        	data.symptom = ""
                        }
                        
                        fangshiAPI.savePhthisisFirstCheckRecord({ jsonData: JSON.stringify(this.data2) }).then(function (res) {
                        
                        fangshiAPI.savePhthisisFirstCheckRecord({ jsonData: JSON.stringify(data) }).then(function (res) {
                        	if (res.status == 200) {
                            	top.toastr.info('保存成功')
                            } else {