增加作业计划详情页面
This commit is contained in:
parent
2de0198c13
commit
f218b3c2cb
|
|
@ -226,6 +226,13 @@
|
|||
"navigationStyle": "custom"
|
||||
}
|
||||
},
|
||||
{
|
||||
//首页二级跳转页面 -- 作业计划--详情
|
||||
"path": "pages/realName/workPlan-details/index",
|
||||
"style": {
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
},
|
||||
{
|
||||
//工作台
|
||||
"path": "pages/realName/workbench/index",
|
||||
|
|
|
|||
|
|
@ -0,0 +1,9 @@
|
|||
<template>
|
||||
<view>作业计划详情---</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {}
|
||||
</script>
|
||||
|
||||
<style></style>
|
||||
|
|
@ -26,7 +26,12 @@
|
|||
</view>
|
||||
<view style="padding: 0 20rpx">
|
||||
<scroll-view class="data-container" scroll-y="true">
|
||||
<view class="scroll-item" v-for="(item, index) in companyInfoList" :key="item.proId">
|
||||
<view
|
||||
class="scroll-item"
|
||||
v-for="(item, index) in companyInfoList"
|
||||
:key="item.proId"
|
||||
@tap="onViewWorkDetails(item)"
|
||||
>
|
||||
<view class="item-1">
|
||||
<view>{{ index + 1 }}</view>
|
||||
<view>{{ item.proName }}</view>
|
||||
|
|
@ -154,6 +159,10 @@ export default {
|
|||
this.getWorkPlantData().then(() => {
|
||||
this.$refs.popup.close()
|
||||
})
|
||||
},
|
||||
/* 点击跳转作业计划详情 */
|
||||
onViewWorkDetails(row) {
|
||||
uni.navigateTo({ url: '/pages/realName/workPlan-details/index' })
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue