From 89cbe662d3bdd0817b09b0072b131870283dac4e Mon Sep 17 00:00:00 2001 From: douzhuo <17611323298@163.com> Date: Tue, 9 Aug 2022 18:15:11 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8C=87=E6=B4=BE=E9=A1=BE=E9=97=AE=E6=9D=83?= =?UTF-8?q?=E9=99=90=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index/customer.vue | 10 ++++++---- utils/domain.js | 4 ++-- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/pages/index/customer.vue b/pages/index/customer.vue index faf105a..01ab760 100644 --- a/pages/index/customer.vue +++ b/pages/index/customer.vue @@ -104,11 +104,13 @@ }, computed: { zhipai() { - if (this.dataCode == 6) { - return this.checkAuthority('顾问指派顾问') + if (this.isAdd == 0) { + // 如果改角色是顾问 + if (this.dataCode == 6) { + return this.checkAuthority('顾问指派顾问') + } else return true } else { - if (this.isAdd == 0) return true - else return false + return false } } }, diff --git a/utils/domain.js b/utils/domain.js index cb9d7ba..c689739 100644 --- a/utils/domain.js +++ b/utils/domain.js @@ -1,10 +1,10 @@ // http.js使用域名 // const baseUrl = 'http://81.70.55.170:9090/autoSR/api';// 测试服务器1 -// const baseUrl = 'http://81.70.55.170:7070/api';// 测试服务器2 +const baseUrl = 'http://81.70.55.170:7070/api';// 测试服务器2 // const baseUrl = 'http://127.0.0.1:8080/autoSR/api'; // 本地 // const baseUrl = 'http://192.168.31.231:8080/autoSR/api'; // 长龙 // const baseUrl = 'http://192.168.31.149:8080/api'; // 盛浩 -const baseUrl = 'https://zkgj.quhouse.com/api'; // 质控正式 +// const baseUrl = 'https://zkgj.quhouse.com/api'; // 质控正式 // const baseUrl = 'https://hfju.com/api'; // 数智正式 // const baseUrl = 'https://xitong.pachira.cn/api'; // AI营销辅助 普强使用