Browse Source

公开表决新增为0

dev
是小王呀\24601 1 year ago
parent
commit
9e24ba4e1b
  1. 9
      src/views/event/index.vue

9
src/views/event/index.vue

@ -130,7 +130,6 @@ export default {
this.longitude = position.lng
this.latitude = position.lat
this.address = position.city + position.addr
console.log('定位成功', position)
},
locationChange(data) {
this.longitude = data.latlng.lng
@ -139,7 +138,6 @@ export default {
this.ifRange(this.longitude,this.latitude)
},
ifRange(longitude,latitude){
console.log(longitude,latitude,'经纬度');
let parm={
latitude,
longitude,
@ -159,17 +157,14 @@ export default {
},
errorPosition() {
console.log('定位失败,再次进行定位')
},
clickUpload() {
},
setAudio(val) {
console.log(val, 'this.val')
this.isFile = false
this.audio = val
},
afterRead(file) {
console.log(file)
file.status = 'uploading'
file.message = '上传中...'
uploadvariedfile(file.file)
@ -177,7 +172,6 @@ export default {
file.status = ''
file.message = '上传成功'
file.url = res.data.url
console.log(this.fileList)
// this.uploadFileList.push(res.url)
})
@ -216,7 +210,8 @@ export default {
reporterMobile: this.phone,
eventContent: this.eventContent ? this.eventContent : '语音报事',
userId: this.$store.state.app.userInfo.userId,
customerId: this.$store.state.app.userInfo.customerId
customerId: this.$store.state.app.userInfo.customerId,
openFlag : 0
}).then(() => {
this.$toast.success('提交成功')
this.type = 1

Loading…
Cancel
Save