维保管理菜单

This commit is contained in:
xusd 2024-05-28 10:19:59 +08:00
parent b338af5844
commit 9b544e3066
8 changed files with 210 additions and 2 deletions

View File

@ -101,6 +101,48 @@
{ {
"navigationBarTitleText" : "设备详情" "navigationBarTitleText" : "设备详情"
} }
},
{
"path" : "pages/work/maintenance/listMaintenance",
"style" :
{
"navigationBarTitleText" : "设备保养记录"
}
},
{
"path" : "pages/work/maintenance/detailsMaintenance",
"style" :
{
"navigationBarTitleText" : "保养详情"
}
},
{
"path" : "pages/work/service/listService",
"style" :
{
"navigationBarTitleText" : "设备维修记录"
}
},
{
"path" : "pages/work/service/detailsService",
"style" :
{
"navigationBarTitleText" : "维修详情"
}
},
{
"path" : "pages/work/equipCancel/listEquipCancel",
"style" :
{
"navigationBarTitleText" : "设备报废记录"
}
},
{
"path" : "pages/work/equipCancel/detailsEquipCancel",
"style" :
{
"navigationBarTitleText" : "报废详情"
}
}], }],
"tabBar": { "tabBar": {
"color": "#000000", "color": "#000000",

View File

@ -0,0 +1,22 @@
<template>
<view>
</view>
</template>
<script>
export default {
data() {
return {
}
},
methods: {
}
}
</script>
<style>
</style>

View File

@ -0,0 +1,22 @@
<template>
<view>
</view>
</template>
<script>
export default {
data() {
return {
}
},
methods: {
}
}
</script>
<style>
</style>

View File

@ -13,8 +13,8 @@
<uni-section title="设备管理" type="line"> <uni-section title="设备管理" type="line">
<view class="grid-body"> <view class="grid-body">
<uni-grid :column="4" :showBorder="false"> <uni-grid :column="3" :showBorder="false">
<uni-grid-item :index="1"> <uni-grid-item>
<view class="grid-item-box" @click="equipInfoClick"> <view class="grid-item-box" @click="equipInfoClick">
<uni-icons type="flag-filled" size="30"></uni-icons> <uni-icons type="flag-filled" size="30"></uni-icons>
<text class="text">设备档案</text> <text class="text">设备档案</text>
@ -23,6 +23,31 @@
</uni-grid> </uni-grid>
</view> </view>
</uni-section> </uni-section>
<uni-section title="维保管理" type="line">
<view class="grid-body">
<uni-grid :column="3" :showBorder="false">
<uni-grid-item>
<view class="grid-item-box" @click="maintenanceClick">
<uni-icons type="shop-filled" size="30"></uni-icons>
<text class="text">设备保养记录</text>
</view>
</uni-grid-item>
<uni-grid-item>
<view class="grid-item-box" @click="serviceClick">
<uni-icons type="gear-filled" size="30"></uni-icons>
<text class="text">设备维修记录</text>
</view>
</uni-grid-item>
<uni-grid-item>
<view class="grid-item-box" @click="equipCancelClick">
<uni-icons type="clear" size="30"></uni-icons>
<text class="text">设备报废记录</text>
</view>
</uni-grid-item>
</uni-grid>
</view>
</uni-section>
</view> </view>
</template> </template>
@ -45,6 +70,15 @@
} }
}, },
methods: { methods: {
equipCancelClick(){
this.$tab.navigateTo("/pages/work/equipCancel/listEquipCancel");
},
serviceClick(){
this.$tab.navigateTo("/pages/work/service/listService");
},
maintenanceClick(){
this.$tab.navigateTo("/pages/work/maintenance/listMaintenance");
},
equipInfoClick(){ equipInfoClick(){
this.$tab.navigateTo("/pages/work/equipInfo/listEquipInfo"); this.$tab.navigateTo("/pages/work/equipInfo/listEquipInfo");
}, },

View File

@ -0,0 +1,22 @@
<template>
<view>
</view>
</template>
<script>
export default {
data() {
return {
}
},
methods: {
}
}
</script>
<style>
</style>

View File

@ -0,0 +1,22 @@
<template>
<view>
1
</view>
</template>
<script>
export default {
data() {
return {
}
},
methods: {
}
}
</script>
<style>
</style>

View File

@ -0,0 +1,22 @@
<template>
<view>
</view>
</template>
<script>
export default {
data() {
return {
}
},
methods: {
}
}
</script>
<style>
</style>

View File

@ -0,0 +1,22 @@
<template>
<view>
</view>
</template>
<script>
export default {
data() {
return {
}
},
methods: {
}
}
</script>
<style>
</style>