事件上报

This commit is contained in:
liuye
2023-05-08 17:56:39 +08:00
parent a25da8f889
commit 5b57142d7d
7 changed files with 359 additions and 38 deletions

View File

@@ -17,7 +17,7 @@
<div class="card">
<span class="card-left">事件来源</span>
<span class="card-right">{{ data.groupName }}</span>
<span class="card-right">{{ $dict.getLabel('residentEventSource', data.eventSource) }}</span>
</div>
<div class="card">
<span class="card-left">事件类型</span>
@@ -96,12 +96,12 @@
<div class="fixedBtn">
<div class="status00" v-if="data.eventStatus == 0">
<div class="columns border-r" @click="toContent(1)">
<!-- <img src="./components/img/zhuanjiao.png" alt="" /> -->
<img src="./components/img/zhuanjiao.png" alt="" />
<span class="hint">转交事件</span>
</div>
<div class="columns" @click="toContent(2)">
<!-- <img src="./components/img/jujue.png" alt="" /> -->
<img src="./components/img/jujue.png" alt="" />
<span class="hint">拒绝受理</span>
</div>
@@ -159,7 +159,7 @@ export default {
watch: {},
onLoad(o) {
this.id = o.id
this.$dict.load('realityStatus', 'clapDoStatus').then(() => {
this.$dict.load('realityStatus', 'clapDoStatus', 'residentEventSource').then(() => {
this.getDetail()
})
@@ -168,11 +168,11 @@ export default {
})
},
onShow() {
document.title = this.user.corpId == 'wpytYEDgAACQq2uZ5x54MvlJ9fgvSPXQ' ? '微心愿' : '随手拍'
document.title = '事件上报'
},
methods: {
getDetail() {
this.$http.post(`/app/appclapeventinfo/queryDetailById?id=${this.id}`).then((res) => {
this.$http.post(`/app/appresidentreportinfo/queryDetailById?id=${this.id}`).then((res) => {
if (res?.data) {
this.data = res.data
}
@@ -184,7 +184,7 @@ export default {
},
doThings() {
this.$http.post(`/app/appclapeventinfo/acceptance?id=${this.id}`).then((res) => {
this.$http.post(`/app/appresidentreportinfo/finishByGirdMember?id=${this.id}&eventStatus=1`).then((res) => {
if (res.code == 0) {
this.getDetail()
}