|  |  |  | 
|---|
|  |  |  | </el-table-column> | 
|---|
|  |  |  | <el-table-column label="操作" min-width="130" fixed="right"> | 
|---|
|  |  |  | <template slot-scope="{row}"> | 
|---|
|  |  |  | <el-button type="text" @click="handleDetail(row)" v-permissions="['business:category:update']">查看详情</el-button> | 
|---|
|  |  |  | <el-button type="text" @click="handleDetail(row)" | 
|---|
|  |  |  | v-permissions="['business:category:update']">查看详情</el-button> | 
|---|
|  |  |  | <el-button type="text" @click="handleEdit(row)" icon="el-icon-edit" | 
|---|
|  |  |  | v-permissions="['business:category:update']">编辑</el-button> | 
|---|
|  |  |  | <el-button type="text" @click="handleDel(row)" icon="el-icon-delete" | 
|---|
|  |  |  | 
|---|
|  |  |  | this.$nextTick(() => { | 
|---|
|  |  |  | this.$refs.EditRef.isShowModal = true | 
|---|
|  |  |  | if (row && row.id) { | 
|---|
|  |  |  | console.log('---') | 
|---|
|  |  |  |  | 
|---|
|  |  |  | this.$refs.EditRef.getDetail(row.id) | 
|---|
|  |  |  | } | 
|---|
|  |  |  | }) | 
|---|
|  |  |  | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | handleSizeChange(capacity) { | 
|---|
|  |  |  | this.pagination.pageSize = capacity | 
|---|
|  |  |  | this.getList() | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|