个人中心修改信息更换接口
continuous-integration/drone/push Build is passing Details

uat_us
wangxiaoshuang 2024-12-25 17:50:15 +08:00
parent 57a8bb4e24
commit 8225eacb7e
3 changed files with 9 additions and 7 deletions

View File

@ -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({

View File

@ -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(

View File

@ -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() {