| | |
| | | <template> |
| | | <a-card :bordered="false"> |
| | | <a-card :bordered="false" title="设备处置"> |
| | | <!-- 查询区域 --> |
| | | <div class="table-page-search-wrapper"> |
| | | <a-form layout="inline" @keyup.enter.native="searchQuery"> |
| | |
| | | slot-scope="text, record" |
| | | > |
| | | <a-popconfirm |
| | | v-if="record.auditStatus == 'notSubmitted'" |
| | | v-if="record.auditStatus == 'notSubmitted'||record.auditStatus =='Rejected'" |
| | | title="确认提交吗?" |
| | | @confirm="() =>handleCommit(record,'commit')" |
| | | > |
| | |
| | | </a-popconfirm> |
| | | |
| | | <a-divider |
| | | v-if="record.auditStatus == 'notSubmitted' || record.auditStatus == 'pendingApproval'" |
| | | v-if="record.auditStatus == 'notSubmitted' || record.auditStatus == 'pendingApproval'||record.auditStatus =='Rejected'" |
| | | type="vertical" |
| | | /> |
| | | <a |
| | | v-if="record.auditStatus == 'notSubmitted' " |
| | | v-if="record.auditStatus == 'notSubmitted'||record.auditStatus =='Rejected' " |
| | | @click="handleEdit(record)" |
| | | >编辑</a> |
| | | <a v-if="record.auditStatus == 'pendingApproval'" @click="handleApprove(record)">审批</a> |
| | | <a-divider |
| | | v-if="record.auditStatus == 'notSubmitted' || record.auditStatus == 'pendingApproval'" |
| | | v-if="record.auditStatus == 'notSubmitted' || record.auditStatus == 'pendingApproval'||record.auditStatus =='Rejected'" |
| | | type="vertical" |
| | | /> |
| | | <a-dropdown> |