|
@@ -357,9 +357,9 @@
|
|
|
let params = this.form
|
|
|
params.patient_id = this.patient_id
|
|
|
let that = this
|
|
|
- if(this.edit){
|
|
|
- delete params["id"]
|
|
|
- }
|
|
|
+ // if(this.edit){
|
|
|
+ // delete params["id"]
|
|
|
+ // }
|
|
|
this.$api.regPatientCase(params).then(res => {
|
|
|
if (!res.data.code) {
|
|
|
this.$router.push({
|
|
@@ -528,10 +528,11 @@
|
|
|
let params = this.form
|
|
|
params.patient_id = this.patient_id
|
|
|
let that = this
|
|
|
- if(this.edit){
|
|
|
- delete params["id"]
|
|
|
- }
|
|
|
+ // if(this.edit){
|
|
|
+ // delete params["id"]
|
|
|
+ // }
|
|
|
this.$api.regPatientCase(params).then(res => {
|
|
|
+ console.log(paarms,1111111111)
|
|
|
if (!res.data.code) {
|
|
|
that.form = res.data.data;
|
|
|
that.form.lyl = Math.round(that.form.lyl*100)
|
|
@@ -564,6 +565,7 @@
|
|
|
this.mczsjl = res.data.data.mczsjl
|
|
|
this.form.lyl = Math.round(this.form.lyl*100)
|
|
|
console.log(this.form.lyl)
|
|
|
+ console.log(this.form,11111111111)
|
|
|
})
|
|
|
}else{
|
|
|
this.$api.getPatientDoingCase({
|