材料站路由
This commit is contained in:
parent
7766b17cac
commit
59dd858d34
417
src/pages.json
417
src/pages.json
|
|
@ -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函数里面得到
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Reference in New Issue