|
@@ -833,8 +833,12 @@
|
833
|
833
|
}
|
834
|
834
|
|
835
|
835
|
},
|
836
|
|
-
|
|
836
|
+ // 上一方
|
837
|
837
|
AddNewAdvice(name) {
|
|
838
|
+ for(let i=0;i<this.other_doctor_advices.length;i++){
|
|
839
|
+ this.other_doctor_advices[i].single_dose = this.other_doctor_advices[i].single_dose.toString()
|
|
840
|
+ this.other_doctor_advices[i].prescribing_number = this.other_doctor_advices[i].prescribing_number.toString()
|
|
841
|
+ }
|
838
|
842
|
this.$refs[name].validate(valid => {
|
839
|
843
|
if (valid) {
|
840
|
844
|
var submitForm = {
|
|
@@ -844,7 +848,8 @@
|
844
|
848
|
adviceNames: this.other_doctor_advices,
|
845
|
849
|
remark: ''
|
846
|
850
|
}
|
847
|
|
-
|
|
851
|
+ console.log("2223333",submitForm)
|
|
852
|
+
|
848
|
853
|
let mode = '1'
|
849
|
854
|
CreateGroupAdvice(this.patientid, 0, submitForm, mode).then(
|
850
|
855
|
response => {
|
|
@@ -2205,6 +2210,8 @@
|
2205
|
2210
|
if (response.data.state == 1) {
|
2206
|
2211
|
|
2207
|
2212
|
var doctor_advices = response.data.data.advices
|
|
2213
|
+ console.log("doctor_advices",doctor_advices)
|
|
2214
|
+
|
2208
|
2215
|
this.other_doctor_advices = doctor_advices
|
2209
|
2216
|
this.request_record_date = uParseTime(this.other_doctor_advices[0].record_date, '{y}-{m}-{d}')
|
2210
|
2217
|
this.sch = response.data.data.schedule
|