- 处置记录
+
+
垃圾处置记录
+
管理和分析垃圾处置数据
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ record.pointName }}
+
+
+ 查看
+
+
+ {{ record.statusTxt }}
+ {{ record.statusTxt }}
+
+
+
-
-
diff --git a/src/pages/frame/ZsyFrame.vue b/src/pages/frame/ZsyFrame.vue
index 6734e14..b97bda6 100644
--- a/src/pages/frame/ZsyFrame.vue
+++ b/src/pages/frame/ZsyFrame.vue
@@ -9,6 +9,9 @@
:type="type"
class="zsy-frame"
>
+
+
+
@@ -45,6 +48,7 @@ import {
MenuCategory
} from '@/common/app/contants.ts'
import Nav from '@/common/router/nav.ts'
+import Iconfont from '@/components/iconfont/Iconfont.vue'
const appSettingStore = useAppSettingStore()
const logoImage = computed(() => {
@@ -70,7 +74,11 @@ const menuTree = computed(() => {
pid: it.pid,
key: it.routeName,
label: it.title,
- type: it.menuCategory === MenuCategory.Page ? 'item' : 'sub',
+ // icon: it.icon,
+ icon: h(Iconfont, {className: 'ix-icon ixicon', name: it.icon as IconfontTypes.name}),
+ type: it.menuCategory === MenuCategory.Page ? 'item'
+ : it.menuCategory === MenuCategory.Group ? 'itemGroup'
+ : 'sub',
}))) as MenuData[]
})
const wholeTheme = ref('light')
@@ -83,6 +91,7 @@ const mergedTheme = computed(() => {
})
function openPageHandler(options: MenuClickOptions) {
+ if (options.type !== 'item') return
Nav.open({
insId: options.key as string,
routeName: options.key as string
@@ -92,11 +101,17 @@ function openPageHandler(options: MenuClickOptions) {
diff --git a/src/pages/tsp/Tsp.vue b/src/pages/tsp/Tsp.vue
index 48b483e..0742a6c 100644
--- a/src/pages/tsp/Tsp.vue
+++ b/src/pages/tsp/Tsp.vue
@@ -1,59 +1,151 @@
-
临时收纳点管理
-
管理和监控所有临时垃圾收纳点的运营状态
+
临时收纳点管理
+
管理和监控所有临时垃圾收纳点的运营状态
- 收纳点总数
- 24
- 较上月增长 12%
- 图标
+
+
收纳点总数
+
24
+
较上月增长 12%
+
+
- 正常运营数量
- 24
- 较上月增长 12%
- 图标
+
+
正常运营数量
+
24
+
较上月增长 8%
+
+
- 正常运营数量
- 24
- 较上月增长 12%
- 图标
+
+
非正常运营数量
+
24
+
较上月增长 2%
+
+
-
+
- biaoge
+
+
+
+ {{ record.pointName }}
+
+
+ 查看监控
+
+
+ {{ record.statusTxt }}
+ {{ record.statusTxt }}
+
+
diff --git a/vite.config.ts b/vite.config.ts
index 2febfb3..bb4c870 100644
--- a/vite.config.ts
+++ b/vite.config.ts
@@ -15,6 +15,8 @@ import VueDevTools from 'vite-plugin-vue-devtools'
import processHtml from './plugin/html-process'
import zipDist from './plugin/zip-dist'
import { viteStaticCopy } from 'vite-plugin-static-copy'
+import { fileWatcher } from './plugin/file-watcher'
+import iconfontDts from './plugin/iconfont-dts'
let viteConfig: UserConfigFnObject = configEnv => {
const env = loadEnv(configEnv.mode, process.cwd(), '')
@@ -47,6 +49,10 @@ let viteConfig: UserConfigFnObject = configEnv => {
processHtml(env.VITE_APP_NAME),
zipDist(),
Icons(),
+ fileWatcher({
+ file: './public/iconfont/ali/iconfont.json',
+ fn: iconfontDts('./src/components/iconfont/iconfont.d.ts'),
+ }),
viteStaticCopy({
targets: [
{