Browse Source

更新优化系统文件

master
zhouhaibin 7 months ago
parent
commit
f46a9f7115
  1. 4
      src/layouts/default/header/components/user-dropdown/index.vue
  2. 4
      src/layouts/default/header/index.vue
  3. 2
      src/utils/http/axios/index.ts
  4. 18
      src/views/auth/personal/center/Basic.vue
  5. 4
      src/views/auth/personal/center/Security.vue
  6. 4
      src/views/auth/personal/center/View.vue

4
src/layouts/default/header/components/user-dropdown/index.vue

@ -26,10 +26,10 @@
<template #overlay>
<Menu @click="handleMenuClick">
<MenuItem key="doc" text="文档" icon="ion:document-text-outline" v-if="getShowDoc" />
<!-- <MenuItem key="doc" text="文档" icon="ion:document-text-outline" v-if="getShowDoc" /> -->
<Menu.Divider v-if="getShowDoc" />
<MenuItem key="personal-center" text="个人中心" icon="ant-design:user-outlined" />
<MenuItem key="sys-message" text="我的消息" icon="ant-design:mail-outlined" />
<!-- <MenuItem key="sys-message" text="我的消息" icon="ant-design:mail-outlined" /> -->
<MenuItem
v-if="getUseLockPage"
key="lock"

4
src/layouts/default/header/index.vue

@ -17,6 +17,10 @@
:sider="false"
/>
<LayoutBreadcrumb v-if="getShowContent && getShowBread" :theme="getHeaderTheme" />
<div >
<a-tag color="orange" style="font-size: 16px;">湖州市公立医院改革与高质量发展示范项目</a-tag>
</div>
</div>
<!-- left end -->

2
src/utils/http/axios/index.ts

@ -285,7 +285,7 @@ function createAxios(opt?: Partial<CreateAxiosOptions>) {
// authentication schemes,e.g: Bearer
// authenticationScheme: 'Bearer',
authenticationScheme: '',
timeout: 10 * 1000,
timeout: 30 * 1000,//apiTimeoutMessage 接口请求超时,请刷新页面重试
// 基础接口地址
// baseURL: globSetting.apiUrl,

18
src/views/auth/personal/center/Basic.vue

@ -43,12 +43,12 @@
const avatarUrl = ref<Nullable<string>>();
const [registerForm, { validate, getFieldsValue, setFieldsValue }] = useForm({
schemas: [
{
field: 'avatar',
label: '头像',
slot: 'avatar',
component: 'Input',
},
// {
// field: 'avatar',
// label: '',
// slot: 'avatar',
// component: 'Input',
// },
{
field: 'nickname',
label: '昵称',
@ -71,6 +71,12 @@
label: '生日',
component: 'DatePicker',
},
{
field: 'workplace',
label: '单位名称',
component: 'Input',
required: true,
},
],
showActionButtonGroup: false,
baseColProps: { xl: 13, lg: 24 },

4
src/views/auth/personal/center/Security.vue

@ -12,7 +12,7 @@
<a-button type="link" @click="openChangePasswordModal(true, {})">修改</a-button>
</template>
</a-list-item>
<a-list-item>
<!-- <a-list-item>
<a-list-item-meta description="用于账号登录与找回密码">
<template #title>手机{{ data.phoneNumber ? data.phoneNumber : '未绑定' }}</template>
<template #avatar>
@ -24,7 +24,7 @@
{{ data.phoneNumber ? '修改' : '绑定' }}
</a-button>
</template>
</a-list-item>
</a-list-item> -->
<a-list-item>
<a-list-item-meta description="用于账号登录与找回密码">
<template #title>邮箱 {{ data.email ? data.email : '未绑定' }}</template>

4
src/views/auth/personal/center/View.vue

@ -41,12 +41,12 @@
</template>
<span>安全设置</span>
</a-menu-item>
<a-menu-item key="binding">
<!-- <a-menu-item key="binding">
<template #icon>
<Icon icon="ant-design:link-outlined" />
</template>
<span>账号绑定</span>
</a-menu-item>
</a-menu-item> -->
</a-menu>
</div>
</a-col>

Loading…
Cancel
Save