材料站路由
This commit is contained in:
parent
7766b17cac
commit
59dd858d34
107
src/pages.json
107
src/pages.json
|
|
@ -195,7 +195,6 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
||||||
// 退料
|
// 退料
|
||||||
{
|
{
|
||||||
"path": "pages/back/index",
|
"path": "pages/back/index",
|
||||||
|
|
@ -408,7 +407,6 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
||||||
//修试审核
|
//修试审核
|
||||||
{
|
{
|
||||||
"path": "pages/repair/testExamine/index",
|
"path": "pages/repair/testExamine/index",
|
||||||
|
|
@ -553,7 +551,6 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
||||||
{
|
{
|
||||||
"path": "pages/my/signature",
|
"path": "pages/my/signature",
|
||||||
"style": {
|
"style": {
|
||||||
|
|
@ -561,7 +558,6 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
||||||
//业务办理
|
//业务办理
|
||||||
{
|
{
|
||||||
"path": "pages/business/leaseApply",
|
"path": "pages/business/leaseApply",
|
||||||
|
|
@ -665,7 +661,107 @@
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "现场维修数量"
|
"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
|
||||||
],
|
],
|
||||||
"tabBar": {
|
"tabBar": {
|
||||||
"color": "#2c2c2c",
|
"color": "#2c2c2c",
|
||||||
|
|
@ -706,7 +802,8 @@
|
||||||
"navigationBarBackgroundColor": "#dcf4ff",
|
"navigationBarBackgroundColor": "#dcf4ff",
|
||||||
"backgroundColor": "#f8f8f8"
|
"backgroundColor": "#f8f8f8"
|
||||||
},
|
},
|
||||||
"condition" : { //模式配置,仅开发期间生效
|
"condition": {
|
||||||
|
//模式配置,仅开发期间生效
|
||||||
"current": 0, //当前激活的模式(list 的索引项)
|
"current": 0, //当前激活的模式(list 的索引项)
|
||||||
"list": [
|
"list": [
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -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