This commit is contained in:
liuye
2024-08-09 15:48:29 +08:00
parent a8e19a89ea
commit 73aaf6f2e3
2 changed files with 3 additions and 9 deletions

View File

@@ -135,7 +135,7 @@ export default {
this.flag = true this.flag = true
this.$http.post(`/app/apppatrolreportinfov2/addByGirdMember`, {...this.forms, ...this.forms.mapInfo}).then((res) => { this.$http.post(`/app/apppatrolreportinfov2/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')
setTimeout(() => { setTimeout(() => {
uni.navigateBack() uni.navigateBack()

View File

@@ -35,16 +35,10 @@ export default {
text: '待办', text: '待办',
component: 'List', component: 'List',
}, },
{
img: require('./components/img/handle-icon.png'),
activeImg: require('./components/img/handle-icon-active.png'),
text: '历史',
component: 'List',
},
{ {
img: require('./components/img/statistics-icon.png'), img: require('./components/img/statistics-icon.png'),
activeImg: require('./components/img/statistics-icon-active.png'), activeImg: require('./components/img/statistics-icon-active.png'),
text: '统计', text: '统计分析',
component: 'Statistics', component: 'Statistics',
}, },
], ],
@@ -78,7 +72,7 @@ export default {
} }
}, },
onShow() { onShow() {
document.title = '巡查上报' document.title = '工单管理'
uni.$on('hideTab', () => { uni.$on('hideTab', () => {
this.isTab = false this.isTab = false
}) })