From f1edf3773871789366e320134a3152d2c87f15a2 Mon Sep 17 00:00:00 2001 From: gongdi <410827992@qq.com> Date: Fri, 4 Mar 2022 17:24:39 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B4=8B=E6=B5=A6=E5=AD=A6=E6=A0=A1=20?= =?UTF-8?q?=E5=BE=85=E5=8A=9E=E5=B7=A5=E4=BD=9C=E9=98=B6=E6=AE=B5=E4=BB=A3?= =?UTF-8?q?=E7=A0=81=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/global-llibs/base-config.js | 2 +- .../pages/adminCenter/moduleBase.vue | 14 ++++++++------ .../moduleCom/oa/news/viewNewsLarge.vue | 2 +- .../pages/adminCenter/systemConfig.js | 3 +-- 4 files changed, 11 insertions(+), 10 deletions(-) diff --git a/src/global-llibs/base-config.js b/src/global-llibs/base-config.js index 33272b3..781f96d 100644 --- a/src/global-llibs/base-config.js +++ b/src/global-llibs/base-config.js @@ -4,7 +4,7 @@ import Cookie from './cookie'; import PublicFn from './public'; import interfaceConfig from './axios-config'; import Base64 from './base64' -const isSZUpload = true; +const isSZUpload = true;//是否使用苏州版本上传附件地址 PublicFn.isSZUpload = isSZUpload; /** * 配置信息 - 公共方法 diff --git a/src/views/screenAdaptation/pages/adminCenter/moduleBase.vue b/src/views/screenAdaptation/pages/adminCenter/moduleBase.vue index 6e43328..ecef8f0 100644 --- a/src/views/screenAdaptation/pages/adminCenter/moduleBase.vue +++ b/src/views/screenAdaptation/pages/adminCenter/moduleBase.vue @@ -62,12 +62,14 @@ }, methods: { changeTheme:function (theme) { - if(theme && theme !== 'systemTheme'){ - //非系统默认 - this.$refs.moduleRef.style.backgroundColor = "white"; - }else { - //系统默认 - this.$refs.moduleRef.style.backgroundColor = "transparent"; + if(this.$refs.moduleRef){ + if(theme && theme !== 'systemTheme'){ + //非系统默认 + this.$refs.moduleRef.style.backgroundColor = "white"; + }else { + //系统默认 + this.$refs.moduleRef.style.backgroundColor = "transparent"; + } } }, initLoadModule: function () { diff --git a/src/views/screenAdaptation/pages/adminCenter/moduleCom/oa/news/viewNewsLarge.vue b/src/views/screenAdaptation/pages/adminCenter/moduleCom/oa/news/viewNewsLarge.vue index 07c2965..4174ec2 100644 --- a/src/views/screenAdaptation/pages/adminCenter/moduleCom/oa/news/viewNewsLarge.vue +++ b/src/views/screenAdaptation/pages/adminCenter/moduleCom/oa/news/viewNewsLarge.vue @@ -115,7 +115,7 @@ getItemImgSrc: function (item) { let thumbnail = item.thumbnail; let src = ""; - if (thumbnail && thumbnail.length > 0) { + if (thumbnail && thumbnail.length > 0 && thumbnail !== '0') { src = StaticParams.getThumbUrl(JSON.parse(thumbnail)[0].file_id + "." + JSON.parse(thumbnail)[0].resource_format, 100, 100, 100); if(this.BaseConfig.pt_type + "" === "1"){ src = src.substring(0, src.indexOf("?")) diff --git a/src/views/screenAdaptation/pages/adminCenter/systemConfig.js b/src/views/screenAdaptation/pages/adminCenter/systemConfig.js index b02788a..c28408d 100644 --- a/src/views/screenAdaptation/pages/adminCenter/systemConfig.js +++ b/src/views/screenAdaptation/pages/adminCenter/systemConfig.js @@ -93,6 +93,5 @@ export const systemConfigData = [ menu_name:[""],show_oneLevel:true}, {id:'career_planning',name:'生涯规划',relative_crm:['healthRating'], - menu_name:[""],show_oneLevel:true}, - + menu_name:[""],show_oneLevel:true} ];