| | |
| | | > |
| | | <a>撤回</a> |
| | | </a-popconfirm> |
| | | <a-popconfirm |
| | | <!-- <a-popconfirm |
| | | v-if="record.auditStatus == 'submitted' || record.auditStatus == 'approved'" |
| | | title="确认驳回吗?" |
| | | @confirm="() =>handleCommit(record, 'back')" |
| | | > |
| | | <a>驳回</a> |
| | | </a-popconfirm> |
| | | </a-popconfirm> --> |
| | | <a-divider |
| | | v-if="record.auditStatus == 'created' || record.auditStatus == 'submitted'" |
| | | type="vertical" |
| | | /> |
| | | <a @click="handleEdit(record)" v-if="record.auditStatus == 'created'">编辑</a> |
| | | <a-popconfirm |
| | | <a-divider |
| | | v-if="record.auditStatus == 'created'" |
| | | type="vertical" |
| | | /> |
| | | <a |
| | | v-show="record.auditStatus == 'submitted'" |
| | | @click="handleFinish(record)" |
| | | v-has="'OperationCertificateApply:operationCertificateAudit'" |
| | | >审核</a> |
| | | <a |
| | | v-show="record.auditStatus == 'approved'" |
| | | @click="handleFinish(record)" |
| | | v-has="'OperationCertificateApply:equipmentAdmin'" |
| | | >审核</a> |
| | | <!-- <a-popconfirm |
| | | v-if="record.auditStatus == 'submitted'" |
| | | title="确认通过审批吗?" |
| | | @confirm="() =>handleCommit(record, 'approved')" |
| | |
| | | @confirm="() =>handleCommit(record, 'audited')" |
| | | > |
| | | <a>审核</a> |
| | | </a-popconfirm> |
| | | </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> |
| | |
| | | </a-tabs> |
| | | |
| | | <operation-certificate-apply-modal ref="modalForm" @ok="modalFormOk" /> |
| | | <operation-certificate-apply-audit ref="modalFormAudit" @ok="modalFormOk" /> |
| | | </a-card> |
| | | </template> |
| | | |
| | |
| | | |
| | | import { JeecgListMixin } from '@/mixins/JeecgListMixin' |
| | | import OperationCertificateApplyModal from './modules/operationCertificateApply/OperationCertificateApplyModal' |
| | | import OperationCertificateApplyAudit from './modules/operationCertificateApply/OperationCertificateApplyAudit' |
| | | import {filterMultiDictText} from '@/components/dict/JDictSelectUtil' |
| | | import { getAction, postAction } from '@/api/manage' |
| | | import OperationCertificateApplyDetailList from './modules/operationCertificateApply/OperationCertificateApplyDetailList' |
| | |
| | | mixins:[JeecgListMixin], |
| | | components: { |
| | | OperationCertificateApplyModal, |
| | | OperationCertificateApplyDetailList |
| | | OperationCertificateApplyDetailList, |
| | | OperationCertificateApplyAudit |
| | | }, |
| | | data () { |
| | | return { |
| | |
| | | this.$refs.modalForm.disableSubmit = false; |
| | | this.$refs.modalForm.isAchievement = true; |
| | | }, |
| | | handleFinish: function (record) { |
| | | this.$refs.modalFormAudit.edit(record); |
| | | this.$refs.modalFormAudit.title = "操作证申请审核"; |
| | | this.$refs.modalFormAudit.disableSubmit = true; |
| | | }, |
| | | onSelectChange(selectedRowKeys, selectionRows) { |
| | | if (selectedRowKeys.length == 1) { |
| | | |