装备数据库

This commit is contained in:
liaoboping 2025-08-20 16:24:13 +08:00
parent 5908b97f7b
commit 69eceeadbf
3 changed files with 27 additions and 3 deletions

View File

@ -2,3 +2,5 @@ NODE_ENV=development
VUE_APP_PREVIEW=true
VUE_APP_API_BASE_URL=/api
VUE_APP_API_URL=http://192.168.0.189:8099
VUE_APP_WEBSOCKET_URL
=ws://192.168.0.96:9001

View File

@ -1,7 +1,7 @@
<template>
<Grid class="database-page" :rows="[1, 1]">
<ModuleWrapper title="保障实体类数据库">
<Grid class="normal bzstlsjk" :columns="[1, 1, 1]">
<Grid class="normal bzstlsjk" :columns="bzstlsjkColumns">
<div v-for="(item, index) in bzstlsjk" :key="index" class="sjk-item" @click="$router.push(item.path)">
<img :src="item.image" alt="" />
<div class="title">{{ item.title }}</div>
@ -9,7 +9,7 @@
</Grid>
</ModuleWrapper>
<ModuleWrapper title="业务应用类数据库">
<Grid class="normal ywyylsjk" :columns="[1, 1, 1, 1, 1]">
<Grid class="normal ywyylsjk" :columns="ywyylsjkColumns">
<div v-for="(item, index) in ywyylsjk" :key="index" class="sjk-item" @click="$router.push(item.path)">
<img :src="item.image" alt="" />
<div class="title">{{ item.title }}</div>
@ -40,6 +40,11 @@ export default {
image: require('@/assets/images/simulation-scene/database/bzhjsjk.png'),
path: '/databaseSystem/bzhjsjk',
},
{
title: '装备数据库',
image: require('@/assets/images/simulation-scene/database/bzhjsjk.png'),
path: '/databaseSystem/zbsjk',
},
],
ywyylsjk: [
{
@ -70,6 +75,14 @@ export default {
],
}
},
computed: {
bzstlsjkColumns() {
return new Array(this.bzstlsjk.length).fill(1)
},
ywyylsjkColumns() {
return new Array(this.ywyylsjk.length).fill(1)
},
},
}
</script>

View File

@ -0,0 +1,9 @@
<template>
<div>装备数据库</div>
</template>
<script>
export default {}
</script>
<style lang="less" scoped></style>