From bed3eee53f72f47f49b493772a4525e6c6b3e7be Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期三, 31 七月 2024 09:05:37 +0800
Subject: [PATCH] 修复bug
---
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