|
@@ -126,7 +126,7 @@
|
|
|
import moment from 'moment'
|
|
|
import getDate from '@/libs/getDate.js'
|
|
|
import { STable, VSelect } from '@/components'
|
|
|
-import { allocLinkagePutList, allocLinkagePutAudit, allocLinkagePutSubmit } from '@/api/allocLinkagePut'
|
|
|
+import { allocLinkagePutList, allocLinkagePutAudit } from '@/api/allocLinkagePut'
|
|
|
import { getTenantList } from '@/api/allocLinkageOut'
|
|
|
export default {
|
|
|
components: { STable, VSelect },
|
|
@@ -208,6 +208,23 @@ export default {
|
|
|
handleEdit (row) {
|
|
|
this.$router.push({ path: `/allocationManagement/chainTransferIn/edit/${row.id}/${row.allocationLinkagePutSn}` })
|
|
|
},
|
|
|
+ // 审核
|
|
|
+ handleExamine (row) {
|
|
|
+ const _this = this
|
|
|
+ this.$confirm({
|
|
|
+ title: '提示',
|
|
|
+ content: '确认要审核通过吗?',
|
|
|
+ centered: true,
|
|
|
+ onOk () {
|
|
|
+ allocLinkagePutAudit({ sn: row.allocationLinkagePutSn }).then(res => {
|
|
|
+ if (res.status == 200) {
|
|
|
+ _this.$message.success(res.message)
|
|
|
+ _this.$refs.table.refresh()
|
|
|
+ }
|
|
|
+ })
|
|
|
+ }
|
|
|
+ })
|
|
|
+ },
|
|
|
// 调出对象
|
|
|
getPutTenantList () {
|
|
|
getTenantList({}).then(res => {
|