xbot
This commit is contained in:
@@ -128,7 +128,7 @@ export default {
|
|||||||
return this.$u.toast('请输入手机号')
|
return this.$u.toast('请输入手机号')
|
||||||
}
|
}
|
||||||
this.flag = true
|
this.flag = true
|
||||||
this.$http.post(`/app/appresidentreportinfo/addByGirdMember`, {...this.forms, ...this.forms.mapInfo}).then((res) => {
|
this.$http.post(`/app/apppatrolreportinfo/addByGirdMember`, {...this.forms, ...this.forms.mapInfo}).then((res) => {
|
||||||
if (res.code == 0) {
|
if (res.code == 0) {
|
||||||
this.$u.toast('事件添加成功')
|
this.$u.toast('事件添加成功')
|
||||||
uni.$emit('getListInit')
|
uni.$emit('getListInit')
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div v-if="!isGridMember" class="empty">
|
<div v-if="!isGridMember" class="empty">
|
||||||
<img src="./components/img/no-admin.png" alt="">
|
<img src="./components/img/no-admin.png" alt="">
|
||||||
<p>没有网格员权限<br/>无法查看事件上报信息哦~</p>
|
<p>没有网格员权限<br/>无法查看巡查上报信息哦~</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
@@ -21,7 +21,7 @@ import {mapState} from 'vuex'
|
|||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'AppHandSnapshot',
|
name: 'AppHandSnapshot',
|
||||||
appName: '事件上报',
|
appName: '巡查上报',
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
component: 'List',
|
component: 'List',
|
||||||
@@ -72,7 +72,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
onShow() {
|
onShow() {
|
||||||
document.title = '事件上报'
|
document.title = '巡查上报'
|
||||||
uni.$on('hideTab', () => {
|
uni.$on('hideTab', () => {
|
||||||
this.isTab = false
|
this.isTab = false
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -111,7 +111,7 @@ export default {
|
|||||||
},
|
},
|
||||||
getList() {
|
getList() {
|
||||||
let {current, eventStatus, searchGrid: {id: girdId}} = this
|
let {current, eventStatus, searchGrid: {id: girdId}} = this
|
||||||
this.$http.post(`/app/appresidentreportinfo/listByGirdMember`, null, {
|
this.$http.post(`/app/apppatrolreportinfo/list`, null, {
|
||||||
params: {
|
params: {
|
||||||
size: 10,
|
size: 10,
|
||||||
current,
|
current,
|
||||||
|
|||||||
@@ -25,6 +25,10 @@
|
|||||||
<span>事件类型</span>
|
<span>事件类型</span>
|
||||||
<span class="types-right">{{ $dict.getLabel('xbotReportEventType', item.type)}}</span>
|
<span class="types-right">{{ $dict.getLabel('xbotReportEventType', item.type)}}</span>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="types">
|
||||||
|
<span>所属群聊</span>
|
||||||
|
<span class="types-right">{{ item.groupName }}</span>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="gards">
|
<div class="gards">
|
||||||
<span>上报时间</span>
|
<span>上报时间</span>
|
||||||
|
|||||||
Reference in New Issue
Block a user