diff --git a/pages.json b/pages.json index 3956323..c101fc7 100644 --- a/pages.json +++ b/pages.json @@ -101,6 +101,48 @@ { "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": { "color": "#000000", diff --git a/pages/work/equipCancel/detailsEquipCancel.vue b/pages/work/equipCancel/detailsEquipCancel.vue new file mode 100644 index 0000000..8183fd0 --- /dev/null +++ b/pages/work/equipCancel/detailsEquipCancel.vue @@ -0,0 +1,22 @@ + + + + + diff --git a/pages/work/equipCancel/listEquipCancel.vue b/pages/work/equipCancel/listEquipCancel.vue new file mode 100644 index 0000000..8183fd0 --- /dev/null +++ b/pages/work/equipCancel/listEquipCancel.vue @@ -0,0 +1,22 @@ + + + + + diff --git a/pages/work/index.vue b/pages/work/index.vue index a19cc40..2689583 100644 --- a/pages/work/index.vue +++ b/pages/work/index.vue @@ -13,8 +13,8 @@ - - + + 设备档案 @@ -23,6 +23,31 @@ + + + + + + + + 设备保养记录 + + + + + + 设备维修记录 + + + + + + 设备报废记录 + + + + + @@ -45,6 +70,15 @@ } }, 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(){ this.$tab.navigateTo("/pages/work/equipInfo/listEquipInfo"); }, diff --git a/pages/work/maintenance/detailsMaintenance.vue b/pages/work/maintenance/detailsMaintenance.vue new file mode 100644 index 0000000..8183fd0 --- /dev/null +++ b/pages/work/maintenance/detailsMaintenance.vue @@ -0,0 +1,22 @@ + + + + + diff --git a/pages/work/maintenance/listMaintenance.vue b/pages/work/maintenance/listMaintenance.vue new file mode 100644 index 0000000..1fbba54 --- /dev/null +++ b/pages/work/maintenance/listMaintenance.vue @@ -0,0 +1,22 @@ + + + + + diff --git a/pages/work/service/detailsService.vue b/pages/work/service/detailsService.vue new file mode 100644 index 0000000..8183fd0 --- /dev/null +++ b/pages/work/service/detailsService.vue @@ -0,0 +1,22 @@ + + + + + diff --git a/pages/work/service/listService.vue b/pages/work/service/listService.vue new file mode 100644 index 0000000..8183fd0 --- /dev/null +++ b/pages/work/service/listService.vue @@ -0,0 +1,22 @@ + + + + +