Просмотр исходного кода

update: 调整联合logo及开发方为配置项

cfort 1 год назад
Родитель
Сommit
22f396d460
4 измененных файлов с 21 добавлено и 6 удалено
  1. 3 1
      public/config.js
  2. 4 3
      src/components/jbd-panel/index.vue
  3. 2 0
      src/constant.js
  4. 12 2
      src/views/system/blank/index.vue

+ 3 - 1
public/config.js

@@ -67,7 +67,9 @@
         // 系统名称
         // 系统名称
         SYSTEM_NAME: '实验室标准化数智化管理平台',
         SYSTEM_NAME: '实验室标准化数智化管理平台',
         // 润乾报表根目录
         // 润乾报表根目录
-        REPORT_PATH: '金通实验室管理系统'
+        REPORT_PATH: '金通实验室管理系统',
+        COMPANY_NAME: '深圳市金源信通科技有限公司',
+        SHOW_UNION_ICON: false
     }
     }
 
 
 })(window)
 })(window)

+ 4 - 3
src/components/jbd-panel/index.vue

@@ -12,18 +12,19 @@
         <span class="jbd-sys-title-cont-center" style="margin-left: 40px;float: left;">{{ systemName }}</span>
         <span class="jbd-sys-title-cont-center" style="margin-left: 40px;float: left;">{{ systemName }}</span>
         <span style="float: right; " class="jbd-sys-title-contact">
         <span style="float: right; " class="jbd-sys-title-contact">
             <br>
             <br>
-            深圳市金源信通科技有限公司及深圳华大智造科技股份有限公司联合开发 <i style="margin-left: 10px;" class="el-icon-phone" /> 0755-2642-4403
+            {{ companyName }}开发 <i style="margin-left: 10px;" class="el-icon-phone" /> 0755-2642-4403
             <i style="margin-left: 20px;" class="el-icon-phone" /> 181 2638 3365
             <i style="margin-left: 20px;" class="el-icon-phone" /> 181 2638 3365
 
 
         </span>
         </span>
     </div>
     </div>
 </template>
 </template>
 <script>
 <script>
-import { SYSTEM_NAME } from '@/constant'
+import { SYSTEM_NAME, COMPANY_NAME } from '@/constant'
 export default {
 export default {
     data () {
     data () {
         return {
         return {
-            systemName: SYSTEM_NAME
+            systemName: SYSTEM_NAME,
+            companyName: COMPANY_NAME
         }
         }
     }
     }
 }
 }

+ 2 - 0
src/constant.js

@@ -59,3 +59,5 @@ export const I18N_FALLBACK_LOCALE = __IBPS_CONFIG__.I18N_FALLBACK_LOCALE || 'zh-
 export const ELEMENT_COLOR = __IBPS_CONFIG__.ELEMENT_COLOR || '#409EFF'
 export const ELEMENT_COLOR = __IBPS_CONFIG__.ELEMENT_COLOR || '#409EFF'
 export const SYSTEM_NAME = __IBPS_CONFIG__.SYSTEM_NAME || '实验室标准化数智化管理平台'
 export const SYSTEM_NAME = __IBPS_CONFIG__.SYSTEM_NAME || '实验室标准化数智化管理平台'
 export const REPORT_PATH = __IBPS_CONFIG__.REPORT_PATH || ''
 export const REPORT_PATH = __IBPS_CONFIG__.REPORT_PATH || ''
+export const COMPANY_NAME = __IBPS_CONFIG__.COMPANY_NAME || '深圳市金源信通科技有限公司'
+export const SHOW_UNION_ICON = __IBPS_CONFIG__.SHOW_UNION_ICON || false

+ 12 - 2
src/views/system/blank/index.vue

@@ -3,7 +3,7 @@
         <div class="placeholder-box">
         <div class="placeholder-box">
             <div class="logo-container">
             <div class="logo-container">
                 <img src="./img/jinyuan.png">
                 <img src="./img/jinyuan.png">
-                <img src="./img/huada_logo.jpg">
+                <img v-if="showUnionIcon" src="./img/huada_logo.jpg">
             </div>
             </div>
             <div class="menu-name">
             <div class="menu-name">
                 <i :class="'ibps-icon-'+$route.query.icon" />
                 <i :class="'ibps-icon-'+$route.query.icon" />
@@ -15,7 +15,14 @@
 </template>
 </template>
 
 
 <script>
 <script>
-
+import { SHOW_UNION_ICON } from '@/constant'
+export default {
+    data () {
+        return {
+            showUnionIcon: SHOW_UNION_ICON
+        }
+    }
+}
 </script>
 </script>
 
 
 <style lang="scss" scoped>
 <style lang="scss" scoped>
@@ -42,6 +49,9 @@
                     &:last-child {
                     &:last-child {
                         max-width: 30%;
                         max-width: 30%;
                     }
                     }
+                    &:only-child {
+                        max-width: 70%;
+                    }
                 }
                 }
             }
             }
             .menu-name {
             .menu-name {