😎增加系统监控数据库类型信息
This commit is contained in:
parent
30b48a31cc
commit
b6191145f2
@ -32,7 +32,7 @@ public class SysServerService : IDynamicApiController, ITransient
|
||||
SysRunTime = ComputerUtil.GetRunTime(), // 系统运行时间
|
||||
RemoteIp = ComputerUtil.GetIpFromOnline(), // 外网地址
|
||||
LocalIp = App.HttpContext?.Connection?.LocalIpAddress!.MapToIPv4().ToString(), // 本地地址
|
||||
RuntimeInformation.FrameworkDescription, // NET框架
|
||||
FrameworkDescription = RuntimeInformation.FrameworkDescription + " / " + App.GetOptions<DbConnectionOptions>().ConnectionConfigs[0].DbType.ToString(), // NET框架 + 数据库类型
|
||||
Environment = App.HostEnvironment.IsDevelopment() ? "Development" : "Production",
|
||||
Wwwroot = App.WebHostEnvironment.WebRootPath, // 网站根目录
|
||||
Stage = App.HostEnvironment.IsStaging() ? "Stage环境" : "非Stage环境", // 是否Stage环境
|
||||
|
||||
@ -45,6 +45,7 @@
|
||||
<el-button type="danger" icon="ele-Lightning" @click="syncRegionGD" v-auth="'sysRegion/add'"> 同步高德地图 </el-button>
|
||||
<el-button type="danger" icon="ele-Lightning" @click="syncRegionTianditu" v-auth="'sysRegion/add'"> 同步天地图 </el-button>
|
||||
<el-button type="danger" icon="ele-Lightning" @click="syncRegionMca" v-auth="'sysRegion/add'"> 同步国家地名信息库 </el-button>
|
||||
<el-button type="danger" icon="ele-Lightning" @click="syncRegionMzb" v-auth="'sysRegion/add'"> 同步民政部行政区划 </el-button>
|
||||
</template>
|
||||
<template #toolbar_tools> </template>
|
||||
<template #empty>
|
||||
@ -251,6 +252,11 @@ const syncRegionTianditu = async () => {
|
||||
state.title = '同步天地图行政区划';
|
||||
syncTdtParamRef.value?.openDialog();
|
||||
};
|
||||
// 同步民政部行政区划
|
||||
const syncRegionMzb = async () => {
|
||||
state.title = '同步民政部行政区划';
|
||||
// syncTdtParamRef.value?.openDialog();
|
||||
};
|
||||
|
||||
// 生成组织架构
|
||||
const genOrg = (row: any) => {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user