|
|
@@ -152,7 +152,7 @@
|
|
|
<el-col :span="12">
|
|
|
<el-form-item label="城市:">
|
|
|
<el-cascader style="width:100%;"
|
|
|
- v-model="form.city" :props='props'
|
|
|
+ v-model="form.citys" :props='props'
|
|
|
:options="cityList"
|
|
|
@change="handleChangeCity">
|
|
|
</el-cascader>
|
|
|
@@ -316,13 +316,13 @@ export default {
|
|
|
// form.organizer_name=this.organizerList.filter(item=>item.id==form.organizer_id)[0].name
|
|
|
console.log(form)
|
|
|
if(this.id){
|
|
|
- this.$api.putActivity(form).then(res=>{
|
|
|
+ this.$api.updateActivity(form).then(res=>{
|
|
|
if(res.data.code == 0){
|
|
|
this.$message({
|
|
|
message: '修改成功',
|
|
|
type: 'success'
|
|
|
})
|
|
|
- this.$router.push({path:'/conference/conference'})
|
|
|
+ this.$router.push({path:'/learning/activity'})
|
|
|
}else{
|
|
|
this.$message({
|
|
|
message: res.data.message,
|
|
|
@@ -337,7 +337,7 @@ export default {
|
|
|
message: '发布成功',
|
|
|
type: 'success'
|
|
|
})
|
|
|
- this.$router.push({path:'/conference/conference'})
|
|
|
+ this.$router.push({path:'/learning/activity'})
|
|
|
}else{
|
|
|
this.$message({
|
|
|
message: res.data.message,
|