feat: 新增设备补点模块

dev-deviceSetting
donghao 9 months ago
parent 0d2be75237
commit 3cb0bd2d4f

@ -26,6 +26,7 @@ menus:
hshome: 工作台
hsdevice: 设备列表
hsdeviceScene: 设备现场
hsdeviceSetting: 设备布点
hsModelList: 模型列表
hsserver: 服务器
hstest: 测试

@ -2,7 +2,7 @@
* @Author: donghao donghao@supervision.ltd
* @Date: 2024-03-19 15:44:27
* @LastEditors: donghao donghao@supervision.ltd
* @LastEditTime: 2024-03-25 09:42:50
* @LastEditTime: 2024-08-02 10:56:44
* @FilePath: \General-AI-Platform-Web-Client\src\router\modules\deviceScene.ts
* @Description: ,`customMade`, koroFileHeader : https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/

@ -0,0 +1,23 @@
/*
* @Author: donghao donghao@supervision.ltd
* @Date: 2024-08-02 10:50:24
* @LastEditors: donghao donghao@supervision.ltd
* @LastEditTime: 2024-08-02 10:57:01
* @FilePath: \General-AI-Platform-Web-Client\src\router\modules\deviceSetting.ts
* @Description:
*/
import { $t } from "@/plugins/i18n";
export default {
path: "/deviceSetting",
meta: {
title: $t("menus.hsdeviceSetting"),
icon: "icon-shebeiguanli-weixuan",
// showLink: false,
bodyClass: "deviceSetting_page",
rank: 8,
roles: ["admin", "common"]
},
component: () => import("@/views/deviceSetting/index.vue"),
name: "DeviceSetting"
} as RouteConfigsTable;

@ -0,0 +1,70 @@
<script setup lang="ts">
import { useRouter } from "vue-router";
import noExist from "@/assets/status/404.svg?component";
defineOptions({
name: "暂未开放"
});
const router = useRouter();
</script>
<template>
<div class="flex justify-center items-center h-[640px]">
<noExist />
<div class="ml-12">
<p
class="mb-4 text-4xl font-medium dark:text-white"
v-motion
:initial="{
opacity: 0,
y: 100
}"
:enter="{
opacity: 1,
y: 0,
transition: {
delay: 100
}
}"
>
暂未开放
</p>
<p
class="mb-4 text-gray-500"
v-motion
:initial="{
opacity: 0,
y: 100
}"
:enter="{
opacity: 1,
y: 0,
transition: {
delay: 300
}
}"
>
抱歉你访问的页面暂未开放
</p>
<el-button
type="primary"
@click="router.push('/')"
v-motion
:initial="{
opacity: 0,
y: 100
}"
:enter="{
opacity: 1,
y: 0,
transition: {
delay: 500
}
}"
>
返回首页
</el-button>
</div>
</div>
</template>
Loading…
Cancel
Save