Commit 859f89a5 authored by wangqinghua's avatar wangqinghua

bug

parent d8012852
...@@ -121,11 +121,9 @@ ...@@ -121,11 +121,9 @@
prop="address" prop="address"
label="操作"> label="操作">
<template slot-scope="scope"> <template slot-scope="scope">
<span class="font-size-20"> <span class="font-size-20 pointer">
<router-link to="/meetManage"> <i @click="handleEdit(scope.row,scope.$index)" class="el-icon-edit-outline margin-right-10"></i>
<i class="el-icon-edit-outline margin-right-10"></i> <i @click="handleDelete(scope.row,scope.$index)" class="el-icon-delete"></i>
</router-link>
<i class="el-icon-delete"></i>
</span> </span>
</template> </template>
</el-table-column> </el-table-column>
...@@ -246,6 +244,28 @@ ...@@ -246,6 +244,28 @@
} }
) )
}, },
//编辑意向或议程
handleEdit(row,index){
},
//删除意向或议程
handleDelete(row,index){
if(row.type == "agenda"){
this.form.agendaList.forEach((e,index)=>{
if(e.id == row.id){
this.form.agendaList.splice(index,1)
}
})
}
if(row.type == "intention"){
this.form.intentionList.forEach((e,index)=>{
if(e.id == row.id){
this.form.intentionList.splice(index,1)
}
})
}
this.tableData.splice(index,1)
},
//保存 //保存
save(){ save(){
this.form.agendaList = []; this.form.agendaList = [];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment