材料站路由

This commit is contained in:
bb_pan 2025-06-25 09:33:01 +08:00
parent 7766b17cac
commit 59dd858d34
2 changed files with 277 additions and 173 deletions

View File

@ -71,7 +71,7 @@
"navigationBarTitleText": "新购绑定"
}
},
{
{
"path": "pages/new-purchase/bind/ocr-bind",
"style": {
"navigationBarTitleText": "OCR识别"
@ -109,14 +109,14 @@
"navigationBarTitleText": "编码入库"
}
},
//--OCR
{
"path": "pages/new-purchase/entry/ocr-entry",
"style": {
"navigationBarTitleText": "OCR识别"
}
},
//
//--OCR
{
"path": "pages/new-purchase/entry/ocr-entry",
"style": {
"navigationBarTitleText": "OCR识别"
}
},
//
{
"path": "pages/new-purchase/accept/acceptDetails",
"style": {
@ -151,12 +151,12 @@
"navigationBarTitleText": "出库详情"
}
},
{
"path": "pages/picking/outbound/inner-detail",
"style": {
"navigationBarTitleText": "出库详情"
}
},
{
"path": "pages/picking/outbound/inner-detail",
"style": {
"navigationBarTitleText": "出库详情"
}
},
// 3.
{
"path": "pages/picking/outbound/code-outbound",
@ -195,7 +195,6 @@
}
},
// 退
{
"path": "pages/back/index",
@ -314,20 +313,20 @@
"navigationBarTitleText": "维修任务"
}
},
//
{
"path": "pages/repair/repairManage/view",
"style": {
"navigationBarTitleText": "维修任务查看"
}
},
//
{
"path": "pages/repair/repairManage/view-detail",
"style": {
"navigationBarTitleText": "维修任务查看"
}
},
//
{
"path": "pages/repair/repairManage/view",
"style": {
"navigationBarTitleText": "维修任务查看"
}
},
//
{
"path": "pages/repair/repairManage/view-detail",
"style": {
"navigationBarTitleText": "维修任务查看"
}
},
// 3.
{
"path": "pages/repair/repairManage/code-view",
@ -349,13 +348,13 @@
"navigationBarTitleText": "数量设备维修"
}
},
// 6.
{
"path": "pages/repair/repairManage/batch-repair",
"style": {
"navigationBarTitleText": "编码批量维修"
}
},
// 6.
{
"path": "pages/repair/repairManage/batch-repair",
"style": {
"navigationBarTitleText": "编码批量维修"
}
},
/* */
// 1.
@ -372,20 +371,20 @@
"navigationBarTitleText": "定损任务"
}
},
//
{
"path": "pages/repair/equipAssessment/view",
"style": {
"navigationBarTitleText": "定损任务查看"
}
},
//
{
"path": "pages/repair/equipAssessment/view",
"style": {
"navigationBarTitleText": "定损任务查看"
}
},
//
{
"path": "pages/repair/equipAssessment/view-detail",
"style": {
"navigationBarTitleText": "定损任务查看"
}
},
{
"path": "pages/repair/equipAssessment/view-detail",
"style": {
"navigationBarTitleText": "定损任务查看"
}
},
// 3.
{
"path": "pages/repair/equipAssessment/code-view",
@ -401,13 +400,12 @@
}
},
// 6.
{
"path": "pages/repair/equipAssessment/batch-repair",
"style": {
"navigationBarTitleText": "编码定损"
}
},
{
"path": "pages/repair/equipAssessment/batch-repair",
"style": {
"navigationBarTitleText": "编码定损"
}
},
//
{
@ -424,13 +422,13 @@
"navigationBarTitleText": "修试审核详情"
}
},
//-
{
"path": "pages/repair/testExamine/view",
"style": {
"navigationBarTitleText": "修试审核详情"
}
},
//-
{
"path": "pages/repair/testExamine/view",
"style": {
"navigationBarTitleText": "修试审核详情"
}
},
//
{
"path": "pages/repair/testedInBound/index",
@ -446,12 +444,12 @@
"navigationBarTitleText": "修试入库详情"
}
},
{
"path": "pages/repair/testedInBound/detailView",
"style": {
"navigationBarTitleText": "修试入库明细"
}
},
{
"path": "pages/repair/testedInBound/detailView",
"style": {
"navigationBarTitleText": "修试入库明细"
}
},
//-
{
"path": "pages/repair/testedInBound/codeList",
@ -466,29 +464,29 @@
"navigationBarTitleText": "编码扫描"
}
},
//
{
"path": "pages/repair/scrapExamine/index",
"style": {
"navigationBarTitleText": "报废审核"
}
},
//-
{
"path": "pages/repair/scrapExamine/details",
"style": {
"navigationBarTitleText": "报废审核详情"
}
},
//-
{
"path": "pages/repair/scrapExamine/view",
"style": {
"navigationBarTitleText": "报废审核详情"
}
},
//
{
"path": "pages/repair/scrapExamine/index",
"style": {
"navigationBarTitleText": "报废审核"
}
},
//-
{
"path": "pages/repair/scrapExamine/details",
"style": {
"navigationBarTitleText": "报废审核详情"
}
},
//-
{
"path": "pages/repair/scrapExamine/view",
"style": {
"navigationBarTitleText": "报废审核详情"
}
},
//
//
{
"path": "pages/standardBox/index",
"style": {
@ -526,33 +524,32 @@
"navigationBarTitleText": "标准箱接收"
}
},
//
{
"path": "pages/stquery/deviceStatusRecord/index",
"style": {
"navigationBarTitleText": "机具库存查询"
}
},
//
{
"path": "pages/devicesSearch/qrSearch",
"style": {
"navigationBarTitleText": "二维码查询"
}
},
{
"path": "pages/devicesSearch/ocrSearch",
"style": {
"navigationBarTitleText": "OCR查询"
}
},
{
"path": "pages/devicesSearch/codeSearch",
"style": {
"navigationBarTitleText": "设备编码查询"
}
},
//
{
"path": "pages/stquery/deviceStatusRecord/index",
"style": {
"navigationBarTitleText": "机具库存查询"
}
},
//
{
"path": "pages/devicesSearch/qrSearch",
"style": {
"navigationBarTitleText": "二维码查询"
}
},
{
"path": "pages/devicesSearch/ocrSearch",
"style": {
"navigationBarTitleText": "OCR查询"
}
},
{
"path": "pages/devicesSearch/codeSearch",
"style": {
"navigationBarTitleText": "设备编码查询"
}
},
{
"path": "pages/my/signature",
@ -561,7 +558,6 @@
}
},
//
{
"path": "pages/business/leaseApply",
@ -635,37 +631,137 @@
"navigationBarTitleText": "在用查询"
}
},
//
{
"path": "pages/repair/fieldMaintenance/index",
"style": {
"navigationBarTitleText": "现场维修"
//
{
"path": "pages/repair/fieldMaintenance/index",
"style": {
"navigationBarTitleText": "现场维修"
}
},
{
"path": "pages/repair/fieldMaintenance/added",
"style": {
"navigationBarTitleText": "现场维修新增"
}
},
{
"path": "pages/repair/fieldMaintenance/detail",
"style": {
"navigationBarTitleText": "现场维修详情"
}
},
{
"path": "pages/repair/fieldMaintenance/fieldCode",
"style": {
"navigationBarTitleText": "现场维修编码"
}
},
{
"path": "pages/repair/fieldMaintenance/fieldNum",
"style": {
"navigationBarTitleText": "现场维修数量"
}
},
// start
//
{
"path": "pages/materialsStation/index/index",
"style": {
"navigationBarTitleText": "智慧材料站管理系统"
}
},
//
{
"path": "pages/materialsStation/toolsLease/toolsLease",
"style": {
"navigationStyle": "custom"
}
},
// -//
{
"path": "pages/materialsStation/toolsLease/toolsLeaseAdd",
"style": {
"navigationStyle": "custom"
}
},
// -
{
"path": "pages/materialsStation/toolsLease/codeOut",
"style": {
"navigationStyle": "custom"
}
},
// -OCR
{
"path": "pages/materialsStation/toolsLease/ocrScan/ocrOutScan",
"style": {
"navigationBarTitleText": "OCR识别"
}
},
// -
{
"path": "pages/materialsStation/teamLeaseRecord/teamLeaseRecord",
"style": {
"navigationStyle": "custom"
}
},
// --
{
"path": "pages/materialsStation/teamLeaseRecord/equipmentDetails",
"style": {
"navigationStyle": "custom"
}
},
// 退
{
"path": "pages/materialsStation/toolsBack/toolsBack",
"style": {
"navigationStyle": "custom"
}
},
// 退-//
{
"path": "pages/materialsStation/toolsBack/toolsAddBack",
"style": {
"navigationStyle": "custom"
}
},
// 退-
{
"path": "pages/materialsStation/teamBackRecord/teamBackRecord",
"style": {
"navigationStyle": "custom"
}
},
// 退-
{
"path": "pages/materialsStation/teamBackRecord/teamBackRecord",
"style": {
"navigationStyle": "custom"
}
},
//
{
"path": "pages/materialsStation/teamWarning/teamWarning",
"style": {
"navigationStyle": "custom"
}
},
// /
{
"path": "pages/materialsStation/toolsLedger/toolsLedger",
"style": {
"navigationStyle": "custom"
}
},
// -
{
"path": "pages/materialsStation/toolsLedger/toolsLedgerDetails",
"style": {
"navigationStyle": "custom"
}
}
},
{
"path": "pages/repair/fieldMaintenance/added",
"style": {
"navigationBarTitleText": "现场维修新增"
}
},
{
"path": "pages/repair/fieldMaintenance/detail",
"style": {
"navigationBarTitleText": "现场维修详情"
}
},
{
"path": "pages/repair/fieldMaintenance/fieldCode",
"style": {
"navigationBarTitleText": "现场维修编码"
}
},
{
"path": "pages/repair/fieldMaintenance/fieldNum",
"style": {
"navigationBarTitleText": "现场维修数量"
}
}
// end
],
"tabBar": {
"color": "#2c2c2c",
@ -706,14 +802,15 @@
"navigationBarBackgroundColor": "#dcf4ff",
"backgroundColor": "#f8f8f8"
},
"condition" : { //
"current": 0, //(list )
"list": [
{
"name": "", //
"path": "", //
"query": "" //onLoad
}
]
}
"condition": {
//
"current": 0, //(list )
"list": [
{
"name": "", //
"path": "", //
"query": "" //onLoad
}
]
}
}

View File

@ -107,26 +107,24 @@
</text>
</view>
</view>
<!-- <view class="new-purchase">
<view class="purchase-item" :key="index"
<view class="new-purchase" >
<div class="title-text">
<div></div>
<div class="purchase-title">材料站管理</div>
</div>
<view
class="purchase-item"
:key="index"
@tap="onNavigateTo(item.url)"
v-for="(item, index) in searchList">
v-for="(item, index) in materialsStationList"
>
<image :src="item.iconSrc" mode="scaleToFill" />
<text>
{{ item.title }}
</text>
</view>
</view>
<view class="new-purchase">
<view class="purchase-item" :key="index"
@tap="onNavigateTo(item.url)"
v-for="(item, index) in deviceList">
<image :src="item.iconSrc" mode="scaleToFill" />
<text>
{{ item.title }}
</text>
</view>
</view> -->
</view>
</template>
@ -317,6 +315,15 @@ const boxList = ref([
},
])
//
const materialsStationList = ref([
{
title: '材料站管理',
url: '/pages/materialsStation/index/index',
iconSrc: '../../static/workbench/repair.png',
},
])
// 使 newInfoList
const boxListTwo = computed(() => {
return boxList.value.filter(item => urlPermissions.value.includes(item.url))