瀏覽代碼

bug修复

chenrui 4 年之前
父節點
當前提交
3fc564af17
共有 1 個文件被更改,包括 18 次插入1 次删除
  1. 18 1
      src/views/allocationManagement/chainTransferIn/list.vue

+ 18 - 1
src/views/allocationManagement/chainTransferIn/list.vue

@@ -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 => {