Pārlūkot izejas kodu

页面顶部 编辑删除按钮删除

jingyuanchao 2 gadi atpakaļ
vecāks
revīzija
6d862359a2

+ 2 - 2
src/views/core/drill/drillDictionary/index.vue

@@ -35,7 +35,7 @@
             >新增
             </el-button>
           </el-col>
-          <el-col :span="1.5">
+<!--          <el-col :span="1.5">
             <el-button
               type="warning"
               plain
@@ -45,7 +45,7 @@
               v-hasPermi="['core:drillDictionary:export']"
             >导出
             </el-button>
-          </el-col>
+          </el-col>-->
           <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
         </el-row>
 

+ 22 - 22
src/views/core/edu/plan/index.vue

@@ -52,27 +52,27 @@
                        v-hasPermi="['core:plan:add']">新增
             </el-button>
           </el-col>
-          <el-col :span="1.5">
-            <el-button type="success" plain icon="el-icon-edit" size="mini" :disabled="single" @click="handleUpdate"
-                       v-hasPermi="['core:plan:edit']">修改
-            </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="['core:plan:remove']">删除
-            </el-button>
-          </el-col>
-          <!--        <el-col :span="1.5">
-                  <el-button
-                    type="warning"
-                    plain
-                    icon="el-icon-download"
-                    size="mini"
-                    @click="handleExport"
-                    v-hasPermi="['core:plan:export']"
-                  >导出
-                  </el-button>
-                </el-col>-->
+          <!--   <el-col :span="1.5">
+               <el-button type="success" plain icon="el-icon-edit" size="mini" :disabled="single" @click="handleUpdate"
+                          v-hasPermi="['core:plan:edit']">修改
+               </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="['core:plan:remove']">删除
+               </el-button>
+             </el-col>
+                     <el-col :span="1.5">
+                     <el-button
+                       type="warning"
+                       plain
+                       icon="el-icon-download"
+                       size="mini"
+                       @click="handleExport"
+                       v-hasPermi="['core:plan:export']"
+                     >导出
+                     </el-button>
+                   </el-col>-->
           <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
         </el-row>
 
@@ -404,7 +404,7 @@ export default {
     },
     //所属机构为当前用户登录机构时才显示 “编辑、删除”按钮
     checkCanEdit(row) {
-      return row.belongOrgId === this.$store.getters.orgId
+      return row.belongOrgId == this.$store.getters.orgId
     },
     checkCanDel(row) {
       //计划创建机构为当前机构且不是顶级机构创建的计划才显示“删除”按钮

+ 2 - 2
src/views/core/knowledge/index.vue

@@ -28,7 +28,7 @@
           v-hasPermi="['core:knowledge:add']"
         >新增</el-button>
       </el-col>
-      <el-col :span="1.5">
+<!--      <el-col :span="1.5">
         <el-button
           type="success"
           plain
@@ -48,7 +48,7 @@
           :disabled="multiple"
           @click="handleDelete"
           v-hasPermi="['core:knowledge:remove']"
-        >删除</el-button>
+        >删除</el-button>-->
       </el-col>
       <el-col :span="1.5">
 <!--        <el-button

+ 11 - 11
src/views/core/materials/index.vue

@@ -54,7 +54,7 @@
             >新增
             </el-button>
           </el-col>
-          <el-col :span="1.5">
+<!--          <el-col :span="1.5">
             <el-button
               type="success"
               plain
@@ -79,16 +79,16 @@
             </el-button>
           </el-col>
           <el-col :span="1.5">
-            <!--            <el-button
-                          type="warning"
-                          plain
-                          icon="el-icon-download"
-                          size="mini"
-                          @click="handleExport"
-                          v-hasPermi="['core:materials:export']"
-                        >导出
-                        </el-button>-->
-          </el-col>
+            <el-button
+              type="warning"
+              plain
+              icon="el-icon-download"
+              size="mini"
+              @click="handleExport"
+              v-hasPermi="['core:materials:export']"
+            >导出
+            </el-button>
+          </el-col>-->
           <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
         </el-row>
         <!-- 表格数据 -->