Browse Source

更新优化系统文件

master
zhouhaibin 5 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> <template #overlay>
<Menu @click="handleMenuClick"> <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" /> <Menu.Divider v-if="getShowDoc" />
<MenuItem key="personal-center" text="个人中心" icon="ant-design:user-outlined" /> <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 <MenuItem
v-if="getUseLockPage" v-if="getUseLockPage"
key="lock" key="lock"

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

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

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

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

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

@ -43,12 +43,12 @@
const avatarUrl = ref<Nullable<string>>(); const avatarUrl = ref<Nullable<string>>();
const [registerForm, { validate, getFieldsValue, setFieldsValue }] = useForm({ const [registerForm, { validate, getFieldsValue, setFieldsValue }] = useForm({
schemas: [ schemas: [
{ // {
field: 'avatar', // field: 'avatar',
label: '头像', // label: '',
slot: 'avatar', // slot: 'avatar',
component: 'Input', // component: 'Input',
}, // },
{ {
field: 'nickname', field: 'nickname',
label: '昵称', label: '昵称',
@ -71,6 +71,12 @@
label: '生日', label: '生日',
component: 'DatePicker', component: 'DatePicker',
}, },
{
field: 'workplace',
label: '单位名称',
component: 'Input',
required: true,
},
], ],
showActionButtonGroup: false, showActionButtonGroup: false,
baseColProps: { xl: 13, lg: 24 }, 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> <a-button type="link" @click="openChangePasswordModal(true, {})">修改</a-button>
</template> </template>
</a-list-item> </a-list-item>
<a-list-item> <!-- <a-list-item>
<a-list-item-meta description="用于账号登录与找回密码"> <a-list-item-meta description="用于账号登录与找回密码">
<template #title>手机{{ data.phoneNumber ? data.phoneNumber : '未绑定' }}</template> <template #title>手机{{ data.phoneNumber ? data.phoneNumber : '未绑定' }}</template>
<template #avatar> <template #avatar>
@ -24,7 +24,7 @@
{{ data.phoneNumber ? '修改' : '绑定' }} {{ data.phoneNumber ? '修改' : '绑定' }}
</a-button> </a-button>
</template> </template>
</a-list-item> </a-list-item> -->
<a-list-item> <a-list-item>
<a-list-item-meta description="用于账号登录与找回密码"> <a-list-item-meta description="用于账号登录与找回密码">
<template #title>邮箱 {{ data.email ? data.email : '未绑定' }}</template> <template #title>邮箱 {{ data.email ? data.email : '未绑定' }}</template>

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

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

Loading…
Cancel
Save