Преглед на файлове

服务申请单/服务申请管理,附件删除功能权限调整

qymljy преди 8 месеца
родител
ревизия
21d28d5edd
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/components/attachment_list/index.vue

+ 1 - 1
src/components/attachment_list/index.vue

@@ -64,7 +64,7 @@
             >{{$t(`编 辑`)}}</el-button>
             <el-popconfirm :title="$t(`确定删除当前附件吗`)+'?'" :confirm-button-text="$t('确定')" :cancel-button-text="$t('取消')" @confirm="deleteAttachment(scope.row)">
               <el-button
-                :disabled="onlyread || status === '已失败' || status === '已结案' || scope.row.usetype === 'undelete' || attachmentDisabled || disabled"
+                :disabled="onlyread || status === '已失败' || status === '已结案' || scope.row.usetype === 'undelete' || attachmentDisabled || disabled || ($route.path == '/serveBillDetail' && status != '新建') || ($route.path == '/serveBillMagDetail' && status != '新建')"
                 v-if="!onlyread && status !== '已失败' && status !== '已结案' && scope.row.usetype !== 'undelete' && !attachmentDisabled"
                 slot="reference"
                 size="small"