| | |
| | | @current-change="currentChange" @size-change="sizeChange" @refresh-change="refreshChange" @on-load="onLoad"> |
| | | |
| | | <template slot-scope="{row, size}" slot="menu"> |
| | | <el-button type="text" :size="size" icon="el-icon-view" plain @click="lookDetail(row, 0)">查 看 |
| | | <el-button type="text" :size="size" icon="el-icon-view" v-if="permission.place_view" plain @click="lookDetail(row, 0)">查 看 |
| | | </el-button> |
| | | <el-button type="text" :size="size" icon="el-icon-s-check" v-if="row.status == 1" plain |
| | | <el-button type="text" :size="size" icon="el-icon-s-check" v-if="permission.place_check && row.status == 1" plain |
| | | @click="lookDetail(row, 1)">审 核 |
| | | </el-button> |
| | | <el-button type="text" :size="size" icon="el-icon-delete" plain @click="rowDel(row)">删 除 |
| | | <el-button type="text" :size="size" icon="el-icon-delete" v-if="permission.place_del" plain @click="rowDel(row)">删 除 |
| | | </el-button> |
| | | </template> |
| | | |
| | |
| | | return { |
| | | addBtn: this.vaildData(this.permission.place_add, false), |
| | | viewBtn: this.vaildData(this.permission.place_view, true), |
| | | delBtn: this.vaildData(this.permission.place_delete, true), |
| | | editBtn: this.vaildData(this.permission.place_edit, true), |
| | | delBtn: this.vaildData(this.permission.place_del, true), |
| | | // editBtn: this.vaildData(this.permission.place_edit, true), |
| | | } |
| | | }, |
| | | ids() { |