luowei 1 an în urmă
părinte
comite
e6f037f8ea

+ 4 - 4
src/views/core/accessPlan/index.vue

@@ -238,7 +238,7 @@
                     (scope.row.planStatus == 0 || scope.row.planStatus == 2)
                   "
                   @click="handDistribute(scope.row)"
-                  v-hasPermi="['core:accessPlan:add']"
+                  v-hasPermi="['core:accessPlan:release']"
                   >下发
                 </el-button>
                 <el-button
@@ -252,6 +252,7 @@
                     scope.row.parentId == null
                   "
                   @click="handWithdraw(scope.row)"
+                  v-hasPermi="['core:accessPlan:withdraw']"
                   >撤回
                 </el-button>
                 <el-button
@@ -259,7 +260,7 @@
                   type="text"
                   icon="el-icon-edit-outline"
                   @click="handleUpdate(scope.row)"
-                  v-if="scope.row.orgId == isEdit && check == true"
+                  v-if="scope.row.orgId == isEdit"
                   v-hasPermi="['core:accessPlan:edit', 'core:accessPlan:query']"
                   >编辑
                 </el-button>
@@ -269,8 +270,7 @@
                   type="text"
                   v-if="
                     scope.row.parentOrgId == isEdit &&
-                    scope.row.parentId == null &&
-                    check == true
+                    scope.row.parentId == null 
                   "
                   icon="el-icon-delete"
                   @click="handleDelete(scope.row)"

+ 1 - 1
src/views/resumptionEvaluate/evaluate/index.vue

@@ -176,7 +176,7 @@
                 <el-button
                   size="mini"
                   @click="publishHandler(row)"
-                  v-hasPermi="['core:evaluatePlan:add']"
+                  v-hasPermi="['core:evaluatePlan:distribute']"
                   type="text"
                   v-if="row.orgId == isEdit && row.status == 0"
                   :class="