feat(enterprise): 添加修改企业名称功能

- 在 API 中新增 updateEnterpriseName 方法,用于更新企业名称
- 在路由中添加企业信息管理相关路径
- 实现企业信息页面,包括展示企业和修改企业名称的功能
- 新增 Modal组件用于弹窗展示
This commit is contained in:
2025-06-18 18:00:33 +08:00
parent a6f6cd8bff
commit 9de7565b2d
5 changed files with 201 additions and 0 deletions

38
src/components/modal.vue Normal file
View File

@ -0,0 +1,38 @@
<template>
<a-modal title-align="start" modal-class="modal" body-class="body" v-bind="$attrs" >
<slot></slot>
</a-modal>
</template>
<script setup lang="ts">
</script>
<style lang="less">
.modal {
.arco-modal-header {
border-bottom: none;
}
.arco-modal-footer {
border-top: none;
:first-child {
border: 1px solid var(--BG-500, rgba(177, 178, 181, 1));
border-radius: 4px;
padding: 7px 20px;
font-family: Alibaba PuHuiTi, serif;
font-weight: 400;
font-size: 14px;
}
:last-child {
border-radius: 4px;
padding: 7px 20px;
font-family: Alibaba PuHuiTi, serif;
font-weight: 400;
font-size: 14px;
margin-left: 16px;
}
}
}
.body {
padding-top: 0px;
padding-bottom: 0px;
}
</style>