增加作业计划详情页面

This commit is contained in:
BianLzhaoMin 2024-10-17 14:00:50 +08:00
parent 2de0198c13
commit f218b3c2cb
3 changed files with 26 additions and 1 deletions

View File

@ -226,6 +226,13 @@
"navigationStyle": "custom" "navigationStyle": "custom"
} }
}, },
{
// -- --
"path": "pages/realName/workPlan-details/index",
"style": {
"navigationStyle": "custom"
}
},
{ {
// //
"path": "pages/realName/workbench/index", "path": "pages/realName/workbench/index",

View File

@ -0,0 +1,9 @@
<template>
<view>作业计划详情---</view>
</template>
<script>
export default {}
</script>
<style></style>

View File

@ -26,7 +26,12 @@
</view> </view>
<view style="padding: 0 20rpx"> <view style="padding: 0 20rpx">
<scroll-view class="data-container" scroll-y="true"> <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 class="item-1">
<view>{{ index + 1 }}</view> <view>{{ index + 1 }}</view>
<view>{{ item.proName }}</view> <view>{{ item.proName }}</view>
@ -154,6 +159,10 @@ export default {
this.getWorkPlantData().then(() => { this.getWorkPlantData().then(() => {
this.$refs.popup.close() this.$refs.popup.close()
}) })
},
/* 点击跳转作业计划详情 */
onViewWorkDetails(row) {
uni.navigateTo({ url: '/pages/realName/workPlan-details/index' })
} }
} }
} }