Commit 32565b73 authored by youjie's avatar youjie

优化

parent 53760b1b
......@@ -257,9 +257,10 @@ export interface ResetPasswordResponseDto {
*/
export interface GeneralResponseDto {
/** 错误码 */
code: number
code?: number
/** 消息 */
message?: string
success?: boolean
}
/**
......
<template>
<div class="w-full h-full overflow-hidden" >
<a-scrollbar class="overflow-auto h-[calc(100vh-226px)]">
<a-scrollbar class="overflow-auto h-[100%]">
<div class="accountCenter rounded-[14px] border-[1px] mb-[28px] flex items-center py-[30px] pl-[43px] pr-[35px]">
<div class="w-[102px] mr-[43px]">
<div class="customPrimary-bg-7 rounded-full w-[50px] h-[50px] flex justify-center items-center">
......@@ -456,8 +456,7 @@ inData()
background-size: 100% 100%;
}
:deep(.arco-scrollbar){
max-height: calc(100vh - 226px);
padding-bottom: 15px;
height: 100%;
overflow: hidden;
}
</style>
\ No newline at end of file
<template>
<div class="w-full h-full overflow-auto">
<div class="w-full h-full overflow-hidden">
<a-scrollbar class="overflow-auto h-[100%]">
<a-spin :loading="loading" class="w-full">
<a-space direction="vertical" class="w-full">
<!-- horizonta -->
......@@ -189,6 +190,7 @@
:src="previewUrl"
:actions-layout="['rotateLeft', 'rotateRight', 'zoomIn', 'zoomOut', 'originalSize']"
/>
</a-scrollbar>
</div>
</template>
<script setup lang="ts">
......@@ -479,4 +481,8 @@ initData()
background-color: rgb(var(--arcoblue-6));
color: rgb(var(--arcoblue-10));
}
:deep(.arco-scrollbar){
height: 100%;
overflow: hidden;
}
</style>
\ No newline at end of file
......@@ -13,10 +13,10 @@
{{ item.name }}
</div>
<div class="flex-1 mr-[20px]">
{{ item.cityName }}{{ item.address }}
{{ item.cityName }} {{ item?.address || '-' }}
</div>
<div class="w-[200px] mr-[20px]">
{{item.phoneCode}} {{ item.phone }}
{{item.phoneCode}} {{ item?.phone ||'-' }}
</div>
<div class="w-[100px]"
:class="[item.isDefault?'customColor-text-5':'']">
......
......@@ -22,7 +22,7 @@
{{ item?.email||'-' }}
</div>
<div class="w-[150px]">
{{item?.phoneCode+item?.phone||'-' }}
{{ item.phoneCode }} {{ item?.phone || '-' }}
</div>
<div class="flex items-center justify-between">
<div class="w-[16px] h-[16px] editIcon cursor-pointer" @click="clickItem(item,1)">&nbsp;</div>
......@@ -322,6 +322,7 @@ const clickItem = (item: any,type: number) => {
formData.countryId = item.countryId || null
formData.sex = item.sex || null
formData.idCard = item.idCard || null
formData.email = item.email || null
}else{
deleteItem(item)
}
......@@ -375,10 +376,9 @@ const handleSubmit = async () => {
return
}
loading.value = true
try {
try {
const registerData = formData
const response = await UserService.updateMemberGuest(systemConfig.tenantId || 'default',registerData)
console.log('提交成功:', response)
showType.value = null
resetQuery()
cancel()
......
<template>
<div class="h-screen flex justify-center pb-[12px] max-h-[calc(100vh-120px)]">
<div class="h-screen flex justify-center pb-[12px] h-[797px]">
<div class="h-full flex justify-between w-[1200px]">
<!-- 左侧导航栏 -->
<LeftView class="pt-[25px]"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment