个人中心修改信息更换接口
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
57a8bb4e24
commit
8225eacb7e
|
@ -44,6 +44,13 @@ export function updateUser(param) {
|
|||
data: param
|
||||
})
|
||||
}
|
||||
export function updateUserBasicInfo(param) {
|
||||
return request({
|
||||
url: `/user/updateUserBasicInfo`,
|
||||
method: 'put',
|
||||
data: param
|
||||
})
|
||||
}
|
||||
|
||||
export function getUser(params) {
|
||||
return request({
|
||||
|
|
|
@ -82,7 +82,7 @@
|
|||
</div>
|
||||
</template>
|
||||
<script>
|
||||
import { updateUser } from "@/api/admin.js";
|
||||
import { updateUserBasicInfo } from "@/api/admin.js";
|
||||
export default {
|
||||
name: "mine",
|
||||
props: {
|
||||
|
@ -179,7 +179,7 @@ export default {
|
|||
// this.user.OrganizationName = 'ZhiZhun'
|
||||
// }
|
||||
if (this.user.Id) {
|
||||
updateUser(this.user)
|
||||
updateUserBasicInfo(this.user)
|
||||
.then((res) => {
|
||||
this.isDisabled = false;
|
||||
this.$message.success(
|
||||
|
|
|
@ -116,11 +116,6 @@ export default {
|
|||
this.siteData = row
|
||||
this.config.visible = true
|
||||
this.getList()
|
||||
console.log(
|
||||
this.hasPermi([
|
||||
'trials:trials-panel:setting:personnel-manage:edit-site',
|
||||
])
|
||||
)
|
||||
},
|
||||
// 获取dicomAE列表
|
||||
async getList() {
|
||||
|
|
Loading…
Reference in New Issue