|
@@ -19,7 +19,7 @@ Component({
|
|
|
async onSave() {
|
|
|
const {
|
|
|
query = {
|
|
|
- id: "",
|
|
|
+ id: "", relationShip: "",
|
|
|
},
|
|
|
} = this.$page.data;
|
|
|
const phoneNumber = this.data.phone;
|
|
@@ -27,6 +27,7 @@ Component({
|
|
|
if (/^[1]([3-9])[0-9]{9}$/.test(phoneNumber)) {
|
|
|
patientUpdate({
|
|
|
id: query.id,
|
|
|
+ // relationShip: query.relationShip,
|
|
|
phoneNumber: await getEncryptStr(this.data.phone),
|
|
|
}).then(() => {
|
|
|
EventHub.dispatchEvent("onPatienDetailUpdate", true);
|