Commit ce63dca2 authored by 刘春's avatar 刘春

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

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