|
|
|
|
@ -19,7 +19,10 @@ |
|
|
|
|
|
|
|
|
|
<el-row :gutter="10" class="mb8"> |
|
|
|
|
<el-col :span="1.5"> |
|
|
|
|
<el-button type="primary" plain icon="el-icon-plus" size="mini" @click="handleAdd" v-hasPermi="['device:deviceType:add']">新增</el-button> |
|
|
|
|
<el-button type="primary" plain icon="el-icon-plus" size="mini" @click="handleAdd" v-hasPermi="['device:supplier:add']">新增</el-button> |
|
|
|
|
</el-col> |
|
|
|
|
<el-col :span="1.5"> |
|
|
|
|
<el-button type="danger" plain icon="el-icon-delete" size="mini" :disabled="multiple" @click="handleDelete" v-hasPermi="['device:supplier:remove']">删除</el-button> |
|
|
|
|
</el-col> |
|
|
|
|
<!-- <right-toolbar :showSearch.sync="showSearch" @queryTable="getList" :columns="columns"></right-toolbar> --> |
|
|
|
|
</el-row> |
|
|
|
|
@ -34,7 +37,7 @@ |
|
|
|
|
<el-table-column label="供应商名称" align="center" key="name" prop="name" width="160" :show-overflow-tooltip="true" /> |
|
|
|
|
<el-table-column label="联系人" align="center" key="contactBy" prop="contactBy" width="120" /> |
|
|
|
|
<el-table-column label="联系方式" align="center" key="contactWay" prop="contactWay" width="120" /> |
|
|
|
|
<el-table-column label="描述" align="center" key="description" prop="description" width="120" /> |
|
|
|
|
<el-table-column label="描述" align="center" key="description" prop="description" /> |
|
|
|
|
<el-table-column label="创建人" align="center" key="createBy" prop="createBy" width="120" /> |
|
|
|
|
<el-table-column label="创建日期" align="center" prop="createTime" width="160"> |
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
@ -49,8 +52,8 @@ |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column label="操作" align="center" width="160" class-name="small-padding fixed-width"> |
|
|
|
|
<template slot-scope="scope" v-if="scope.row.id !== 1"> |
|
|
|
|
<el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" v-hasPermi="['device:deviceType:edit']">修改</el-button> |
|
|
|
|
<el-button size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)" v-hasPermi="['device:deviceType:remove']">删除</el-button> |
|
|
|
|
<el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" v-hasPermi="['device:supplier:edit']">修改</el-button> |
|
|
|
|
<el-button size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)" v-hasPermi="['device:supplier:remove']">删除</el-button> |
|
|
|
|
</template> |
|
|
|
|
</el-table-column> |
|
|
|
|
</el-table> |
|
|
|
|
|