26419
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<ai-detail class="reportAtWillDetail">
|
<ai-detail class="reportAtWillDetail" v-loading="isLoading">
|
||||||
<template #title>
|
<template #title>
|
||||||
<ai-title title="事件详情" isShowBack isShowBottomBorder @onBackClick="cancel(false)">
|
<ai-title title="事件详情" isShowBack isShowBottomBorder @onBackClick="cancel(false)">
|
||||||
<template #rightBtn>
|
<template #rightBtn>
|
||||||
@@ -168,6 +168,7 @@
|
|||||||
girdMemberName: '',
|
girdMemberName: '',
|
||||||
name: ''
|
name: ''
|
||||||
},
|
},
|
||||||
|
isLoading: true,
|
||||||
name: '',
|
name: '',
|
||||||
detail: {},
|
detail: {},
|
||||||
isShowUser: false,
|
isShowUser: false,
|
||||||
@@ -188,7 +189,7 @@
|
|||||||
groupId: '',
|
groupId: '',
|
||||||
groupName: '',
|
groupName: '',
|
||||||
content: [],
|
content: [],
|
||||||
eventStatus: ''
|
eventStatus: '2'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -224,7 +225,10 @@
|
|||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.initMap()
|
this.initMap()
|
||||||
})
|
})
|
||||||
|
this.isLoading = false
|
||||||
}
|
}
|
||||||
|
}).catch(() => {
|
||||||
|
this.isLoading = false
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
@@ -80,8 +80,7 @@
|
|||||||
{prop: 'girdName', label: '所属网格', align: 'center'},
|
{prop: 'girdName', label: '所属网格', align: 'center'},
|
||||||
{prop: 'name', label: '上报居民', align: 'center'},
|
{prop: 'name', label: '上报居民', align: 'center'},
|
||||||
{prop: 'phone', label: '联系方式', align: 'center'},
|
{prop: 'phone', label: '联系方式', align: 'center'},
|
||||||
{prop: 'handleUserName', label: '处理时长', align: 'center'},
|
// {prop: 'handleUserName', label: '处理时长', align: 'center'},
|
||||||
{prop: 'handleTime', label: '处理时间', align: 'center'},
|
|
||||||
{slot: 'options'}
|
{slot: 'options'}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -10,14 +10,14 @@
|
|||||||
</template>
|
</template>
|
||||||
<template slot="right">
|
<template slot="right">
|
||||||
<el-input
|
<el-input
|
||||||
v-model="search.title"
|
v-model="search.groupName"
|
||||||
class="search-input"
|
class="search-input"
|
||||||
size="small"
|
size="small"
|
||||||
@keyup.enter.native="search.current = 1, getList()"
|
@keyup.enter.native="search.current = 1, getList()"
|
||||||
placeholder="请输入事件分类"
|
placeholder="请输入事件分组名称"
|
||||||
clearable
|
clearable
|
||||||
@change="getList"
|
@change="getList"
|
||||||
@clear="search.current = 1, search.title = '', getList()"
|
@clear="search.current = 1, search.groupName = '', getList()"
|
||||||
suffix-icon="iconfont iconSearch">
|
suffix-icon="iconfont iconSearch">
|
||||||
</el-input>
|
</el-input>
|
||||||
</template>
|
</template>
|
||||||
@@ -79,7 +79,7 @@
|
|||||||
search: {
|
search: {
|
||||||
current: 1,
|
current: 1,
|
||||||
size: 10,
|
size: 10,
|
||||||
title: ''
|
groupName: ''
|
||||||
},
|
},
|
||||||
form: {
|
form: {
|
||||||
groupName: '',
|
groupName: '',
|
||||||
@@ -131,6 +131,7 @@
|
|||||||
|
|
||||||
onClose () {
|
onClose () {
|
||||||
this.id = ''
|
this.id = ''
|
||||||
|
this.form.showIndex = ''
|
||||||
this.form.groupName = ''
|
this.form.groupName = ''
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
@@ -175,6 +175,12 @@
|
|||||||
item: this.keys[index]
|
item: this.keys[index]
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
for (let v of this.form.voteItems) {
|
||||||
|
if (!v.content) {
|
||||||
|
return this.$message.error(`请输入选项${v.item}的内容`)
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
this.instance.post(`/app/appvillagediscuss/addOrUpdate`, {
|
this.instance.post(`/app/appvillagediscuss/addOrUpdate`, {
|
||||||
|
|||||||
Reference in New Issue
Block a user