浏览代码

标签管理页将不可新增

Sanmu8 1 年之前
父节点
当前提交
ed231e2948
共有 2 个文件被更改,包括 7 次插入7 次删除
  1. 5 5
      src/views/CONTACTUS/index.vue
  2. 2 2
      src/views/MARK/index.vue

+ 5 - 5
src/views/CONTACTUS/index.vue

@@ -17,15 +17,15 @@
     </el-form>
 
     <el-row :gutter="10" class="mb8">
-      <el-col :span="1.5">
+      <!-- <el-col :span="1.5">
         <el-button type="primary" icon="el-icon-plus" @click="handleAdd" v-hasPermi="['business:CONTACTUS:add']">新增</el-button>
-      </el-col>
+      </el-col> -->
       <el-col :span="1.5">
         <el-button type="success" icon="el-icon-edit" :disabled="single" @click="handleUpdate" v-hasPermi="['business:CONTACTUS:edit']">修改</el-button>
       </el-col>
-      <el-col :span="1.5">
+      <!-- <el-col :span="1.5">
         <el-button type="danger" icon="el-icon-delete" :disabled="multiple" @click="handleDelete" v-hasPermi="['business:CONTACTUS:remove']">删除</el-button>
-      </el-col>
+      </el-col> -->
       <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
     </el-row>
 
@@ -65,7 +65,7 @@
       <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
         <template slot-scope="scope">
           <el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" v-hasPermi="['business:CONTACTUS:edit']">修改</el-button>
-          <el-button size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)" v-hasPermi="['business:CONTACTUS:remove']">删除</el-button>
+          <!-- <el-button size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)" v-hasPermi="['business:CONTACTUS:remove']">删除</el-button> -->
         </template>
       </el-table-column>
     </el-table>

+ 2 - 2
src/views/MARK/index.vue

@@ -11,9 +11,9 @@
     </el-form>
 
     <el-row :gutter="10" class="mb8">
-      <el-col :span="1.5">
+      <!-- <el-col :span="1.5">
         <el-button type="primary" icon="el-icon-plus" @click="handleAdd" v-hasPermi="['business:MARK:add']">新增</el-button>
-      </el-col>
+      </el-col> -->
       <el-col :span="1.5">
         <el-button type="success" icon="el-icon-edit" :disabled="single" @click="handleUpdate" v-hasPermi="['business:MARK:edit']">修改</el-button>
       </el-col>