重写页面
This commit is contained in:
@@ -3,37 +3,34 @@
|
||||
<u-navbar title="走访详情" back-icon-color="#fff" title-color="#fff" title-width="300" title-size="36" :border-bottom="false" :background="backgroundNavbar"> </u-navbar>
|
||||
|
||||
<div class="header-top">
|
||||
<div class="hint">花园小区1栋101脱贫攻坚走访——沙堡村李维民</div>
|
||||
<div class="hint">{{ data.title }}</div>
|
||||
|
||||
<div class="walk-item">
|
||||
<span>走访对象:</span>
|
||||
<span>李维民</span>
|
||||
<span>{{ data.createUserName }}</span>
|
||||
</div>
|
||||
|
||||
<div class="walk-item">
|
||||
<div class="walk-item" v-if="data.reality">
|
||||
<span>现实状态:</span>
|
||||
<span>李维民</span>
|
||||
<span>{{ $dict.getLabel('realityStatus', data.reality) }} </span>
|
||||
</div>
|
||||
|
||||
<div class="walk-item">
|
||||
<span>走访人员:</span>
|
||||
<span>李维民</span>
|
||||
<span>{{ data.createUserName }}</span>
|
||||
</div>
|
||||
|
||||
<div class="walk-item">
|
||||
<span>走访时间:</span>
|
||||
<span>2021-12-28 14:00</span>
|
||||
<span>{{ data.createTime }}</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="header-middle">
|
||||
<div class="hint-con">本次议事会通过“7步议事法”即收集意见、确认议题、制定方案、发布公告、组织协商、结果运用、反馈公示的模拟方式,进行协商讨论,并教授议事会成员自如运用议事措施开展后续落地计划的学习性和功能性会议。 组织协商、结果运用、反馈公示的模拟方式,进行协商讨论,并教授议事会成员自如运用议事措施开展后续落地计划的线上学习性和功能性会议。作为基层民主自治的新亮点,已经全面铺开的互联网+“议事大厅”使得三联村成功走出了一条集思广益、民主决策和村民自治的新路子。</div>
|
||||
<div class="hint-con" v-if="data.description">{{ data.description }}</div>
|
||||
|
||||
<div class="imgs">
|
||||
<img src="./components/images/天使彦5.jpg" alt="" />
|
||||
<img src="./components/images/天使彦5.jpg" alt="" />
|
||||
<img src="./components/images/天使彦5.jpg" alt="" />
|
||||
<img src="./components/images/天使彦5.jpg" alt="" />
|
||||
<img :src="item.url" alt="" v-for="(item, index) in data.images" :key="index" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -45,7 +42,9 @@
|
||||
export default {
|
||||
name: 'detail',
|
||||
components: {},
|
||||
props: {},
|
||||
props: {
|
||||
params: {},
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
data: {},
|
||||
@@ -56,14 +55,19 @@ export default {
|
||||
},
|
||||
computed: {},
|
||||
created() {
|
||||
this.getDetail()
|
||||
this.$dict.load('realityStatus').then(() => {
|
||||
this.getDetail()
|
||||
})
|
||||
},
|
||||
mounted() {},
|
||||
methods: {
|
||||
getDetail() {
|
||||
this.$http.post(`/app/appvisitvondolence/queryDetailById?id=${this.id}`).then((res) => {
|
||||
this.$http.post(`/app/appvisitvondolence/queryDetailById?id=${this.params.id}`).then((res) => {
|
||||
if (res?.data) {
|
||||
this.data = res.data
|
||||
if (this.data.images) {
|
||||
this.data.images = JSON.parse(this.data.images || '[]')
|
||||
}
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user