Browse Source

已驳回的报修单不显示修改按钮问题

3254194295 2 years ago
parent
commit
bebc49a1fc
1 changed files with 5 additions and 1 deletions
  1. 5 1
      src/views/repair/application-form/RepairForm.vue

+ 5 - 1
src/views/repair/application-form/RepairForm.vue

@@ -100,8 +100,12 @@
             <a @click="handleView(record)">查看</a>
             <operation-button
               v-show="editFlag"
-              v-if="DictCache.VALUE.REPAIR_APPLICATION_FORM_STATUS.NOT_ALLOCATED === record.status || DictCache.VALUE.REPAIR_APPLICATION_FORM_STATUS.REFUSED_REPAIR === record.status && $auth('repair-application-forms-edit')"
+              v-if="DictCache.VALUE.REPAIR_APPLICATION_FORM_STATUS.REFUSED_REPAIR === record.status && $auth('repair-application-forms-edit')"
               @click="handleEdit(record)" >再次报修</operation-button>
+            <operation-button
+              v-show="editFlag"
+              v-if="DictCache.VALUE.REPAIR_APPLICATION_FORM_STATUS.NOT_ALLOCATED === record.status && $auth('repair-application-forms-edit')"
+              @click="handleEdit(record)" >修改</operation-button>
             <operation-button
               v-show="dispatchFlag"
               v-if="( DictCache.VALUE.REPAIR_APPLICATION_FORM_STATUS.REBACK === record.status ||