Selaa lähdekoodia

预案演练任务代码提交

jingyuanchao 2 vuotta sitten
vanhempi
commit
d6c9f7e4d0
1 muutettua tiedostoa jossa 5 lisäystä ja 5 poistoa
  1. 5 5
      src/views/core/drill/plan/index.vue

+ 5 - 5
src/views/core/drill/plan/index.vue

@@ -49,7 +49,7 @@
         <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="['core:plan:add']">新增
+                       v-hasPermi="['core:drillPlan:add']">新增
             </el-button>
           </el-col>
           <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
@@ -92,17 +92,17 @@
           </el-table-column>
           <el-table-column label="演练次数" align="center" prop="execTimes"/>
           <el-table-column label="备注" align="center" prop="remark"/>
-          <el-table-column label="修改人" align="center" width="100" prop="updateBy"/>        
+          <el-table-column label="修改人" align="center" width="100" prop="updateBy"/>
           <el-table-column label="操作" align="center" width="180" fixed="right" class-name="small-padding fixed-width">
             <template slot-scope="scope">
               <el-button v-if="checkCanPublish(scope.row)" size="mini" type="text" icon="el-icon-edit"
-                         @click="handlePublish(scope.row)" v-hasPermi="['core:plan:publish']">下发
+                         @click="handlePublish(scope.row)" v-hasPermi="['core:drillPlan:publish']">下发
               </el-button>
               <el-button v-if="checkCanEdit(scope.row)" size="mini" type="text" icon="el-icon-edit"
-                         @click="handleUpdate(scope.row)" v-hasPermi="['core:plan:edit']">修改
+                         @click="handleUpdate(scope.row)" v-hasPermi="['core:drillPlan:edit']">修改
               </el-button>
               <el-button v-if="checkCanDel(scope.row)" size="mini" type="text" icon="el-icon-delete"
-                         @click="handleDelete(scope.row)" v-hasPermi="['core:plan:remove']">删除
+                         @click="handleDelete(scope.row)" v-hasPermi="['core:drillPlan:remove']">删除
               </el-button>
             </template>
           </el-table-column>