Commit d0ad590b authored by 盖献康's avatar 盖献康

Merge remote-tracking branch 'origin/master'

parents 104a294a 59251f2c
...@@ -120,7 +120,7 @@ export const constantRoutes = [ ...@@ -120,7 +120,7 @@ export const constantRoutes = [
}, },
{ {
path: 'equipment-detail/:id', path: 'equipment-detail/:id/:identify',
props: true, props: true,
component: () => import('@/views/equipment-management/equipment-management/equipment-detail'), component: () => import('@/views/equipment-management/equipment-management/equipment-detail'),
name: 'EquipmentDetail', name: 'EquipmentDetail',
......
...@@ -70,7 +70,7 @@ ...@@ -70,7 +70,7 @@
<el-row> <el-row>
<el-col :span="12" style="padding-bottom: 20px;"> <el-col :span="12" style="padding-bottom: 20px;">
<el-button <el-button
v-hasPermi="['system:device:add']" v-hasPermi="['business:device:add']"
class="fourWordsBtn" class="fourWordsBtn"
icon="el-icon-plus" icon="el-icon-plus"
@click="handleAdd" @click="handleAdd"
...@@ -89,14 +89,14 @@ ...@@ -89,14 +89,14 @@
>反向选择 >反向选择
</el-button> </el-button>
<el-button <el-button
v-hasPermi="['system:device:import']" v-hasPermi="['business:device:import']"
class="fourWordsBtn" class="fourWordsBtn"
icon="el-icon-bottom-left" icon="el-icon-bottom-left"
@click="handleImport" @click="handleImport"
>批量导入 >批量导入
</el-button> </el-button>
<el-button <el-button
v-hasPermi="['system:device:export']" v-hasPermi="['business:device:export']"
class="fourWordsBtn" class="fourWordsBtn"
icon="el-icon-top-right" icon="el-icon-top-right"
@click="handleExport" @click="handleExport"
...@@ -169,7 +169,7 @@ ...@@ -169,7 +169,7 @@
<el-table-column label="操作" align="center" width="200" class-name="small-padding fixed-width"> <el-table-column label="操作" align="center" width="200" class-name="small-padding fixed-width">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button <el-button
v-hasPermi="['system:device:edit']" v-hasPermi="['business:device:edit']"
size="mini" size="mini"
type="success" type="success"
icon="el-icon-document" icon="el-icon-document"
...@@ -179,7 +179,7 @@ ...@@ -179,7 +179,7 @@
>详情 >详情
</el-button> </el-button>
<el-button <el-button
v-hasPermi="['system:device:edit']" v-hasPermi="['business:device:edit']"
plain plain
size="mini" size="mini"
type="success" type="success"
......
...@@ -88,7 +88,7 @@ ...@@ -88,7 +88,7 @@
</el-col> </el-col>
</el-row> </el-row>
<el-table ref="table" v-loading="loading" :data="userList" border :row-key="getRowKeys" @selection-change="handleSelectionChange" @select-all="selectAll($event, false)"> <el-table ref="table" v-loading="loading" :data="userList" border :row-key="getRowKeys" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" align="center" :reserve-selection="true" /> <el-table-column type="selection" width="55" align="center" :reserve-selection="true" />
<el-table-column type="index" label="序号" width="50" /> <el-table-column type="index" label="序号" width="50" />
<el-table-column label="设备ID" align="left" prop="deviceCode" :show-overflow-tooltip="true" /> <el-table-column label="设备ID" align="left" prop="deviceCode" :show-overflow-tooltip="true" />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment