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