Browse Source

在非洲工作的问题

feature-xiaowang
是小王呀\24601 12 months ago
parent
commit
4512cc3235
  1. 12
      src/views/modules/volunteer/activityArchive/add.vue
  2. 2
      src/views/modules/volunteer/activityArchive/index.vue

12
src/views/modules/volunteer/activityArchive/add.vue

@ -271,8 +271,8 @@ export default {
linkman:"",
linkMobile:"",
address:"",
longitude: this.$store.state.user.longitude, //
latitude: this.$store.state.user.latitude,//
longitude:'', //
latitude: '',//
type:"",
online:0,
sponsors:[{
@ -337,12 +337,18 @@ export default {
this.formData.notQuota=1
}
console.log( this.formData.quota);
// console.log( this.formData.quota);
}
},
components: { fileList,Tinymce,UploadImage},
mounted () {
console.log(this.formData.latitude);
if (!this.formData.latitude || this.formData.latitude == "" || this.formData.latitude == "0") {
this.formData.latitude = 39.9088810666821;
this.formData.longitude = 116.39743841556731;
}
// this.startLoading()
// await this.loadInfo()
// this.endLoading()

2
src/views/modules/volunteer/activityArchive/index.vue

@ -232,7 +232,7 @@
endTime:this.formData.endTime,
online:this.formData.online
}
requestGet(url, params).then((res) => {
requestPost(url, params).then((res) => {
if (res.code == 0) {
this.total = res.data.total || 0;
this.tableData = res.data.list;

Loading…
Cancel
Save