eventStatus
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
<div class="form-item form-item__imgs">
|
||||
<div class="form-item__wrapper">
|
||||
<div class="form-item__title">
|
||||
<i style="opacity: 0;">*</i>
|
||||
<i style="opacity: 0">*</i>
|
||||
<h2>图片上传</h2>
|
||||
<span>(最多9张)</span>
|
||||
</div>
|
||||
@@ -60,7 +60,7 @@
|
||||
<i>*</i>
|
||||
<h2>上报网格</h2>
|
||||
</div>
|
||||
<div class="form-item__right" @click="showSelect= true">
|
||||
<div class="form-item__right" @click="showSelect = true">
|
||||
<span v-if="form.girdName">{{ form.girdName }}</span>
|
||||
<i v-else>请选择</i>
|
||||
<u-icon name="arrow-right" color="#ddd" />
|
||||
@@ -75,8 +75,8 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="flow-option">
|
||||
<div class="byself" :class="!form.opts? 'current': ''" @click="form.opts = 0">自己办结</div>
|
||||
<div class="report" :class="form.opts? 'current': ''" @click="form.opts = 1">上报处理</div>
|
||||
<div class="byself" :class="!form.opts ? 'current' : ''" @click="form.opts = 0">自己办结</div>
|
||||
<div class="report" :class="form.opts ? 'current' : ''" @click="form.opts = 1">上报处理</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -99,7 +99,7 @@
|
||||
<div class="form-item form-item__imgs">
|
||||
<div class="form-item__wrapper">
|
||||
<div class="form-item__title">
|
||||
<i style="opacity: 0;">*</i>
|
||||
<i style="opacity: 0">*</i>
|
||||
<h2>图片上传</h2>
|
||||
<span>(最多9张)</span>
|
||||
</div>
|
||||
@@ -112,17 +112,16 @@
|
||||
</div>
|
||||
<div class="btn" @click="submit">上报</div>
|
||||
|
||||
<u-select v-model="showSelect" :list="girdList" label-name="girdName" value-name="id" @confirm="confirmSelect"/>
|
||||
|
||||
<u-select v-model="showSelect" :list="girdList" label-name="girdName" value-name="id" @confirm="confirmSelect" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { mapState } from 'vuex'
|
||||
import { mapState } from 'vuex'
|
||||
|
||||
export default {
|
||||
export default {
|
||||
appName: '矛盾调解',
|
||||
data () {
|
||||
data() {
|
||||
return {
|
||||
isShowType: false,
|
||||
form: {
|
||||
@@ -139,7 +138,7 @@
|
||||
opts: 1,
|
||||
name: '',
|
||||
lat: '',
|
||||
lng: ''
|
||||
lng: '',
|
||||
},
|
||||
dictList: [],
|
||||
arr: [],
|
||||
@@ -149,10 +148,10 @@
|
||||
},
|
||||
|
||||
computed: {
|
||||
...mapState(['user'])
|
||||
...mapState(['user']),
|
||||
},
|
||||
|
||||
onLoad () {
|
||||
onLoad() {
|
||||
this.getDict()
|
||||
this.form.phone = this.user.phone
|
||||
this.form.name = this.user.name || ''
|
||||
@@ -160,46 +159,46 @@
|
||||
},
|
||||
|
||||
methods: {
|
||||
chooseAddress () {
|
||||
chooseAddress() {
|
||||
uni.chooseLocation({
|
||||
success: (res) => {
|
||||
this.form.address = res.address
|
||||
this.form.lat = res.latitude
|
||||
this.form.lng = res.longitude
|
||||
}
|
||||
});
|
||||
},
|
||||
})
|
||||
},
|
||||
|
||||
confirmSelect(e) {
|
||||
this.form.girdId = e[0].value
|
||||
this.girdList.map((item) => {
|
||||
if(item.id == this.form.girdId) {
|
||||
if (item.id == this.form.girdId) {
|
||||
this.form.girdName = item.girdName
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
getDict () {
|
||||
this.$http.post(`/app/appclapeventgroup/list`).then(res => {
|
||||
getDict() {
|
||||
this.$http.post(`/app/appclapeventgroup/list`).then((res) => {
|
||||
if (res.code == 0) {
|
||||
this.dictList = res.data.records.map(v => {
|
||||
this.dictList = res.data.records.map((v) => {
|
||||
return {
|
||||
value: v.id,
|
||||
label: v.groupName
|
||||
label: v.groupName,
|
||||
}
|
||||
})
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
getGirdData (x) {
|
||||
getGirdData(x) {
|
||||
if (x > -1) {
|
||||
this.$set(this.gridList, '1', this.arr[0].girdList[x].girdList)
|
||||
}
|
||||
},
|
||||
|
||||
getGirdList () {
|
||||
this.$http.post(`/app/appgirdmemberinfo/queryMyGirdListByLevel2AndUser`).then(res => {
|
||||
getGirdList() {
|
||||
this.$http.post(`/app/appgirdmemberinfo/queryMyGirdListByLevel2AndUser`).then((res) => {
|
||||
if (res.code == 0) {
|
||||
this.arr = res.data
|
||||
this.girdList = res.data
|
||||
@@ -207,7 +206,7 @@
|
||||
})
|
||||
},
|
||||
|
||||
onColumnChange (e) {
|
||||
onColumnChange(e) {
|
||||
const column = e.detail.column
|
||||
const value = e.detail.value
|
||||
|
||||
@@ -216,7 +215,7 @@
|
||||
}
|
||||
},
|
||||
|
||||
onChange (e) {
|
||||
onChange(e) {
|
||||
const v = e.detail.value[1]
|
||||
if (this.gridList[1][v]) {
|
||||
this.form.girdName = this.gridList[1][v].girdName
|
||||
@@ -226,7 +225,7 @@
|
||||
}
|
||||
},
|
||||
|
||||
submit () {
|
||||
submit() {
|
||||
if (!this.form.content) {
|
||||
return this.$u.toast('请输入事件描述')
|
||||
}
|
||||
@@ -245,14 +244,17 @@
|
||||
}
|
||||
}
|
||||
|
||||
if(this.flag) return
|
||||
if (this.flag) return
|
||||
this.flag = true
|
||||
|
||||
this.$http.post(`/app/appclapeventinfo/addOrUpdate?`, {
|
||||
this.$http
|
||||
.post(`/app/appclapeventinfo/addOrUpdate?`, {
|
||||
...this.form,
|
||||
files: this.form.files,
|
||||
groupName: this.dictList.filter(v => v.value === this.form.groupId)[0].label
|
||||
}).then(res => {
|
||||
groupName: this.dictList.filter((v) => v.value === this.form.groupId)[0].label,
|
||||
eventStatus: this.form.opts == 0 ? '2' : '0',
|
||||
})
|
||||
.then((res) => {
|
||||
this.$u.toast('上报成功')
|
||||
this.flag = false
|
||||
if (res.code == 0) {
|
||||
@@ -262,13 +264,13 @@
|
||||
}, 600)
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
.album {
|
||||
.album {
|
||||
padding-bottom: 140px;
|
||||
|
||||
.form-item__group {
|
||||
@@ -291,7 +293,7 @@
|
||||
justify-content: space-between;
|
||||
height: 128px;
|
||||
padding-right: 28px;
|
||||
border-bottom: 1px solid #DDDDDD;
|
||||
border-bottom: 1px solid #dddddd;
|
||||
|
||||
input {
|
||||
flex: 1;
|
||||
@@ -305,7 +307,6 @@
|
||||
align-items: center;
|
||||
font-size: 32px;
|
||||
|
||||
|
||||
span {
|
||||
max-width: 400px;
|
||||
margin-right: 8px;
|
||||
@@ -336,7 +337,7 @@
|
||||
|
||||
i {
|
||||
font-size: 30px;
|
||||
color: #FF4466;
|
||||
color: #ff4466;
|
||||
}
|
||||
|
||||
span {
|
||||
@@ -352,8 +353,8 @@
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
&.form-item__imgs, &.form-item__textarea {
|
||||
&.form-item__imgs,
|
||||
&.form-item__textarea {
|
||||
.form-item__wrapper {
|
||||
display: block;
|
||||
height: auto;
|
||||
@@ -388,7 +389,7 @@
|
||||
.report {
|
||||
height: 112px;
|
||||
width: 45%;
|
||||
background: #F5F5F5;
|
||||
background: #f5f5f5;
|
||||
line-height: 112px;
|
||||
text-align: center;
|
||||
font-size: 30px;
|
||||
@@ -398,7 +399,7 @@
|
||||
color: #1174fe;
|
||||
background: #e7f1fe !important;
|
||||
position: relative;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.btn {
|
||||
@@ -406,10 +407,10 @@
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
height: 120px;
|
||||
background: #3975C6;
|
||||
background: #3975c6;
|
||||
line-height: 120px;
|
||||
text-align: center;
|
||||
color: #FFFFFF;
|
||||
}
|
||||
color: #ffffff;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
<div class="right">
|
||||
<!-- {{ data.name }} -->
|
||||
<div class="names"><AiOpenData v-if="data.name" type="userName" :openid="data.name"/>的上报</div>
|
||||
<div class="names"><AiOpenData v-if="data.name" type="userName" :openid="data.name" />的上报</div>
|
||||
|
||||
<div class="times">{{ data.createTime }}</div>
|
||||
</div>
|
||||
@@ -42,7 +42,7 @@
|
||||
</div>
|
||||
|
||||
<div class="cards">
|
||||
<span class="card-left" style="color:#999">照片</span>
|
||||
<span class="card-left" style="color: #999">照片</span>
|
||||
</div>
|
||||
|
||||
<img :src="item.url" alt="" v-for="(item, i) in data.files" :key="i" @click="previewImage(data.files, item.url)" />
|
||||
@@ -72,7 +72,7 @@
|
||||
<div class="cardsss-right-left">
|
||||
<div class="cardssss-right-left-top">
|
||||
<!-- <span>{{ item.systemExplain }}</span> -->
|
||||
<AiOpenData v-if="item.systemExplain" type="userName" :openid="item.systemExplain"/>
|
||||
<AiOpenData v-if="item.systemExplain" type="userName" :openid="item.systemExplain" />
|
||||
<div style="color: #2ea222; font-size: 16px; margin-top: 5px">
|
||||
{{ $dict.getLabel('clapDoStatus', item.doStatus) }}
|
||||
</div>
|
||||
@@ -110,6 +110,8 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { mapState } from 'vuex'
|
||||
|
||||
export default {
|
||||
name: 'Detail',
|
||||
components: {},
|
||||
@@ -122,7 +124,9 @@ export default {
|
||||
showPage: false,
|
||||
}
|
||||
},
|
||||
computed: {},
|
||||
computed: {
|
||||
...mapState(['user']),
|
||||
},
|
||||
watch: {},
|
||||
onLoad(o) {
|
||||
this.$dict.load('realityStatus', 'clapDoStatus').then(() => {
|
||||
@@ -156,8 +160,8 @@ export default {
|
||||
},
|
||||
previewImage(images, img) {
|
||||
uni.previewImage({
|
||||
urls: images.map(v => v.url),
|
||||
current: img
|
||||
urls: images.map((v) => v.url),
|
||||
current: img,
|
||||
})
|
||||
},
|
||||
},
|
||||
|
||||
25
src/saas/AppConflictMediation/myReply.vue
Normal file
25
src/saas/AppConflictMediation/myReply.vue
Normal file
@@ -0,0 +1,25 @@
|
||||
<template>
|
||||
<div class="myReply">1</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: 'myReply',
|
||||
components: {},
|
||||
props: {},
|
||||
data() {
|
||||
return {}
|
||||
},
|
||||
computed: {},
|
||||
watch: {},
|
||||
onLoad() {},
|
||||
onShow() {},
|
||||
methods: {},
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped lang="scss">
|
||||
.myReply {
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user