| | |
| | | > |
| | | <template slot="menuLeft"> |
| | | <el-button |
| | | type="danger" |
| | | |
| | | size="small" |
| | | icon="el-icon-delete" |
| | | plain |
| | |
| | | </template> |
| | | |
| | | <template slot-scope="{type,size, row}" slot="menu"> |
| | | <el-button icon="el-icon-check" :size="size" :type="type" @click="setReal(row)">接收</el-button> |
| | | <el-button |
| | | v-if="row.type != 1" |
| | | icon="el-icon-check" :size="size" :type="type" @click="setReal(row)">接收</el-button> |
| | | </template> |
| | | |
| | | <template slot-scope="{ row }" slot="type"> |
| | |
| | | rowDel(row) { |
| | | this.$confirm("确定将选择数据删除?", { |
| | | confirmButtonText: "确定", |
| | | cancelButtonText: "取消", |
| | | type: "warning", |
| | | cancelButtonText: "取消", type: "warning", |
| | | }) |
| | | .then(() => { |
| | | return remove(row.id); |