From 7e83361fc6e7efbae2be5443830716603df586f2 Mon Sep 17 00:00:00 2001
From: RogerWork
Date: Tue, 26 Dec 2023 10:26:46 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=95=B0=E6=8D=AE=E7=BB=93?=
=?UTF-8?q?=E6=9E=84?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/mock/index.vue | 101 ++++++++++++++++++---------------------
1 file changed, 47 insertions(+), 54 deletions(-)
diff --git a/src/views/mock/index.vue b/src/views/mock/index.vue
index efac58f..cb6dbb5 100644
--- a/src/views/mock/index.vue
+++ b/src/views/mock/index.vue
@@ -29,36 +29,29 @@ const select_ip = ref('')
const checkAll = ref(false)
const isIndeterminate = ref(false)
const checkedMockConfig = ref([])
-const mockConfigItems = ['download_film_info', 'get_cinema_info', 'get_screen_info']
+const mockConfigItems = ['download_film_info', 'get_cinema_info', 'get_screen_info', 'report_ticket',
+ 'report_film_schedule', 'upload_screen_seat_info', 'get_overtime_ticket_status', 'valid_error']
const mockConfig = ref(
[
{
label: '数据下载',
- items: [
- {
- key: 'download_film_info',
- name: '影片信息下载接口'
- }, {
- key: 'get_cinema_info',
- name: '影院信息下载接口'
- }, {
- key: 'get_screen_info',
- name: '影厅信息下载接口'
- }
- ]
+ items: [{key: 'download_film_info', name: '影片信息下载接口'},
+ {key: 'get_cinema_info', name: '影院信息下载接口'},
+ {key: 'get_screen_info', name: '影厅信息下载接口'}]
}, {
label: '数据上报',
- items: ['report_ticket', 'report_film_schedule', 'upload_screen_seat_info']
+ items: [{key: 'report_ticket', name: '票房数据上报接口'},
+ {key: 'report_film_schedule', name: '排片数据上报接口'},
+ {key: 'upload_screen_seat_info', name: '座位信息上报接口'}]
}, {
label: '超时票务审核',
- items: ['get_overtime_ticket_status']
+ items: [{key: 'get_overtime_ticket_status', name: '超时票务受理情况查询接口'},]
}, {
label: '数据查询',
- items: ['valid_error']
+ items: [{key: 'valid_error', name: '数据清洗错误查询接口'},]
}
- ]
-)
+ ])
async function get_cinema_items() {
cinema_items = []
@@ -151,8 +144,8 @@ onMounted(
@@ -161,47 +154,47 @@ onMounted(
- {{api.name}}
+ {{ api.name }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+