Commit 32565b73 authored by youjie's avatar youjie

优化

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