diff --git a/api/Modifyphonenumber/Modifyphonenumber.js b/api/Modifyphonenumber/Modifyphonenumber.js
new file mode 100644
index 0000000..c739b60
--- /dev/null
+++ b/api/Modifyphonenumber/Modifyphonenumber.js
@@ -0,0 +1,17 @@
+import request from "../request.js"
+
+//修改手机号
+export function update(data) {
+ return request({
+ url: '/system/hospitalPerson/update',
+ method: 'post',
+ data:data,
+ })
+}
+
+// export function createMobileToken() {
+// return request({
+// url: `/nurseApplet/authorization/createMobileToken`,
+// method: 'GET'
+// })
+// }
\ No newline at end of file
diff --git a/pages/Changepassword/Changepassword.vue b/pages/Changepassword/Changepassword.vue
index f47a51f..2b36e47 100644
--- a/pages/Changepassword/Changepassword.vue
+++ b/pages/Changepassword/Changepassword.vue
@@ -2,23 +2,25 @@
密码
-
+
- 提交
+ 提交
+
diff --git a/pages/Modifyphonenumber/Modifyphonenumber.vue b/pages/Modifyphonenumber/Modifyphonenumber.vue
index 2e30b58..0f1a3c2 100644
--- a/pages/Modifyphonenumber/Modifyphonenumber.vue
+++ b/pages/Modifyphonenumber/Modifyphonenumber.vue
@@ -2,20 +2,23 @@
手机号
-
+
- 提交
+ 提交
+
diff --git a/pages/myinformation/myinformation.vue b/pages/myinformation/myinformation.vue
index 73fff13..f53d2a5 100644
--- a/pages/myinformation/myinformation.vue
+++ b/pages/myinformation/myinformation.vue
@@ -46,7 +46,7 @@
-
+
@@ -100,8 +100,8 @@
name: ''
},
status: '',
- id:'',
- list:[],
+ id: '',
+ list: [],
}
},
onLoad() {
@@ -112,10 +112,10 @@
this.info()
},
methods: {
- info(){
- this.id=uni.getStorageSync("id")
- hospitalPerson(this.id).then(res=>{
- this.list=res.data
+ info() {
+ this.id = uni.getStorageSync("id")
+ hospitalPerson(this.id).then(res => {
+ this.list = res.data
})
},
gopassword() {
@@ -130,7 +130,7 @@
},
// 个人信息
personlinfo() {
- console.log(this.list,'66')
+ console.log(this.list, '66')
uni.navigateTo({
url: `/pages/Personalinfo/Personalinfo?list=${JSON.stringify(this.list)}`
})
@@ -367,4 +367,4 @@
}
}
}
-
+
\ No newline at end of file