|
|
|
@ -2,7 +2,7 @@ |
|
|
|
<div class="g-main"> |
|
|
|
<div> |
|
|
|
<div class="m-table"> |
|
|
|
<div class="div_btn"><el-button size="small" type="primary " @click="handleAdd({}, 'add')">新增</el-button></div> |
|
|
|
<!-- <div class="div_btn"><el-button size="small" type="primary " @click="handleAdd({}, 'add')">新增</el-button></div> --> |
|
|
|
<el-table :data="tableData" border class="m-table-item" style="width: 100%" :height="maxTableHeight"> |
|
|
|
<!-- <el-table-column label="" fixed="left" type="selection" align="center" width="50" /> --> |
|
|
|
<el-table-column label="序号" fixed="left" type="index" align="center" width="50" /> |
|
|
|
@ -18,7 +18,7 @@ |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-button @click="handleHid(scope.row)" type="text" size="small" v-if="scope.row.usableFlag == '1'" class="">禁用</el-button> |
|
|
|
<el-button @click="handleHid(scope.row)" type="text" size="small" v-if="scope.row.usableFlag == '0'" class="">启用</el-button> |
|
|
|
<el-button style="margin-right: 10px" @click="handleAdd(scope.row, 'edit')" size="small" type="text">修改</el-button> |
|
|
|
<!-- <el-button style="margin-right: 10px" @click="handleAdd(scope.row, 'edit')" size="small" type="text">修改</el-button> --> |
|
|
|
<el-button style="margin-right: 10px" @click="handleDel(scope.row)" size="small" type="text">删除</el-button> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
|