工单
This commit is contained in:
@@ -120,7 +120,7 @@ export default {
|
|||||||
// this.forms.typeName = item.dictName
|
// 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'
|
var url = this.id ? '/app/apppatrolreportinfov2/update' : '/app/apppatrolreportinfov2/addByGirdMember'
|
||||||
this.$http.post(`${url}`, {...this.forms, ...this.forms.mapInfo}).then((res) => {
|
this.$http.post(`${url}`, {...this.forms, ...this.forms.mapInfo}).then((res) => {
|
||||||
if (res.code == 0) {
|
if (res.code == 0) {
|
||||||
this.$u.toast('上报成功')
|
this.$u.toast(this.id ? '编辑成功' : '上报成功')
|
||||||
uni.$emit('getListInit')
|
uni.$emit('getListInit')
|
||||||
if(this.id) {
|
if(this.id) {
|
||||||
uni.$emit('updateDeatil')
|
uni.$emit('updateDeatil')
|
||||||
|
|||||||
@@ -33,10 +33,14 @@
|
|||||||
<span class="types-right">{{ item.groupName }}</span>
|
<span class="types-right">{{ item.groupName }}</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="gards">
|
<div class="gards" v-if="item.eventSource == 0 || item.eventSource == 1">
|
||||||
<span>所属网格</span>
|
<span>所属网格</span>
|
||||||
<span class="gards-right">{{ item.girdName }}</span>
|
<span class="gards-right">{{ item.girdName }}</span>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="gards" v-else>
|
||||||
|
<span>所属群聊</span>
|
||||||
|
<span class="gards-right">{{ item.wxGroupName }}</span>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="status" :class="item.eventStatus == 0 ? 'status0' : item.eventStatus == 1 ? 'status1' : item.eventStatus == 2 ? 'status2' : 'status3'"
|
<div class="status" :class="item.eventStatus == 0 ? 'status0' : item.eventStatus == 1 ? 'status1' : item.eventStatus == 2 ? 'status2' : 'status3'"
|
||||||
|
|||||||
Reference in New Issue
Block a user