Browse Source

调整自定义填报数值的文通

Lijy 2 years ago
parent
commit
b70ca7ca33

+ 5 - 0
fhKeeper/formulahousekeeper/timesheet/src/main.js

@@ -151,6 +151,11 @@ router.beforeEach((to, from, next) => {
                         let customDeg = filterRouter.filter(r=>{return r.name == '研究中心管理'});
                         if(customDeg.length > 0){
                             customDeg[0].children[0].name = user.timeType.customDegreeName + '管理'
+                            if(localStorage.getItem('lang') == 'en') {
+                                customDeg[0].meta.text = user.timeType.customDegreeName + ' management'
+                            } else {
+                                customDeg[0].meta.text = user.timeType.customDegreeName + '管理'
+                            }
                         }
                     }
                     

+ 1 - 1
fhKeeper/formulahousekeeper/timesheet/src/views/centerManage/centerManage.vue

@@ -58,7 +58,7 @@
                 <el-button type="primary" @click="showImportResult=false">{{ $t('btn.determine') }}</el-button>
             </span> 
         </el-dialog>
-        <span>{{ $t('importTemplate') }}</span>
+        <!-- <span>{{ $t('importTemplate') }}</span> -->
         <el-dialog :title="$t('dao-ru') + user.timeType.customDegreeName + $t('shu-ju')" v-if="intoCenterDialog" :visible.sync="intoCenterDialog" customClass="customWidth" width="500px">
             <p>1. {{ $t('other.download') }}
             <el-link type="primary" style="margin-left:5px;" :underline="false" href="./upload/研究中心导入模板.xlsx" :download="user.timeType.customDegreeName+ $t('importTemplate') +'.xlsx'">{{user.timeType.customDegreeName + $t('importTemplate')}}.xlsx</el-link>