diff --git a/pages/tabBar/work/index.vue b/pages/tabBar/work/index.vue index 27ed29c..1683166 100644 --- a/pages/tabBar/work/index.vue +++ b/pages/tabBar/work/index.vue @@ -124,8 +124,8 @@ export default { // { image: '/static/img/处理.png', text: '处理' }, // ], bsList: [ - { image: '/static/img/上报.png', text: '问题上报' }, - { image: '/static/img/处理.png', text: '问题处理' }, + { image: "/static/img/上报.png", text: "问题上报" }, + { image: "/static/img/处理.png", text: "问题处理" }, ], }; }, @@ -207,15 +207,13 @@ export default { } }, handleBsClick(item) { - if (item.text === "处理") { - // 记录 + if (item.text === "问题上报") { uni.navigateTo({ - url: "/pagesA/bsPage/bsRecord", + url: "/pagesA/bsPage/bsReport", }); } else { - // 上报 uni.navigateTo({ - url: "/pagesA/bsPage/bsReport", + url: "/pagesA/bsPage/bsRecord", }); } }, diff --git a/pagesA/bsPage/bsHandle.vue b/pagesA/bsPage/bsHandle.vue index e6c6964..de7cf9f 100644 --- a/pagesA/bsPage/bsHandle.vue +++ b/pagesA/bsPage/bsHandle.vue @@ -11,7 +11,12 @@ feedbackTypeText(detail.feedbackType) }} + + + 位置: + {{ detail.position }} + 问题描述: @@ -20,7 +25,7 @@ - 图片/视频: + 图片: - 报事人: - {{ detail.graduateName }} + 上报人: + {{ detail.graduateName||'' }} - 报事人电话: - {{ detail.telephone }} + 上报人电话: + {{ detail.telephone || '' }} @@ -76,7 +81,7 @@ - 上传图片/视频 + 上传图片 item.value === type ); - return feedbackTypeObj ? feedbackTypeObj.label : ""; + return feedbackTypeObj ? feedbackTypeObj.name : ""; }; }, srcUrl() { @@ -169,7 +196,7 @@ export default { const feedbackTypeObj = this.feedbackTypeOptions.find( (item) => item.value === type ); - return feedbackTypeObj ? feedbackTypeObj.url : ""; + return feedbackTypeObj ? feedbackTypeObj.icon : ""; }; }, }, diff --git a/pagesA/bsPage/bsRecord.vue b/pagesA/bsPage/bsRecord.vue index 31fd25d..308f29e 100644 --- a/pagesA/bsPage/bsRecord.vue +++ b/pagesA/bsPage/bsRecord.vue @@ -1,63 +1,130 @@ -