build(desktop): 升级 electron-shell 版本至 1.6.3 并调整插件执行超时配置

- 插件执行超时默认延长至 6 小时,支持插件单独配置超时时间
- 新增插件根目录迁移逻辑,解决旧版权限问题
- 新增多个服务端实体、DTO、配置模块等基础代码
- 新增插件 UI 模板及相关静态资源
This commit is contained in:
2026-10-15 11:38:45 +08:00
parent 3dcedf95fd
commit f27639777f
717 changed files with 88647 additions and 17543 deletions
@@ -0,0 +1,46 @@
<script setup lang="ts">
/**
* 升级进度(37du 控制台)
* 按账号展示执行机数量与最后在线(对接 /api/admin/devices/summary)
*/
import { onMounted, ref } from 'vue'
import { fetchDevicesSummary } from '@/api/business'
const loading = ref(false)
const data = ref<any>({})
async function load() {
loading.value = true
try {
data.value = await fetchDevicesSummary()
} finally {
loading.value = false
}
}
onMounted(load)
</script>
<template>
<div class="p-5 space-y-4">
<div class="flex items-center justify-between">
<h2 class="text-lg font-bold">升级进度</h2>
<el-button :loading="loading" @click="load">刷新</el-button>
</div>
<el-card shadow="never" class="rounded-xl">
<template #header>
<span class="font-semibold">执行机汇总(共 {{ data.total || 0 }} 台)</span>
</template>
<el-table :data="data.by_account || []" border stripe>
<el-table-column label="账号" min-width="120">
<template #default="{ row }">{{ row.nickname || row.account }}</template>
</el-table-column>
<el-table-column prop="account" label="工号" width="120" />
<el-table-column prop="dept" label="部门" width="120" />
<el-table-column prop="device_count" label="设备数" width="90" />
<el-table-column prop="last_seen" label="最后在线" min-width="170" />
</el-table>
</el-card>
</div>
</template>