事件上报

This commit is contained in:
liuye
2024-07-22 11:51:43 +08:00
parent f637e8c943
commit 0789bda44f
6 changed files with 23 additions and 18 deletions

View File

@@ -207,8 +207,8 @@ export default {
flex-wrap: wrap; flex-wrap: wrap;
.item { .item {
width: 29vw; width: 27vw;
height: 29vw; height: 27vw;
position: relative; position: relative;
padding: 0 2pt 2pt 0; padding: 0 2pt 2pt 0;
box-sizing: border-box; box-sizing: border-box;
@@ -225,8 +225,8 @@ export default {
} }
image,video { image,video {
width: 29vw; width: 27vw;
height: 29vw; height: 27vw;
} }
} }
} }
@@ -281,8 +281,8 @@ export default {
} }
.default { .default {
width: 30vw; width: 27vw;
height: 30vw; height: 27vw;
box-sizing: border-box; box-sizing: border-box;
border-radius: 8px; border-radius: 8px;
background: #f3f4f7; background: #f3f4f7;

View File

@@ -95,8 +95,6 @@ export default {
this.forms.girdName = this.user.girdInfos2G[0].girdName this.forms.girdName = this.user.girdInfos2G[0].girdName
this.forms.girdMemberId = this.user.girdMemberId this.forms.girdMemberId = this.user.girdMemberId
this.forms.girdMemberName = this.user.name this.forms.girdMemberName = this.user.name
},
onShow() {
this.forms.name = this.user.name this.forms.name = this.user.name
this.forms.phone = this.user.phone this.forms.phone = this.user.phone
}, },

View File

@@ -162,8 +162,8 @@ export default {
return list return list
} }
}, },
watch: {},
onLoad(o) { onLoad(o) {
uni.$emit('getListInit')
this.isShowBtn = o.isShowBtn == 1 ? true : false this.isShowBtn = o.isShowBtn == 1 ? true : false
this.id = o.id this.id = o.id
this.$dict.load('clapEventStatus','residentEventSource', 'residentReportDoStatus').then(() => { this.$dict.load('clapEventStatus','residentEventSource', 'residentReportDoStatus').then(() => {

View File

@@ -37,7 +37,7 @@
<span class="icon"></span> <span class="icon"></span>
<span>{{ $dict.getLabel('clapEventStatus', item.eventStatus) }}</span> <span>{{ $dict.getLabel('clapEventStatus', item.eventStatus) }}</span>
</div> </div>
<div class="level-type">中风险纠纷</div> <div class="level-type">{{item.createTime}}</div>
</div> </div>
</div> </div>
<AiEmpty v-if="!datas.length" /> <AiEmpty v-if="!datas.length" />
@@ -89,6 +89,14 @@ export default {
return this.$dict.getDict(this.currentTabs == 0 ? 'clapEventStatusAll' : 'clapEventStatusHistory') return this.$dict.getDict(this.currentTabs == 0 ? 'clapEventStatusAll' : 'clapEventStatusHistory')
} }
}, },
created() {
uni.$on('nextPage', () => {
this.nextPage()
})
uni.$on('getListInit', () => {
this.getListInit()
})
},
mounted() { mounted() {
this.searchGrid.girdId = this.user.girdId this.searchGrid.girdId = this.user.girdId
this.searchGrid.girdName = this.user.girdName this.searchGrid.girdName = this.user.girdName
@@ -96,12 +104,7 @@ export default {
this.getListInit() this.getListInit()
this.getIsAdd() this.getIsAdd()
}) })
uni.$on('nextPage', () => {
this.nextPage()
})
uni.$on('getListInit', () => {
this.nextPage()
})
}, },
methods: { methods: {
getListInit() { getListInit() {
@@ -349,6 +352,10 @@ export default {
} }
} }
.level-type {
color: #999;
}
.level-type0 { .level-type0 {
color: #52C75B; color: #52C75B;
} }

View File

@@ -332,7 +332,7 @@ export default {
.el-row { .el-row {
.item { .item {
display: inline-block; display: inline-block;
width: calc(50% - 8px); width: calc(50% - 9px);
padding: 24px; padding: 24px;
box-sizing: border-box; box-sizing: border-box;
background-color: #fff; background-color: #fff;

View File

@@ -121,7 +121,7 @@
<!-- <AiAreaPicker @select="v=>formData[item.fieldDbName]=v" :name.sync="formData[item.fieldDbName+'_name']" <!-- <AiAreaPicker @select="v=>formData[item.fieldDbName]=v" :name.sync="formData[item.fieldDbName+'_name']"
all :value="formData[item.fieldDbName]" :valueLevel="item.areaPattern" isForm/> --> all :value="formData[item.fieldDbName]" :valueLevel="item.areaPattern" isForm/> -->
<AiAreaPicker class="ai-area" v-model="formData[item.fieldDbName]" :fullName="formData[item.fieldDbName+'_name']" <AiAreaPicker class="ai-area" v-model="formData[item.fieldDbName]" :fullName="formData[item.fieldDbName+'_name']"
:valueLevel="item.areaPattern" :areaId="$areaId" > :valueLevel="item.areaPattern" :areaId="$areaId">
<div class="ai-area__wrapper"> <div class="ai-area__wrapper">
<span :style="formData[item.fieldDbName+'_name']? '' : 'color: #999'">{{ formData[item.fieldDbName+'_name'] || '请选择'}}</span> <span :style="formData[item.fieldDbName+'_name']? '' : 'color: #999'">{{ formData[item.fieldDbName+'_name'] || '请选择'}}</span>
<u-icon name="arrow-right" color="#999" size="22"></u-icon> <u-icon name="arrow-right" color="#999" size="22"></u-icon>