Browse Source

按钮权限

zhouhao 2 years ago
parent
commit
b9e0942a99
2 changed files with 2 additions and 8 deletions
  1. 1 5
      src/views/supply/apply/apply_list.vue
  2. 1 3
      src/views/supply/apply/engin_list.vue

+ 1 - 5
src/views/supply/apply/apply_list.vue

@@ -463,11 +463,7 @@
                   v-if="
                     $checkBtnRole('del', $route.meta.roles) &&
                     ((!scope.row.automaticStatus &&
-                    scope.row.examineStatus !== 'OK') ||(
-                     scope.row.automaticStatus &&
-                     scope.row.examineStatus !== 'OK' &&
-                     scope.row.type===2
-                    ))
+                    scope.row.examineStatus !== 'OK') )
                   "
                   style="margin-left: 10px"
                   title="确定删除吗?"

+ 1 - 3
src/views/supply/apply/engin_list.vue

@@ -489,9 +489,7 @@
                 <!--             !scope.row.automaticStatus &&  -->
                 <el-popconfirm
                   v-if="$checkBtnRole('del', $route.meta.roles) &&
-( (!scope.row.automaticStatus && scope.row.examineStatus !== 'OK') || (scope.row.automaticStatus &&
-                     scope.row.examineStatus !== 'OK' &&
-                     scope.row.type===2))"
+( (!scope.row.automaticStatus && scope.row.examineStatus !== 'OK'))"
                   style="margin-left: 10px"
                   title="确定删除吗?"
                   @onConfirm="handleDelete(scope.row.id)"