| | |
| | | type="vertical" |
| | | /> |
| | | <a @click="handleEdit(record)" v-if="record.auditStatus == 'created'">编辑</a> |
| | | <a @click="handleCommit(record,'approved')" v-if="record.auditStatus == 'submitted'">审批</a> |
| | | <a @click="handleCommit(record,'audited')" v-if="record.auditStatus == 'approved'">审核</a> |
| | | <a-popconfirm |
| | | v-if="record.auditStatus == 'submitted'" |
| | | title="确认通过审批吗?" |
| | | @confirm="() =>handleCommit(record, 'approved')" |
| | | > |
| | | <a>审批</a> |
| | | </a-popconfirm> |
| | | <a-popconfirm |
| | | v-if="record.auditStatus == 'approved'" |
| | | title="确认通过审核吗?" |
| | | @confirm="() =>handleCommit(record, 'audited')" |
| | | > |
| | | <a>审核</a> |
| | | </a-popconfirm> |
| | | <a-divider type="vertical" v-if="record.auditStatus == 'created' || record.auditStatus == 'submitted' || record.auditStatus == 'approved'"/> |
| | | <a-dropdown> |
| | | <a class="ant-dropdown-link">更多 <a-icon type="down" /></a> |