diff --git a/pages/realName/workPlan-details/index.vue b/pages/realName/workPlan-details/index.vue
index 891355c..28c8f8a 100644
--- a/pages/realName/workPlan-details/index.vue
+++ b/pages/realName/workPlan-details/index.vue
@@ -1,9 +1,176 @@
- 作业计划详情---
+
+
+
+
+
+
+
+
+
+ 全部人员
+
+
+
+ 现场负责人
+
+ 燕双鹰
+ 13556235623
+
+ 作业人员
+ 7
+
+
+ 风险等级
+ 低风险
+ 执行情况
+ 已执行
+
+
+ 作业内容
+ 1、35kv配电室35kv配电室35kv配电室35kv配电室35kv配电室
+
+
+
+
+
+
+
+
+ 龙海
+ 龙海
+ 龙海
+ 龙海
+ 龙海
+ 龙海
+ 龙海
+ 龙海
+
+
+
+
+
+
+
+ 低压电工作业(9)
+ 低压电工作业(9)
+ 低压电工作业(9)
+ 低压电工作业(9)
+ 低压电工作业(9)
+
+
+
+
+
+
+ 站班会照片
+
+
+
-
+
diff --git a/pages/realName/workPlan/index.vue b/pages/realName/workPlan/index.vue
index c142842..d247ace 100644
--- a/pages/realName/workPlan/index.vue
+++ b/pages/realName/workPlan/index.vue
@@ -35,6 +35,12 @@
{{ index + 1 }}
{{ item.proName }}
+
{{ item.subComName }}
@@ -133,7 +139,7 @@ export default {
this.companyList = this.companyList.concat(res.subList)
},
leftClick() {
- uni.navigateTo({ url: '/pages/realName/index/index' })
+ uni.navigateTo({ url: `/pages/realName/index/index` })
},
onSearchFilter() {
// 打开底部弹框
@@ -162,7 +168,35 @@ export default {
},
/* 点击跳转作业计划详情 */
onViewWorkDetails(row) {
- uni.navigateTo({ url: '/pages/realName/workPlan-details/index' })
+ uni.navigateTo({ url: `/pages/realName/workPlan-details/index?query=${JSON.stringify(row)}` })
+ },
+ /* 收藏与取消收藏 */
+ onCollection(e, row) {
+ e.stopPropagation()
+ // const params = {
+ // id: row.collectId,
+ // userId: uni.getStorageSync('realNameUser').userId,
+ // foreignId: row.proId,
+ // type: 1
+ // }
+
+ // // console.log('params参数', params)
+
+ // uni.request({
+ // url: `${config.loginBaseUrl}${
+ // row.isCollect == 0 ? '/app/offLine/insertCollect' : '/app/offLine/deleteCollect'
+ // }`,
+ // method: 'POST',
+ // data: JSON.stringify(params),
+ // header: {
+ // 'Content-Type': 'application/json',
+ // token: this.token
+ // },
+ // success: res => {
+ // console.log('res收藏结果', res)
+ // },
+ // fail: err => {}
+ // })
}
}
}