|
@@ -100,8 +100,8 @@
|
|
|
<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.REBACK === record.status && $auth('repair-application-forms-edit')"
|
|
|
- @click="handleEdit(record)" >修改</operation-button>
|
|
|
+ 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')"
|
|
|
+ @click="handleEdit(record)" >再次报修</operation-button>
|
|
|
<operation-button
|
|
|
v-show="dispatchFlag"
|
|
|
v-if="( DictCache.VALUE.REPAIR_APPLICATION_FORM_STATUS.REBACK === record.status ||
|
|
@@ -357,7 +357,7 @@ export default {
|
|
|
if (this.searchType === 3) {
|
|
|
this.allocatedFlag = true
|
|
|
}
|
|
|
- if (this.searchType === 1) {
|
|
|
+ if (this.searchType === 1 || this.searchType === -1) {
|
|
|
this.editFlag = true
|
|
|
}
|
|
|
/* if (repairModel === this.DictCache.VALUE.REPAIR_MODEL_TYPE.BASE_MODEL) {
|