This commit is contained in:
liuye
2024-08-15 13:42:49 +08:00
parent cd4529c172
commit 8498eb39ad
2 changed files with 7 additions and 3 deletions

View File

@@ -120,7 +120,7 @@ export default {
// this.forms.typeName = item.dictName
// }
// })
this.selectGird = { girdId: res.data.girdId|| '', girdName: res.data.girdName || ''}
// this.selectGird = { girdId: res.data.girdId|| '', girdName: res.data.girdName || ''}
}
})
},
@@ -160,7 +160,7 @@ export default {
var url = this.id ? '/app/apppatrolreportinfov2/update' : '/app/apppatrolreportinfov2/addByGirdMember'
this.$http.post(`${url}`, {...this.forms, ...this.forms.mapInfo}).then((res) => {
if (res.code == 0) {
this.$u.toast('上报成功')
this.$u.toast(this.id ? '编辑成功' : '上报成功')
uni.$emit('getListInit')
if(this.id) {
uni.$emit('updateDeatil')

View File

@@ -33,10 +33,14 @@
<span class="types-right">{{ item.groupName }}</span>
</div>
<div class="gards">
<div class="gards" v-if="item.eventSource == 0 || item.eventSource == 1">
<span>所属网格</span>
<span class="gards-right">{{ item.girdName }}</span>
</div>
<div class="gards" v-else>
<span>所属群聊</span>
<span class="gards-right">{{ item.wxGroupName }}</span>
</div>
</div>
<div class="status" :class="item.eventStatus == 0 ? 'status0' : item.eventStatus == 1 ? 'status1' : item.eventStatus == 2 ? 'status2' : 'status3'"