| | |
| | | |
| | | <a-divider type="vertical" /> |
| | | |
| | | <a @click="handleDetail(record)">发起流程</a> |
| | | <a v-if="record.flowStatus === '1'" @click="handleStartFlow(record)">发起流程</a> |
| | | |
| | | <a-divider type="vertical" /> |
| | | <a-divider v-if="record.flowStatus === '1'" type="vertical" /> |
| | | |
| | | <a @click="handleDetail(record)">详情</a> |
| | | |
| | |
| | | deleteBatch: "/dnc/guideCardBatch/deleteBatch", |
| | | exportXlsUrl: "/dnc/guideCardBatch/exportXls", |
| | | importExcelUrl: "dnc/guideCardBatch/importExcel", |
| | | startGuideCardBatch: "/dnc/guideCardBatch/startGuideCardBatch" |
| | | |
| | | }, |
| | | dictOptions:{}, |
| | |
| | | handleOpenPrintKnifeListModal(record){ |
| | | this.$refs.knifeListPrintModal.visible = true |
| | | this.$refs.knifeListPrintModal.detail = Object.assign({},record) |
| | | this.$refs.knifeListPrintModal.handleCutter(record.docId) |
| | | }, |
| | | |
| | | handleStartFlow(record){ |
| | | const that = this |
| | | that.$confirm({ |
| | | this: '提示', |
| | | content: `确认发起确认流程吗?`, |
| | | okText: '确认', |
| | | cancelText: '取消', |
| | | onOk: () => { |
| | | getAction(this.url.startGuideCardBatch,{id:record.id}).then(res => { |
| | | if (res.success) { |
| | | that.$notification.success({ |
| | | message: '消息', |
| | | description: res.message |
| | | }) |
| | | } else { |
| | | that.$notification.error({ |
| | | message: '消息', |
| | | description: res.message |
| | | }) |
| | | } |
| | | }) |
| | | .catch(err => { |
| | | that.$notification.error({ |
| | | message: '消息', |
| | | description: err.message |
| | | }) |
| | | }) |
| | | .finally(() => { |
| | | that.$destroyAll() |
| | | }) |
| | | }, |
| | | onCancel: () => { |
| | | that.$destroyAll() |
| | | } |
| | | }) |
| | | } |
| | | } |
| | | } |