From 7732ebccd5300343e723a62e99d652533f8e7d63 Mon Sep 17 00:00:00 2001
From: ZhangXianQiang <1135831638@qq.com>
Date: 星期五, 26 四月 2024 16:12:54 +0800
Subject: [PATCH] 环境切换

---
 src/views/system/point/index.vue |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/src/views/system/point/index.vue b/src/views/system/point/index.vue
index 5a84703..c8b775e 100644
--- a/src/views/system/point/index.vue
+++ b/src/views/system/point/index.vue
@@ -49,6 +49,7 @@
           size="mini"
           :disabled="single"
           @click="handleUpdate"
+          v-hasPermi="['point:edit']"
         >淇敼</el-button>
       </el-col>
       <el-col :span="1.5">
@@ -59,6 +60,7 @@
           size="mini"
           :disabled="multiple"
           @click="handleDelete"
+          v-hasPermi="['point:remove']"
         >鍒犻櫎</el-button>
       </el-col>
       <el-col :span="1.5">
@@ -68,6 +70,7 @@
           icon="el-icon-top"
           size="mini"
           @click="handleImportPoint"
+          v-hasPermi="['point:import']"
         >瀵煎叆鐐逛綅</el-button>
       </el-col>
       <el-col :span="1.5">
@@ -77,6 +80,7 @@
           icon="el-icon-receiving"
           size="mini"
           @click="handleEditBatch"
+          v-hasPermi="['point:edit']"
         >鎵归噺淇敼</el-button>
       </el-col>
       <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
@@ -84,7 +88,7 @@
 
     <el-table v-loading="loading" :data="pointList" @selection-change="handleSelectionChange">
       <el-table-column type="selection" width="55" align="center" />
-      <el-table-column label="鐐逛綅鍚嶇О" align="center" prop="pointName" />
+      <el-table-column label="鐐逛綅绫诲瀷" align="center" prop="pointType" />
       <el-table-column label="鏍囩" align="center" prop="tag" >
         <span>{{important}}</span>
       </el-table-column>
@@ -116,12 +120,14 @@
             type="text"
             icon="el-icon-edit"
             @click="handleUpdate(scope.row)"
+            v-hasPermi="['point:edit']"
           >淇敼</el-button>
           <el-button
             size="mini"
             type="text"
             icon="el-icon-delete"
             @click="handleDelete(scope.row)"
+            v-hasPermi="['point:remove']"
           >鍒犻櫎</el-button>
         </template>
       </el-table-column>

--
Gitblit v1.8.0