From 6cde03a3ede89b4dfe95938d6e405b38ba4b1ab1 Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期四, 09 五月 2024 10:28:07 +0800
Subject: [PATCH] 最新版本

---
 admin/src/views/business/visits.vue |   27 ++++++++++++++-------------
 1 files changed, 14 insertions(+), 13 deletions(-)

diff --git a/admin/src/views/business/visits.vue b/admin/src/views/business/visits.vue
index 99866d0..3c8cfb4 100644
--- a/admin/src/views/business/visits.vue
+++ b/admin/src/views/business/visits.vue
@@ -119,6 +119,7 @@
 import TableLayout from '@/layouts/TableLayout'
 import Pagination from '@/components/common/Pagination'
 import OperaVisitsDesWindow from '@/components/business/OperaVisitsDesWindow'
+import {level, visitCancel} from "@/api/business/staging";
 
 export default {
   name: 'Visits',
@@ -145,36 +146,36 @@
     this.search()
   },
   methods: {
-    departure(id) {
+    departure (id) {
       this.$confirm('纭畾绂诲満鍚�, 鏄惁缁х画?', '鎻愮ず', {
         confirmButtonText: '纭畾',
         cancelButtonText: '鍙栨秷',
         type: 'warning'
       }).then(() => {
         level(id)
-            .then(res => {
-              this.page = 1
-              this.getData()
-            })
+          .then(res => {
+            this.page = 1
+            this.getData()
+          })
       }).catch(() => {
 
-      });
+      })
     },
-    cancel(id) {
+    cancel (id) {
       this.$confirm('纭畾鍙栨秷棰勭害鍚�, 鏄惁缁х画?', '鎻愮ず', {
         confirmButtonText: '纭畾',
         cancelButtonText: '鍙栨秷',
         type: 'warning'
       }).then(() => {
         visitCancel(id)
-            .then(res => {
-              this.page = 1
-              this.getData()
-            })
+          .then(res => {
+            this.page = 1
+            this.getData()
+          })
       }).catch(() => {
 
-      });
-    },
+      })
+    }
   }
 }
 </script>

--
Gitblit v1.9.3