Commit 859f89a5 authored by wangqinghua's avatar wangqinghua

bug

parent d8012852
......@@ -121,11 +121,9 @@
prop="address"
label="操作">
<template slot-scope="scope">
<span class="font-size-20">
<router-link to="/meetManage">
<i class="el-icon-edit-outline margin-right-10"></i>
</router-link>
<i class="el-icon-delete"></i>
<span class="font-size-20 pointer">
<i @click="handleEdit(scope.row,scope.$index)" class="el-icon-edit-outline margin-right-10"></i>
<i @click="handleDelete(scope.row,scope.$index)" class="el-icon-delete"></i>
</span>
</template>
</el-table-column>
......@@ -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(){
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