diff --git a/src/views/modules/volunteer/activityArchive/add.vue b/src/views/modules/volunteer/activityArchive/add.vue index 735a39651..2ded9e146 100644 --- a/src/views/modules/volunteer/activityArchive/add.vue +++ b/src/views/modules/volunteer/activityArchive/add.vue @@ -57,7 +57,7 @@ -
+
@@ -104,17 +104,7 @@ - - - - -
-
- -
- - - +
+ + + + + + + + + + @@ -192,7 +192,10 @@ export default { latitude: this.$store.state.user.latitude,//纬度 type:"", online:0, - sponsors:[ + sponsors:[{ + name:"", + phone:"" + } ] }, @@ -258,6 +261,19 @@ export default { }, methods: { + //删除动态 + removeDomain(item) { + var index = this.formData.sponsors.indexOf(item) + if (index !== -1) { + this.formData.sponsors.splice(index, 1) + } + }, + //动态列表 + addDomain() { + console.log(this.formData.sponsors,this.tableDate,); + this.formData.sponsors.push(this.tableDate); + console.log(this.formData.sponsors,this.tableDate,); + }, //控制活动时间 actcontrolTime(){ console.log("dislfj"); diff --git a/src/views/modules/volunteer/activityArchive/index.vue b/src/views/modules/volunteer/activityArchive/index.vue index 026302cdd..37149c6db 100644 --- a/src/views/modules/volunteer/activityArchive/index.vue +++ b/src/views/modules/volunteer/activityArchive/index.vue @@ -124,10 +124,10 @@ import ActivityCountshow from "./Administration.vue" import Points from "./Points.vue" import selecthande from "./select.vue" - import realselect from "./realselect.vue" + import realselect from "./realselect.vue" export default { - components: {add,ActivityCountshow,Points,selecthande }, + components: {add,ActivityCountshow,Points,realselect }, data() { return { diff --git a/src/views/modules/volunteer/activityArchive/realselect.vue b/src/views/modules/volunteer/activityArchive/realselect.vue index be429c203..0a4c15db5 100644 --- a/src/views/modules/volunteer/activityArchive/realselect.vue +++ b/src/views/modules/volunteer/activityArchive/realselect.vue @@ -1,128 +1,116 @@ + + +