Commit ce63dca2 authored by 刘春's avatar 刘春

refactor(env): 更新环境变量和配置

- 修改项目名称为"BI决策支持系统"
- 更新生产环境接口地址
- 调整子系统ID
- 优化角色管理页面布局
- 改进网页菜单展开插槽样式
- 更新开发环境代理配置
parent b45a307c
# EleAdminPlus授权码, 自带的只能用于演示, 正式项目请更换为自己的授权码
VITE_LICENSE=dk9mcwJyetRWQlxWRiojIiwiIzVHbQ5Wa6ICdjVmaiV3cklmIsUDN2QTM4FHZLpnUiojIzJXZ2JCLiAzZy4SMiojIu9Wa0nI0NW=
# 项目名
VITE_APP_NAME=BI后台系统
VITE_APP_NAME=BI决策支持系统
NODE_ENV=production
# 生产环境接口地址
# VITE_API_URL='http://10.168.1.106:6200'
VITE_API_URL='http://27.221.101.69:8200/fancy'
VITE_API_URL='http://10.10.9.162:8200/fancy'
# VITE_API_URL='http://10.10.8.231:6200/fancy'
......@@ -8,6 +8,7 @@ export const loginInfo: {
};
/** 子系统id */
// export const APPID: string = '384EB79867A231EFE065000000000001';
export const APPID: string = '384EB79867A231EFE065000000000001';
/** 隐藏侧栏和顶栏的菜单 */
......
......@@ -147,6 +147,7 @@
return;
}
pageLoading.value = true;
row.jurisdictionCode = row.jurisdictionCode.split(',');
const [, ret] = await tryit(doctorApi.editUser)(row);
if (ret!.code === 200) {
ElMessage.success('操作成功');
......@@ -271,39 +272,47 @@
columns: [
{
field: 'userName',
title: '用户名称'
title: '用户名称',
width: 120
},
{
field: 'userCode',
title: '用户编码'
title: '用户编码',
width: 120
},
{
field: 'deptName',
title: '科室名称'
title: '科室名称',
width: 120
},
{
field: 'deptCode',
title: '科室编码'
title: '科室编码',
width: 120
},
{
field: 'jurisdictionName',
title: '权限',
width: 150,
slots: { default: 'jurisdictionName_slot' }
},
{
field: 'roleNames',
title: '角色',
width: 150,
slots: { default: 'roleNames_slot' }
},
{
field: 'wxId',
title: '微信号',
formatter: 'em'
formatter: 'em',
width: 120
},
{
field: 'status',
title: '状态',
formatter: 'em',
width: 120,
slots: { default: 'status_slot' }
},
{
......
......@@ -46,6 +46,7 @@
<!-- 展开插槽 -->
<template #expand_slot="{ row }">
<div class="h-full">
<vxe-grid v-bind="expandGridOptions" :data="row.menuChildren">
<!-- 操作 -->
<template #option_slot="{ row }">
......@@ -56,6 +57,7 @@
<el-link type="danger" @click="handleDelete(row)">删除</el-link>
</template>
</vxe-grid>
</div>
</template>
</vxe-grid>
</div>
......@@ -139,11 +141,12 @@
// 展开行配置
const expandGridOptions = reactive<VxeGridProps>({
minHeight: 0,
height: 'auto',
border: true,
showHeader: false,
showHeaderOverflow: true,
showOverflow: true,
height: 'auto',
rowConfig: {
keyField: 'id',
isHover: true
......
......@@ -159,7 +159,7 @@ export default defineConfig(({ command, mode }) => {
changeOrigin: true
},
'/bi-manager': {
target: 'http://27.221.101.69:8200/fancy',
target: 'http://10.1.0.138:4396/',
changeOrigin: true
}
}
......
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