From d52b853be4629b321ce9af45b000bc23bfe02839 Mon Sep 17 00:00:00 2001 From: yunkexin <760754045@qq.com> Date: Thu, 25 Jul 2024 14:06:38 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E8=AF=B7=E6=B1=82=E5=8F=82?= =?UTF-8?q?=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index/index.vue | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/pages/index/index.vue b/pages/index/index.vue index 4bb2e21..a223c58 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -77,8 +77,24 @@ }) }, getCaidan() { + let pages = getCurrentPages() + let currentPage = pages[pages.length - 1] + let options = currentPage.options + let company = '' + console.log(options, 'options') + if (options.Company == 'DCJD') { + company = 'DCJD' + } else if (options.Company == 'GXBB') { + company = 'GXBB' + } else if (options.Company == 'LYYL') { + company = 'LYYL' + } else if (options.Company == 'LYXT') { + company = 'LYXT' + } else { + company = 'XLK' + } const json = { - Company: 'XLK', + Company: company, Post: '搬运工', Type: 1 }