From 6a11eef83696e0d4f2e15d52dd1bbb0de169ef4a Mon Sep 17 00:00:00 2001 From: yunuo970428 <405378304@qq.com> Date: Tue, 12 Dec 2023 10:15:43 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E9=94=80=E5=94=AE=E8=BD=A6?= =?UTF-8?q?=E8=BE=86=E4=BA=A4=E4=BB=98=E6=9F=A5=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../anrui-buscenter-ui/src/router/index.js | 6 +- .../anrui-buscenter-ui/src/utils/request.js | 2 +- .../cheliangjiaofu/cheliangjiaofu.vue | 769 +++++++----------- 3 files changed, 288 insertions(+), 489 deletions(-) diff --git a/anrui-buscenter/anrui-buscenter-ui/src/router/index.js b/anrui-buscenter/anrui-buscenter-ui/src/router/index.js index 513e091ec5..b4f1d7b9d7 100644 --- a/anrui-buscenter/anrui-buscenter-ui/src/router/index.js +++ b/anrui-buscenter/anrui-buscenter-ui/src/router/index.js @@ -232,10 +232,8 @@ export const constantRoutes = [ path: '/xiaoshouguanli/cheliangjiaofu', component: () => import('@/views/xiaoshouguanli/cheliangjiaofu/cheliangjiaofu.vue'), - name: 'cheliangjiaofu', - meta: { - title: '车辆交付' - } + name: 'CheLiangJiaoFu', + meta: { title: '车辆交付', noCache: true } }, // 客户登记单 { diff --git a/anrui-buscenter/anrui-buscenter-ui/src/utils/request.js b/anrui-buscenter/anrui-buscenter-ui/src/utils/request.js index 7457e25ad6..f7d576f0f8 100644 --- a/anrui-buscenter/anrui-buscenter-ui/src/utils/request.js +++ b/anrui-buscenter/anrui-buscenter-ui/src/utils/request.js @@ -77,7 +77,7 @@ service.interceptors.response.use( } return Promise.reject(new Error(res.message || 'Error')) } else { - if (!res.success) { + if (!res.success && res.success !== null && res.success !== undefined) { Message({ message: res.msg || 'Error', type: 'error', diff --git a/anrui-buscenter/anrui-buscenter-ui/src/views/xiaoshouguanli/cheliangjiaofu/cheliangjiaofu.vue b/anrui-buscenter/anrui-buscenter-ui/src/views/xiaoshouguanli/cheliangjiaofu/cheliangjiaofu.vue index 278174a277..00f4a7d9c3 100644 --- a/anrui-buscenter/anrui-buscenter-ui/src/views/xiaoshouguanli/cheliangjiaofu/cheliangjiaofu.vue +++ b/anrui-buscenter/anrui-buscenter-ui/src/views/xiaoshouguanli/cheliangjiaofu/cheliangjiaofu.vue @@ -1,528 +1,329 @@