2 Commits 3caf3bffeb ... 9d263c0820

Auteur SHA1 Message Date
  xiaost 9d263c0820 Merge remote-tracking branch 'origin/kes-vue' into kes-vue il y a 2 semaines
  xiaost fe8690a187 柯赛,登录不同账套展示标题不一样调整 il y a 2 semaines

+ 7 - 3
src/views/compare/index.vue

@@ -8,7 +8,8 @@
           <div class="d-flex jc-center">
             <dv-decoration-8 class="dv-dec-8" :color="decorationColor" />
             <div class="title">
-              <span class="title-text">COSTEC-MES 可视化平台</span>
+              <span v-show="sob === 'N_MES_NYS'" class="title-text">NERIUS-MES 可视化平台</span>
+              <span class="title-text" v-show="sob !== 'N_MES_NYS'">COSTEC-MES 可视化平台</span>
               <dv-decoration-6
                 class="dv-dec-6"
                 :reverse="true"
@@ -29,7 +30,8 @@
           <div class="d-flex aside-width">
             <div class="react-left ml-4 react-l-s bg-color-blue">
               <span class="react-left"></span>
-              <span class="text fw-b" style="font-size:24px;">柯赛科技数据看板</span>
+              <span v-show="sob === 'N_MES_NYS'" class="text fw-b" style="font-size:24px;">优时电通数据看板</span>
+              <span v-show="sob !== 'N_MES_NYS'" class="text fw-b" style="font-size:24px;">柯赛科技数据看板</span>
             </div>
           </div>
           <div class="d-flex aside-width">
