|
@@ -299,6 +299,14 @@
|
|
|
<a-button style="margin-left: 8px" type="primary" @click="handleCancel">返回</a-button>
|
|
|
<a-button v-show="model.status===15 || model.status===17 || model.status === 19 " style="margin-left: 8px" type="primary" @click="handleCheck">审核</a-button>
|
|
|
<a-button v-show="model.status===20" style="margin-left: 8px" type="primary" @click="handleCheck">再次发起审核</a-button>
|
|
|
+ <a-button v-if="$auth('repair-application-forms-examine') && DictCache.VALUE.REPAIR_APPLICATION_FORM_STATUS.PROCESSING === model.status" style="margin-left: 8px" type="default" @click="handleFinish()">完成维修</a-button>
|
|
|
+ <a-button v-if="DictCache.VALUE.REPAIR_APPLICATION_FORM_STATUS.PROCESSING === model.status" style="margin-left: 8px" type="default" @click="handleViewTicket()">维修票证</a-button>
|
|
|
+ <a-popconfirm v-if="$auth('repair-application-forms-finish') && (DictCache.VALUE.REPAIR_APPLICATION_FORM_STATUS.WAIT_SUBMIT === model.status)" title="是否要结单?" @confirm="handleExamine">
|
|
|
+ <a-button style="margin-left: 8px" type="default">结单</a-button>
|
|
|
+ </a-popconfirm>
|
|
|
+ <a-popconfirm v-if="DictCache.VALUE.REPAIR_APPLICATION_FORM_STATUS.FINISHED === model.status" title="是否要关闭工单?" @confirm="handleClose">
|
|
|
+ <a-button :loading="confirmLoading" style="margin-left: 8px" type="default">关闭工单</a-button>
|
|
|
+ </a-popconfirm>
|
|
|
</div>
|
|
|
</div>
|
|
|
<check-form ref="checkForm" @ok="handleOk" />
|
|
@@ -603,7 +611,7 @@ export default {
|
|
|
ellipsis: true,
|
|
|
width: '100px',
|
|
|
customRender: (text, record, index) => {
|
|
|
- if (text === 1) {
|
|
|
+ if (text === 1 || text == 3) {
|
|
|
return '维修审核'
|
|
|
} else if (text === 2) {
|
|
|
return '报修审核'
|