From 87e84a4f51870e13def589c2559025fb94ba8a49 Mon Sep 17 00:00:00 2001 From: xzg <4727863@qq.com> Date: Fri, 20 Dec 2024 17:28:11 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=94=AE=E5=90=8E?= =?UTF-8?q?=E5=AE=8C=E7=BB=93=E4=BF=A1=E6=81=AF=E4=B8=8D=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/aftersales/aftersalesWorkOrderend.vue | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/views/aftersales/aftersalesWorkOrderend.vue b/src/views/aftersales/aftersalesWorkOrderend.vue index a591eb47..84ba62ae 100644 --- a/src/views/aftersales/aftersalesWorkOrderend.vue +++ b/src/views/aftersales/aftersalesWorkOrderend.vue @@ -1280,12 +1280,9 @@ const Completedsubmission = () => { return true; } // // 否则只能总部客服和经理展示 - // if ( - // UserPermissions.value == Useridentity.Headquarters_customer_service || - // UserPermissions.value == Useridentity.Headquarters_Manager - // ) { - // return true; - // } + if ((UserPermissions.value == Useridentity.Headquarters_customer_service || UserPermissions.value == Useridentity.Headquarters_Manager)&& ['30','70'].includes($route.query.workOrderStatus)) { + return true; + } return false; }; From 614e7662e2139256e80497e7262bd485da46f6e1 Mon Sep 17 00:00:00 2001 From: xzg <4727863@qq.com> Date: Fri, 20 Dec 2024 22:08:51 +0800 Subject: [PATCH 2/2] 1 --- vite.config.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/vite.config.js b/vite.config.js index 2925b01f..cfd2d088 100644 --- a/vite.config.js +++ b/vite.config.js @@ -18,7 +18,7 @@ export default ({ mode, command }) => { // longge // target: 'http://192.168.3.16:13000', // xiaohei - // target:'http://192.168.3.65:13000', + // target:'http://192.168.3.65:13000' , // target: 'http://192.168.3.65:13000', // lmy // target: 'http://192.168.10.123:8889', @@ -32,15 +32,15 @@ export default ({ mode, command }) => { // 新zyc // target: 'http://192.168.6.116:8777', // target: 'http://192.168.6.122:8777', - target: 'http://192.168.3.14:13000', + // target: 'http://192.168.3.14:13000', // target: 'http://192.168.10.25:2888', // target: 'http://192.168.6.161:9777',//CY // target: 'http://192.168.10.57:13000', // target: 'http://192.168.10.200:13000', // target: 'http://192.168.3.16:13000', // target: 'http://192.168.3.73:13000', // - // target: 'http://h5uapi.huitongys.com', - // target: 'http://test.api.huo5u.com', + // target: 'http://api.huo5u.com/', + target: 'http://test.api.huo5u.com', changeOrigin: true, rewrite: path => path.replace(/^\/api/, ''), },