邻里互助
This commit is contained in:
		| @@ -63,6 +63,7 @@ | ||||
|           picUrl: '', | ||||
|           status: '1', | ||||
|         }, | ||||
|         isFlag: false | ||||
|       } | ||||
|     }, | ||||
|  | ||||
| @@ -88,8 +89,10 @@ | ||||
|       }, | ||||
|  | ||||
|       confirm () { | ||||
|         if(this.isFlag) return | ||||
|         this.$refs.form.validate((valid) => { | ||||
|           if (valid) { | ||||
|             this.isFlag = true | ||||
|             this.instance.post(`/app/appneighborhoodassistancetheme/addOrUpdate`, { | ||||
|               ...this.form, | ||||
|               picUrl: this.form.files[0].url | ||||
|   | ||||
| @@ -69,10 +69,10 @@ | ||||
|         colConfigs: [ | ||||
|           { prop: 'title',  label: '话题名称', align: 'left', width: '200' }, | ||||
|           { prop: 'description',  label: '话题描述', align: 'left'}, | ||||
|           { prop: 'createUserName',  label: '创建人', align: 'center', width: '120' }, | ||||
|           { prop: 'createTime',  label: '创建时间', align: 'center', width: '180' }, | ||||
|           { prop: 'partakeCount',  label: '参与话题数', align: 'center', width: '120' }, | ||||
|           { prop: 'showIndex',  label: '排序', align: 'center', width: '120' }, | ||||
|           { prop: 'createUserName',  label: '创建人', align: 'center', width: '120' }, | ||||
|           { prop: 'createTime',  label: '创建时间', align: 'center', width: '180' }, | ||||
|           { slot: 'status'}, | ||||
|           { slot: 'options'}, | ||||
|         ], | ||||
| @@ -99,7 +99,7 @@ | ||||
|       }, | ||||
|  | ||||
|       remove (id) { | ||||
|         this.$confirm('确定删除该活动?').then(() => { | ||||
|         this.$confirm('确定删除该话题?').then(() => { | ||||
|           this.instance.post(`/app/appneighborhoodassistancetheme/delete?ids=${id}`).then(res => { | ||||
|             if (res.code == 0) { | ||||
|               this.$message.success('删除成功!') | ||||
|   | ||||
		Reference in New Issue
	
	Block a user