|
|
|
|
1393
|
if (this.isEdit) {
|
1393
|
if (this.isEdit) {
|
1394
|
this.form.age = parseInt(this.form.age);
|
1394
|
this.form.age = parseInt(this.form.age);
|
1395
|
this.form.user_sys_before_count = this.form.user_sys_before_count.toString();
|
1395
|
this.form.user_sys_before_count = this.form.user_sys_before_count.toString();
|
1396
|
-
|
|
|
|
|
1396
|
+ this.form.avatar = this.form.avatar + "?imageView2/2/w/500/h/500/q/90"
|
1397
|
editPatient(this.patientID, this.form)
|
1397
|
editPatient(this.patientID, this.form)
|
|
|
1398
|
+
|
1398
|
.then(response => {
|
1399
|
.then(response => {
|
1399
|
if (response.data.state == 0) {
|
1400
|
if (response.data.state == 0) {
|
1400
|
this.$message.error(response.data.msg);
|
1401
|
this.$message.error(response.data.msg);
|