@@ -115,7 +117,8 @@ export default {
       dateYear: null,
       dateWeek: null,
       weekday: ['周日', '周一', '周二', '周三', '周四', '周五', '周六'],
-      decorationColor: ['#568aea', '#000000']
+      decorationColor: ['#568aea', '#000000'],
+      sob:'',
     }
   },
   components: {
@@ -125,6 +128,7 @@ export default {
     leftup1
   },
   created() {
+     this.sob = sessionStorage.getItem('sob');
      this.isFullScreen = document.fullscreenElement;
   },
   mounted() {

+ 7 - 3
src/views/finance/index.vue

@@ -8,7 +8,8 @@
           <div class="d-flex jc-center">
             <dv-decoration-8 class="dv-dec-8" :color="decorationColor" />
             <div class="title">
-              <span class="title-text">COSTEC-MES 可视化平台</span>
+              <span v-show="sob === 'N_MES_NYS'" class="title-text">NERIUS-MES 可视化平台</span>
+              <span class="title-text" v-show="sob !== 'N_MES_NYS'">COSTEC-MES 可视化平台</span>
               <dv-decoration-6
                 class="dv-dec-6"
                 :reverse="true"
@@ -29,7 +30,8 @@
           <div class="d-flex aside-width">
             <div class="react-left ml-4 react-l-s bg-color-blue">
               <span class="react-left"></span>
-              <span class="text fw-b" style="font-size:24px;">柯赛科技数据看板</span>
+              <span v-show="sob === 'N_MES_NYS'" class="text fw-b" style="font-size:24px;">优时电通数据看板</span>
+              <span v-show="sob !== 'N_MES_NYS'" class="text fw-b" style="font-size:24px;">柯赛科技数据看板</span>
             </div>
           </div>
           <div class="d-flex aside-width">
@@ -123,7 +125,8 @@ export default {
       dateYear: null,
       dateWeek: null,
       weekday: ['周日', '周一', '周二', '周三', '周四', '周五', '周六'],
-      decorationColor: ['#568aea', '#000000']
+      decorationColor: ['#568aea', '#000000'],
+      sob:'',
     }
   },
   components: {
@@ -135,6 +138,7 @@ export default {
   },
   created() {
      this.isFullScreen = document.fullscreenElement;
+     this.sob = sessionStorage.getItem('sob');
   },
   mounted() {
     this.timeFn();

+ 6 - 2
src/views/quality/index.vue

@@ -8,7 +8,8 @@
           <div class="d-flex jc-center">
             <dv-decoration-8 class="dv-dec-8" :color="decorationColor" />
             <div class="title">
-              <span class="title-text">COSTEC-MES 可视化平台</span>
+              <span v-show="sob === 'N_MES_NYS'" class="title-text">NERIUS-MES 可视化平台</span>
+              <span class="title-text" v-show="sob !== 'N_MES_NYS'">COSTEC-MES 可视化平台</span>
               <dv-decoration-6
                 class="dv-dec-6"
                 :reverse="true"
@@ -29,7 +30,8 @@
           <div class="d-flex aside-width">
             <div class="react-left ml-4 react-l-s bg-color-blue">
               <span class="react-left"></span>
-              <span class="text fw-b" style="font-size:24px;">柯赛科技数据看板-品质看板</span>
+              <span v-show="sob === 'N_MES_NYS'" class="text fw-b" style="font-size:24px;">优时电通数据看板</span>
+              <span v-show="sob !== 'N_MES_NYS'" class="text fw-b" style="font-size:24px;">柯赛科技数据看板</span>
             </div>
           </div>
           <div class="d-flex aside-width">
@@ -122,6 +124,7 @@ export default {
       dateWeek: null,
       weekday: ['周日', '周一', '周二', '周三', '周四', '周五', '周六'],
       decorationColor: ['#568aea', '#000000'],
+      sob:''
     }
   },
   components: {
@@ -132,6 +135,7 @@ export default {
     bottom2
   },
   created() {
+    this.sob = sessionStorage.getItem('sob');
   },
   mounted() {
     this.timeFn()

+ 7 - 3
src/views/total/index.vue

@@ -8,7 +8,8 @@
           <div class="d-flex jc-center">
             <dv-decoration-8 class="dv-dec-8" />
             <div class="title">
-              <span class="title-text">COSTEC-MES 可视化平台</span>
+              <span v-show="sob === 'N_MES_NYS'" class="title-text">NERIUS-MES 可视化平台</span>
+              <span class="title-text" v-show="sob !== 'N_MES_NYS'">COSTEC-MES 可视化平台</span>
               <dv-decoration-10
                 class="dv-dec-10"
                 :reverse="true"
@@ -29,7 +30,8 @@
           <div class="d-flex aside-width">
             <div class="react-left ml-4 react-l-s bg-color-blue">
               <span class="react-left"></span>
-              <span class="text fw-b" style="font-size:24px;">柯赛科技数据看板</span>
+              <span v-show="sob === 'N_MES_NYS'" class="text fw-b" style="font-size:24px;">优时电通数据看板</span>
+              <span v-show="sob !== 'N_MES_NYS'" class="text fw-b" style="font-size:24px;">柯赛科技数据看板</span>
             </div>
           </div>
           <div class="d-flex aside-width">
@@ -126,7 +128,8 @@ export default {
       weekday: ['周日', '周一', '周二', '周三', '周四', '周五', '周六'],
       decorationColor: ['#568aea', '#000000'],
       licode:'',
-      linedata:[]
+      linedata:[],
+      sob:'',
     }
   },
   components: {
@@ -139,6 +142,7 @@ export default {
   },
   created() {
      this.isFullScreen = document.fullscreenElement;
+     this.sob = sessionStorage.getItem('sob');
   },
   mounted() {
     this.timeFn();

+ 7 - 3
src/views/warehouse/index.vue

@@ -8,7 +8,8 @@
           <div class="d-flex jc-center">
             <dv-decoration-8 class="dv-dec-8" :color="decorationColor" />
             <div class="title">
-              <span class="title-text">COSTEC-MES 可视化平台</span>
+              <span v-show="sob === 'N_MES_NYS'" class="title-text">NERIUS-MES 可视化平台</span>
+              <span class="title-text" v-show="sob !== 'N_MES_NYS'">COSTEC-MES 可视化平台</span>
               <dv-decoration-6
                 class="dv-dec-6"
                 :reverse="true"
@@ -29,7 +30,8 @@
           <div class="d-flex aside-width">
             <div class="react-left ml-4 react-l-s bg-color-blue">
               <span class="react-left"></span>
-              <span class="text fw-b" style="font-size:24px;">柯赛科技数据看板</span>
+              <span v-show="sob === 'N_MES_NYS'" class="text fw-b" style="font-size:24px;">优时电通数据看板</span>
+              <span v-show="sob !== 'N_MES_NYS'" class="text fw-b" style="font-size:24px;">柯赛科技数据看板</span>
             </div>
           </div>
           <div class="d-flex aside-width">
@@ -122,13 +124,15 @@ export default {
       weekday: ['周日', '周一', '周二', '周三', '周四', '周五', '周六'],
       decorationColor: ['#568aea', '#000000'],
       ulcode:'',
-      uldata:[]
+      uldata:[],
+      sob:'',
     }
   },
   components: {
     up1,up2,up3, bottom1,bottom2
   },
   created() {
+    this.sob = sessionStorage.getItem('sob');
     // this.getuldata();
   },
   mounted() {

+ 1 - 0
src/views/zz/index.vue

@@ -58,6 +58,7 @@
                       to="makeprocess">生产进度看板</router-link></el-dropdown-item>
                   <el-dropdown-item class="dropdownitem"><router-link
                       to="compare">各车间进度</router-link></el-dropdown-item>
+                  <el-dropdown-item class="dropdownitem"><router-link to="finance">财务</router-link></el-dropdown-item>
                 </el-dropdown-menu>
               </el-dropdown>
               <el-select v-model="licode" class="dropdown" @change="handleBlur" style="width: 150px">