材料站路由
This commit is contained in:
parent
7766b17cac
commit
59dd858d34
417
src/pages.json
417
src/pages.json
|
|
@ -71,7 +71,7 @@
|
||||||
"navigationBarTitleText": "新购绑定"
|
"navigationBarTitleText": "新购绑定"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "pages/new-purchase/bind/ocr-bind",
|
"path": "pages/new-purchase/bind/ocr-bind",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "OCR识别"
|
"navigationBarTitleText": "OCR识别"
|
||||||
|
|
@ -109,14 +109,14 @@
|
||||||
"navigationBarTitleText": "编码入库"
|
"navigationBarTitleText": "编码入库"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
//新购入库-编码入库-OCR识别
|
//新购入库-编码入库-OCR识别
|
||||||
{
|
{
|
||||||
"path": "pages/new-purchase/entry/ocr-entry",
|
"path": "pages/new-purchase/entry/ocr-entry",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "OCR识别"
|
"navigationBarTitleText": "OCR识别"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
//新购验收
|
//新购验收
|
||||||
{
|
{
|
||||||
"path": "pages/new-purchase/accept/acceptDetails",
|
"path": "pages/new-purchase/accept/acceptDetails",
|
||||||
"style": {
|
"style": {
|
||||||
|
|
@ -151,12 +151,12 @@
|
||||||
"navigationBarTitleText": "出库详情"
|
"navigationBarTitleText": "出库详情"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "pages/picking/outbound/inner-detail",
|
"path": "pages/picking/outbound/inner-detail",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "出库详情"
|
"navigationBarTitleText": "出库详情"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// 3. 编码出库
|
// 3. 编码出库
|
||||||
{
|
{
|
||||||
"path": "pages/picking/outbound/code-outbound",
|
"path": "pages/picking/outbound/code-outbound",
|
||||||
|
|
@ -195,7 +195,6 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
||||||
// 退料
|
// 退料
|
||||||
{
|
{
|
||||||
"path": "pages/back/index",
|
"path": "pages/back/index",
|
||||||
|
|
@ -314,20 +313,20 @@
|
||||||
"navigationBarTitleText": "维修任务"
|
"navigationBarTitleText": "维修任务"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// 维修查看
|
// 维修查看
|
||||||
{
|
{
|
||||||
"path": "pages/repair/repairManage/view",
|
"path": "pages/repair/repairManage/view",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "维修任务查看"
|
"navigationBarTitleText": "维修任务查看"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// 维修查看明细
|
// 维修查看明细
|
||||||
{
|
{
|
||||||
"path": "pages/repair/repairManage/view-detail",
|
"path": "pages/repair/repairManage/view-detail",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "维修任务查看"
|
"navigationBarTitleText": "维修任务查看"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// 3. 编码维修 展示
|
// 3. 编码维修 展示
|
||||||
{
|
{
|
||||||
"path": "pages/repair/repairManage/code-view",
|
"path": "pages/repair/repairManage/code-view",
|
||||||
|
|
@ -349,13 +348,13 @@
|
||||||
"navigationBarTitleText": "数量设备维修"
|
"navigationBarTitleText": "数量设备维修"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// 6. 批量维修 操作
|
// 6. 批量维修 操作
|
||||||
{
|
{
|
||||||
"path": "pages/repair/repairManage/batch-repair",
|
"path": "pages/repair/repairManage/batch-repair",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "编码批量维修"
|
"navigationBarTitleText": "编码批量维修"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
/* 定损及其页面 */
|
/* 定损及其页面 */
|
||||||
// 1. 定损列表
|
// 1. 定损列表
|
||||||
|
|
@ -372,20 +371,20 @@
|
||||||
"navigationBarTitleText": "定损任务"
|
"navigationBarTitleText": "定损任务"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// 定损查看
|
// 定损查看
|
||||||
{
|
{
|
||||||
"path": "pages/repair/equipAssessment/view",
|
"path": "pages/repair/equipAssessment/view",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "定损任务查看"
|
"navigationBarTitleText": "定损任务查看"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// 定损查看明细
|
// 定损查看明细
|
||||||
{
|
{
|
||||||
"path": "pages/repair/equipAssessment/view-detail",
|
"path": "pages/repair/equipAssessment/view-detail",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "定损任务查看"
|
"navigationBarTitleText": "定损任务查看"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// 3. 编码维修 展示
|
// 3. 编码维修 展示
|
||||||
{
|
{
|
||||||
"path": "pages/repair/equipAssessment/code-view",
|
"path": "pages/repair/equipAssessment/code-view",
|
||||||
|
|
@ -401,13 +400,12 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// 6. 批量定损 操作
|
// 6. 批量定损 操作
|
||||||
{
|
{
|
||||||
"path": "pages/repair/equipAssessment/batch-repair",
|
"path": "pages/repair/equipAssessment/batch-repair",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "编码定损"
|
"navigationBarTitleText": "编码定损"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
||||||
//修试审核
|
//修试审核
|
||||||
{
|
{
|
||||||
|
|
@ -424,13 +422,13 @@
|
||||||
"navigationBarTitleText": "修试审核详情"
|
"navigationBarTitleText": "修试审核详情"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
//修试审核-查看
|
//修试审核-查看
|
||||||
{
|
{
|
||||||
"path": "pages/repair/testExamine/view",
|
"path": "pages/repair/testExamine/view",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "修试审核详情"
|
"navigationBarTitleText": "修试审核详情"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
//修试入库
|
//修试入库
|
||||||
{
|
{
|
||||||
"path": "pages/repair/testedInBound/index",
|
"path": "pages/repair/testedInBound/index",
|
||||||
|
|
@ -446,12 +444,12 @@
|
||||||
"navigationBarTitleText": "修试入库详情"
|
"navigationBarTitleText": "修试入库详情"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "pages/repair/testedInBound/detailView",
|
"path": "pages/repair/testedInBound/detailView",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "修试入库明细"
|
"navigationBarTitleText": "修试入库明细"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
//修试入库-编码详情
|
//修试入库-编码详情
|
||||||
{
|
{
|
||||||
"path": "pages/repair/testedInBound/codeList",
|
"path": "pages/repair/testedInBound/codeList",
|
||||||
|
|
@ -466,29 +464,29 @@
|
||||||
"navigationBarTitleText": "编码扫描"
|
"navigationBarTitleText": "编码扫描"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
//报废审核
|
//报废审核
|
||||||
{
|
{
|
||||||
"path": "pages/repair/scrapExamine/index",
|
"path": "pages/repair/scrapExamine/index",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "报废审核"
|
"navigationBarTitleText": "报废审核"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
//报废审核-详情
|
//报废审核-详情
|
||||||
{
|
{
|
||||||
"path": "pages/repair/scrapExamine/details",
|
"path": "pages/repair/scrapExamine/details",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "报废审核详情"
|
"navigationBarTitleText": "报废审核详情"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
//报废审核-查看
|
//报废审核-查看
|
||||||
{
|
{
|
||||||
"path": "pages/repair/scrapExamine/view",
|
"path": "pages/repair/scrapExamine/view",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "报废审核详情"
|
"navigationBarTitleText": "报废审核详情"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
//标准箱
|
//标准箱
|
||||||
{
|
{
|
||||||
"path": "pages/standardBox/index",
|
"path": "pages/standardBox/index",
|
||||||
"style": {
|
"style": {
|
||||||
|
|
@ -526,33 +524,32 @@
|
||||||
"navigationBarTitleText": "标准箱接收"
|
"navigationBarTitleText": "标准箱接收"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
//库存查询
|
//库存查询
|
||||||
{
|
{
|
||||||
"path": "pages/stquery/deviceStatusRecord/index",
|
"path": "pages/stquery/deviceStatusRecord/index",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "机具库存查询"
|
"navigationBarTitleText": "机具库存查询"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
//设备信息查询
|
//设备信息查询
|
||||||
{
|
{
|
||||||
"path": "pages/devicesSearch/qrSearch",
|
"path": "pages/devicesSearch/qrSearch",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "二维码查询"
|
"navigationBarTitleText": "二维码查询"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "pages/devicesSearch/ocrSearch",
|
"path": "pages/devicesSearch/ocrSearch",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "OCR查询"
|
"navigationBarTitleText": "OCR查询"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "pages/devicesSearch/codeSearch",
|
"path": "pages/devicesSearch/codeSearch",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "设备编码查询"
|
"navigationBarTitleText": "设备编码查询"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
||||||
{
|
{
|
||||||
"path": "pages/my/signature",
|
"path": "pages/my/signature",
|
||||||
|
|
@ -561,7 +558,6 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
||||||
//业务办理
|
//业务办理
|
||||||
{
|
{
|
||||||
"path": "pages/business/leaseApply",
|
"path": "pages/business/leaseApply",
|
||||||
|
|
@ -635,37 +631,137 @@
|
||||||
"navigationBarTitleText": "在用查询"
|
"navigationBarTitleText": "在用查询"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
//现场维修
|
//现场维修
|
||||||
{
|
{
|
||||||
"path": "pages/repair/fieldMaintenance/index",
|
"path": "pages/repair/fieldMaintenance/index",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "现场维修"
|
"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"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
// 材料站 end
|
||||||
{
|
|
||||||
"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": "现场维修数量"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
],
|
||||||
"tabBar": {
|
"tabBar": {
|
||||||
"color": "#2c2c2c",
|
"color": "#2c2c2c",
|
||||||
|
|
@ -706,14 +802,15 @@
|
||||||
"navigationBarBackgroundColor": "#dcf4ff",
|
"navigationBarBackgroundColor": "#dcf4ff",
|
||||||
"backgroundColor": "#f8f8f8"
|
"backgroundColor": "#f8f8f8"
|
||||||
},
|
},
|
||||||
"condition" : { //模式配置,仅开发期间生效
|
"condition": {
|
||||||
"current": 0, //当前激活的模式(list 的索引项)
|
//模式配置,仅开发期间生效
|
||||||
"list": [
|
"current": 0, //当前激活的模式(list 的索引项)
|
||||||
{
|
"list": [
|
||||||
"name": "", //模式名称
|
{
|
||||||
"path": "", //启动页面,必选
|
"name": "", //模式名称
|
||||||
"query": "" //启动参数,在页面的onLoad函数里面得到
|
"path": "", //启动页面,必选
|
||||||
}
|
"query": "" //启动参数,在页面的onLoad函数里面得到
|
||||||
]
|
}
|
||||||
}
|
]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -107,26 +107,24 @@
|
||||||
</text>
|
</text>
|
||||||
</view>
|
</view>
|
||||||
</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)"
|
@tap="onNavigateTo(item.url)"
|
||||||
v-for="(item, index) in searchList">
|
v-for="(item, index) in materialsStationList"
|
||||||
|
>
|
||||||
<image :src="item.iconSrc" mode="scaleToFill" />
|
<image :src="item.iconSrc" mode="scaleToFill" />
|
||||||
<text>
|
<text>
|
||||||
{{ item.title }}
|
{{ item.title }}
|
||||||
</text>
|
</text>
|
||||||
</view>
|
</view>
|
||||||
</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>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|
@ -317,6 +315,15 @@ const boxList = ref([
|
||||||
},
|
},
|
||||||
])
|
])
|
||||||
|
|
||||||
|
// 材料站
|
||||||
|
const materialsStationList = ref([
|
||||||
|
{
|
||||||
|
title: '材料站管理',
|
||||||
|
url: '/pages/materialsStation/index/index',
|
||||||
|
iconSrc: '../../static/workbench/repair.png',
|
||||||
|
},
|
||||||
|
])
|
||||||
|
|
||||||
// 使用计算属性筛选 newInfoList 中的数据
|
// 使用计算属性筛选 newInfoList 中的数据
|
||||||
const boxListTwo = computed(() => {
|
const boxListTwo = computed(() => {
|
||||||
return boxList.value.filter(item => urlPermissions.value.includes(item.url))
|
return boxList.value.filter(item => urlPermissions.value.includes(item.url))
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue